2024-10-23 12:37:37.283273 98.77% [NOTICE] switch_channel.c:1142 New Channel sofia/default/Private@103.26.173.9 [658e73b5-faec-4b23-be23-c74a05e70fd2] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_NEW (Cur 1 Tot 151016) 2024-10-23 12:37:37.283273 98.77% [INFO] sofia.c:10459 sofia/default/Private@103.26.173.9 receiving invite from 103.26.173.4:5060 version: 1.10.10-release 64bit call-id: 6d176c4d-0bde-123e-509f-d094666d3779 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.26.173.4:0. 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:10582 IP 103.26.173.4 Approved by acl "default[]". Access Granted. 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:7493 Channel sofia/default/Private@103.26.173.9 entering state [received][100] 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=FreeSWITCH 1729636225 1729636226 IN IP4 103.26.173.9 s=FreeSWITCH c=IN IP4 103.26.173.9 t=0 0 m=audio 50832 RTP/AVP 8 0 18 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=rtpmap:13 CN/8000 a=ptime:20 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/Private@103.26.173.9 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_codec.c:111 sofia/default/Private@103.26.173.9 Original read codec set to PCMA:8 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_media.c:5856 sofia/default/Private@103.26.173.9 Set 2833 dtmf send payload to 101 recv payload to 101 2024-10-23 12:37:37.283273 98.77% [DEBUG] sofia.c:7927 (sofia/default/Private@103.26.173.9) State Change CS_NEW -> CS_INIT 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:600 (sofia/default/Private@103.26.173.9) State NEW 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_INIT (Cur 1 Tot 151016) 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/Private@103.26.173.9) State INIT 2024-10-23 12:37:37.283273 98.77% [DEBUG] mod_sofia.c:97 sofia/default/Private@103.26.173.9 SOFIA INIT 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/Private@103.26.173.9 Standard INIT 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/Private@103.26.173.9) State Change CS_INIT -> CS_ROUTING 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/Private@103.26.173.9) State INIT going to sleep 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_ROUTING (Cur 1 Tot 151016) 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_channel.c:2399 (sofia/default/Private@103.26.173.9) Callstate Change DOWN -> RINGING 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/Private@103.26.173.9) State ROUTING 2024-10-23 12:37:37.283273 98.77% [DEBUG] mod_sofia.c:158 sofia/default/Private@103.26.173.9 SOFIA ROUTING 2024-10-23 12:37:37.283273 98.77% [DEBUG] switch_core_state_machine.c:230 sofia/default/Private@103.26.173.9 Standard ROUTING 2024-10-23 12:37:37.283273 98.77% [INFO] mod_dialplan_xml.c:639 Processing Private ->61884907199 in context default 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-10-23 12:37:37.303274 98.77% [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-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 61884907199 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '61884907199' AND status=0 limit 1 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '61884907199' limit 1 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Private / Private 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,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 ="61884907199" LIMIT 1 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.26.173.4 2024-10-23 12:37:37.303274 98.77% [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("103.26.173.4") 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 "61884907199" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894] 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="61884907199" AND (accountid = 0 OR status = 1) LIMIT 1 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 44 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^61884907199.*' OR patterns = '^6188490719.*' OR patterns = '^618849071.*' OR patterns = '^61884907.*' OR patterns = '^6188490.*' OR patterns = '^618849.*' OR patterns = '^61884.*' OR patterns = '^6188.*' OR patterns = '^618.*' OR patterns = '^61.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 44 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="61884907199" AND A.accountid = '3' limit 1 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 61884907199 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,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 ="61884907199" LIMIT 1 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '61884907199' OR number = '6188490719' OR number = '618849071' OR number = '61884907' OR number = '6188490' OR number = '618849' OR number = '61884' OR number = '6188' OR number = '618' OR number = '61' OR number = '6' OR number ='--') OR (number = '61884907199*' OR number = '6188490719*' OR number = '618849071*' OR number = '61884907*' OR number = '6188490*' OR number = '618849*' OR number = '61884*' OR number = '6188*' OR number = '618*' OR number = '61*' OR number = '6*' OR number ='--') OR (number = 'Private' OR number = 'Privat' OR number = 'Priva' OR number = 'Priv' OR number = 'Pri' OR number = 'Pr' OR number = 'P' OR number ='--') OR (number = 'Private*' OR number = 'Privat*' OR number = 'Priva*' OR number = 'Priv*' OR number = 'Pri*' OR number = 'Pr*' OR number = 'P*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '61884907199' OR routing_prefix = '6188490719' OR routing_prefix = '618849071' OR routing_prefix = '61884907' OR routing_prefix = '6188490' OR routing_prefix = '618849' OR routing_prefix = '61884' OR routing_prefix = '6188' OR routing_prefix = '618' OR routing_prefix = '61' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000000 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-10-23 12:37:37.303274 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,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 ="61884907199" LIMIT 1 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:37.303274 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 44 and status = 0 limit 1 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,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 ="61884907199" LIMIT 1 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2728 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 61884907199 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 12 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000000 balance Accountid 3 !!! 2024-10-23 12:37:37.343284 98.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 600 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 600 minutes 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "44" OR number = "44") AND deleted = 0 limit 1 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 600 2024-10-23 12:37:37.343284 98.77% [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-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:37.343284 98.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5 2024-10-23 12:37:37.343284 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 44 or id = 44 ) and status = 0 limit 1 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4785155959" limit 1 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/Private@103.26.173.9 parsing [default->61884907199] continue=false Dialplan: sofia/default/Private@103.26.173.9 Regex (PASS) [61884907199] destination_number(61884907199) =~ /61884907199/ break=on-false Dialplan: sofia/default/Private@103.26.173.9 Action set(effective_destination_number=61884907199) Dialplan: sofia/default/Private@103.26.173.9 Action set(execute_on_answer_1=sched_hangup +36000 normal_clearing) Dialplan: sofia/default/Private@103.26.173.9 Action set(notify_flag=0) Dialplan: sofia/default/Private@103.26.173.9 Action set(notify_credit_limit=0.00000) Dialplan: sofia/default/Private@103.26.173.9 Action set(type=3) Dialplan: sofia/default/Private@103.26.173.9 Action set(callstart=2024-10-23 12:37:37) Dialplan: sofia/default/Private@103.26.173.9 Action set(hangup_after_bridge=true) Dialplan: sofia/default/Private@103.26.173.9 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/Private@103.26.173.9 Action set(account_id=3) Dialplan: sofia/default/Private@103.26.173.9 Action set(parent_id=0) Dialplan: sofia/default/Private@103.26.173.9 Action set(entity_id=3) Dialplan: sofia/default/Private@103.26.173.9 Action set(call_processed=internal) Dialplan: sofia/default/Private@103.26.173.9 Action set(call_direction=inbound) Dialplan: sofia/default/Private@103.26.173.9 Action set(accountname=NETSIPProvider) Dialplan: sofia/default/Private@103.26.173.9 Action set(origination_rates_did=ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:3) Dialplan: sofia/default/Private@103.26.173.9 Action set(origination_rates=0) Dialplan: sofia/default/Private@103.26.173.9 Action set(original_caller_id_name=Private) Dialplan: sofia/default/Private@103.26.173.9 Action set(original_caller_id_number=Private) Dialplan: sofia/default/Private@103.26.173.9 Action set(effective_caller_id_name=Private) Dialplan: sofia/default/Private@103.26.173.9 Action set(effective_caller_id_number=Private) Dialplan: sofia/default/Private@103.26.173.9 Action set(receiver_accid=44) Dialplan: sofia/default/Private@103.26.173.9 Action export(domain_name=) Dialplan: sofia/default/Private@103.26.173.9 Action export(sip_to_host=) Dialplan: sofia/default/Private@103.26.173.9 Action export(presence_data=x|||NETSIP(3673942894)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.26.173.4) Dialplan: sofia/default/Private@103.26.173.9 Action export(call_type=5) Dialplan: sofia/default/Private@103.26.173.9 Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/Private@103.26.173.9 Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/Private@103.26.173.9 Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/Private@103.26.173.9 Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/Private@103.26.173.9 Action set(calltype=SIP-DID) Dialplan: sofia/default/Private@103.26.173.9 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/4785155959@sip.mynet.au^61884907199) Dialplan: sofia/default/Private@103.26.173.9 Action set(did_id=2728) Dialplan: sofia/default/Private@103.26.173.9 Action set(destination_number=61884907199) Dialplan: sofia/default/Private@103.26.173.9 Action set(leg_timeout=0) Dialplan: sofia/default/Private@103.26.173.9 Action set(call_type_vm_flag=1) Dialplan: sofia/default/Private@103.26.173.9 Action set(is_local_extension=1) Dialplan: sofia/default/Private@103.26.173.9 Action lua(did_call_forwarding.lua) |--- Dialplan: Processing recursive conditions level:1 [61884907199_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/Private@103.26.173.9 Regex (FAIL) [61884907199_recur_1] ${cond(${user_data 4785155959@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/Private@103.26.173.9 ANTI-Action hangup(${originate_disposition}) 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:281 (sofia/default/Private@103.26.173.9) State Change CS_ROUTING -> CS_EXECUTE 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/Private@103.26.173.9) State ROUTING going to sleep 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_EXECUTE (Cur 1 Tot 151016) 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:647 (sofia/default/Private@103.26.173.9) State EXECUTE 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_sofia.c:213 sofia/default/Private@103.26.173.9 SOFIA EXECUTE 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:323 sofia/default/Private@103.26.173.9 Standard EXECUTE EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(effective_destination_number=61884907199) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [effective_destination_number]=[61884907199] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(execute_on_answer_1=sched_hangup +36000 normal_clearing) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [execute_on_answer_1]=[sched_hangup +36000 normal_clearing] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(notify_flag=0) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(notify_credit_limit=0.00000) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [notify_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(type=3) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [type]=[3] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(callstart=2024-10-23 12:37:37) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [callstart]=[2024-10-23 12:37:37] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(hangup_after_bridge=true) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(continue_on_fail=TRUE) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(account_id=3) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [account_id]=[3] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(parent_id=0) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [parent_id]=[0] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(entity_id=3) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [entity_id]=[3] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(call_processed=internal) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(call_direction=inbound) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(accountname=NETSIPProvider) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [accountname]=[NETSIPProvider] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(origination_rates_did=ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:3) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [origination_rates_did]=[ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:3] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(origination_rates=0) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(original_caller_id_name=Private) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [original_caller_id_name]=[Private] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(original_caller_id_number=Private) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [original_caller_id_number]=[Private] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(effective_caller_id_name=Private) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [effective_caller_id_name]=[Private] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(effective_caller_id_number=Private) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [effective_caller_id_number]=[Private] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(receiver_accid=44) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [receiver_accid]=[44] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 export(domain_name=) 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 export(sip_to_host=) 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 export(presence_data=x|||NETSIP(3673942894)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.26.173.4) 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||NETSIP(3673942894)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.26.173.4] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 export(call_type=5) 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[5] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(daily_call_credit_limit=0.00000) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(monthly_call_credit_limit=0.00000) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(daily_call_used_limit=0.00000) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(monthly_call_used_limit=0.00000) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 set(calltype=SIP-DID) 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_dptools.c:1671 SET sofia/default/Private@103.26.173.9 [calltype]=[SIP-DID] EXECUTE [depth=0] sofia/default/Private@103.26.173.9 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/4785155959@sip.mynet.au^61884907199) 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1288 sofia/default/Private@103.26.173.9 EXPORTING[export_vars] [presence_data]=[x|||NETSIP(3673942894)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.26.173.4] to event 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_channel.c:1288 sofia/default/Private@103.26.173.9 EXPORTING[export_vars] [call_type]=[5] to event 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables 2024-10-23 12:37:37.363294 98.77% [NOTICE] switch_channel.c:1142 New Channel sofia/default/4785155959@sip.mynet.au [00f43b46-81b6-41ab-9514-52b30bda7826] 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_sofia.c:5110 (sofia/default/4785155959@sip.mynet.au) State Change CS_NEW -> CS_INIT 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_INIT (Cur 2 Tot 151017) 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4785155959@sip.mynet.au) State INIT 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_sofia.c:97 sofia/default/4785155959@sip.mynet.au SOFIA INIT 2024-10-23 12:37:37.363294 98.77% [INFO] sofia_glue.c:1659 sofia/default/4785155959@sip.mynet.au sending invite call-id: (null) 2024-10-23 12:37:37.363294 98.77% [DEBUG] sofia_glue.c:1662 sofia/default/4785155959@sip.mynet.au sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1729669937 1729669938 IN IP4 103.142.158.211 s=FreeSWITCH c=IN IP4 103.142.158.211 t=0 0 m=audio 17120 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-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:40 sofia/default/4785155959@sip.mynet.au Standard INIT 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4785155959@sip.mynet.au) State Change CS_INIT -> CS_ROUTING 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4785155959@sip.mynet.au) State INIT going to sleep 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_ROUTING (Cur 2 Tot 151017) 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4785155959@sip.mynet.au) State ROUTING 2024-10-23 12:37:37.363294 98.77% [DEBUG] mod_sofia.c:158 sofia/default/4785155959@sip.mynet.au SOFIA ROUTING 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_ivr_originate.c:67 (sofia/default/4785155959@sip.mynet.au) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4785155959@sip.mynet.au) State ROUTING going to sleep 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 151017) 2024-10-23 12:37:37.363294 98.77% [DEBUG] sofia.c:7493 Channel sofia/default/4785155959@sip.mynet.au entering state [calling][0] 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4785155959@sip.mynet.au) State CONSUME_MEDIA 2024-10-23 12:37:37.363294 98.77% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4785155959@sip.mynet.au) State CONSUME_MEDIA going to sleep 2024-10-23 12:37:37.423286 98.77% [DEBUG] sofia.c:7493 Channel sofia/default/4785155959@sip.mynet.au entering state [proceeding][180] 2024-10-23 12:37:37.423286 98.77% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/4785155959@sip.mynet.au! 2024-10-23 12:37:37.423286 98.77% [DEBUG] switch_channel.c:3513 (sofia/default/4785155959@sip.mynet.au) Callstate Change DOWN -> RINGING 2024-10-23 12:37:37.423286 98.77% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/Private@103.26.173.9! 2024-10-23 12:37:37.423286 98.77% [DEBUG] sofia.c:7493 Channel sofia/default/Private@103.26.173.9 entering state [early][180] 2024-10-23 12:37:37.423286 98.77% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/Private@103.26.173.9! 2024-10-23 12:37:57.443275 96.03% [NOTICE] switch_channel.c:1142 New Channel sofia/default/61873259300@sip.mynet.au [2e6f9598-c85d-42bb-81fa-1c87e3bcf5c0] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_NEW (Cur 3 Tot 151018) 2024-10-23 12:37:57.443275 96.03% [INFO] sofia.c:10459 sofia/default/61873259300@sip.mynet.au receiving invite from 103.142.158.210:5060 version: 1.10.10-release 64bit call-id: gNaPgY324uMXHCMsMM5X2A.. 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.142.158.210:0. 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:10582 IP 103.142.158.210 Approved by acl "default[]". Access Granted. 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:7493 Channel sofia/default/61873259300@sip.mynet.au entering state [received][100] 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=3cxPS 26300304882401280 7999934548672513 IN IP4 103.83.85.71 s=3cxPS Audio call c=IN IP4 103.83.85.71 t=0 0 m=audio 9680 RTP/AVP 8 0 9 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/61873259300@sip.mynet.au PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_codec.c:111 sofia/default/61873259300@sip.mynet.au Original read codec set to PCMA:8 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_media.c:5856 sofia/default/61873259300@sip.mynet.au Set 2833 dtmf send payload to 101 recv payload to 101 2024-10-23 12:37:57.443275 96.03% [DEBUG] sofia.c:7927 (sofia/default/61873259300@sip.mynet.au) State Change CS_NEW -> CS_INIT 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:600 (sofia/default/61873259300@sip.mynet.au) State NEW 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_INIT (Cur 3 Tot 151018) 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61873259300@sip.mynet.au) State INIT 2024-10-23 12:37:57.443275 96.03% [DEBUG] mod_sofia.c:97 sofia/default/61873259300@sip.mynet.au SOFIA INIT 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/61873259300@sip.mynet.au Standard INIT 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/61873259300@sip.mynet.au) State Change CS_INIT -> CS_ROUTING 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61873259300@sip.mynet.au) State INIT going to sleep 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_ROUTING (Cur 3 Tot 151018) 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_channel.c:2399 (sofia/default/61873259300@sip.mynet.au) Callstate Change DOWN -> RINGING 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61873259300@sip.mynet.au) State ROUTING 2024-10-23 12:37:57.443275 96.03% [DEBUG] mod_sofia.c:158 sofia/default/61873259300@sip.mynet.au SOFIA ROUTING 2024-10-23 12:37:57.443275 96.03% [DEBUG] switch_core_state_machine.c:230 sofia/default/61873259300@sip.mynet.au Standard ROUTING 2024-10-23 12:37:57.443275 96.03% [INFO] mod_dialplan_xml.c:639 Processing Private:MyNet Direct Justin P <61873259300>->61412018691 in context default 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-10-23 12:37:57.463294 96.03% [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-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 61412018691 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '61412018691' AND status=0 limit 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER61873259300 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '61412018691' limit 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "61873259300" / 61873259300 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61412018691" LIMIT 1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="61412018691" limit 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.83.85.71 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4785155959] 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4785155959" OR id = "4785155959") AND deleted = 0 limit 1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^61412018691.*' OR blocked_patterns = '^6141201869.*' OR blocked_patterns = '^614120186.*' OR blocked_patterns = '^61412018.*' OR blocked_patterns = '^6141201.*' OR blocked_patterns = '^614120.*' OR blocked_patterns = '^61412.*' OR blocked_patterns = '^6141.*' OR blocked_patterns = '^614.*' OR blocked_patterns = '^61.*' OR blocked_patterns = '^6.*' OR blocked_patterns ='--') AND accountid = 44 limit 1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="61412018691" AND (accountid = 0 OR status = 1) LIMIT 1 2024-10-23 12:37:57.463294 96.03% [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 = '^61412018691.*' OR patterns = '^6141201869.*' OR patterns = '^614120186.*' OR patterns = '^61412018.*' OR patterns = '^6141201.*' OR patterns = '^614120.*' OR patterns = '^61412.*' OR patterns = '^6141.*' OR patterns = '^614.*' OR patterns = '^61.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 44 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-10-23 12:37:57.463294 96.03% [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 ="61412018691" AND A.accountid = '44' limit 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 61412018691 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61412018691" LIMIT 1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="61412018691" limit 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-10-23 12:37:57.463294 96.03% [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 = '61412018691' OR number = '6141201869' OR number = '614120186' OR number = '61412018' OR number = '6141201' OR number = '614120' OR number = '61412' OR number = '6141' OR number = '614' OR number = '61' OR number = '6' OR number ='--') OR (number = '61412018691*' OR number = '6141201869*' OR number = '614120186*' OR number = '61412018*' OR number = '6141201*' OR number = '614120*' OR number = '61412*' OR number = '6141*' OR number = '614*' OR number = '61*' OR number = '6*' OR number ='--') OR (number = '61873259300' OR number = '6187325930' OR number = '618732593' OR number = '61873259' OR number = '6187325' OR number = '618732' OR number = '61873' OR number = '6187' OR number = '618' OR number = '61' OR number = '6' OR number ='--') OR (number = '61873259300*' OR number = '6187325930*' OR number = '618732593*' OR number = '61873259*' OR number = '6187325*' OR number = '618732*' OR number = '61873*' OR number = '6187*' OR number = '618*' OR number = '61*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 61873259300 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='61873259300' and accountid = "44" and status=0 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT: 1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '61412018691' OR routing_prefix = '6141201869' OR routing_prefix = '614120186' OR routing_prefix = '61412018' OR routing_prefix = '6141201' OR routing_prefix = '614120' OR routing_prefix = '61412' OR routing_prefix = '6141' OR routing_prefix = '614' OR routing_prefix = '61' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 44 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4785155959 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000000 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^61412018691.*' OR pattern = '^6141201869.*' OR pattern = '^614120186.*' OR pattern = '^61412018.*' OR pattern = '^6141201.*' OR pattern = '^614120.*' OR pattern = '^61412.*' OR pattern = '^6141.*' OR pattern = '^614.*' OR pattern = '^61.*' OR pattern = '^6.*' OR pattern ='--') AND (caller_id_pattern = '^61873259300.*' OR caller_id_pattern = '^6187325930.*' OR caller_id_pattern = '^618732593.*' OR caller_id_pattern = '^61873259.*' OR caller_id_pattern = '^6187325.*' OR caller_id_pattern = '^618732.*' OR caller_id_pattern = '^61873.*' OR caller_id_pattern = '^6187.*' OR caller_id_pattern = '^618.*' OR caller_id_pattern = '^61.*' OR caller_id_pattern = '^6.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=44) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.0000000000 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Australian Local - Mobile 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 12 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 44 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000000 balance Accountid 44 !!! 2024-10-23 12:37:57.463294 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 600 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 600 minutes 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2024-10-23 12:37:57.463294 96.03% [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-10-23 12:37:57.463294 96.03% [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 = '^61412018691.*' OR pattern = '^6141201869.*' OR pattern = '^614120186.*' OR pattern = '^61412018.*' OR pattern = '^6141201.*' OR pattern = '^614120.*' OR pattern = '^61412.*' OR pattern = '^6141.*' OR pattern = '^614.*' OR pattern = '^61.*' OR pattern = '^6.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^61.* 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Australia 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^61.* 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : netsip47bouNSW 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : netsip400harNSW 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-10-23 12:37:57.463294 96.03% [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 = 44 AND status=0 LIMIT 1 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 600 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '61873259300' and status = 0 limit 1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:57.463294 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2024-10-23 12:37:57.463294 96.03% [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-10-23 12:37:57.463294 96.03% [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-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61412018691" LIMIT 1 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/61873259300@sip.mynet.au parsing [default->61412018691] continue=false Dialplan: sofia/default/61873259300@sip.mynet.au Regex (PASS) [61412018691] destination_number(61412018691) =~ /61412018691/ break=on-false Dialplan: sofia/default/61873259300@sip.mynet.au Action set(effective_destination_number=61412018691) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(execute_on_answer_1=sched_hangup +36000 normal_clearing) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(type=0) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(callstart=2024-10-23 12:37:57) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(hangup_after_bridge=true) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(continue_on_fail=TRUE) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(account_id=44) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(parent_id=0) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(entity_id=0) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(call_processed=internal) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(call_direction=outbound) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(accountname=default) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(origination_rates=ID:2|CODE:^614.*|DESTINATION:Australian Local - Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:12|ACCID:44) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(original_caller_id_name=) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(original_caller_id_number=61873259300) Dialplan: sofia/default/61873259300@sip.mynet.au Action limit(db 4785155959 user_4785155959 6 ) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(effective_caller_id_name=) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(effective_caller_id_number=61873259300) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(calltype=STANDARD) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(termination_rates=ID:4|CODE:^61.*|DESTINATION:Australia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(trunk_id=1) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(provider_id=3) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(rate_flag=0) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(quality_trunk_seq=1) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(force_trunk_flag=0) Dialplan: sofia/default/61873259300@sip.mynet.au Action export(presence_data=trunk_id=1) Dialplan: sofia/default/61873259300@sip.mynet.au Action set(intcall=0) Dialplan: sofia/default/61873259300@sip.mynet.au Action export(presence_id=61412018691) Dialplan: sofia/default/61873259300@sip.mynet.au Action export(presence_data=x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71) Dialplan: sofia/default/61873259300@sip.mynet.au Action bridge({sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip47bouNSW/61412018691;fs_path=sip:103.142.158.210:5060) Dialplan: sofia/default/61873259300@sip.mynet.au Action bridge({sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip400harNSW/61412018691;fs_path=sip:103.142.158.210:5060) Dialplan: sofia/default/61873259300@sip.mynet.au Action bridge({sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip826lorVIC/61412018691;fs_path=sip:103.142.158.210:5060) 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:281 (sofia/default/61873259300@sip.mynet.au) State Change CS_ROUTING -> CS_EXECUTE 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61873259300@sip.mynet.au) State ROUTING going to sleep 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_EXECUTE (Cur 3 Tot 151018) 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/61873259300@sip.mynet.au) State EXECUTE 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_sofia.c:213 sofia/default/61873259300@sip.mynet.au SOFIA EXECUTE 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_core_state_machine.c:323 sofia/default/61873259300@sip.mynet.au Standard EXECUTE EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(effective_destination_number=61412018691) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [effective_destination_number]=[61412018691] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(execute_on_answer_1=sched_hangup +36000 normal_clearing) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [execute_on_answer_1]=[sched_hangup +36000 normal_clearing] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(type=0) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [type]=[0] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(callstart=2024-10-23 12:37:57) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [callstart]=[2024-10-23 12:37:57] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(hangup_after_bridge=true) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(continue_on_fail=TRUE) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(account_id=44) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [account_id]=[44] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(parent_id=0) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [parent_id]=[0] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(entity_id=0) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [entity_id]=[0] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(call_processed=internal) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [call_processed]=[internal] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(call_direction=outbound) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(accountname=default) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [accountname]=[default] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(origination_rates=ID:2|CODE:^614.*|DESTINATION:Australian Local - Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:12|ACCID:44) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [origination_rates]=[ID:2|CODE:^614.*|DESTINATION:Australian Local - Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:12|ACCID:44] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(original_caller_id_name=) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [original_caller_id_name]=[UNDEF] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(original_caller_id_number=61873259300) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [original_caller_id_number]=[61873259300] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au limit(db 4785155959 user_4785155959 6 ) 2024-10-23 12:37:57.463294 96.03% [DEBUG] switch_limit.c:124 incr called: 4785155959_user_4785155959 max:6, interval:0 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_db.c:194 Usage for 4785155959_user_4785155959 is now 1/6 EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(effective_caller_id_name=) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [effective_caller_id_name]=[UNDEF] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(effective_caller_id_number=61873259300) 2024-10-23 12:37:57.463294 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [effective_caller_id_number]=[61873259300] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(calltype=STANDARD) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(termination_rates=ID:4|CODE:^61.*|DESTINATION:Australia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [termination_rates]=[ID:4|CODE:^61.*|DESTINATION:Australia|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:3] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(trunk_id=1) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [trunk_id]=[1] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(provider_id=3) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [provider_id]=[3] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(rate_flag=0) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [rate_flag]=[0] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(daily_call_credit_limit=0.00000) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(monthly_call_credit_limit=0.00000) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(daily_call_used_limit=0.00000) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(monthly_call_used_limit=0.00000) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(quality_trunk_seq=1) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [quality_trunk_seq]=[1] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(force_trunk_flag=0) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au export(presence_data=trunk_id=1) 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au set(intcall=0) 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/61873259300@sip.mynet.au [intcall]=[0] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au export(presence_id=61412018691) 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[61412018691] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au export(presence_data=x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71) 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71] EXECUTE [depth=0] sofia/default/61873259300@sip.mynet.au bridge({sip_cid_type=none}[leg_timeout=60,absolute_codec_string=^^:G722:PCMA:PCMU]sofia/gateway/netsip47bouNSW/61412018691;fs_path=sip:103.142.158.210:5060) 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1288 sofia/default/61873259300@sip.mynet.au EXPORTING[export_vars] [presence_data]=[x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71] to event 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1288 sofia/default/61873259300@sip.mynet.au EXPORTING[export_vars] [presence_id]=[61412018691] to event 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_channel.c:1288 sofia/default/61873259300@sip.mynet.au EXPORTING[export_vars] [presence_data]=[x|||Accounts(4785155959)|||^614.* // Australian Local - Mobile // 0.0000000000 |||Carrier 1 // ^61.* // Australia // 0.0000000000 // trunk_id=1|||STD|||103.83.85.71] to event 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables 2024-10-23 12:37:57.503273 96.03% [NOTICE] switch_channel.c:1142 New Channel sofia/default/61412018691 [2a0f9c61-3933-41d6-a8c1-6c25a7c4495a] 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_sofia.c:5110 (sofia/default/61412018691) State Change CS_NEW -> CS_INIT 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_ivr_originate.c:3167 sofia/default/61412018691 Setting leg timeout to 60 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_INIT (Cur 4 Tot 151019) 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61412018691) State INIT 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_sofia.c:97 sofia/default/61412018691 SOFIA INIT 2024-10-23 12:37:57.503273 96.03% [DEBUG] sofia_glue.c:1628 sip:103.142.158.210:5060 Setting proxy route to sofia/default/61412018691 2024-10-23 12:37:57.503273 96.03% [INFO] sofia_glue.c:1659 sofia/default/61412018691 sending invite call-id: (null) 2024-10-23 12:37:57.503273 96.03% [DEBUG] sofia_glue.c:1662 sofia/default/61412018691 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1729667143 1729667144 IN IP4 103.142.158.211 s=FreeSWITCH c=IN IP4 103.142.158.211 t=0 0 m=audio 19934 RTP/AVP 9 8 0 101 a=rtpmap:9 G722/8000 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-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/61412018691 Standard INIT 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/61412018691) State Change CS_INIT -> CS_ROUTING 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61412018691) State INIT going to sleep 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_ROUTING (Cur 4 Tot 151019) 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61412018691) State ROUTING 2024-10-23 12:37:57.503273 96.03% [DEBUG] mod_sofia.c:158 sofia/default/61412018691 SOFIA ROUTING 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_ivr_originate.c:67 (sofia/default/61412018691) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61412018691) State ROUTING going to sleep 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 151019) 2024-10-23 12:37:57.503273 96.03% [DEBUG] sofia.c:7493 Channel sofia/default/61412018691 entering state [calling][0] 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/61412018691) State CONSUME_MEDIA 2024-10-23 12:37:57.503273 96.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/61412018691) State CONSUME_MEDIA going to sleep 2024-10-23 12:38:00.563281 94.50% [DEBUG] sofia.c:7493 Channel sofia/default/Private@103.26.173.9 entering state [terminated][487] 2024-10-23 12:38:00.563281 94.50% [NOTICE] sofia.c:8735 Hangup sofia/default/Private@103.26.173.9 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2024-10-23 12:38:00.583282 94.50% [NOTICE] switch_ivr_originate.c:3816 Hangup sofia/default/4785155959@sip.mynet.au [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL] 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_ivr_originate.c:4041 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_HANGUP (Cur 4 Tot 151019) 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4785155959@sip.mynet.au) Callstate Change RINGING -> HANGUP 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4785155959@sip.mynet.au) State HANGUP 2024-10-23 12:38:00.583282 94.50% [DEBUG] mod_sofia.c:463 sofia/default/4785155959@sip.mynet.au Overriding SIP cause 487 with 487 from the other leg 2024-10-23 12:38:00.583282 94.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/4785155959@sip.mynet.au hanging up, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.583282 94.50% [INFO] mod_dptools.c:3635 Originate Failed. Cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_session.c:2979 sofia/default/Private@103.26.173.9 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/Private@103.26.173.9) State EXECUTE going to sleep 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_HANGUP (Cur 4 Tot 151019) 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/Private@103.26.173.9) Callstate Change RINGING -> HANGUP 2024-10-23 12:38:00.583282 94.50% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/4785155959@sip.mynet.au 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/Private@103.26.173.9) State HANGUP 2024-10-23 12:38:00.583282 94.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/Private@103.26.173.9 hanging up, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/4785155959@sip.mynet.au Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4785155959@sip.mynet.au) State HANGUP going to sleep 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4785155959@sip.mynet.au) State Change CS_HANGUP -> CS_REPORTING 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_REPORTING (Cur 4 Tot 151019) 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4785155959@sip.mynet.au) State REPORTING 2024-10-23 12:38:00.583282 94.50% [INFO] mod_json_cdr.c:272 Process [00f43b46-81b6-41ab-9514-52b30bda7826.cdr.json] 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/Private@103.26.173.9 Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/Private@103.26.173.9) State HANGUP going to sleep 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/Private@103.26.173.9) State Change CS_HANGUP -> CS_REPORTING 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/Private@103.26.173.9) Running State Change CS_REPORTING (Cur 4 Tot 151019) 2024-10-23 12:38:00.583282 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/Private@103.26.173.9) State REPORTING 2024-10-23 12:38:00.583282 94.50% [INFO] mod_json_cdr.c:272 Process [658e73b5-faec-4b23-be23-c74a05e70fd2.cdr.json] 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/4785155959@sip.mynet.au Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4785155959@sip.mynet.au) State REPORTING going to sleep 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4785155959@sip.mynet.au) State Change CS_REPORTING -> CS_DESTROY 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_session.c:1744 Session 151017 (sofia/default/4785155959@sip.mynet.au) Locked, Waiting on external entities 2024-10-23 12:38:00.603274 94.50% [NOTICE] switch_core_session.c:1762 Session 151017 (sofia/default/4785155959@sip.mynet.au) Ended 2024-10-23 12:38:00.603274 94.50% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/4785155959@sip.mynet.au [CS_DESTROY] 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_DESTROY (Cur 3 Tot 151019) 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4785155959@sip.mynet.au) State DESTROY 2024-10-23 12:38:00.603274 94.50% [DEBUG] mod_sofia.c:380 sofia/default/4785155959@sip.mynet.au SOFIA DESTROY 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/4785155959@sip.mynet.au Standard DESTROY 2024-10-23 12:38:00.603274 94.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4785155959@sip.mynet.au) State DESTROY going to sleep 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/Private@103.26.173.9 Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/Private@103.26.173.9) State REPORTING going to sleep 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/Private@103.26.173.9) State Change CS_REPORTING -> CS_DESTROY 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_session.c:1744 Session 151016 (sofia/default/Private@103.26.173.9) Locked, Waiting on external entities 2024-10-23 12:38:00.623284 94.50% [NOTICE] switch_core_session.c:1762 Session 151016 (sofia/default/Private@103.26.173.9) Ended 2024-10-23 12:38:00.623284 94.50% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/Private@103.26.173.9 [CS_DESTROY] 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/Private@103.26.173.9) Running State Change CS_DESTROY (Cur 2 Tot 151019) 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/Private@103.26.173.9) State DESTROY 2024-10-23 12:38:00.623284 94.50% [DEBUG] mod_sofia.c:380 sofia/default/Private@103.26.173.9 SOFIA DESTROY 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/Private@103.26.173.9 Standard DESTROY 2024-10-23 12:38:00.623284 94.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/Private@103.26.173.9) State DESTROY going to sleep 2024-10-23 12:38:00.703302 94.50% [DEBUG] sofia.c:7493 Channel sofia/default/61873259300@sip.mynet.au entering state [terminated][487] 2024-10-23 12:38:00.703302 94.50% [NOTICE] sofia.c:8735 Hangup sofia/default/61873259300@sip.mynet.au [CS_EXECUTE] [ORIGINATOR_CANCEL] 2024-10-23 12:38:00.723297 94.50% [NOTICE] switch_ivr_originate.c:3816 Hangup sofia/default/61412018691 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL] 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_ivr_originate.c:4041 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL] 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_HANGUP (Cur 2 Tot 151019) 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/61412018691) Callstate Change DOWN -> HANGUP 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61412018691) State HANGUP 2024-10-23 12:38:00.723297 94.50% [DEBUG] mod_sofia.c:463 sofia/default/61412018691 Overriding SIP cause 487 with 487 from the other leg 2024-10-23 12:38:00.723297 94.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/61412018691 hanging up, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.723297 94.50% [INFO] mod_dptools.c:3635 Originate Failed. Cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.723297 94.50% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/61412018691 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_session.c:2979 sofia/default/61873259300@sip.mynet.au skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/61873259300@sip.mynet.au) State EXECUTE going to sleep 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_HANGUP (Cur 2 Tot 151019) 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/61412018691 Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/61873259300@sip.mynet.au) Callstate Change RINGING -> HANGUP 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61412018691) State HANGUP going to sleep 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/61412018691) State Change CS_HANGUP -> CS_REPORTING 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61873259300@sip.mynet.au) State HANGUP 2024-10-23 12:38:00.723297 94.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/61873259300@sip.mynet.au hanging up, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61412018691) Running State Change CS_REPORTING (Cur 2 Tot 151019) 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61412018691) State REPORTING 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/61873259300@sip.mynet.au Standard HANGUP, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61873259300@sip.mynet.au) State HANGUP going to sleep 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/61873259300@sip.mynet.au) State Change CS_HANGUP -> CS_REPORTING 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_REPORTING (Cur 2 Tot 151019) 2024-10-23 12:38:00.723297 94.50% [INFO] mod_json_cdr.c:272 Process [2a0f9c61-3933-41d6-a8c1-6c25a7c4495a.cdr.json] 2024-10-23 12:38:00.723297 94.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61873259300@sip.mynet.au) State REPORTING 2024-10-23 12:38:00.723297 94.50% [INFO] mod_json_cdr.c:272 Process [2e6f9598-c85d-42bb-81fa-1c87e3bcf5c0.cdr.json] 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/61412018691 Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61412018691) State REPORTING going to sleep 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/61412018691) State Change CS_REPORTING -> CS_DESTROY 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_session.c:1744 Session 151019 (sofia/default/61412018691) Locked, Waiting on external entities 2024-10-23 12:38:00.743276 94.30% [NOTICE] switch_core_session.c:1762 Session 151019 (sofia/default/61412018691) Ended 2024-10-23 12:38:00.743276 94.30% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/61412018691 [CS_DESTROY] 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/61412018691) Running State Change CS_DESTROY (Cur 1 Tot 151019) 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61412018691) State DESTROY 2024-10-23 12:38:00.743276 94.30% [DEBUG] mod_sofia.c:380 sofia/default/61412018691 SOFIA DESTROY 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/61412018691 Standard DESTROY 2024-10-23 12:38:00.743276 94.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61412018691) State DESTROY going to sleep 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/61873259300@sip.mynet.au Standard REPORTING, cause: ORIGINATOR_CANCEL 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61873259300@sip.mynet.au) State REPORTING going to sleep 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/61873259300@sip.mynet.au) State Change CS_REPORTING -> CS_DESTROY 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_session.c:1744 Session 151018 (sofia/default/61873259300@sip.mynet.au) Locked, Waiting on external entities 2024-10-23 12:38:00.763278 94.30% [NOTICE] switch_core_session.c:1762 Session 151018 (sofia/default/61873259300@sip.mynet.au) Ended 2024-10-23 12:38:00.763278 94.30% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/61873259300@sip.mynet.au [CS_DESTROY] 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/61873259300@sip.mynet.au) Running State Change CS_DESTROY (Cur 0 Tot 151019) 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61873259300@sip.mynet.au) State DESTROY 2024-10-23 12:38:00.763278 94.30% [DEBUG] mod_sofia.c:380 sofia/default/61873259300@sip.mynet.au SOFIA DESTROY 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/61873259300@sip.mynet.au Standard DESTROY 2024-10-23 12:38:00.763278 94.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61873259300@sip.mynet.au) State DESTROY going to sleep