freeswitch@AlphaQA> freeswitch@AlphaQA> 2022-08-17 13:49:45.892663 94.53% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-08-17 13:49:50.472753 94.63% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-08-17 13:49:59.612707 94.30% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-08-17 13:50:04.192678 93.13% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2022-08-17 13:50:06.012668 92.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/293844@alpha4.astppbilling.org:5078 [b4fe37b0-8c52-4d4d-a62d-87b6c7575799] 2022-08-17 13:50:06.012668 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/293844@alpha4.astppbilling.org:5078) Running State Change CS_NEW (Cur 1 Tot 50) 2022-08-17 13:50:06.012668 92.80% [INFO] sofia.c:10462 sofia/default/293844@alpha4.astppbilling.org:5078 receiving invite from 103.240.35.46:48146 version: 1.10.7 -release 64bit call-id: OWRiNzkyYzkxYWVjMDRjZjg0MGM3NDlmODU4YjU5ZWU. 2022-08-17 13:50:06.012668 92.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-08-17 13:50:06.012668 92.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [+1667000@alpha4.astppbilling.org] from ip 103.240.35.46 2022-08-17 13:50:06.012668 92.80% [DEBUG] switch_core_state_machine.c:600 (sofia/default/293844@alpha4.astppbilling.org:5078) State NEW 2022-08-17 13:50:06.012668 92.80% [DEBUG] sofia.c:2419 detaching session b4fe37b0-8c52-4d4d-a62d-87b6c7575799 2022-08-17 13:50:06.332661 92.80% [DEBUG] sofia.c:2532 Re-attaching to session b4fe37b0-8c52-4d4d-a62d-87b6c7575799 2022-08-17 13:50:06.352662 92.80% [INFO] sofia.c:10462 sofia/default/293844@alpha4.astppbilling.org:5078 receiving invite from 103.240.35.46:48146 version: 1.10.7 -release 64bit call-id: OWRiNzkyYzkxYWVjMDRjZjg0MGM3NDlmODU4YjU5ZWU. 2022-08-17 13:50:06.352662 92.80% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-08-17 13:50:06.352662 92.80% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2022-08-17 13:50:06.352662 92.80% [DEBUG] sofia.c:7499 Channel sofia/default/293844@alpha4.astppbilling.org:5078 entering state [received][100] 2022-08-17 13:50:06.352662 92.80% [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-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/293844@alpha4.astppbilling.org:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_codec.c:111 sofia/default/293844@alpha4.astppbilling.org:5078 Original read codec set to PCMA:8 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_media.c:5973 sofia/default/293844@alpha4.astppbilling.org:5078 Set 2833 dtmf send payload to 101 recv payload to 101 2022-08-17 13:50:06.352662 92.80% [DEBUG] sofia.c:7933 (sofia/default/293844@alpha4.astppbilling.org:5078) State Change CS_NEW -> CS_INIT 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/293844@alpha4.astppbilling.org:5078) Running State Change CS_INIT (Cur 1 Tot 50) 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/293844@alpha4.astppbilling.org:5078) State INIT 2022-08-17 13:50:06.352662 92.80% [DEBUG] mod_sofia.c:97 sofia/default/293844@alpha4.astppbilling.org:5078 SOFIA INIT 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/293844@alpha4.astppbilling.org:5078 Standard INIT 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/293844@alpha4.astppbilling.org:5078) State Change CS_INIT -> CS_ROUTING 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/293844@alpha4.astppbilling.org:5078) State INIT going to sleep 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/293844@alpha4.astppbilling.org:5078) Running State Change CS_ROUTING (Cur 1 Tot 50) 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_channel.c:2380 (sofia/default/293844@alpha4.astppbilling.org:5078) Callstate Change DOWN -> RINGING 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/293844@alpha4.astppbilling.org:5078) State ROUTING 2022-08-17 13:50:06.352662 92.80% [DEBUG] mod_sofia.c:158 sofia/default/293844@alpha4.astppbilling.org:5078 SOFIA ROUTING 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_core_state_machine.c:230 sofia/default/293844@alpha4.astppbilling.org:5078 Standard ROUTING 2022-08-17 13:50:06.352662 92.80% [INFO] mod_dialplan_xml.c:639 Processing 293844 <293844>->+1667000 in context default 2022-08-17 13:50:06.352662 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-08-17 13:50:06.352662 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-08-17 13:50:06.352662 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : +1667000 2022-08-17 13:50:06.352662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '+1667000' limit 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '+1667000' and status=0 LIMIT 1 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER293844 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '+1667000' limit 1 2022-08-17 13:50:06.372660 92.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 293844 / 293844 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 00 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = +16670 AND status=0 limit 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2022-08-17 13:50:06.372660 92.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2 2022-08-17 13:50:06.372660 92.80% [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 = 2 AND status=0 limit 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/+/*/*".....+1667000 2022-08-17 13:50:06.372660 92.80% [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 ="+1667000" LIMIT 1 2022-08-17 13:50:06.372660 92.80% [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 ="+1667000" LIMIT 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="13" and did_id ="1" and number ="293844" and status = '0' LIMIT 1 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 900001] 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =+1667000 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "900001" AND deleted = 0 limit 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =13 2022-08-17 13:50:06.372660 92.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2 2022-08-17 13:50:06.372660 92.80% [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 = 2 AND status=0 limit 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/+/*/*".....+1667000 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 13 2022-08-17 13:50:06.372660 92.80% [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 = '^+1667000.*' OR patterns = '^+166700.*' OR patterns = '^+16670.*' OR patterns = '^+1667.*' OR patterns = '^+166.*' OR patterns = '^+16.*' OR patterns = '^+1.*' OR patterns = '^+.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-08-17 13:50:06.372660 92.80% [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 ="+1667000" AND A.accountid = '13' limit 1 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : +1667000 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2022-08-17 13:50:06.372660 92.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2 2022-08-17 13:50:06.372660 92.80% [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 = 2 AND status=0 limit 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/+/*/*".....+1667000 2022-08-17 13:50:06.372660 92.80% [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 ="+1667000" LIMIT 1 2022-08-17 13:50:06.372660 92.80% [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 ="+1667000" LIMIT 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="13" and did_id ="1" and number ="293844" and status = '0' LIMIT 1 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2022-08-17 13:50:06.372660 92.80% [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 = '+1667000' OR number = '+166700' OR number = '+16670' OR number = '+1667' OR number = '+166' OR number = '+16' OR number = '+1' OR number = '+' OR number ='--') OR (number = '+1667000*' OR number = '+166700*' OR number = '+16670*' OR number = '+1667*' OR number = '+166*' OR number = '+16*' OR number = '+1*' OR number = '+*' OR number ='--') OR (number = '293844' OR number = '29384' OR number = '2938' OR number = '293' OR number = '29' OR number = '2' OR number ='--') OR (number = '293844*' OR number = '29384*' OR number = '2938*' OR number = '293*' OR number = '29*' OR number = '2*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '+1667000' OR routing_prefix = '+166700' OR routing_prefix = '+16670' OR routing_prefix = '+1667' OR routing_prefix = '+166' OR routing_prefix = '+16' OR routing_prefix = '+1' OR routing_prefix = '+' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 900001 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =13 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 39983.6 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::5 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2022-08-17 13:50:06.372660 92.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2 2022-08-17 13:50:06.372660 92.80% [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 = 2 AND status=0 limit 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/+/*/*".....+1667000 2022-08-17 13:50:06.372660 92.80% [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 ="+1667000" LIMIT 1 2022-08-17 13:50:06.372660 92.80% [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 ="+1667000" LIMIT 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="13" and did_id ="1" and number ="293844" and status = '0' LIMIT 1 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : +1667000 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =13 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your39983.6 balance Accountid 13 !!! 2022-08-17 13:50:06.372660 92.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2022-08-17 13:50:06.372660 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2022-08-17 13:50:06.372660 92.80% [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 = 13 AND status=0 LIMIT 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1 2022-08-17 13:50:06.372660 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =13 2022-08-17 13:50:06.392662 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:13 2022-08-17 13:50:06.392662 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:13 2022-08-17 13:50:06.392662 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 13 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 13 limit 1 2022-08-17 13:50:06.392662 92.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha4.astppbilling.org 2022-08-17 13:50:06.392662 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-08-17 13:50:06.392662 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2022-08-17 13:50:06.392662 92.80% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2022-08-17 13:50:06.392662 92.80% [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 = "sendonclick.com:5061" AND accounts.status = 0 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 13 limit 1 2022-08-17 13:50:06.392662 92.80% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha4.astppbilling.org 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 13 and status = 0 limit 1 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_2 2022-08-17 13:50:06.392662 92.80% [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="293844" AND domains.domain="alpha4.astppbilling.org" limit 1 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 parsing [default->+1667000] continue=false Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Regex (PASS) [+1667000] destination_number(+1667000) =~ /\+1667000/ break=on-false Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(effective_destination_number=\+1667000) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(notify_flag=0) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(notify_credit_limit=5.00000) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(type=0) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(callstart=2022-08-17 13:50:06) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(hangup_after_bridge=true) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(account_id=13) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(parent_id=0) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(entity_id=0) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(call_processed=internal) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(call_direction=inbound) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(accountname=default) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(origination_rates_did=ID:1|CODE:^+1667000.*|DESTINATION:+1667000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:13) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(origination_rates=0) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(original_caller_id_name=293844) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(original_caller_id_number=293844) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(effective_caller_id_name=293844) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(effective_caller_id_number=293844) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(receiver_accid=13) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(did_id=1) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(transfer_call_type=4) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(transfer_extensions=100004400) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(busy_status=0) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(no_answer_status=1) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(always_status=1) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(transfer_status=1) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(variable_sip_to_host=${domain_name}) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(variable_sip_network_ip=103.240.35.46) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(variable_sip_network_port=48146) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action export(domain_name=alpha4.astppbilling.org) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action export(sip_to_host=alpha4.astppbilling.org) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action export(presence_data=x|||ASTPP-PK(900001)|||||||||DID|||103.240.35.46) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action export(call_type=2) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/293844@alpha4.astppbilling.org:5078 Action bridge([leg_timeout=0]sofia/${sofia_profile_name}/+1667000@sendonclick.com:5061) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:281 (sofia/default/293844@alpha4.astppbilling.org:5078) State Change CS_ROUTING -> CS_EXECUTE 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/293844@alpha4.astppbilling.org:5078) State ROUTING going to sleep 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/293844@alpha4.astppbilling.org:5078) Running State Change CS_EXECUTE (Cur 1 Tot 50) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/293844@alpha4.astppbilling.org:5078) State EXECUTE 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_sofia.c:213 sofia/default/293844@alpha4.astppbilling.org:5078 SOFIA EXECUTE 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/293844@alpha4.astppbilling.org:5078 Standard EXECUTE EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(effective_destination_number=\+1667000) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [effective_destination_number]=[\+1667000] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(notify_flag=0) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(notify_credit_limit=5.00000) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [notify_credit_limit]=[5.00000] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(type=0) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [type]=[0] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(callstart=2022-08-17 13:50:06) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [callstart]=[2022-08-17 13:50:06] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(hangup_after_bridge=true) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(continue_on_fail=TRUE) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(account_id=13) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [account_id]=[13] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(parent_id=0) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [parent_id]=[0] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(entity_id=0) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [entity_id]=[0] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(call_processed=internal) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(call_direction=inbound) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(accountname=default) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [accountname]=[default] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(filename1=astpp.pbx.lua) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(origination_rates_did=ID:1|CODE:^+1667000.*|DESTINATION:+1667000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:13) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [origination_rates_did]=[ID:1|CODE:^+1667000.*|DESTINATION:+1667000|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:13] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(origination_rates=0) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(original_caller_id_name=293844) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [original_caller_id_name]=[293844] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(original_caller_id_number=293844) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [original_caller_id_number]=[293844] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(effective_caller_id_name=293844) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [effective_caller_id_name]=[293844] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(effective_caller_id_number=293844) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [effective_caller_id_number]=[293844] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(receiver_accid=13) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [receiver_accid]=[13] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(did_id=1) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [did_id]=[1] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(transfer_call_type=4) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [transfer_call_type]=[4] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(transfer_extensions=100004400) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [transfer_extensions]=[100004400] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(busy_status=0) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [busy_status]=[0] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(no_answer_status=1) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [no_answer_status]=[1] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(always_status=1) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [always_status]=[1] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(transfer_status=1) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [transfer_status]=[1] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(variable_sip_to_host=alpha4.astppbilling.org) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [variable_sip_to_host]=[alpha4.astppbilling.org] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(variable_sip_network_ip=103.240.35.46) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [variable_sip_network_ip]=[103.240.35.46] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(variable_sip_network_port=48146) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [variable_sip_network_port]=[48146] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 export(domain_name=alpha4.astppbilling.org) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha4.astppbilling.org] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 export(sip_to_host=alpha4.astppbilling.org) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha4.astppbilling.org] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 export(presence_data=x|||ASTPP-PK(900001)|||||||||DID|||103.240.35.46) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||ASTPP-PK(900001)|||||||||DID|||103.240.35.46] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 export(call_type=2) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[2] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 set(calltype=DIRECT-IP) 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_dptools.c:1685 SET sofia/default/293844@alpha4.astppbilling.org:5078 [calltype]=[DIRECT-IP] EXECUTE [depth=0] sofia/default/293844@alpha4.astppbilling.org:5078 bridge([leg_timeout=0]sofia/default/+1667000@sendonclick.com:5061) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_channel.c:1269 sofia/default/293844@alpha4.astppbilling.org:5078 EXPORTING[export_vars] [domain_name]=[alpha4.astppbilling.org] to event 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_channel.c:1269 sofia/default/293844@alpha4.astppbilling.org:5078 EXPORTING[export_vars] [sip_to_host]=[alpha4.astppbilling.org] to event 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_channel.c:1269 sofia/default/293844@alpha4.astppbilling.org:5078 EXPORTING[export_vars] [presence_data]=[x|||ASTPP-PK(900001)|||||||||DID|||103.240.35.46] to event 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_channel.c:1269 sofia/default/293844@alpha4.astppbilling.org:5078 EXPORTING[export_vars] [call_type]=[2] to event 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-08-17 13:50:06.392662 92.80% [NOTICE] switch_channel.c:1123 New Channel sofia/default/%2B1667000@sendonclick.com:5061 [a6fe7ea4-c2d4-491e-83c2-4cf4cea75409] 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_sofia.c:5121 (sofia/default/%2B1667000@sendonclick.com:5061) State Change CS_NEW -> CS_INIT 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/%2B1667000@sendonclick.com:5061) Running State Change CS_INIT (Cur 2 Tot 51) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/%2B1667000@sendonclick.com:5061) State INIT 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_sofia.c:97 sofia/default/%2B1667000@sendonclick.com:5061 SOFIA INIT 2022-08-17 13:50:06.392662 92.80% [INFO] sofia_glue.c:1651 sofia/default/%2B1667000@sendonclick.com:5061 sending invite call-id: (null) 2022-08-17 13:50:06.392662 92.80% [DEBUG] sofia_glue.c:1654 sofia/default/%2B1667000@sendonclick.com:5061 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1660717164 1660717165 IN IP4 168.119.48.166 s=FreeSWITCH c=IN IP4 168.119.48.166 t=0 0 m=audio 27042 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-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:40 sofia/default/%2B1667000@sendonclick.com:5061 Standard INIT 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:48 (sofia/default/%2B1667000@sendonclick.com:5061) State Change CS_INIT -> CS_ROUTING 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:624 (sofia/default/%2B1667000@sendonclick.com:5061) State INIT going to sleep 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/%2B1667000@sendonclick.com:5061) Running State Change CS_ROUTING (Cur 2 Tot 51) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/%2B1667000@sendonclick.com:5061) State ROUTING 2022-08-17 13:50:06.392662 92.80% [DEBUG] mod_sofia.c:158 sofia/default/%2B1667000@sendonclick.com:5061 SOFIA ROUTING 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_ivr_originate.c:67 (sofia/default/%2B1667000@sendonclick.com:5061) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:640 (sofia/default/%2B1667000@sendonclick.com:5061) State ROUTING going to sleep 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/%2B1667000@sendonclick.com:5061) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 51) 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/%2B1667000@sendonclick.com:5061) State CONSUME_MEDIA 2022-08-17 13:50:06.392662 92.80% [DEBUG] switch_core_state_machine.c:659 (sofia/default/%2B1667000@sendonclick.com:5061) State CONSUME_MEDIA going to sleep 2022-08-17 13:50:06.392662 92.80% [DEBUG] sofia.c:7499 Channel sofia/default/%2B1667000@sendonclick.com:5061 entering state [calling][0] 2022-08-17 13:50:06.492679 92.80% [DEBUG] sofia.c:7499 Channel sofia/default/%2B1667000@sendonclick.com:5061 entering state [terminated][404] 2022-08-17 13:50:06.492679 92.80% [NOTICE] sofia.c:8738 Hangup sofia/default/%2B1667000@sendonclick.com:5061 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/%2B1667000@sendonclick.com:5061) Running State Change CS_HANGUP (Cur 2 Tot 51) 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/%2B1667000@sendonclick.com:5061) Callstate Change DOWN -> HANGUP 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/%2B1667000@sendonclick.com:5061) State HANGUP 2022-08-17 13:50:06.492679 92.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/%2B1667000@sendonclick.com:5061 hanging up, cause: UNALLOCATED_NUMBER 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/%2B1667000@sendonclick.com:5061 Standard HANGUP, cause: UNALLOCATED_NUMBER 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/%2B1667000@sendonclick.com:5061) State HANGUP going to sleep 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/%2B1667000@sendonclick.com:5061) State Change CS_HANGUP -> CS_REPORTING 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/%2B1667000@sendonclick.com:5061) Running State Change CS_REPORTING (Cur 2 Tot 51) 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/%2B1667000@sendonclick.com:5061) State REPORTING 2022-08-17 13:50:06.492679 92.80% [INFO] mod_json_cdr.c:271 Process [a6fe7ea4-c2d4-491e-83c2-4cf4cea75409.cdr.json] 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/%2B1667000@sendonclick.com:5061 Standard REPORTING, cause: UNALLOCATED_NUMBER 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/%2B1667000@sendonclick.com:5061) State REPORTING going to sleep 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/%2B1667000@sendonclick.com:5061) State Change CS_REPORTING -> CS_DESTROY 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_session.c:1753 Session 51 (sofia/default/%2B1667000@sendonclick.com:5061) Locked, Waiting on external entities 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER] 2022-08-17 13:50:06.492679 92.80% [NOTICE] switch_core_session.c:1771 Session 51 (sofia/default/%2B1667000@sendonclick.com:5061) Ended 2022-08-17 13:50:06.492679 92.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/%2B1667000@sendonclick.com:5061 [CS_DESTROY] 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/%2B1667000@sendonclick.com:5061) Running State Change CS_DESTROY (Cur 1 Tot 51) 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/%2B1667000@sendonclick.com:5061) State DESTROY 2022-08-17 13:50:06.492679 92.80% [DEBUG] mod_sofia.c:379 sofia/default/%2B1667000@sendonclick.com:5061 SOFIA DESTROY 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/%2B1667000@sendonclick.com:5061 Standard DESTROY 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/%2B1667000@sendonclick.com:5061) State DESTROY going to sleep 2022-08-17 13:50:06.492679 92.80% [INFO] mod_dptools.c:3653 Originate Failed. Cause: UNALLOCATED_NUMBER 2022-08-17 13:50:06.492679 92.80% [NOTICE] switch_core_state_machine.c:382 sofia/default/293844@alpha4.astppbilling.org:5078 has executed the last dialplan instruction, hanging up. 2022-08-17 13:50:06.492679 92.80% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/293844@alpha4.astppbilling.org:5078 [CS_EXECUTE] [NORMAL_CLEARING] 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/293844@alpha4.astppbilling.org:5078) State EXECUTE going to sleep 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/293844@alpha4.astppbilling.org:5078) Running State Change CS_HANGUP (Cur 1 Tot 51) 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/293844@alpha4.astppbilling.org:5078) Callstate Change RINGING -> HANGUP 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/293844@alpha4.astppbilling.org:5078) State HANGUP 2022-08-17 13:50:06.492679 92.80% [DEBUG] mod_sofia.c:462 sofia/default/293844@alpha4.astppbilling.org:5078 Overriding SIP cause 480 with 404 from the other leg 2022-08-17 13:50:06.492679 92.80% [DEBUG] mod_sofia.c:468 Channel sofia/default/293844@alpha4.astppbilling.org:5078 hanging up, cause: NORMAL_CLEARING 2022-08-17 13:50:06.492679 92.80% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/293844@alpha4.astppbilling.org:5078 Standard HANGUP, cause: NORMAL_CLEARING 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/293844@alpha4.astppbilling.org:5078) State HANGUP going to sleep 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/293844@alpha4.astppbilling.org:5078) State Change CS_HANGUP -> CS_REPORTING 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/293844@alpha4.astppbilling.org:5078) Running State Change CS_REPORTING (Cur 1 Tot 51) 2022-08-17 13:50:06.492679 92.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/293844@alpha4.astppbilling.org:5078) State REPORTING 2022-08-17 13:50:06.492679 92.80% [INFO] mod_json_cdr.c:271 Process [b4fe37b0-8c52-4d4d-a62d-87b6c7575799.cdr.json] 2022-08-17 13:50:06.512659 92.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/293844@alpha4.astppbilling.org:5078 Standard REPORTING, cause: NORMAL_CLEARING 2022-08-17 13:50:06.512659 92.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/293844@alpha4.astppbilling.org:5078) State REPORTING going to sleep 2022-08-17 13:50:06.512659 92.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/293844@alpha4.astppbilling.org:5078) State Change CS_REPORTING -> CS_DESTROY 2022-08-17 13:50:06.512659 92.80% [DEBUG] switch_core_session.c:1753 Session 50 (sofia/default/293844@alpha4.astppbilling.org:5078) Locked, Waiting on external entities 2022-08-17 13:50:06.512659 92.80% [NOTICE] switch_core_session.c:1771 Session 50 (sofia/default/293844@alpha4.astppbilling.org:5078) Ended 2022-08-17 13:50:06.512659 92.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/293844@alpha4.astppbilling.org:5078 [CS_DESTROY] 2022-08-17 13:50:06.512659 92.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/293844@alpha4.astppbilling.org:5078) Running State Change CS_DESTROY (Cur 0 Tot 51) 2022-08-17 13:50:06.512659 92.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/293844@alpha4.astppbilling.org:5078) State DESTROY 2022-08-17 13:50:06.512659 92.80% [DEBUG] mod_sofia.c:379 sofia/default/293844@alpha4.astppbilling.org:5078 SOFIA DESTROY 2022-08-17 13:50:06.512659 92.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/293844@alpha4.astppbilling.org:5078 Standard DESTROY 2022-08-17 13:50:06.512659 92.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/293844@alpha4.astppbilling.org:5078) State DESTROY going to sleep freeswitch@AlphaQA> /exit root@AlphaQA:~#