+OK log level [7] freeswitch@BetaQA> freeswitch@BetaQA> 2022-12-09 11:53:05.457240 91.73% [NOTICE] sofia_reg.c:459 Registering 813646 2022-12-09 11:53:05.457240 91.73% [ERR] sofia_reg.c:2677 813646 Failed Registration with status Service Unavailable [503]. failure #159 2022-12-09 11:53:06.457222 91.07% [WARNING] sofia_reg.c:516 813646 Failed Registration [503], setting retry to 30 seconds. 2022-12-09 11:53:08.537229 89.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/990010@astppqa606.astppbilling.org:5076 [6ecccff0-bbbe-4589-b800-0cb831b5bff2] 2022-12-09 11:53:08.537229 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_NEW (Cur 1 Tot 127) 2022-12-09 11:53:08.537229 89.77% [INFO] sofia.c:10462 sofia/default/990010@astppqa606.astppbilling.org:5076 receiving invite from 103.240.35.46:55990 version: 1.10.7 -release 64bit call-id: NDgwZTBjOWEwMGM5NDM1NWRhOTZlNTdmZDc1ZTdkMmU. 2022-12-09 11:53:08.537229 89.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-12-09 11:53:08.537229 89.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9100010@astppqa606.astppbilling.org] from ip 103.240.35.46 2022-12-09 11:53:08.537229 89.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/990010@astppqa606.astppbilling.org:5076) State NEW 2022-12-09 11:53:08.537229 89.77% [DEBUG] sofia.c:2419 detaching session 6ecccff0-bbbe-4589-b800-0cb831b5bff2 2022-12-09 11:53:08.577236 89.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9691097653@astppqa607.astppbilling.org:5076 [f9117455-3c04-4bd9-9eb2-3013424bec7c] 2022-12-09 11:53:08.577236 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_NEW (Cur 2 Tot 128) 2022-12-09 11:53:08.577236 89.77% [INFO] sofia.c:10462 sofia/default/9691097653@astppqa607.astppbilling.org:5076 receiving invite from 103.240.35.46:58612 version: 1.10.7 -release 64bit call-id: ZjgzN2VlMWM3Yjg0MGYxMzZlZTliZGVkMTEwM2M5ZmM. 2022-12-09 11:53:08.577236 89.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-12-09 11:53:08.577236 89.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [66987564@astppqa607.astppbilling.org] from ip 103.240.35.46 2022-12-09 11:53:08.577236 89.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State NEW 2022-12-09 11:53:08.577236 89.77% [DEBUG] sofia.c:2419 detaching session f9117455-3c04-4bd9-9eb2-3013424bec7c 2022-12-09 11:53:08.857243 89.77% [DEBUG] sofia.c:2532 Re-attaching to session 6ecccff0-bbbe-4589-b800-0cb831b5bff2 2022-12-09 11:53:08.857243 89.77% [INFO] sofia.c:10462 sofia/default/990010@astppqa606.astppbilling.org:5076 receiving invite from 103.240.35.46:55990 version: 1.10.7 -release 64bit call-id: NDgwZTBjOWEwMGM5NDM1NWRhOTZlNTdmZDc1ZTdkMmU. 2022-12-09 11:53:08.857243 89.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-12-09 11:53:08.877277 89.77% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2022-12-09 11:53:08.877277 89.77% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [received][100] 2022-12-09 11:53:08.877277 89.77% [DEBUG] sofia.c:7509 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 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/990010@astppqa606.astppbilling.org:5076 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_codec.c:111 sofia/default/990010@astppqa606.astppbilling.org:5076 Original read codec set to PCMA:8 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_media.c:5973 sofia/default/990010@astppqa606.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101 2022-12-09 11:53:08.877277 89.77% [DEBUG] sofia.c:7933 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_NEW -> CS_INIT 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_INIT (Cur 2 Tot 128) 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990010@astppqa606.astppbilling.org:5076) State INIT 2022-12-09 11:53:08.877277 89.77% [DEBUG] mod_sofia.c:97 sofia/default/990010@astppqa606.astppbilling.org:5076 SOFIA INIT 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard INIT 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990010@astppqa606.astppbilling.org:5076) State INIT going to sleep 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 2 Tot 128) 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_channel.c:2380 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change DOWN -> RINGING 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990010@astppqa606.astppbilling.org:5076) State ROUTING 2022-12-09 11:53:08.877277 89.77% [DEBUG] mod_sofia.c:158 sofia/default/990010@astppqa606.astppbilling.org:5076 SOFIA ROUTING 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard ROUTING 2022-12-09 11:53:08.877277 89.77% [INFO] mod_dialplan_xml.c:639 Processing 990010 <990010>->9100010 in context default 2022-12-09 11:53:08.877277 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-12-09 11:53:08.877277 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-12-09 11:53:08.877277 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9100010 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '9100010' limit 1 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2022-12-09 11:53:08.877277 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '9100010' and status=0 LIMIT 1 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER990010 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '9100010' limit 1 2022-12-09 11:53:08.897222 89.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 990010 / 990010 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 0 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 910001 AND status=0 limit 1 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2022-12-09 11:53:08.897222 89.77% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9100010" LIMIT 1 2022-12-09 11:53:08.897222 89.77% [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 ="9100010" LIMIT 1 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="142" and number ="990010" and status = '0' LIMIT 1 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 990010] 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =9100010 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "990010" AND deleted = 0 limit 1 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =16 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2022-12-09 11:53:08.897222 89.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 19 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 19 AND status=0 limit 1 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 16 2022-12-09 11:53:08.897222 89.77% [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 = '^9100010.*' OR patterns = '^910001.*' OR patterns = '^91000.*' OR patterns = '^9100.*' OR patterns = '^910.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 16 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-12-09 11:53:08.897222 89.77% [DEBUG] sofia.c:2532 Re-attaching to session f9117455-3c04-4bd9-9eb2-3013424bec7c 2022-12-09 11:53:08.897222 89.77% [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 ="9100010" AND A.accountid = '16' limit 1 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9100010 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2022-12-09 11:53:08.897222 89.77% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9100010" LIMIT 1 2022-12-09 11:53:08.897222 89.77% [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 ="9100010" LIMIT 1 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="142" and number ="990010" and status = '0' LIMIT 1 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2022-12-09 11:53:08.897222 89.77% [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 = '9100010' OR number = '910001' OR number = '91000' OR number = '9100' OR number = '910' OR number = '91' OR number = '9' OR number ='--') OR (number = '9100010*' OR number = '910001*' OR number = '91000*' OR number = '9100*' OR number = '910*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '990010' OR number = '99001' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990010*' OR number = '99001*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9100010' OR routing_prefix = '910001' OR routing_prefix = '91000' OR routing_prefix = '9100' OR routing_prefix = '910' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 16 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990010 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =16 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 0.556 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 6 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-12-09 11:53:08.897222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::6 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2022-12-09 11:53:08.897222 89.77% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9100010" LIMIT 1 2022-12-09 11:53:08.897222 89.77% [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 ="9100010" LIMIT 1 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-12-09 11:53:08.897222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="16" and did_id ="142" and number ="990010" and status = '0' LIMIT 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.00000 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:6 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '6' and status=0 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.00000 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 142 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 9100010 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 16 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =16 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your0.556 balance Accountid 16 !!! 2022-12-09 11:53:08.917221 89.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 1000 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2022-12-09 11:53:08.917221 89.77% [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 = 16 AND status=0 LIMIT 1 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "16" AND deleted = 0 limit 1 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =16 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:16 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:16 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 16 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 16 limit 1 2022-12-09 11:53:08.917221 89.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : astppqa606.astppbilling.org 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 1000 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 16 limit 1 2022-12-09 11:53:08.917221 89.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : astppqa606.astppbilling.org 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 16 and status = 0 limit 1 2022-12-09 11:53:08.917221 89.77% [INFO] sofia.c:10462 sofia/default/9691097653@astppqa607.astppbilling.org:5076 receiving invite from 103.240.35.46:58612 version: 1.10.7 -release 64bit call-id: ZjgzN2VlMWM3Yjg0MGYxMzZlZTliZGVkMTEwM2M5ZmM. 2022-12-09 11:53:08.917221 89.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_7 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Query - SELECT call_screening from accounts WHERE id = '16' LIMIT 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : Screening Option - 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : is_intro_recorded - false 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] did_pbx_info : introduction_recording_name - 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,greetingid as ringgroup_greetingid,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,voicemail_set,no_answer_call_type_value, greetingid as ringgroup_greetingid, music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 1 and status = 0 LIMIT 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Conference greetingid::0 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '0' LIMIT 1 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 2 ORDER BY RAND() LIMIT 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] music on hold name :- QAAA 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 16 limit 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== announcement===================0 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0=== 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="24949" AND domains.domain="astppqa606.astppbilling.org" limit 1 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 410 limit 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC1] 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="24949" AND domains.domain="astppqa606.astppbilling.org" limit 1 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "24949" 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC3] 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="24949" AND domains.domain="astppqa606.astppbilling.org" limit 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1 2022-12-09 11:53:08.917221 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=24949,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0]user/24949@astppqa606.astppbilling.org| 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 parsing [default->9100010] continue=false Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Regex (PASS) [9100010] destination_number(9100010) =~ /9100010/ break=on-false Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(effective_destination_number=9100010) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(bridge_pre_execute_bleg_data=+60000 normal_clearing) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(type=0) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(callstart=2022-12-09 11:53:08) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(hangup_after_bridge=true) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(account_id=16) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(parent_id=0) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(entity_id=0) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(call_processed=internal) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(call_direction=inbound) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(accountname=default) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(t38_passthru=true) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(fax_enable_t38=true) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(origination_rates_did=ID:142|CODE:^9100010.*|DESTINATION:9100010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:16) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(origination_rates=0) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(original_caller_id_name=990010) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(original_caller_id_number=990010) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action limit(db 990010 user_990010 12 ) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(effective_caller_id_name=990010) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(effective_caller_id_number=990010) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(receiver_accid=16) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(did_id=142) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(transfer_call_type=4) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(transfer_extensions=) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(busy_status=1) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(no_answer_status=1) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(always_status=1) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(transfer_status=1) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(variable_sip_to_host=${domain_name}) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(variable_sip_network_ip=103.240.35.46) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(variable_sip_network_port=55990) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(domain_name=astppqa606.astppbilling.org) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(sip_to_host=astppqa606.astppbilling.org) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(presence_data=x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(call_type=7) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(did_calltype=7) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(did_extensions=1) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action bridge_export(hold_music=local_stream://QAAA) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(group_confirm_key=exec) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(ringback=) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(module_name=pbx) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action db(insert/pickup_any_group_${callgroup}/24949/${uuid}) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action export(ring_group_transfer=true) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(fail_on_single_reject=CALL_REJECTED) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=24949,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0]user/24949@astppqa606.astppbilling.org|) Dialplan: sofia/default/990010@astppqa606.astppbilling.org:5076 Action set(original_did_number=9100010) 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990010@astppqa606.astppbilling.org:5076) State ROUTING going to sleep 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 2 Tot 128) 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990010@astppqa606.astppbilling.org:5076) State EXECUTE 2022-12-09 11:53:08.917221 89.77% [DEBUG] mod_sofia.c:213 sofia/default/990010@astppqa606.astppbilling.org:5076 SOFIA EXECUTE 2022-12-09 11:53:08.917221 89.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard EXECUTE EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(effective_destination_number=9100010) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [effective_destination_number]=[9100010] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(bridge_pre_execute_bleg_data=+60000 normal_clearing) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [bridge_pre_execute_bleg_data]=[+60000 normal_clearing] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(type=0) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [type]=[0] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(callstart=2022-12-09 11:53:08) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [callstart]=[2022-12-09 11:53:08] 2022-12-09 11:53:08.937222 89.77% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2022-12-09 11:53:08.937222 89.77% [DEBUG] sofia.c:7499 Channel sofia/default/9691097653@astppqa607.astppbilling.org:5076 entering state [received][100] 2022-12-09 11:53:08.937222 89.77% [DEBUG] sofia.c:7509 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 1206 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 EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(hangup_after_bridge=true) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [hangup_after_bridge]=[true] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(continue_on_fail=TRUE) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9691097653@astppqa607.astppbilling.org:5076 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_codec.c:111 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Original read codec set to PCMA:8 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [continue_on_fail]=[TRUE] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_media.c:5973 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101 EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(account_id=16) 2022-12-09 11:53:08.937222 89.77% [DEBUG] sofia.c:7933 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_NEW -> CS_INIT 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_INIT (Cur 2 Tot 128) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State INIT 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_sofia.c:97 sofia/default/9691097653@astppqa607.astppbilling.org:5076 SOFIA INIT 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard INIT 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State INIT going to sleep 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [account_id]=[16] 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 2 Tot 128) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:2380 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Callstate Change DOWN -> RINGING EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(parent_id=0) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State ROUTING 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_sofia.c:158 sofia/default/9691097653@astppqa607.astppbilling.org:5076 SOFIA ROUTING 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard ROUTING 2022-12-09 11:53:08.937222 89.77% [INFO] mod_dialplan_xml.c:639 Processing 9691097653 <9691097653>->66987564 in context default 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [parent_id]=[0] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(entity_id=0) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [entity_id]=[0] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(call_processed=internal) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(call_direction=inbound) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(accountname=default) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [accountname]=[default] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(t38_passthru=true) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(fax_enable_t38=true) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [fax_enable_t38]=[true] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(fax_enable_t38_request=true) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [fax_enable_t38_request]=[true] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(filename1=astpp.pbx.lua) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(origination_rates_did=ID:142|CODE:^9100010.*|DESTINATION:9100010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:16) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [origination_rates_did]=[ID:142|CODE:^9100010.*|DESTINATION:9100010|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:16] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(origination_rates=0) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(original_caller_id_name=990010) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [original_caller_id_name]=[990010] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(original_caller_id_number=990010) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [original_caller_id_number]=[990010] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 limit(db 990010 user_990010 12 ) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_limit.c:124 incr called: 990010_user_990010 max:12, interval:0 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_db.c:194 Usage for 990010_user_990010 is now 1/12 EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(effective_caller_id_name=990010) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [effective_caller_id_name]=[990010] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(effective_caller_id_number=990010) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [effective_caller_id_number]=[990010] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(receiver_accid=16) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [receiver_accid]=[16] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(did_id=142) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [did_id]=[142] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(transfer_call_type=4) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [transfer_call_type]=[4] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(transfer_extensions=) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [transfer_extensions]=[UNDEF] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(busy_status=1) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [busy_status]=[1] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(no_answer_status=1) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [no_answer_status]=[1] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(always_status=1) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [always_status]=[1] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(transfer_status=1) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [transfer_status]=[1] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(variable_sip_to_host=astppqa606.astppbilling.org) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [variable_sip_to_host]=[astppqa606.astppbilling.org] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(variable_sip_network_ip=103.240.35.46) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [variable_sip_network_ip]=[103.240.35.46] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(variable_sip_network_port=55990) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [variable_sip_network_port]=[55990] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(domain_name=astppqa606.astppbilling.org) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[astppqa606.astppbilling.org] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(sip_to_host=astppqa606.astppbilling.org) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[astppqa606.astppbilling.org] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(presence_data=x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(call_type=7) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[7] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(did_calltype=7) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [did_calltype]=[7] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(did_extensions=1) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [did_extensions]=[1] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 bridge_export(hold_music=local_stream://QAAA) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (bridge_export_vars) [hold_music]=[local_stream://QAAA] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(group_confirm_key=exec) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [group_confirm_key]=[exec] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [group_confirm_file]=[lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(ringback=) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [ringback]=[UNDEF] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(module_name=pbx) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [module_name]=[pbx] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 db(insert/pickup_any_group_/24949/6ecccff0-bbbe-4589-b800-0cb831b5bff2) EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(dialed_extension=transfer_call) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(dialed_extension=transfer_call) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2022-12-09 11:53:08.937222 89.77% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2022-12-09 11:53:08.937222 89.77% [INFO] switch_ivr_async.c:4774 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 export(ring_group_transfer=true) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 set(fail_on_single_reject=CALL_REJECTED) 2022-12-09 11:53:08.937222 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/990010@astppqa606.astppbilling.org:5076 [fail_on_single_reject]=[CALL_REJECTED] EXECUTE [depth=0] sofia/default/990010@astppqa606.astppbilling.org:5076 bridge({sip_h_P-call_type='custom_forward'}[sip_invite_params=user=local,sip_h_p-call_type='custom_forward',call_timeout=0,group_confirm_key=exec,group_confirm_file=lua /usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua,confirm=true,announcement=no_file,dialed_user=24949,is_intro_recorded=false,voicemail_sip=,voicemail_sip_domain=,leg_timeout=0]user/24949@astppqa606.astppbilling.org|) 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [t38_passthru]=[true] to event 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [domain_name]=[astppqa606.astppbilling.org] to event 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [sip_to_host]=[astppqa606.astppbilling.org] to event 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46] to event 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [call_type]=[7] to event 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [ring_group_transfer]=[true] to event 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-12-09 11:53:08.937222 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-12-09 11:53:08.937222 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 66987564 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '66987564' limit 1 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [t38_passthru]=[true] to event 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [domain_name]=[astppqa606.astppbilling.org] to event 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [sip_to_host]=[astppqa606.astppbilling.org] to event 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [presence_data]=[x|||ADMIN CUST PK(990010)|||||||||DID|||103.240.35.46] to event 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [call_type]=[7] to event 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_channel.c:1269 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[export_vars] [ring_group_transfer]=[true] to event 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-12-09 11:53:08.957217 89.77% [NOTICE] switch_channel.c:1123 New Channel sofia/default/24949@103.240.35.46:34053 [09d2e251-6ee4-4282-b367-1697d58aec88] 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_sofia.c:5121 (sofia/default/24949@103.240.35.46:34053) State Change CS_NEW -> CS_INIT 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_INIT (Cur 3 Tot 129) 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/24949@103.240.35.46:34053) State INIT 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_sofia.c:97 sofia/default/24949@103.240.35.46:34053 SOFIA INIT 2022-12-09 11:53:08.957217 89.77% [DEBUG] sofia_glue.c:1620 sip:24949@103.240.35.46:55990;rinstance=49a59298cbb114f2;transport=TCP Setting proxy route to sofia/default/24949@103.240.35.46:34053 2022-12-09 11:53:08.957217 89.77% [INFO] sofia_glue.c:1651 sofia/default/24949@103.240.35.46:34053 sending invite call-id: (null) 2022-12-09 11:53:08.957217 89.77% [DEBUG] sofia_glue.c:1654 sofia/default/24949@103.240.35.46:34053 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1670567372 1670567373 IN IP4 142.132.184.134 s=FreeSWITCH c=IN IP4 142.132.184.134 t=0 0 m=audio 19416 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/24949@103.240.35.46:34053 Standard INIT 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/24949@103.240.35.46:34053) State Change CS_INIT -> CS_ROUTING 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/24949@103.240.35.46:34053) State INIT going to sleep 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_ROUTING (Cur 3 Tot 129) 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/24949@103.240.35.46:34053) State ROUTING 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_sofia.c:158 sofia/default/24949@103.240.35.46:34053 SOFIA ROUTING 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/24949@103.240.35.46:34053) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/24949@103.240.35.46:34053) State ROUTING going to sleep 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 129) 2022-12-09 11:53:08.957217 89.77% [DEBUG] sofia.c:7499 Channel sofia/default/24949@103.240.35.46:34053 entering state [calling][0] 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/24949@103.240.35.46:34053) State CONSUME_MEDIA 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/24949@103.240.35.46:34053) State CONSUME_MEDIA going to sleep 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '66987564' and status=0 LIMIT 1 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9691097653 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '66987564' limit 1 2022-12-09 11:53:08.957217 89.77% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9691097653 / 9691097653 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 64 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 669875 AND status=0 limit 1 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="66987564" AND domains.domain="astppqa607.astppbilling.org" limit 1 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9691097653] 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =66987564 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9691097653" AND deleted = 0 limit 1 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^66987564.*' OR blocked_patterns = '^6698756.*' OR blocked_patterns = '^669875.*' OR blocked_patterns = '^66987.*' OR blocked_patterns = '^6698.*' OR blocked_patterns = '^669.*' OR blocked_patterns = '^66.*' OR blocked_patterns = '^6.*' OR blocked_patterns ='--') AND accountid = 903 limit 1 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2022-12-09 11:53:08.957217 89.77% [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 = '^66987564.*' OR patterns = '^6698756.*' OR patterns = '^669875.*' OR patterns = '^66987.*' OR patterns = '^6698.*' OR patterns = '^669.*' OR patterns = '^66.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 903 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-12-09 11:53:08.957217 89.77% [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 ="66987564" AND A.accountid = '903' limit 1 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 66987564 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="66987564" AND domains.domain="astppqa607.astppbilling.org" limit 1 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2022-12-09 11:53:08.957217 89.77% [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 = '66987564' OR number = '6698756' OR number = '669875' OR number = '66987' OR number = '6698' OR number = '669' OR number = '66' OR number = '6' OR number ='--') OR (number = '66987564*' OR number = '6698756*' OR number = '669875*' OR number = '66987*' OR number = '6698*' OR number = '669*' OR number = '66*' OR number = '6*' OR number ='--') OR (number = '9691097653' OR number = '969109765' OR number = '96910976' OR number = '9691097' OR number = '969109' OR number = '96910' OR number = '9691' OR number = '969' OR number = '96' OR number = '9' OR number ='--') OR (number = '9691097653*' OR number = '969109765*' OR number = '96910976*' OR number = '9691097*' OR number = '969109*' OR number = '96910*' OR number = '9691*' OR number = '969*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '66987564' OR routing_prefix = '6698756' OR routing_prefix = '669875' OR routing_prefix = '66987' OR routing_prefix = '6698' OR routing_prefix = '669' OR routing_prefix = '66' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-12-09 11:53:08.957217 89.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (66987564)!!!! 2022-12-09 11:53:08.957217 89.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (66987564)!!!! 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 903 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9691097653 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 85.9833 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^66987564.*' OR pattern = '^6698756.*' OR pattern = '^669875.*' OR pattern = '^66987.*' OR pattern = '^6698.*' OR pattern = '^669.*' OR pattern = '^66.*' OR pattern = '^6.*' OR pattern ='--') AND (caller_id_pattern = '^9691097653.*' OR caller_id_pattern = '^969109765.*' OR caller_id_pattern = '^96910976.*' OR caller_id_pattern = '^9691097.*' OR caller_id_pattern = '^969109.*' OR caller_id_pattern = '^96910.*' OR caller_id_pattern = '^9691.*' OR caller_id_pattern = '^969.*' OR caller_id_pattern = '^96.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=903) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.00000 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.00000 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 5 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.00000 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : india 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 903 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:|ID:5|CODE:^66.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.00000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:903!!! 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your85.9833 balance Accountid 903 !!! 2022-12-09 11:53:08.957217 89.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 85.9833 minutes 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^66987564.*' OR pattern = '^6698756.*' OR pattern = '^669875.*' OR pattern = '^66987.*' OR pattern = '^6698.*' OR pattern = '^669.*' OR pattern = '^66.*' OR pattern = '^6.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Post Cdrs : 0 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 903 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 parsing [default->66987564] continue=false Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Regex (PASS) [66987564] destination_number(66987564) =~ /66987564/ break=on-false Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action log(WARNING Accountcode 9691097653 doesn't have sufficiant fund!!) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(original_caller_id_name=9691097653) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(original_caller_id_number=9691097653) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(error_cdr=1) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(callstart=2022-12-09 11:53:08) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(account_id=903) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(parent_id=0) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(call_direction=outbound) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(call_processed=internal) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(effective_destination_number=66987564) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND) Dialplan: sofia/default/9691097653@astppqa607.astppbilling.org:5076 Action hangup(NO_SUFFICIENT_FUND) 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_ROUTING -> CS_EXECUTE 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State ROUTING going to sleep 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_EXECUTE (Cur 3 Tot 129) 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State EXECUTE 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_sofia.c:213 sofia/default/9691097653@astppqa607.astppbilling.org:5076 SOFIA EXECUTE 2022-12-09 11:53:08.957217 89.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard EXECUTE EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 log(WARNING Accountcode 9691097653 doesn't have sufficiant fund!!) 2022-12-09 11:53:08.957217 89.77% [WARNING] mod_dptools.c:1879 Accountcode 9691097653 doesn't have sufficiant fund!! EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(original_caller_id_name=9691097653) 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [original_caller_id_name]=[9691097653] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(original_caller_id_number=9691097653) 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [original_caller_id_number]=[9691097653] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(error_cdr=1) 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [error_cdr]=[1] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(callstart=2022-12-09 11:53:08) 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [callstart]=[2022-12-09 11:53:08] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(account_id=903) 2022-12-09 11:53:08.957217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [account_id]=[903] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(parent_id=0) 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [parent_id]=[0] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(call_direction=outbound) 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(sip_ignore_remote_cause=true) 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [sip_ignore_remote_cause]=[true] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(call_processed=internal) 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(effective_destination_number=66987564) 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [effective_destination_number]=[66987564] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND) 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_dptools.c:1685 SET sofia/default/9691097653@astppqa607.astppbilling.org:5076 [last_bridge_hangup_cause]=[NO_SUFFICIENT_FUND] EXECUTE [depth=0] sofia/default/9691097653@astppqa607.astppbilling.org:5076 hangup(NO_SUFFICIENT_FUND) 2022-12-09 11:53:08.977217 89.77% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/9691097653@astppqa607.astppbilling.org:5076 [CS_EXECUTE] [NORMAL_CLEARING] 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_session.c:2983 sofia/default/9691097653@astppqa607.astppbilling.org:5076 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State EXECUTE going to sleep 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 3 Tot 129) 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Callstate Change RINGING -> HANGUP 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State HANGUP 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_sofia.c:468 Channel sofia/default/9691097653@astppqa607.astppbilling.org:5076 hanging up, cause: NORMAL_CLEARING 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:59 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard HANGUP, cause: NORMAL_CLEARING 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State HANGUP going to sleep 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 3 Tot 129) 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State REPORTING 2022-12-09 11:53:08.977217 89.77% [INFO] mod_json_cdr.c:271 Process [f9117455-3c04-4bd9-9eb2-3013424bec7c.cdr.json] 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard REPORTING, cause: NORMAL_CLEARING 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State REPORTING going to sleep 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_session.c:1753 Session 128 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Locked, Waiting on external entities 2022-12-09 11:53:08.977217 89.77% [NOTICE] switch_core_session.c:1771 Session 128 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Ended 2022-12-09 11:53:08.977217 89.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9691097653@astppqa607.astppbilling.org:5076 [CS_DESTROY] 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 2 Tot 129) 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State DESTROY 2022-12-09 11:53:08.977217 89.77% [DEBUG] mod_sofia.c:379 sofia/default/9691097653@astppqa607.astppbilling.org:5076 SOFIA DESTROY 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/9691097653@astppqa607.astppbilling.org:5076 Standard DESTROY 2022-12-09 11:53:08.977217 89.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9691097653@astppqa607.astppbilling.org:5076) State DESTROY going to sleep 2022-12-09 11:53:09.397234 89.80% [DEBUG] sofia.c:7499 Channel sofia/default/24949@103.240.35.46:34053 entering state [proceeding][180] 2022-12-09 11:53:09.397234 89.80% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/24949@103.240.35.46:34053! 2022-12-09 11:53:09.397234 89.80% [DEBUG] switch_channel.c:3494 (sofia/default/24949@103.240.35.46:34053) Callstate Change DOWN -> RINGING 2022-12-09 11:53:09.397234 89.80% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/990010@astppqa606.astppbilling.org:5076! 2022-12-09 11:53:09.397234 89.80% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [early][180] 2022-12-09 11:53:09.397234 89.80% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/990010@astppqa606.astppbilling.org:5076! 2022-12-09 11:53:13.977259 89.30% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-12-09 11:53:15.657254 89.27% [DEBUG] sofia.c:7499 Channel sofia/default/24949@103.240.35.46:34053 entering state [completing][200] 2022-12-09 11:53:15.657254 89.27% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 3 IN IP4 103.240.35.46 s=Z c=IN IP4 103.240.35.46 t=0 0 m=audio 8002 RTP/AVP 8 3 110 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 2022-12-09 11:53:15.657254 89.27% [DEBUG] sofia.c:7499 Channel sofia/default/24949@103.240.35.46:34053 entering state [ready][200] 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/24949@103.240.35.46:34053 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_codec.c:111 sofia/default/24949@103.240.35.46:34053 Original read codec set to PCMA:8 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:5973 sofia/default/24949@103.240.35.46:34053 Set 2833 dtmf send payload to 101 recv payload to 101 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/24949@103.240.35.46:34053] 142.132.184.134 port 19416 -> 103.240.35.46 port 8002 codec: 8 ms: 20 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:9089 sofia/default/24949@103.240.35.46:34053 Set 2833 dtmf send payload to 101 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:9096 sofia/default/24949@103.240.35.46:34053 Set 2833 dtmf receive payload to 101 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_core_media.c:9119 sofia/default/24949@103.240.35.46:34053 Set rtp dtmf delay to 40 2022-12-09 11:53:15.657254 89.27% [NOTICE] sofia.c:8683 Channel [sofia/default/24949@103.240.35.46:34053] has been answered 2022-12-09 11:53:15.657254 89.27% [DEBUG] switch_channel.c:3950 (sofia/default/24949@103.240.35.46:34053) Callstate Change RINGING -> ACTIVE EXECUTE [depth=0] sofia/default/24949@103.240.35.46:34053 lua(/usr/local/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2022-12-09 11:53:15.677221 89.27% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm flag :true 2022-12-09 11:53:15.677221 89.27% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm :: true 2022-12-09 11:53:15.677221 89.27% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group prompt :: astpp-prompt.wav :: 2022-12-09 11:53:15.677221 89.27% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav sample rate 22050 doesn't match requested rate 8000 2022-12-09 11:53:15.677221 89.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2022-12-09 11:53:15.717242 89.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2022-12-09 11:53:21.537262 88.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav 2022-12-09 11:53:22.157255 88.27% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav sample rate 22050 doesn't match requested rate 8000 2022-12-09 11:53:22.157255 88.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2022-12-09 11:53:28.037235 87.83% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav 2022-12-09 11:53:28.657238 87.80% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav sample rate 22050 doesn't match requested rate 8000 2022-12-09 11:53:28.657238 87.80% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2022-12-09 11:53:33.937276 89.47% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:960 2022-12-09 11:53:33.937276 89.47% [INFO] switch_channel.c:527 RECV DTMF 1:960 2022-12-09 11:53:33.937276 89.47% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-prompt.wav 2022-12-09 11:53:34.557249 90.23% [NOTICE] switch_cpp.cpp:1465 [Astpp_Call-Ring Group] Ring group confirm get digit :1 2022-12-09 11:53:34.557249 90.23% [DEBUG] switch_cpp.cpp:1209 sofia/default/24949@103.240.35.46:34053 destroy/unlink session from object 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/990010@astppqa606.astppbilling.org:5076] 142.132.184.134 port 23370 -> 103.240.35.46 port 8000 codec: 8 ms: 20 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_media.c:9089 sofia/default/990010@astppqa606.astppbilling.org:5076 Set 2833 dtmf send payload to 101 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_media.c:9096 sofia/default/990010@astppqa606.astppbilling.org:5076 Set 2833 dtmf receive payload to 101 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_media.c:9119 sofia/default/990010@astppqa606.astppbilling.org:5076 Set rtp dtmf delay to 40 2022-12-09 11:53:34.577231 90.23% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/990010@astppqa606.astppbilling.org:5076: v=0 o=FreeSWITCH 1670563444 1670563445 IN IP4 142.132.184.134 s=FreeSWITCH c=IN IP4 142.132.184.134 t=0 0 m=audio 23370 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-12-09 11:53:34.577231 90.23% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/990010@astppqa606.astppbilling.org:5076] has been answered 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_channel.c:3950 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change RINGING -> ACTIVE 2022-12-09 11:53:34.577231 90.23% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [completed][200] 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/24949@103.240.35.46:34053] Peer UUID: 09d2e251-6ee4-4282-b367-1697d58aec88 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/24949@103.240.35.46:34053] Peer UUID: 09d2e251-6ee4-4282-b367-1697d58aec88 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_channel.c:1276 sofia/default/990010@astppqa606.astppbilling.org:5076 EXPORTING[bridge_export_vars] [hold_music]=[local_stream://QAAA] to sofia/default/24949@103.240.35.46:34053 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/24949@103.240.35.46:34053) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 129) 2022-12-09 11:53:34.577231 90.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/24949@103.240.35.46:34053) State EXCHANGE_MEDIA 2022-12-09 11:53:34.577231 90.23% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2022-12-09 11:53:34.737239 90.23% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [ready][200] 2022-12-09 11:53:34.757240 90.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/24949@103.240.35.46:34053 Bridge execute app sched_hangup(+60000 normal_clearing) 2022-12-09 11:53:34.777268 90.23% [DEBUG] switch_ivr.c:632 sofia/default/24949@103.240.35.46:34053 Command Execute [depth=0] sched_hangup(+60000 normal_clearing) EXECUTE [depth=0] sofia/default/24949@103.240.35.46:34053 sched_hangup(+60000 normal_clearing) 2022-12-09 11:53:34.777268 90.23% [DEBUG] switch_scheduler.c:263 Added task 42 switch_ivr_schedule_hangup (09d2e251-6ee4-4282-b367-1697d58aec88) to run at 1670646814 2022-12-09 11:53:34.917274 90.23% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [received][100] 2022-12-09 11:53:34.917274 90.23% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 1 IN IP4 103.240.35.46 s=Z c=IN IP4 0.0.0.0 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 a=inactive 2022-12-09 11:53:34.917274 90.23% [WARNING] switch_core_media.c:5041 RFC2543 from March 1999 called; They want their 0.0.0.0 hold method back..... 2022-12-09 11:53:34.917274 90.23% [DEBUG] switch_channel.c:1975 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change ACTIVE -> HELD 2022-12-09 11:53:35.077245 90.23% [DEBUG] switch_ivr.c:632 sofia/default/24949@103.240.35.46:34053 Command Execute [depth=0] playback(local_stream://QAAA) EXECUTE [depth=0] sofia/default/24949@103.240.35.46:34053 playback(local_stream://QAAA) 2022-12-09 11:53:35.077245 90.23% [DEBUG] mod_local_stream.c:911 Opening Stream [QAAA] 16000hz 2022-12-09 11:53:35.077245 90.23% [DEBUG] switch_core_file.c:444 File QAAA sample rate 16000 doesn't match requested rate 8000 2022-12-09 11:53:35.077245 90.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:5973 sofia/default/990010@astppqa606.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:8765 Audio params changed for sofia/default/990010@astppqa606.astppbilling.org:5076 from 103.240.35.46:8000 to 0.0.0.0:8000 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/990010@astppqa606.astppbilling.org:5076] 142.132.184.134 port 23370 -> 0.0.0.0 port 8000 codec: 8 ms: 20 2022-12-09 11:53:35.177266 90.97% [DEBUG] switch_core_media.c:8806 AUDIO RTP CHANGING DEST TO: [0.0.0.0:8000] 2022-12-09 11:53:35.177266 90.97% [DEBUG] sofia.c:8454 Processing updated SDP 2022-12-09 11:53:35.197255 90.97% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [completed][200] 2022-12-09 11:53:35.317234 90.97% [DEBUG] sofia.c:7499 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 entering state [ready][200] 2022-12-09 11:53:37.497236 92.53% [NOTICE] sofia_reg.c:459 Registering 813646 2022-12-09 11:53:37.497236 92.53% [ERR] sofia_reg.c:2677 813646 Failed Registration with status Service Unavailable [503]. failure #160 2022-12-09 11:53:38.517234 92.63% [WARNING] sofia_reg.c:516 813646 Failed Registration [503], setting retry to 30 seconds. 2022-12-09 11:53:49.537250 93.60% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-12-09 11:54:06.677236 90.73% [NOTICE] sofia.c:1065 Hangup sofia/default/24949@103.240.35.46:34053 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file local_stream://QAAA 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_session.c:2983 sofia/default/24949@103.240.35.46:34053 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr_bridge.c:568 sofia/default/24949@103.240.35.46:34053 skip receive message [BRIDGE] (channel is hungup already) 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr.c:679 sofia/default/24949@103.240.35.46:34053 skip receive message [VIDEO_SYNC] (channel is hungup already) 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr_bridge.c:826 sofia/default/24949@103.240.35.46:34053 ending bridge by request from read function 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/24949@103.240.35.46:34053] 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:650 (sofia/default/24949@103.240.35.46:34053) State EXCHANGE_MEDIA going to sleep 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_HANGUP (Cur 2 Tot 129) 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/24949@103.240.35.46:34053) Callstate Change ACTIVE -> HANGUP 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/24949@103.240.35.46:34053) State HANGUP 2022-12-09 11:54:06.677236 90.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/24949@103.240.35.46:34053 hanging up, cause: NORMAL_CLEARING 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/24949@103.240.35.46:34053 Standard HANGUP, cause: NORMAL_CLEARING 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/24949@103.240.35.46:34053) State HANGUP going to sleep 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/24949@103.240.35.46:34053) State Change CS_HANGUP -> CS_REPORTING 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_REPORTING (Cur 2 Tot 129) 2022-12-09 11:54:06.677236 90.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/24949@103.240.35.46:34053) State REPORTING 2022-12-09 11:54:06.677236 90.73% [INFO] mod_json_cdr.c:271 Process [09d2e251-6ee4-4282-b367-1697d58aec88.cdr.json] 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/990010@astppqa606.astppbilling.org:5076] 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_channel.c:2160 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change HELD -> UNHELD 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/24949@103.240.35.46:34053 skip receive message [UNBRIDGE] (channel is hungup already) 2022-12-09 11:54:06.697224 90.73% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/990010@astppqa606.astppbilling.org:5076 [CS_EXECUTE] [NORMAL_CLEARING] 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_session.c:2983 sofia/default/990010@astppqa606.astppbilling.org:5076 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/990010@astppqa606.astppbilling.org:5076) State EXECUTE going to sleep 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 2 Tot 129) 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/990010@astppqa606.astppbilling.org:5076) Callstate Change UNHELD -> HANGUP 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990010@astppqa606.astppbilling.org:5076) State HANGUP 2022-12-09 11:54:06.697224 90.73% [DEBUG] mod_sofia.c:462 sofia/default/990010@astppqa606.astppbilling.org:5076 Overriding SIP cause 480 with 200 from the other leg 2022-12-09 11:54:06.697224 90.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/990010@astppqa606.astppbilling.org:5076 hanging up, cause: NORMAL_CLEARING 2022-12-09 11:54:06.697224 90.73% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/990010@astppqa606.astppbilling.org:5076 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard HANGUP, cause: NORMAL_CLEARING 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990010@astppqa606.astppbilling.org:5076) State HANGUP going to sleep 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 2 Tot 129) 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990010@astppqa606.astppbilling.org:5076) State REPORTING 2022-12-09 11:54:06.697224 90.73% [INFO] mod_json_cdr.c:271 Process [6ecccff0-bbbe-4589-b800-0cb831b5bff2.cdr.json] 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/24949@103.240.35.46:34053 Standard REPORTING, cause: NORMAL_CLEARING 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/24949@103.240.35.46:34053) State REPORTING going to sleep 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/24949@103.240.35.46:34053) State Change CS_REPORTING -> CS_DESTROY 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_session.c:1753 Session 129 (sofia/default/24949@103.240.35.46:34053) Locked, Waiting on external entities 2022-12-09 11:54:06.697224 90.73% [NOTICE] switch_core_session.c:1771 Session 129 (sofia/default/24949@103.240.35.46:34053) Ended 2022-12-09 11:54:06.697224 90.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/24949@103.240.35.46:34053 [CS_DESTROY] 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/24949@103.240.35.46:34053) Running State Change CS_DESTROY (Cur 1 Tot 129) 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/24949@103.240.35.46:34053) State DESTROY 2022-12-09 11:54:06.697224 90.73% [DEBUG] mod_sofia.c:379 sofia/default/24949@103.240.35.46:34053 SOFIA DESTROY 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/24949@103.240.35.46:34053 Standard DESTROY 2022-12-09 11:54:06.697224 90.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/24949@103.240.35.46:34053) State DESTROY going to sleep 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard REPORTING, cause: NORMAL_CLEARING 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990010@astppqa606.astppbilling.org:5076) State REPORTING going to sleep 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/990010@astppqa606.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_session.c:1753 Session 127 (sofia/default/990010@astppqa606.astppbilling.org:5076) Locked, Waiting on external entities 2022-12-09 11:54:06.737248 90.73% [NOTICE] switch_core_session.c:1771 Session 127 (sofia/default/990010@astppqa606.astppbilling.org:5076) Ended 2022-12-09 11:54:06.737248 90.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/990010@astppqa606.astppbilling.org:5076 [CS_DESTROY] 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/990010@astppqa606.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 0 Tot 129) 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990010@astppqa606.astppbilling.org:5076) State DESTROY 2022-12-09 11:54:06.737248 90.73% [DEBUG] mod_sofia.c:379 sofia/default/990010@astppqa606.astppbilling.org:5076 SOFIA DESTROY 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/990010@astppqa606.astppbilling.org:5076 Standard DESTROY 2022-12-09 11:54:06.737248 90.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990010@astppqa606.astppbilling.org:5076) State DESTROY going to sleep 2022-12-09 11:54:06.777231 90.73% [DEBUG] switch_scheduler.c:147 Deleting task 42 switch_ivr_schedule_hangup (09d2e251-6ee4-4282-b367-1697d58aec88) freeswitch@BetaQA> freeswitch@BetaQA> freeswitch@BetaQA> freeswitch@BetaQA>