+OK log level [7] 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-05-22 04:19:02.861172 0.60% [NOTICE] switch_channel.c:1142 New Channel sofia/default/107888888@nira.astppbilling.org:5060 [f42e8941-7223-46a6-927c-f477c5b49b6f] 2024-05-22 04:19:02.861172 0.60% [DEBUG] mod_sofia.c:5110 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_NEW -> CS_INIT 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_ivr_originate.c:3167 sofia/default/107888888@nira.astppbilling.org:5060 Setting leg timeout to 7 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_INIT (Cur 1 Tot 86) 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107888888@nira.astppbilling.org:5060) State INIT 2024-05-22 04:19:02.861172 0.60% [DEBUG] mod_sofia.c:97 sofia/default/107888888@nira.astppbilling.org:5060 SOFIA INIT 2024-05-22 04:19:02.861172 0.60% [INFO] sofia_glue.c:1659 sofia/default/107888888@nira.astppbilling.org:5060 sending invite call-id: (null) 2024-05-22 04:19:02.861172 0.60% [DEBUG] sofia_glue.c:1662 sofia/default/107888888@nira.astppbilling.org:5060 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1716323830 1716323831 IN IP4 95.216.147.158 s=FreeSWITCH c=IN IP4 95.216.147.158 t=0 0 m=audio 27712 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/107888888@nira.astppbilling.org:5060 Standard INIT 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107888888@nira.astppbilling.org:5060) State INIT going to sleep 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 86) 2024-05-22 04:19:02.861172 0.60% [DEBUG] sofia.c:7493 Channel sofia/default/107888888@nira.astppbilling.org:5060 entering state [calling][0] 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107888888@nira.astppbilling.org:5060) State ROUTING 2024-05-22 04:19:02.861172 0.60% [DEBUG] mod_sofia.c:158 sofia/default/107888888@nira.astppbilling.org:5060 SOFIA ROUTING 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_ivr_originate.c:67 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107888888@nira.astppbilling.org:5060) State ROUTING going to sleep 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 86) 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/107888888@nira.astppbilling.org:5060) State CONSUME_MEDIA 2024-05-22 04:19:02.861172 0.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/107888888@nira.astppbilling.org:5060) State CONSUME_MEDIA going to sleep 2024-05-22 04:19:03.384503 0.57% [NOTICE] switch_channel.c:1142 New Channel sofia/default/0000000000@95.216.147.158 [7943fd05-70b5-47e6-b84f-5bb6e6a25684] 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_NEW (Cur 2 Tot 87) 2024-05-22 04:19:03.384503 0.57% [INFO] sofia.c:10459 sofia/default/0000000000@95.216.147.158 receiving invite from 95.216.147.158:5060 version: 1.10.10-release 64bit call-id: 4319f834-9295-123d-f9b1-960002fd5b47 2024-05-22 04:19:03.384503 0.57% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 95.216.147.158:0. 2024-05-22 04:19:03.384503 0.57% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [received][100] 2024-05-22 04:19:03.384503 0.57% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=FreeSWITCH 1716323830 1716323831 IN IP4 95.216.147.158 s=FreeSWITCH c=IN IP4 95.216.147.158 t=0 0 m=audio 27712 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/0000000000@95.216.147.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_codec.c:111 sofia/default/0000000000@95.216.147.158 Original read codec set to PCMA:8 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_media.c:5856 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf send payload to 101 recv payload to 101 2024-05-22 04:19:03.384503 0.57% [DEBUG] sofia.c:7927 (sofia/default/0000000000@95.216.147.158) State Change CS_NEW -> CS_INIT 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0000000000@95.216.147.158) State NEW 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_INIT (Cur 2 Tot 87) 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0000000000@95.216.147.158) State INIT 2024-05-22 04:19:03.384503 0.57% [DEBUG] mod_sofia.c:97 sofia/default/0000000000@95.216.147.158 SOFIA INIT 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/0000000000@95.216.147.158 Standard INIT 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0000000000@95.216.147.158) State Change CS_INIT -> CS_ROUTING 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0000000000@95.216.147.158) State INIT going to sleep 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_ROUTING (Cur 2 Tot 87) 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_channel.c:2399 (sofia/default/0000000000@95.216.147.158) Callstate Change DOWN -> RINGING 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0000000000@95.216.147.158) State ROUTING 2024-05-22 04:19:03.384503 0.57% [DEBUG] mod_sofia.c:158 sofia/default/0000000000@95.216.147.158 SOFIA ROUTING 2024-05-22 04:19:03.384503 0.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/0000000000@95.216.147.158 Standard ROUTING 2024-05-22 04:19:03.384503 0.57% [INFO] mod_dialplan_xml.c:639 Processing 0000000000 <0000000000>->107888888 in context default 2024-05-22 04:19:03.885923 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 107888888 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '107888888' limit 1 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '107888888' and status=0 LIMIT 1 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'nira.astppbilling.org' limit 1 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '6' and username = '107888888' limit 1 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 0000000000 / 0000000000 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-05-22 04:19:03.926742 0.57% [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="107888888" AND domains.domain="nira.astppbilling.org" limit 1 2024-05-22 04:19:03.926742 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-05-22 04:19:03.926742 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("95.216.147.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "107888888" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6] 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6" OR id = "6") AND deleted = 0 limit 1 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^107888888.*' OR blocked_patterns = '^10788888.*' OR blocked_patterns = '^1078888.*' OR blocked_patterns = '^107888.*' OR blocked_patterns = '^10788.*' OR blocked_patterns = '^1078.*' OR blocked_patterns = '^107.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 6 limit 1 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2024-05-22 04:19:03.940817 0.57% [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 = '^107888888.*' OR patterns = '^10788888.*' OR patterns = '^1078888.*' OR patterns = '^107888.*' OR patterns = '^10788.*' OR patterns = '^1078.*' OR patterns = '^107.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-05-22 04:19:03.940817 0.57% [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 ="107888888" AND A.accountid = '6' limit 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 107888888 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-05-22 04:19:03.940817 0.57% [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="107888888" AND domains.domain="nira.astppbilling.org" limit 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-05-22 04:19:03.940817 0.57% [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 = '107888888' OR number = '10788888' OR number = '1078888' OR number = '107888' OR number = '10788' OR number = '1078' OR number = '107' OR number = '10' OR number = '1' OR number ='--') OR (number = '107888888*' OR number = '10788888*' OR number = '1078888*' OR number = '107888*' OR number = '10788*' OR number = '1078*' OR number = '107*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '0000000000' OR number = '000000000' OR number = '00000000' OR number = '0000000' OR number = '000000' OR number = '00000' OR number = '0000' OR number = '000' OR number = '00' OR number = '0' OR number ='--') OR (number = '0000000000*' OR number = '000000000*' OR number = '00000000*' OR number = '0000000*' OR number = '000000*' OR number = '00000*' OR number = '0000*' OR number = '000*' OR number = '00*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '107888888' OR routing_prefix = '10788888' OR routing_prefix = '1078888' OR routing_prefix = '107888' OR routing_prefix = '10788' OR routing_prefix = '1078' OR routing_prefix = '107' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9900410177 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49999.9 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^107888888.*' OR pattern = '^10788888.*' OR pattern = '^1078888.*' OR pattern = '^107888.*' OR pattern = '^10788.*' OR pattern = '^1078.*' OR pattern = '^107.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^917030888000.*' OR caller_id_pattern = '^91703088800.*' OR caller_id_pattern = '^9170308880.*' OR caller_id_pattern = '^917030888.*' OR caller_id_pattern = '^91703088.*' OR caller_id_pattern = '^9170308.*' OR caller_id_pattern = '^917030.*' OR caller_id_pattern = '^91703.*' OR caller_id_pattern = '^9170.*' OR caller_id_pattern = '^917.*' OR caller_id_pattern = '^91.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=6) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.2000000000 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1 2024-05-22 04:19:03.940817 0.57% [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 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.2000000000 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2000000000 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49999.9 balance Accountid 6 !!! 2024-05-22 04:19:03.940817 0.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2024-05-22 04:19:03.940817 0.57% [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 2024-05-22 04:19:03.940817 0.57% [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 = '^107888888.*' OR pattern = '^10788888.*' OR pattern = '^1078888.*' OR pattern = '^107888.*' OR pattern = '^10788.*' OR pattern = '^1078.*' OR pattern = '^107.*' OR pattern = '^10.*' OR pattern = '^1.*' 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 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.* 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.* 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-05-22 04:19:03.940817 0.57% [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 = 6 AND status=0 LIMIT 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-05-22 04:19:03.940817 0.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :107888888 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :107888888 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1 2024-05-22 04:19:03.940817 0.57% [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.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="107888888" LIMIT 1 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :0000000000 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/0000000000@95.216.147.158 parsing [default->107888888] continue=false Dialplan: sofia/default/0000000000@95.216.147.158 Regex (PASS) [107888888] destination_number(107888888) =~ /107888888/ break=on-false Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_destination_number=107888888) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(notify_flag=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(notify_credit_limit=5.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(type=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(callstart=2024-05-22 04:19:03) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(account_id=6) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(parent_id=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(entity_id=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(call_processed=internal) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(call_direction=outbound) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(accountname=default) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(original_caller_id_name=917030888000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(original_caller_id_number=917030888000) Dialplan: sofia/default/0000000000@95.216.147.158 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/default/0000000000@95.216.147.158 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number}) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_caller_id_name=917030888000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_caller_id_number=917030888000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(calltype=STANDARD) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(trunk_id=1) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(provider_id=3) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(rate_flag=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(quality_trunk_seq=1) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(force_trunk_flag=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_data=trunk_id=1) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(intcall=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_id=107888888) Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158) Dialplan: sofia/default/0000000000@95.216.147.158 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/107888888) 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0000000000@95.216.147.158) State Change CS_ROUTING -> CS_EXECUTE 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0000000000@95.216.147.158) State ROUTING going to sleep 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_EXECUTE (Cur 2 Tot 87) 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0000000000@95.216.147.158) State EXECUTE 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_sofia.c:213 sofia/default/0000000000@95.216.147.158 SOFIA EXECUTE 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/0000000000@95.216.147.158 Standard EXECUTE EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_destination_number=107888888) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_destination_number]=[107888888] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(execute_on_answer_1=sched_hangup +6000 normal_clearing) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(notify_flag=0) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(notify_credit_limit=5.00000) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [notify_credit_limit]=[5.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(type=0) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [type]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(callstart=2024-05-22 04:19:03) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [callstart]=[2024-05-22 04:19:03] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(hangup_after_bridge=true) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(continue_on_fail=TRUE) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(account_id=6) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [account_id]=[6] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(parent_id=0) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [parent_id]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(entity_id=0) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [entity_id]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(call_processed=internal) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(call_direction=outbound) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(accountname=default) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [accountname]=[default] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(original_caller_id_name=917030888000) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [original_caller_id_name]=[917030888000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(original_caller_id_number=917030888000) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [original_caller_id_number]=[917030888000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 hash(insert/95.216.147.158-last_dial/0000000000/107888888) EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 hash(insert/95.216.147.158-call_return/107888888/0000000000) EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(continue_on_fail=TRUE) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_caller_id_name=917030888000) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_caller_id_name]=[917030888000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_caller_id_number=917030888000) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_caller_id_number]=[917030888000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(calltype=STANDARD) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(trunk_id=1) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [trunk_id]=[1] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(provider_id=3) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [provider_id]=[3] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(rate_flag=0) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(daily_call_credit_limit=0.00000) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(monthly_call_credit_limit=0.00000) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(daily_call_used_limit=0.00000) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(monthly_call_used_limit=0.00000) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(quality_trunk_seq=1) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [quality_trunk_seq]=[1] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(force_trunk_flag=0) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_data=trunk_id=1) 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(intcall=0) 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [intcall]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_id=107888888) 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[107888888] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158) 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/107888888) 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] to event 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_id]=[107888888] to event 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] to event 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables 2024-05-22 04:19:03.940817 0.57% [NOTICE] switch_channel.c:1142 New Channel sofia/default/107888888 [e87d1ae5-ea9c-47cd-8056-752958785b81] 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_sofia.c:5110 (sofia/default/107888888) State Change CS_NEW -> CS_INIT 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_ivr_originate.c:3167 sofia/default/107888888 Setting leg timeout to 30 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_INIT (Cur 3 Tot 88) 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107888888) State INIT 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_sofia.c:97 sofia/default/107888888 SOFIA INIT 2024-05-22 04:19:03.940817 0.57% [INFO] sofia_glue.c:1659 sofia/default/107888888 sending invite call-id: (null) 2024-05-22 04:19:03.940817 0.57% [DEBUG] sofia_glue.c:1662 sofia/default/107888888 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1716333703 1716333704 IN IP4 95.216.147.158 s=FreeSWITCH c=IN IP4 95.216.147.158 t=0 0 m=audio 17840 RTP/AVP 8 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/107888888 Standard INIT 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/107888888) State Change CS_INIT -> CS_ROUTING 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107888888) State INIT going to sleep 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_ROUTING (Cur 3 Tot 88) 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107888888) State ROUTING 2024-05-22 04:19:03.940817 0.57% [DEBUG] mod_sofia.c:158 sofia/default/107888888 SOFIA ROUTING 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_ivr_originate.c:67 (sofia/default/107888888) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107888888) State ROUTING going to sleep 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 88) 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/107888888) State CONSUME_MEDIA 2024-05-22 04:19:03.940817 0.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/107888888) State CONSUME_MEDIA going to sleep 2024-05-22 04:19:03.982443 0.57% [DEBUG] sofia.c:7493 Channel sofia/default/107888888 entering state [calling][0] 2024-05-22 04:19:05.232358 0.57% [DEBUG] sofia.c:7493 Channel sofia/default/107888888 entering state [proceeding][180] 2024-05-22 04:19:05.232358 0.57% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/107888888! 2024-05-22 04:19:05.232358 0.57% [DEBUG] switch_channel.c:3513 (sofia/default/107888888) Callstate Change DOWN -> RINGING 2024-05-22 04:19:05.232358 0.57% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/0000000000@95.216.147.158! 2024-05-22 04:19:05.232358 0.57% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/0000000000@95.216.147.158! 2024-05-22 04:19:05.319315 1.07% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [early][180] 2024-05-22 04:19:05.559314 1.07% [DEBUG] sofia.c:7493 Channel sofia/default/107888888@nira.astppbilling.org:5060 entering state [proceeding][180] 2024-05-22 04:19:05.559314 1.07% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/107888888@nira.astppbilling.org:5060! 2024-05-22 04:19:05.559314 1.07% [DEBUG] switch_channel.c:3513 (sofia/default/107888888@nira.astppbilling.org:5060) Callstate Change DOWN -> RINGING 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-05-22 04:19:08.492272 2.10% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1099999000@nira.astppbilling.org:5060 [69175f6d-d83f-4713-bab1-86c798ed64d7] 2024-05-22 04:19:08.492272 2.10% [DEBUG] mod_sofia.c:5110 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_NEW -> CS_INIT 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_ivr_originate.c:3167 sofia/default/1099999000@nira.astppbilling.org:5060 Setting leg timeout to 7 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_INIT (Cur 4 Tot 89) 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1099999000@nira.astppbilling.org:5060) State INIT 2024-05-22 04:19:08.492272 2.10% [DEBUG] mod_sofia.c:97 sofia/default/1099999000@nira.astppbilling.org:5060 SOFIA INIT 2024-05-22 04:19:08.492272 2.10% [INFO] sofia_glue.c:1659 sofia/default/1099999000@nira.astppbilling.org:5060 sending invite call-id: (null) 2024-05-22 04:19:08.492272 2.10% [DEBUG] sofia_glue.c:1662 sofia/default/1099999000@nira.astppbilling.org:5060 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1716332696 1716332697 IN IP4 95.216.147.158 s=FreeSWITCH c=IN IP4 95.216.147.158 t=0 0 m=audio 18852 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/1099999000@nira.astppbilling.org:5060 Standard INIT 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1099999000@nira.astppbilling.org:5060) State INIT going to sleep 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 4 Tot 89) 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1099999000@nira.astppbilling.org:5060) State ROUTING 2024-05-22 04:19:08.492272 2.10% [DEBUG] mod_sofia.c:158 sofia/default/1099999000@nira.astppbilling.org:5060 SOFIA ROUTING 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1099999000@nira.astppbilling.org:5060) State ROUTING going to sleep 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 89) 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1099999000@nira.astppbilling.org:5060) State CONSUME_MEDIA 2024-05-22 04:19:08.492272 2.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1099999000@nira.astppbilling.org:5060) State CONSUME_MEDIA going to sleep 2024-05-22 04:19:08.519310 2.10% [NOTICE] switch_channel.c:1142 New Channel sofia/default/0000000000@95.216.147.158 [fe88c356-a5e4-45ae-905b-5f7f97a7cc62] 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_NEW (Cur 5 Tot 90) 2024-05-22 04:19:08.519310 2.10% [INFO] sofia.c:10459 sofia/default/0000000000@95.216.147.158 receiving invite from 95.216.147.158:5060 version: 1.10.10-release 64bit call-id: 467a9ff6-9295-123d-f9b1-960002fd5b47 2024-05-22 04:19:08.519310 2.10% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 95.216.147.158:0. 2024-05-22 04:19:08.519310 2.10% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [received][100] 2024-05-22 04:19:08.519310 2.10% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=FreeSWITCH 1716332696 1716332697 IN IP4 95.216.147.158 s=FreeSWITCH c=IN IP4 95.216.147.158 t=0 0 m=audio 18852 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/0000000000@95.216.147.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_codec.c:111 sofia/default/0000000000@95.216.147.158 Original read codec set to PCMA:8 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_media.c:5856 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf send payload to 101 recv payload to 101 2024-05-22 04:19:08.519310 2.10% [DEBUG] sofia.c:7927 (sofia/default/0000000000@95.216.147.158) State Change CS_NEW -> CS_INIT 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0000000000@95.216.147.158) State NEW 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_INIT (Cur 5 Tot 90) 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0000000000@95.216.147.158) State INIT 2024-05-22 04:19:08.519310 2.10% [DEBUG] mod_sofia.c:97 sofia/default/0000000000@95.216.147.158 SOFIA INIT 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/0000000000@95.216.147.158 Standard INIT 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0000000000@95.216.147.158) State Change CS_INIT -> CS_ROUTING 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0000000000@95.216.147.158) State INIT going to sleep 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_ROUTING (Cur 5 Tot 90) 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_channel.c:2399 (sofia/default/0000000000@95.216.147.158) Callstate Change DOWN -> RINGING 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0000000000@95.216.147.158) State ROUTING 2024-05-22 04:19:08.519310 2.10% [DEBUG] mod_sofia.c:158 sofia/default/0000000000@95.216.147.158 SOFIA ROUTING 2024-05-22 04:19:08.519310 2.10% [DEBUG] switch_core_state_machine.c:230 sofia/default/0000000000@95.216.147.158 Standard ROUTING 2024-05-22 04:19:08.519310 2.10% [INFO] mod_dialplan_xml.c:639 Processing 0000000000 <0000000000>->1099999000 in context default 2024-05-22 04:19:08.562135 2.10% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000@nira.astppbilling.org:5060 entering state [calling][0] 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1099999000 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1099999000' limit 1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1099999000' and status=0 LIMIT 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'nira.astppbilling.org' limit 1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '6' and username = '1099999000' limit 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 0000000000 / 0000000000 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-05-22 04:19:08.562135 2.10% [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="1099999000" AND domains.domain="nira.astppbilling.org" limit 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("95.216.147.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "1099999000" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6] 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6" OR id = "6") AND deleted = 0 limit 1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1099999000.*' OR blocked_patterns = '^109999900.*' OR blocked_patterns = '^10999990.*' OR blocked_patterns = '^1099999.*' OR blocked_patterns = '^109999.*' OR blocked_patterns = '^10999.*' OR blocked_patterns = '^1099.*' OR blocked_patterns = '^109.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 6 limit 1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2024-05-22 04:19:08.562135 2.10% [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 = '^1099999000.*' OR patterns = '^109999900.*' OR patterns = '^10999990.*' OR patterns = '^1099999.*' OR patterns = '^109999.*' OR patterns = '^10999.*' OR patterns = '^1099.*' OR patterns = '^109.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-05-22 04:19:08.562135 2.10% [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 ="1099999000" AND A.accountid = '6' limit 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1099999000 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-05-22 04:19:08.562135 2.10% [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="1099999000" AND domains.domain="nira.astppbilling.org" limit 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-05-22 04:19:08.562135 2.10% [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 = '1099999000' OR number = '109999900' OR number = '10999990' OR number = '1099999' OR number = '109999' OR number = '10999' OR number = '1099' OR number = '109' OR number = '10' OR number = '1' OR number ='--') OR (number = '1099999000*' OR number = '109999900*' OR number = '10999990*' OR number = '1099999*' OR number = '109999*' OR number = '10999*' OR number = '1099*' OR number = '109*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '0000000000' OR number = '000000000' OR number = '00000000' OR number = '0000000' OR number = '000000' OR number = '00000' OR number = '0000' OR number = '000' OR number = '00' OR number = '0' OR number ='--') OR (number = '0000000000*' OR number = '000000000*' OR number = '00000000*' OR number = '0000000*' OR number = '000000*' OR number = '00000*' OR number = '0000*' OR number = '000*' OR number = '00*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1099999000' OR routing_prefix = '109999900' OR routing_prefix = '10999990' OR routing_prefix = '1099999' OR routing_prefix = '109999' OR routing_prefix = '10999' OR routing_prefix = '1099' OR routing_prefix = '109' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9900410177 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49999.9 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1099999000.*' OR pattern = '^109999900.*' OR pattern = '^10999990.*' OR pattern = '^1099999.*' OR pattern = '^109999.*' OR pattern = '^10999.*' OR pattern = '^1099.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^917030888000.*' OR caller_id_pattern = '^91703088800.*' OR caller_id_pattern = '^9170308880.*' OR caller_id_pattern = '^917030888.*' OR caller_id_pattern = '^91703088.*' OR caller_id_pattern = '^9170308.*' OR caller_id_pattern = '^917030.*' OR caller_id_pattern = '^91703.*' OR caller_id_pattern = '^9170.*' OR caller_id_pattern = '^917.*' OR caller_id_pattern = '^91.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=6) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.2000000000 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1 2024-05-22 04:19:08.562135 2.10% [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 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.2000000000 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2000000000 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49999.9 balance Accountid 6 !!! 2024-05-22 04:19:08.562135 2.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2024-05-22 04:19:08.562135 2.10% [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 2024-05-22 04:19:08.562135 2.10% [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 = '^1099999000.*' OR pattern = '^109999900.*' OR pattern = '^10999990.*' OR pattern = '^1099999.*' OR pattern = '^109999.*' OR pattern = '^10999.*' OR pattern = '^1099.*' OR pattern = '^109.*' OR pattern = '^10.*' OR pattern = '^1.*' 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 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.* 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.* 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-05-22 04:19:08.562135 2.10% [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 = 6 AND status=0 LIMIT 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-05-22 04:19:08.562135 2.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :1099999000 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :1099999000 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1 2024-05-22 04:19:08.562135 2.10% [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.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1099999000" LIMIT 1 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :0000000000 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/0000000000@95.216.147.158 parsing [default->1099999000] continue=false Dialplan: sofia/default/0000000000@95.216.147.158 Regex (PASS) [1099999000] destination_number(1099999000) =~ /1099999000/ break=on-false Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_destination_number=1099999000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(notify_flag=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(notify_credit_limit=5.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(type=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(callstart=2024-05-22 04:19:08) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(account_id=6) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(parent_id=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(entity_id=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(call_processed=internal) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(call_direction=outbound) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(accountname=default) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(original_caller_id_name=917030888000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(original_caller_id_number=917030888000) Dialplan: sofia/default/0000000000@95.216.147.158 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/default/0000000000@95.216.147.158 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number}) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_caller_id_name=917030888000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(effective_caller_id_number=917030888000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(calltype=STANDARD) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(trunk_id=1) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(provider_id=3) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(rate_flag=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(quality_trunk_seq=1) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(force_trunk_flag=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_data=trunk_id=1) Dialplan: sofia/default/0000000000@95.216.147.158 Action set(intcall=0) Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_id=1099999000) Dialplan: sofia/default/0000000000@95.216.147.158 Action export(presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158) Dialplan: sofia/default/0000000000@95.216.147.158 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1099999000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0000000000@95.216.147.158) State Change CS_ROUTING -> CS_EXECUTE 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0000000000@95.216.147.158) State ROUTING going to sleep 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_EXECUTE (Cur 5 Tot 90) 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0000000000@95.216.147.158) State EXECUTE 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_sofia.c:213 sofia/default/0000000000@95.216.147.158 SOFIA EXECUTE 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:323 sofia/default/0000000000@95.216.147.158 Standard EXECUTE EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_destination_number=1099999000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_destination_number]=[1099999000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(execute_on_answer_1=sched_hangup +6000 normal_clearing) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(notify_flag=0) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(notify_credit_limit=5.00000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [notify_credit_limit]=[5.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(type=0) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [type]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(callstart=2024-05-22 04:19:08) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [callstart]=[2024-05-22 04:19:08] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(hangup_after_bridge=true) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(continue_on_fail=TRUE) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(account_id=6) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [account_id]=[6] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(parent_id=0) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [parent_id]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(entity_id=0) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [entity_id]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(call_processed=internal) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(call_direction=outbound) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(accountname=default) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [accountname]=[default] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2000000000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:6] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(original_caller_id_name=917030888000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [original_caller_id_name]=[917030888000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(original_caller_id_number=917030888000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [original_caller_id_number]=[917030888000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 hash(insert/95.216.147.158-last_dial/0000000000/1099999000) EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 hash(insert/95.216.147.158-call_return/1099999000/0000000000) EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(continue_on_fail=TRUE) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_caller_id_name=917030888000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_caller_id_name]=[917030888000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(effective_caller_id_number=917030888000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [effective_caller_id_number]=[917030888000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(calltype=STANDARD) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(trunk_id=1) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [trunk_id]=[1] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(provider_id=3) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [provider_id]=[3] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(rate_flag=0) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(daily_call_credit_limit=0.00000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(monthly_call_credit_limit=0.00000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(daily_call_used_limit=0.00000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(monthly_call_used_limit=0.00000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(quality_trunk_seq=1) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [quality_trunk_seq]=[1] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(force_trunk_flag=0) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_data=trunk_id=1) 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 set(intcall=0) 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_dptools.c:1671 SET sofia/default/0000000000@95.216.147.158 [intcall]=[0] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_id=1099999000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[1099999000] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 export(presence_data=x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158) 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] EXECUTE [depth=0] sofia/default/0000000000@95.216.147.158 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1099999000) 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] to event 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_id]=[1099999000] to event 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_channel.c:1288 sofia/default/0000000000@95.216.147.158 EXPORTING[export_vars] [presence_data]=[x|||Naqash(9900410177)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||95.216.147.158] to event 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables 2024-05-22 04:19:08.562135 2.10% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1099999000 [dedd6864-fe06-4eff-95e8-08b7ab5da5af] 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_sofia.c:5110 (sofia/default/1099999000) State Change CS_NEW -> CS_INIT 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_ivr_originate.c:3167 sofia/default/1099999000 Setting leg timeout to 30 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_INIT (Cur 6 Tot 91) 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1099999000) State INIT 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_sofia.c:97 sofia/default/1099999000 SOFIA INIT 2024-05-22 04:19:08.562135 2.10% [INFO] sofia_glue.c:1659 sofia/default/1099999000 sending invite call-id: (null) 2024-05-22 04:19:08.562135 2.10% [DEBUG] sofia_glue.c:1662 sofia/default/1099999000 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1716318828 1716318829 IN IP4 95.216.147.158 s=FreeSWITCH c=IN IP4 95.216.147.158 t=0 0 m=audio 32720 RTP/AVP 8 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/1099999000 Standard INIT 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1099999000) State Change CS_INIT -> CS_ROUTING 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1099999000) State INIT going to sleep 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_ROUTING (Cur 6 Tot 91) 2024-05-22 04:19:08.562135 2.10% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000 entering state [calling][0] 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1099999000) State ROUTING 2024-05-22 04:19:08.562135 2.10% [DEBUG] mod_sofia.c:158 sofia/default/1099999000 SOFIA ROUTING 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1099999000) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1099999000) State ROUTING going to sleep 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 91) 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1099999000) State CONSUME_MEDIA 2024-05-22 04:19:08.562135 2.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1099999000) State CONSUME_MEDIA going to sleep 2024-05-22 04:19:10.110773 2.17% [NOTICE] switch_ivr_originate.c:367 Hangup sofia/default/107888888@nira.astppbilling.org:5060 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT] 2024-05-22 04:19:10.110773 2.17% [DEBUG] sofia.c:7493 Channel sofia/default/107888888 entering state [proceeding][183] 2024-05-22 04:19:10.110773 2.17% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=root 1257109877 1257109877 IN IP4 35.154.176.248 s=Asterisk PBX 18.20.0 c=IN IP4 35.154.176.248 t=0 0 m=audio 15290 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=maxptime:150 2024-05-22 04:19:10.110773 2.17% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/107888888! 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_channel.c:3585 (sofia/default/107888888) Callstate Change RINGING -> EARLY 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1] 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-05-22 04:19:10.110773 2.17% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000 entering state [proceeding][180] 2024-05-22 04:19:10.110773 2.17% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/1099999000! 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/107888888 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_codec.c:111 sofia/default/107888888 Original read codec set to PCMA:8 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:5856 sofia/default/107888888 Set 2833 dtmf send payload to 101 recv payload to 101 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/107888888] 95.216.147.158 port 17840 -> 35.154.176.248 port 15290 codec: 8 ms: 20 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_channel.c:3513 (sofia/default/1099999000) Callstate Change DOWN -> RINGING 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 6 Tot 91) 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/107888888@nira.astppbilling.org:5060) Callstate Change RINGING -> HANGUP 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107888888@nira.astppbilling.org:5060) State HANGUP 2024-05-22 04:19:10.110773 2.17% [DEBUG] mod_sofia.c:469 Channel sofia/default/107888888@nira.astppbilling.org:5060 hanging up, cause: ALLOTTED_TIMEOUT 2024-05-22 04:19:10.110773 2.17% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/107888888@nira.astppbilling.org:5060 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/107888888@nira.astppbilling.org:5060 Standard HANGUP, cause: ALLOTTED_TIMEOUT 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107888888@nira.astppbilling.org:5060) State HANGUP going to sleep 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 6 Tot 91) 2024-05-22 04:19:10.110773 2.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107888888@nira.astppbilling.org:5060) State REPORTING 2024-05-22 04:19:10.110773 2.17% [INFO] mod_json_cdr.c:272 Process [f42e8941-7223-46a6-927c-f477c5b49b6f.cdr.json] 2024-05-22 04:19:10.137581 2.17% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/0000000000@95.216.147.158! 2024-05-22 04:19:10.137581 2.17% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/0000000000@95.216.147.158! 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 802 [ALLOTTED_TIMEOUT] 2024-05-22 04:19:10.137581 2.17% [INFO] switch_ivr_originate.c:3858 Sending early media 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/0000000000@95.216.147.158] 95.216.147.158 port 27800 -> 95.216.147.158 port 27712 codec: 8 ms: 20 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_core_media.c:8972 sofia/default/107888888 Set 2833 dtmf send payload to 101 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_core_media.c:8979 sofia/default/107888888 Set 2833 dtmf receive payload to 101 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_core_media.c:9002 sofia/default/107888888 Set rtp dtmf delay to 40 2024-05-22 04:19:10.137581 2.17% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms 2024-05-22 04:19:10.166203 2.17% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [early][180] 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_media.c:8972 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf send payload to 101 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_media.c:8979 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf receive payload to 101 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_media.c:9002 sofia/default/0000000000@95.216.147.158 Set rtp dtmf delay to 40 2024-05-22 04:19:10.446949 2.37% [DEBUG] mod_sofia.c:2607 Ring SDP: v=0 o=FreeSWITCH 1716323750 1716323751 IN IP4 95.216.147.158 s=FreeSWITCH c=IN IP4 95.216.147.158 t=0 0 m=audio 27800 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 2024-05-22 04:19:10.446949 2.37% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/0000000000@95.216.147.158! 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_channel.c:3585 (sofia/default/0000000000@95.216.147.158) Callstate Change RINGING -> EARLY 2024-05-22 04:19:10.446949 2.37% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [terminated][487] 2024-05-22 04:19:10.446949 2.37% [NOTICE] sofia.c:8735 Hangup sofia/default/0000000000@95.216.147.158 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_ivr_originate.c:3865 sofia/default/0000000000@95.216.147.158 Media Establishment Failed. 2024-05-22 04:19:10.446949 2.37% [NOTICE] switch_ivr_originate.c:3867 Hangup sofia/default/107888888 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION] 2024-05-22 04:19:10.446949 2.37% [INFO] mod_dptools.c:3635 Originate Failed. Cause: INCOMPATIBLE_DESTINATION 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_session.c:2979 sofia/default/0000000000@95.216.147.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0000000000@95.216.147.158) State EXECUTE going to sleep 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_HANGUP (Cur 6 Tot 91) 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0000000000@95.216.147.158) Callstate Change EARLY -> HANGUP 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0000000000@95.216.147.158) State HANGUP 2024-05-22 04:19:10.446949 2.37% [DEBUG] mod_sofia.c:469 Channel sofia/default/0000000000@95.216.147.158 hanging up, cause: ORIGINATOR_CANCEL 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/0000000000@95.216.147.158 Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0000000000@95.216.147.158) State HANGUP going to sleep 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0000000000@95.216.147.158) State Change CS_HANGUP -> CS_REPORTING 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_REPORTING (Cur 6 Tot 91) 2024-05-22 04:19:10.446949 2.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0000000000@95.216.147.158) State REPORTING 2024-05-22 04:19:10.446949 2.37% [INFO] mod_json_cdr.c:272 Process [7943fd05-70b5-47e6-b84f-5bb6e6a25684.cdr.json] 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_HANGUP (Cur 6 Tot 91) 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/107888888) Callstate Change EARLY -> HANGUP 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107888888) State HANGUP 2024-05-22 04:19:10.884364 2.37% [DEBUG] mod_sofia.c:463 sofia/default/107888888 Overriding SIP cause 488 with 487 from the other leg 2024-05-22 04:19:10.884364 2.37% [DEBUG] mod_sofia.c:469 Channel sofia/default/107888888 hanging up, cause: INCOMPATIBLE_DESTINATION 2024-05-22 04:19:10.884364 2.37% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/107888888 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/107888888 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107888888) State HANGUP going to sleep 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/107888888) State Change CS_HANGUP -> CS_REPORTING 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107888888) Running State Change CS_REPORTING (Cur 6 Tot 91) 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107888888) State REPORTING 2024-05-22 04:19:10.884364 2.37% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000@nira.astppbilling.org:5060 entering state [proceeding][180] 2024-05-22 04:19:10.884364 2.37% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/1099999000@nira.astppbilling.org:5060! 2024-05-22 04:19:10.884364 2.37% [INFO] mod_json_cdr.c:272 Process [e87d1ae5-ea9c-47cd-8056-752958785b81.cdr.json] 2024-05-22 04:19:10.884364 2.37% [DEBUG] switch_channel.c:3513 (sofia/default/1099999000@nira.astppbilling.org:5060) Callstate Change DOWN -> RINGING 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/0000000000@95.216.147.158 Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0000000000@95.216.147.158) State REPORTING going to sleep 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0000000000@95.216.147.158) State Change CS_REPORTING -> CS_DESTROY 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_session.c:1744 Session 87 (sofia/default/0000000000@95.216.147.158) Locked, Waiting on external entities 2024-05-22 04:19:11.305506 2.67% [NOTICE] switch_core_session.c:1762 Session 87 (sofia/default/0000000000@95.216.147.158) Ended 2024-05-22 04:19:11.305506 2.67% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/0000000000@95.216.147.158 [CS_DESTROY] 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0000000000@95.216.147.158) Running State Change CS_DESTROY (Cur 5 Tot 91) 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0000000000@95.216.147.158) State DESTROY 2024-05-22 04:19:11.305506 2.67% [DEBUG] mod_sofia.c:380 sofia/default/0000000000@95.216.147.158 SOFIA DESTROY 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/0000000000@95.216.147.158 Standard DESTROY 2024-05-22 04:19:11.305506 2.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0000000000@95.216.147.158) State DESTROY going to sleep 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/107888888@nira.astppbilling.org:5060 Standard REPORTING, cause: ALLOTTED_TIMEOUT 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107888888@nira.astppbilling.org:5060) State REPORTING going to sleep 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/107888888@nira.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_session.c:1744 Session 86 (sofia/default/107888888@nira.astppbilling.org:5060) Locked, Waiting on external entities 2024-05-22 04:19:13.460672 2.77% [NOTICE] switch_core_session.c:1762 Session 86 (sofia/default/107888888@nira.astppbilling.org:5060) Ended 2024-05-22 04:19:13.460672 2.77% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/107888888@nira.astppbilling.org:5060 [CS_DESTROY] 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/107888888@nira.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 4 Tot 91) 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107888888@nira.astppbilling.org:5060) State DESTROY 2024-05-22 04:19:13.460672 2.77% [DEBUG] mod_sofia.c:380 sofia/default/107888888@nira.astppbilling.org:5060 SOFIA DESTROY 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/107888888@nira.astppbilling.org:5060 Standard DESTROY 2024-05-22 04:19:13.460672 2.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107888888@nira.astppbilling.org:5060) State DESTROY going to sleep 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:168 sofia/default/107888888 Standard REPORTING, cause: INCOMPATIBLE_DESTINATION 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107888888) State REPORTING going to sleep 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:607 (sofia/default/107888888) State Change CS_REPORTING -> CS_DESTROY 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_session.c:1744 Session 88 (sofia/default/107888888) Locked, Waiting on external entities 2024-05-22 04:19:13.988326 2.77% [NOTICE] switch_core_session.c:1762 Session 88 (sofia/default/107888888) Ended 2024-05-22 04:19:13.988326 2.77% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/107888888 [CS_DESTROY] 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:735 (sofia/default/107888888) Running State Change CS_DESTROY (Cur 3 Tot 91) 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107888888) State DESTROY 2024-05-22 04:19:13.988326 2.77% [DEBUG] mod_sofia.c:380 sofia/default/107888888 SOFIA DESTROY 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:175 sofia/default/107888888 Standard DESTROY 2024-05-22 04:19:13.988326 2.77% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107888888) State DESTROY going to sleep 2024-05-22 04:19:14.334159 2.80% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000 entering state [proceeding][183] 2024-05-22 04:19:14.334159 2.80% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=root 1159343637 1159343637 IN IP4 35.154.176.248 s=Asterisk PBX 18.20.0 c=IN IP4 35.154.176.248 t=0 0 m=audio 14082 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=maxptime:150 2024-05-22 04:19:14.334159 2.80% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/1099999000! 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_channel.c:3585 (sofia/default/1099999000) Callstate Change RINGING -> EARLY 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1] 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1099999000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_codec.c:111 sofia/default/1099999000 Original read codec set to PCMA:8 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:5856 sofia/default/1099999000 Set 2833 dtmf send payload to 101 recv payload to 101 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/1099999000] 95.216.147.158 port 32720 -> 35.154.176.248 port 14082 codec: 8 ms: 20 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms 2024-05-22 04:19:14.334159 2.80% [INFO] switch_ivr_originate.c:3858 Sending early media 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/0000000000@95.216.147.158] 95.216.147.158 port 28672 -> 95.216.147.158 port 18852 codec: 8 ms: 20 2024-05-22 04:19:14.334159 2.80% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8972 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf send payload to 101 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8979 sofia/default/0000000000@95.216.147.158 Set 2833 dtmf receive payload to 101 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:9002 sofia/default/0000000000@95.216.147.158 Set rtp dtmf delay to 40 2024-05-22 04:19:14.359520 2.80% [DEBUG] mod_sofia.c:2607 Ring SDP: v=0 o=FreeSWITCH 1716322882 1716322883 IN IP4 95.216.147.158 s=FreeSWITCH c=IN IP4 95.216.147.158 t=0 0 m=audio 28672 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 2024-05-22 04:19:14.359520 2.80% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/0000000000@95.216.147.158! 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_channel.c:3585 (sofia/default/0000000000@95.216.147.158) Callstate Change RINGING -> EARLY 2024-05-22 04:19:14.359520 2.80% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [early][183] 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/1099999000] Peer UUID: dedd6864-fe06-4eff-95e8-08b7ab5da5af 2024-05-22 04:19:14.359520 2.80% [DEBUG] sofia.c:7493 Channel sofia/default/1099999000@nira.astppbilling.org:5060 entering state [proceeding][183] 2024-05-22 04:19:14.359520 2.80% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=FreeSWITCH 1716322882 1716322883 IN IP4 95.216.147.158 s=FreeSWITCH c=IN IP4 95.216.147.158 t=0 0 m=audio 28672 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-05-22 04:19:14.359520 2.80% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/1099999000@nira.astppbilling.org:5060! 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_channel.c:3585 (sofia/default/1099999000@nira.astppbilling.org:5060) Callstate Change RINGING -> EARLY 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1099999000@nira.astppbilling.org:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_codec.c:111 sofia/default/1099999000@nira.astppbilling.org:5060 Original read codec set to PCMA:8 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:5856 sofia/default/1099999000@nira.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/1099999000@nira.astppbilling.org:5060] 95.216.147.158 port 18852 -> 95.216.147.158 port 28672 codec: 8 ms: 20 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8972 sofia/default/1099999000@nira.astppbilling.org:5060 Set 2833 dtmf send payload to 101 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:8979 sofia/default/1099999000@nira.astppbilling.org:5060 Set 2833 dtmf receive payload to 101 2024-05-22 04:19:14.359520 2.80% [DEBUG] switch_core_media.c:9002 sofia/default/1099999000@nira.astppbilling.org:5060 Set rtp dtmf delay to 40 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/1099999000@nira.astppbilling.org:5060] Peer UUID: 69175f6d-d83f-4713-bab1-86c798ed64d7 2024-05-22 04:19:14.764629 2.80% [INFO] switch_channel.c:3289 sofia/default/1099999000@nira.astppbilling.org:5060 Flipping CID from "" <0000000000> to "Outbound Call" <1099999000> 2024-05-22 04:19:14.764629 2.80% [DEBUG] mod_commands.c:5164 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_CONSUME_MEDIA -> CS_EXECUTE 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 3 Tot 91) 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1099999000@nira.astppbilling.org:5060) State EXECUTE 2024-05-22 04:19:14.764629 2.80% [DEBUG] mod_sofia.c:213 sofia/default/1099999000@nira.astppbilling.org:5060 SOFIA EXECUTE 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:323 sofia/default/1099999000@nira.astppbilling.org:5060 Standard EXECUTE EXECUTE [depth=0] sofia/default/1099999000@nira.astppbilling.org:5060 lua(/usr/local/freeswitch/scripts/astpp/lib/astpp.autodialer.lua) 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_media.c:8972 sofia/default/1099999000 Set 2833 dtmf send payload to 101 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_media.c:8979 sofia/default/1099999000 Set 2833 dtmf receive payload to 101 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_media.c:9002 sofia/default/1099999000 Set rtp dtmf delay to 40 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/1099999000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 91) 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1099999000) State EXCHANGE_MEDIA 2024-05-22 04:19:14.764629 2.80% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-05-22 04:19:14.764629 2.80% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2024-05-22 04:19:15.563122 2.80% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_cpp.cpp:1209 sofia/default/1099999000@nira.astppbilling.org:5060 destroy/unlink session from object 2024-05-22 04:19:15.563122 2.80% [NOTICE] switch_core_state_machine.c:382 sofia/default/1099999000@nira.astppbilling.org:5060 has executed the last dialplan instruction, hanging up. 2024-05-22 04:19:15.563122 2.80% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1099999000@nira.astppbilling.org:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1099999000@nira.astppbilling.org:5060) State EXECUTE going to sleep 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 3 Tot 91) 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:337 sofia/default/1099999000@nira.astppbilling.org:5060 skip receive message [AUDIO_SYNC] (channel is hungup already) 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:338 sofia/default/1099999000@nira.astppbilling.org:5060 skip receive message [VIDEO_SYNC] (channel is hungup already) 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1099999000@nira.astppbilling.org:5060) Callstate Change EARLY -> HANGUP 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1099999000@nira.astppbilling.org:5060) State HANGUP 2024-05-22 04:19:15.563122 2.80% [DEBUG] mod_sofia.c:469 Channel sofia/default/1099999000@nira.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING 2024-05-22 04:19:15.563122 2.80% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/1099999000@nira.astppbilling.org:5060 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/1099999000@nira.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1099999000@nira.astppbilling.org:5060) State HANGUP going to sleep 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 3 Tot 91) 2024-05-22 04:19:15.563122 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1099999000@nira.astppbilling.org:5060) State REPORTING 2024-05-22 04:19:15.563122 2.80% [INFO] mod_json_cdr.c:272 Process [69175f6d-d83f-4713-bab1-86c798ed64d7.cdr.json] 2024-05-22 04:19:16.209835 2.80% [DEBUG] sofia.c:7493 Channel sofia/default/0000000000@95.216.147.158 entering state [terminated][487] 2024-05-22 04:19:16.209835 2.80% [NOTICE] sofia.c:8735 Hangup sofia/default/0000000000@95.216.147.158 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2024-05-22 04:19:16.209835 2.80% [DEBUG] switch_ivr_bridge.c:825 sofia/default/0000000000@95.216.147.158 ending bridge by request from read function 2024-05-22 04:19:16.209835 2.80% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/0000000000@95.216.147.158] 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/1099999000] 2024-05-22 04:19:16.305823 2.80% [NOTICE] switch_ivr_bridge.c:1023 Hangup sofia/default/1099999000 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1099999000) State EXCHANGE_MEDIA going to sleep 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_HANGUP (Cur 3 Tot 91) 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1099999000) Callstate Change EARLY -> HANGUP 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1099999000) State HANGUP 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:463 sofia/default/1099999000 Overriding SIP cause 487 with 487 from the other leg 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:469 Channel sofia/default/1099999000 hanging up, cause: ORIGINATOR_CANCEL 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/1099999000 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/1099999000 Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1099999000) State HANGUP going to sleep 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1099999000) State Change CS_HANGUP -> CS_REPORTING 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1099999000) Running State Change CS_REPORTING (Cur 3 Tot 91) 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1099999000) State REPORTING 2024-05-22 04:19:16.305823 2.80% [INFO] mod_json_cdr.c:272 Process [dedd6864-fe06-4eff-95e8-08b7ab5da5af.cdr.json] 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/1099999000 skip receive message [UNBRIDGE] (channel is hungup already) 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/0000000000@95.216.147.158 skip receive message [UNBRIDGE] (channel is hungup already) 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_session.c:2979 sofia/default/0000000000@95.216.147.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0000000000@95.216.147.158) State EXECUTE going to sleep 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_HANGUP (Cur 3 Tot 91) 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0000000000@95.216.147.158) Callstate Change EARLY -> HANGUP 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0000000000@95.216.147.158) State HANGUP 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:469 Channel sofia/default/0000000000@95.216.147.158 hanging up, cause: ORIGINATOR_CANCEL 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:59 sofia/default/0000000000@95.216.147.158 Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0000000000@95.216.147.158) State HANGUP going to sleep 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0000000000@95.216.147.158) State Change CS_HANGUP -> CS_REPORTING 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0000000000@95.216.147.158) Running State Change CS_REPORTING (Cur 3 Tot 91) 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0000000000@95.216.147.158) State REPORTING 2024-05-22 04:19:16.305823 2.80% [INFO] mod_json_cdr.c:272 Process [fe88c356-a5e4-45ae-905b-5f7f97a7cc62.cdr.json] 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/1099999000@nira.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1099999000@nira.astppbilling.org:5060) State REPORTING going to sleep 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1099999000@nira.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_session.c:1744 Session 89 (sofia/default/1099999000@nira.astppbilling.org:5060) Locked, Waiting on external entities 2024-05-22 04:19:16.305823 2.80% [NOTICE] switch_core_session.c:1762 Session 89 (sofia/default/1099999000@nira.astppbilling.org:5060) Ended 2024-05-22 04:19:16.305823 2.80% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1099999000@nira.astppbilling.org:5060 [CS_DESTROY] 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1099999000@nira.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 2 Tot 91) 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1099999000@nira.astppbilling.org:5060) State DESTROY 2024-05-22 04:19:16.305823 2.80% [DEBUG] mod_sofia.c:380 sofia/default/1099999000@nira.astppbilling.org:5060 SOFIA DESTROY 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/1099999000@nira.astppbilling.org:5060 Standard DESTROY 2024-05-22 04:19:16.305823 2.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1099999000@nira.astppbilling.org:5060) State DESTROY going to sleep 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:168 sofia/default/1099999000 Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1099999000) State REPORTING going to sleep 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1099999000) State Change CS_REPORTING -> CS_DESTROY 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_session.c:1744 Session 91 (sofia/default/1099999000) Locked, Waiting on external entities 2024-05-22 04:19:16.994950 2.80% [NOTICE] switch_core_session.c:1762 Session 91 (sofia/default/1099999000) Ended 2024-05-22 04:19:16.994950 2.80% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1099999000 [CS_DESTROY] 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1099999000) Running State Change CS_DESTROY (Cur 1 Tot 91) 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1099999000) State DESTROY 2024-05-22 04:19:16.994950 2.80% [DEBUG] mod_sofia.c:380 sofia/default/1099999000 SOFIA DESTROY 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:175 sofia/default/1099999000 Standard DESTROY 2024-05-22 04:19:16.994950 2.80% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1099999000) State DESTROY going to sleep 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/0000000000@95.216.147.158 Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0000000000@95.216.147.158) State REPORTING going to sleep 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0000000000@95.216.147.158) State Change CS_REPORTING -> CS_DESTROY 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_session.c:1744 Session 90 (sofia/default/0000000000@95.216.147.158) Locked, Waiting on external entities 2024-05-22 04:19:18.321024 3.20% [NOTICE] switch_core_session.c:1762 Session 90 (sofia/default/0000000000@95.216.147.158) Ended 2024-05-22 04:19:18.321024 3.20% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/0000000000@95.216.147.158 [CS_DESTROY] 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0000000000@95.216.147.158) Running State Change CS_DESTROY (Cur 0 Tot 91) 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0000000000@95.216.147.158) State DESTROY 2024-05-22 04:19:18.321024 3.20% [DEBUG] mod_sofia.c:380 sofia/default/0000000000@95.216.147.158 SOFIA DESTROY 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/0000000000@95.216.147.158 Standard DESTROY 2024-05-22 04:19:18.321024 3.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0000000000@95.216.147.158) State DESTROY going to sleep freeswitch@NiraliASTPPTEST> freeswitch@NiraliASTPPTEST> freeswitch@NiraliASTPPTEST> freeswitch@NiraliASTPPTEST> freeswitch@NiraliASTPPTEST>