freeswitch@entdemo-gibfibre>
freeswitch@entdemo-gibfibre>
freeswitch@entdemo-gibfibre>
2022-10-11 08:13:44.653526 98.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
2022-10-11 08:13:45.093528 98.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
2022-10-11 08:13:45.213523 98.30% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
2022-10-11 08:13:45.893527 98.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
2022-10-11 08:13:46.013525 98.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9846029962@entdemo.astppbilling.org] from ip 103.240.35.46
2022-10-11 08:14:15.233533 96.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 [c96f6554-603f-4f12-acd1-433169c779ab]
2022-10-11 08:14:15.233533 96.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_NEW (Cur 1 Tot 30)
2022-10-11 08:14:15.233533 96.50% [INFO] sofia.c:10462 sofia/default/9348842387@entdemo.astppbilling.org:5064 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: dfpwmbdkfwcrpyg@pk-qa
2022-10-11 08:14:15.233533 96.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
2022-10-11 08:14:15.233533 96.50% [DEBUG] sofia.c:2419 detaching session c96f6554-603f-4f12-acd1-433169c779ab
2022-10-11 08:14:15.233533 96.50% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [100070@entdemo.astppbilling.org] from ip 103.240.35.46
2022-10-11 08:14:15.233533 96.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State NEW
2022-10-11 08:14:15.373530 96.63% [DEBUG] sofia.c:2532 Re-attaching to session c96f6554-603f-4f12-acd1-433169c779ab
2022-10-11 08:14:15.393542 96.63% [INFO] sofia.c:10462 sofia/default/9348842387@entdemo.astppbilling.org:5064 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: dfpwmbdkfwcrpyg@pk-qa
2022-10-11 08:14:15.393542 96.63% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
2022-10-11 08:14:15.393542 96.63% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-10-11 08:14:15.413521 96.63% [DEBUG] sofia.c:7499 Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 entering state [received][100]
2022-10-11 08:14:15.413521 96.63% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=twinkle 643149488 724190660 IN IP4 192.168.1.51
s=-
c=IN IP4 192.168.1.51
t=0 0
m=audio 8000 RTP/AVP 98 97 8 0 3 101
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9348842387@entdemo.astppbilling.org:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_codec.c:111 sofia/default/9348842387@entdemo.astppbilling.org:5064 Original read codec set to PCMA:8
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_media.c:5973 sofia/default/9348842387@entdemo.astppbilling.org:5064 Set 2833 dtmf send payload to 101 recv payload to 101
2022-10-11 08:14:15.413521 96.63% [DEBUG] sofia.c:7933 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State Change CS_NEW -> CS_INIT
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_INIT (Cur 1 Tot 30)
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State INIT
2022-10-11 08:14:15.413521 96.63% [DEBUG] mod_sofia.c:97 sofia/default/9348842387@entdemo.astppbilling.org:5064 SOFIA INIT
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard INIT
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State Change CS_INIT -> CS_ROUTING
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State INIT going to sleep
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_ROUTING (Cur 1 Tot 30)
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_channel.c:2380 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Callstate Change DOWN -> RINGING
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State ROUTING
2022-10-11 08:14:15.413521 96.63% [DEBUG] mod_sofia.c:158 sofia/default/9348842387@entdemo.astppbilling.org:5064 SOFIA ROUTING
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard ROUTING
2022-10-11 08:14:15.413521 96.63% [INFO] mod_dialplan_xml.c:639 Processing 9348842387 <9348842387>->100070 in context default
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-10-11 08:14:15.413521 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-10-11 08:14:15.433527 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100070
2022-10-11 08:14:15.433527 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '100070' AND status=0 limit 1
2022-10-11 08:14:15.433527 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9348842387 / 9348842387
2022-10-11 08:14:15.433527 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100070" LIMIT 1
2022-10-11 08:14:15.433527 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2022-10-11 08:14:15.433527 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9348842387]
2022-10-11 08:14:15.433527 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9348842387" AND deleted = 0 limit 1
2022-10-11 08:14:15.433527 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="100070" AND A.accountid = '15' limit 1
2022-10-11 08:14:15.433527 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100070
2022-10-11 08:14:15.433527 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100070" LIMIT 1
2022-10-11 08:14:15.433527 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : inbound
2022-10-11 08:14:15.433527 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="100070" AND (accountid = 0 OR status = 1) LIMIT 1
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :13
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^100070.*' OR patterns = '^10007.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 15
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9348842387
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 995.8
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100070" LIMIT 1
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: inbound
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 100070
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 15
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your995.8 balance Accountid 15 !!!
2022-10-11 08:14:15.453535 96.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2022-10-11 08:14:15.453535 96.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 14
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "14" AND deleted = 0 limit 1
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 14
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2169940770
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 996.6
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100070" LIMIT 1
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: inbound
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 100070
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 14
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your996.6 balance Accountid 14 !!!
2022-10-11 08:14:15.453535 96.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:2|CODE:^100070.*|DESTINATION:100070|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:13||ID:2|CODE:^100070.*|DESTINATION:100070|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:13
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 15 AND status=0 LIMIT 1
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:15
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:15
2022-10-11 08:14:15.453535 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [WHILE DID CONDITION] FOR CHECKING RESELLER :14
2022-10-11 08:14:15.453535 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "14" AND deleted = 0 limit 1
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^100070.*' OR pattern = '^10007.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=14) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 14
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your996.6 balance Accountid 14 !!!
2022-10-11 08:14:15.473522 96.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:14
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 15
2022-10-11 08:14:15.473522 96.63% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
2022-10-11 08:14:15.473522 96.63% [ERR] mod_lua.cpp:202 ...hare/freeswitch/scripts/astpp/lib/addons/sip_routing.lua:150: attempt to get length of global 'destination_str' (a nil value)
stack traceback:
...hare/freeswitch/scripts/astpp/lib/addons/sip_routing.lua:150: in function '?'
/usr/share/freeswitch/scripts/astpp/scripts/astpp.xml.lua:305: in function 'freeswitch_xml_inbound'
...hare/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:455: in main chunk
[C]: in function 'dofile'
/usr/share/freeswitch/scripts/astpp/astpp.lua:85: in main chunk
2022-10-11 08:14:15.473522 96.63% [ERR] mod_lua.cpp:270 LUA script parse/execute error!
2022-10-11 08:14:15.473522 96.63% [WARNING] mod_dialplan_xml.c:669 Context default not found
2022-10-11 08:14:15.473522 96.63% [INFO] switch_core_state_machine.c:306 No Route, Aborting
2022-10-11 08:14:15.473522 96.63% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/9348842387@entdemo.astppbilling.org:5064 [CS_ROUTING] [NO_ROUTE_DESTINATION]
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State ROUTING going to sleep
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_HANGUP (Cur 1 Tot 30)
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Callstate Change RINGING -> HANGUP
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State HANGUP
2022-10-11 08:14:15.473522 96.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 hanging up, cause: NO_ROUTE_DESTINATION
2022-10-11 08:14:15.473522 96.63% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard HANGUP, cause: NO_ROUTE_DESTINATION
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State HANGUP going to sleep
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State Change CS_HANGUP -> CS_REPORTING
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_REPORTING (Cur 1 Tot 30)
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State REPORTING
2022-10-11 08:14:15.473522 96.63% [INFO] mod_json_cdr.c:271 Process [c96f6554-603f-4f12-acd1-433169c779ab.cdr.json]
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard REPORTING, cause: NO_ROUTE_DESTINATION
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State REPORTING going to sleep
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State Change CS_REPORTING -> CS_DESTROY
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_session.c:1753 Session 30 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Locked, Waiting on external entities
2022-10-11 08:14:15.473522 96.63% [NOTICE] switch_core_session.c:1771 Session 30 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Ended
2022-10-11 08:14:15.473522 96.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9348842387@entdemo.astppbilling.org:5064 [CS_DESTROY]
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9348842387@entdemo.astppbilling.org:5064) Running State Change CS_DESTROY (Cur 0 Tot 30)
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State DESTROY
2022-10-11 08:14:15.473522 96.63% [DEBUG] mod_sofia.c:379 sofia/default/9348842387@entdemo.astppbilling.org:5064 SOFIA DESTROY
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/9348842387@entdemo.astppbilling.org:5064 Standard DESTROY
2022-10-11 08:14:15.473522 96.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9348842387@entdemo.astppbilling.org:5064) State DESTROY going to sleep
freeswitch@entdemo-gibfibre>
freeswitch@entdemo-gibfibre>
freeswitch@entdemo-gibfibre>
freeswitch@entdemo-gibfibre>
freeswitch@entdemo-gibfibre>