freeswitch@AlphaQaAlpesh> 2023-07-28 11:07:07.751705 57.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/8827185844@alpha.astppbilling.org:5076 [7b3b6322-6da7-4104-8a4a-54f882354244] 2023-07-28 11:07:07.751705 57.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@alpha.astppbilling.org:5076) Running State Change CS_NEW (Cur 1 Tot 105) 2023-07-28 11:07:07.751705 57.87% [INFO] sofia.c:10453 sofia/default/8827185844@alpha.astppbilling.org:5076 receiving invite from 103.240.35.46:38504 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: ODRiNjFmZGNmZTMyNzZkM2I4NGU5ODJhM2E5OWRhNmE. 2023-07-28 11:07:07.751705 57.87% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0. 2023-07-28 11:07:07.751705 57.87% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [100500@alpha.astppbilling.org] from ip 103.240.35.46 2023-07-28 11:07:07.751705 57.87% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8827185844@alpha.astppbilling.org:5076) State NEW 2023-07-28 11:07:07.751705 57.87% [DEBUG] sofia.c:2419 detaching session 7b3b6322-6da7-4104-8a4a-54f882354244 2023-07-28 11:07:08.231713 56.60% [DEBUG] sofia.c:2532 Re-attaching to session 7b3b6322-6da7-4104-8a4a-54f882354244 2023-07-28 11:07:08.231713 56.60% [INFO] sofia.c:10453 sofia/default/8827185844@alpha.astppbilling.org:5076 receiving invite from 103.240.35.46:38504 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: ODRiNjFmZGNmZTMyNzZkM2I4NGU5ODJhM2E5OWRhNmE. 2023-07-28 11:07:08.231713 56.60% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0. 2023-07-28 11:07:08.251712 56.60% [DEBUG] sofia.c:11668 Setting NAT mode based on via received 2023-07-28 11:07:08.251712 56.60% [DEBUG] sofia.c:7487 Channel sofia/default/8827185844@alpha.astppbilling.org:5076 entering state [received][100] 2023-07-28 11:07:08.251712 56.60% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=Z 0 0 IN IP4 103.240.35.46 s=Z c=IN IP4 103.240.35.46 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1] 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/8827185844@alpha.astppbilling.org:5076 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_codec.c:111 sofia/default/8827185844@alpha.astppbilling.org:5076 Original read codec set to PCMA:8 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_media.c:5850 sofia/default/8827185844@alpha.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-28 11:07:08.251712 56.60% [DEBUG] sofia.c:7921 (sofia/default/8827185844@alpha.astppbilling.org:5076) State Change CS_NEW -> CS_INIT 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@alpha.astppbilling.org:5076) Running State Change CS_INIT (Cur 1 Tot 105) 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@alpha.astppbilling.org:5076) State INIT 2023-07-28 11:07:08.251712 56.60% [DEBUG] mod_sofia.c:97 sofia/default/8827185844@alpha.astppbilling.org:5076 SOFIA INIT 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/8827185844@alpha.astppbilling.org:5076 Standard INIT 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8827185844@alpha.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8827185844@alpha.astppbilling.org:5076) State INIT going to sleep 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@alpha.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 1 Tot 105) 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_channel.c:2380 (sofia/default/8827185844@alpha.astppbilling.org:5076) Callstate Change DOWN -> RINGING 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@alpha.astppbilling.org:5076) State ROUTING 2023-07-28 11:07:08.251712 56.60% [DEBUG] mod_sofia.c:158 sofia/default/8827185844@alpha.astppbilling.org:5076 SOFIA ROUTING 2023-07-28 11:07:08.251712 56.60% [DEBUG] switch_core_state_machine.c:230 sofia/default/8827185844@alpha.astppbilling.org:5076 Standard ROUTING 2023-07-28 11:07:08.251712 56.60% [INFO] mod_dialplan_xml.c:639 Processing 8827185844 <8827185844>->100500 in context default 2023-07-28 11:07:08.271712 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-28 11:07:08.271712 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100500 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2023-07-28 11:07:08.271712 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER8827185844 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '100500' limit 1 2023-07-28 11:07:08.271712 56.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2023-07-28 11:07:08.271712 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 8827185844 / 8827185844 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2023-07-28 11:07:08.271712 56.60% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100500" LIMIT 1 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100500" LIMIT 1 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="8827185844" and status = '0' LIMIT 1 2023-07-28 11:07:08.271712 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-07-28 11:07:08.271712 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343676] 2023-07-28 11:07:08.271712 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =100500 2023-07-28 11:07:08.291701 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8871343676" OR id = "8871343676") AND deleted = 0 limit 1 2023-07-28 11:07:08.291701 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7 2023-07-28 11:07:08.291701 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2023-07-28 11:07:08.291701 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2023-07-28 11:07:08.291701 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2023-07-28 11:07:08.291701 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2023-07-28 11:07:08.291701 56.60% [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 P.is_terminated = 0 AND (patterns = '^100500.*' OR patterns = '^10050.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-07-28 11:07:08.311710 56.60% [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 ="100500" AND A.accountid = '7' limit 1 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100500 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2023-07-28 11:07:08.311710 56.60% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100500" LIMIT 1 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100500" LIMIT 1 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="8827185844" and status = '0' LIMIT 1 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '100500' OR number = '10050' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100500*' OR number = '10050*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '8827185844' OR number = '882718584' OR number = '88271858' OR number = '8827185' OR number = '882718' OR number = '88271' OR number = '8827' OR number = '882' OR number = '88' OR number = '8' OR number ='--') OR (number = '8827185844*' OR number = '882718584*' OR number = '88271858*' OR number = '8827185*' OR number = '882718*' OR number = '88271*' OR number = '8827*' OR number = '882*' OR number = '88*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100500' OR routing_prefix = '10050' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871343676 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 332542.0112 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::4 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-07-28 11:07:08.311710 56.60% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100500" LIMIT 1 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100500" LIMIT 1 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="8827185844" and status = '0' LIMIT 1 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100500 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7 2023-07-28 11:07:08.311710 56.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-07-28 11:07:08.311710 56.60% [ERR] mod_lua.cpp:202 /usr/local/freeswitch/scripts/astpp/lib/astpp.functions.lua:755: attempt to concatenate field 'call_type' (a nil value) stack traceback: /usr/local/freeswitch/scripts/astpp/lib/astpp.functions.lua:755: in function 'get_call_maxlength' ./astpp/scripts/astpp.dialplan.lua:558: in main chunk [C]: in function 'dofile' ./astpp/astpp_deb9.lua:138: in main chunk 2023-07-28 11:07:08.311710 56.60% [ERR] mod_lua.cpp:269 LUA script parse/execute error! 2023-07-28 11:07:08.311710 56.60% [WARNING] mod_dialplan_xml.c:669 Context default not found 2023-07-28 11:07:08.311710 56.60% [INFO] switch_core_state_machine.c:306 No Route, Aborting 2023-07-28 11:07:08.311710 56.60% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/8827185844@alpha.astppbilling.org:5076 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8827185844@alpha.astppbilling.org:5076) State ROUTING going to sleep 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@alpha.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 1 Tot 105) 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8827185844@alpha.astppbilling.org:5076) Callstate Change RINGING -> HANGUP 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@alpha.astppbilling.org:5076) State HANGUP 2023-07-28 11:07:08.311710 56.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/8827185844@alpha.astppbilling.org:5076 hanging up, cause: NO_ROUTE_DESTINATION 2023-07-28 11:07:08.311710 56.60% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/8827185844@alpha.astppbilling.org:5076 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8827185844@alpha.astppbilling.org:5076) State HANGUP going to sleep 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8827185844@alpha.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8827185844@alpha.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 1 Tot 105) 2023-07-28 11:07:08.311710 56.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@alpha.astppbilling.org:5076) State REPORTING 2023-07-28 11:07:08.311710 56.60% [INFO] mod_json_cdr.c:272 Process [7b3b6322-6da7-4104-8a4a-54f882354244.cdr.json] 2023-07-28 11:07:08.331719 56.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/8827185844@alpha.astppbilling.org:5076 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2023-07-28 11:07:08.331719 56.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8827185844@alpha.astppbilling.org:5076) State REPORTING going to sleep 2023-07-28 11:07:08.331719 56.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8827185844@alpha.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY 2023-07-28 11:07:08.331719 56.60% [DEBUG] switch_core_session.c:1743 Session 105 (sofia/default/8827185844@alpha.astppbilling.org:5076) Locked, Waiting on external entities 2023-07-28 11:07:08.331719 56.60% [NOTICE] switch_core_session.c:1761 Session 105 (sofia/default/8827185844@alpha.astppbilling.org:5076) Ended 2023-07-28 11:07:08.331719 56.60% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/8827185844@alpha.astppbilling.org:5076 [CS_DESTROY] 2023-07-28 11:07:08.331719 56.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8827185844@alpha.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 0 Tot 105) 2023-07-28 11:07:08.331719 56.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8827185844@alpha.astppbilling.org:5076) State DESTROY 2023-07-28 11:07:08.331719 56.60% [DEBUG] mod_sofia.c:379 sofia/default/8827185844@alpha.astppbilling.org:5076 SOFIA DESTROY 2023-07-28 11:07:08.331719 56.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/8827185844@alpha.astppbilling.org:5076 Standard DESTROY 2023-07-28 11:07:08.331719 56.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8827185844@alpha.astppbilling.org:5076) State DESTROY going to sleep 2023-07-28 11:07:21.151705 58.43% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [8871343676@alpha.astppbilling.org] from ip 103.240.35.46 freeswitch@AlphaQaAlpesh> /exit root@AlphaQaAlpesh:/opt/ASTPP/freeswitch/scripts_deb9/astpp/lib#