+OK log level [7]
freeswitch@v6>
freeswitch@v6>
freeswitch@v6>
2024-02-29 10:50:44.939061 97.27% [NOTICE] switch_channel.c:1142 New Channel sofia/default/9126103211@3.110.187.230 [8a487cba-56a5-4d5a-b622-e0e981e31966]
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_NEW (Cur 1 Tot 3)
2024-02-29 10:50:44.939061 97.27% [INFO] sofia.c:10459 sofia/default/9126103211@3.110.187.230 receiving invite from 3.110.187.230:5077 version: 1.10.10-release 64bit call-id: 3b0f7782-5193-123d-67ad-021eb38071a8
2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 3.110.187.230:0.
2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:10582 IP 3.110.187.230 Approved by acl "default[]". Access Granted.
2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [received][100]
2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=FreeSWITCH 1709183358 1709183359 IN IP4 3.110.187.230
s=FreeSWITCH
c=IN IP4 3.110.187.230
t=0 0
m=audio 20486 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
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/9126103211@3.110.187.230 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_codec.c:111 sofia/default/9126103211@3.110.187.230 Original read codec set to PCMA:8
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_media.c:5856 sofia/default/9126103211@3.110.187.230 Set 2833 dtmf send payload to 101 recv payload to 101
2024-02-29 10:50:44.939061 97.27% [DEBUG] sofia.c:7927 (sofia/default/9126103211@3.110.187.230) State Change CS_NEW -> CS_INIT
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9126103211@3.110.187.230) State NEW
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_INIT (Cur 1 Tot 3)
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9126103211@3.110.187.230) State INIT
2024-02-29 10:50:44.939061 97.27% [DEBUG] mod_sofia.c:97 sofia/default/9126103211@3.110.187.230 SOFIA INIT
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/9126103211@3.110.187.230 Standard INIT
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9126103211@3.110.187.230) State Change CS_INIT -> CS_ROUTING
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9126103211@3.110.187.230) State INIT going to sleep
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 3)
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_channel.c:2399 (sofia/default/9126103211@3.110.187.230) Callstate Change DOWN -> RINGING
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9126103211@3.110.187.230) State ROUTING
2024-02-29 10:50:44.939061 97.27% [DEBUG] mod_sofia.c:158 sofia/default/9126103211@3.110.187.230 SOFIA ROUTING
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/9126103211@3.110.187.230 Standard ROUTING
2024-02-29 10:50:44.939061 97.27% [INFO] mod_dialplan_xml.c:639 Processing 9126103211 <9126103211>->100770 in context default
2024-02-29 10:50:44.939061 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-02-29 10:50:44.939061 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-02-29 10:50:44.959032 97.27% [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-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100770
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '100770' AND status=0 limit 1
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+ALPHA
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '100770' limit 1
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9126103211 / 9126103211
2024-02-29 10:50:44.959032 97.27% [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 ="100770" LIMIT 1
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,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 ="100770" LIMIT 1
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="1" and number ="9126103211" and status = '0' LIMIT 1
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2024-02-29 10:50:44.959032 97.27% [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("3.110.187.230") 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 "100770" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="100770" AND (accountid = 0 OR status = 1) LIMIT 1
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2
2024-02-29 10:50:44.959032 97.27% [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 = '^100770.*' OR patterns = '^10077.*' OR patterns = '^1007.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-02-29 10:50:44.959032 97.27% [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 ="100770" AND A.accountid = '2' limit 1
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100770
2024-02-29 10:50:44.959032 97.27% [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 ="100770" LIMIT 1
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,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 ="100770" LIMIT 1
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="1" and number ="9126103211" and status = '0' LIMIT 1
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2024-02-29 10:50:44.959032 97.27% [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 = '100770' OR number = '10077' OR number = '1007' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100770*' OR number = '10077*' OR number = '1007*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9126103211' OR number = '912610321' OR number = '91261032' OR number = '9126103' OR number = '912610' OR number = '91261' OR number = '9126' OR number = '912' OR number = '91' OR number = '9' OR number ='--') OR (number = '9126103211*' OR number = '912610321*' OR number = '91261032*' OR number = '9126103*' OR number = '912610*' OR number = '91261*' OR number = '9126*' OR number = '912*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100770' OR routing_prefix = '10077' OR routing_prefix = '1007' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
2024-02-29 10:50:44.959032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
2024-02-29 10:50:44.959032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 976.71
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2024-02-29 10:50:44.979221 97.27% [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 ="100770" LIMIT 1
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,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 ="100770" LIMIT 1
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="1" and number ="9126103211" and status = '0' LIMIT 1
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.77000
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100770
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 124
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your976.71 balance Accountid 2 !!!
2024-02-29 10:50:44.979221 97.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2024-02-29 10:50:44.979221 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2024-02-29 10:50:44.979221 97.27% [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 = 2 AND status=0 LIMIT 1
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1
2024-02-29 10:50:44.979221 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2
2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2
2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2
2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2
2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+ALPHA' and status = 0 limit 1
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:44.999032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="100770">
<condition field="destination_number" expression="100770">
<action application="set" data="effective_destination_number=100770"/>
<action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2024-02-29 10:50:44"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=2"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=Cummunity"/>
<action application="set" data="origination_rates_did=ID:1|CODE:^100770.*|DESTINATION:100770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:124|ACCID:2"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=9126103211"/>
<action application="set" data="original_caller_id_number=9126103211"/>
<action application="limit" data="db 4727985745 user_4727985745 1 "/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="effective_caller_id_name=9126103211"/>
<action application="set" data="effective_caller_id_number=9126103211"/>
<action application="set" data="receiver_accid=2"/>
<action application="set" data="did_id=1"/>
<action application="set" data="transfer_call_type=4"/>
<action application="set" data="transfer_extensions=1000999999"/>
<action application="set" data="busy_status=1"/>
<action application="set" data="no_answer_status=1"/>
<action application="set" data="always_status=0"/>
<action application="set" data="transfer_status=0"/>
<action application="set" data="variable_sip_to_host=${domain_name}"/>
<action application="set" data="variable_sip_network_ip=3.110.187.230"/>
<action application="set" data="variable_sip_network_port=5077"/>
<action application="export" data="domain_name="/>
<action application="export" data="sip_to_host="/>
<action application="export" data="presence_data=x|||default(4727985745)|||^100770.* // 100770 // 0.77000|||||||||DID|||3.110.187.230"/>
<action application="export" data="call_type=4"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="accountcode=4727985745"/>
<action application="set" data="caller_did_account_id=2"/>
<action application="set" data="did_number=100770"/>
<action application="set" data="did_init_inc=60"/>
<action application="set" data="did_inc=60"/>
<action application="set" data="did_cost=0.77000"/>
<action application="set" data="did_connectcost=0.00000"/>
<action application="set" data="origination_rates_did=0"/>
<action application="set" data="did_id=1"/>
<action application="transfer" data="1000999999 XML default"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9126103211@3.110.187.230 parsing [default->100770] continue=false
Dialplan: sofia/default/9126103211@3.110.187.230 Regex (PASS) [100770] destination_number(100770) =~ /100770/ break=on-false
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_destination_number=100770)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(type=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(callstart=2024-02-29 10:50:44)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(account_id=2)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(parent_id=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(entity_id=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_processed=internal)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_direction=inbound)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(accountname=Cummunity)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(origination_rates_did=ID:1|CODE:^100770.*|DESTINATION:100770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:124|ACCID:2)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(origination_rates=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(original_caller_id_name=9126103211)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(original_caller_id_number=9126103211)
Dialplan: sofia/default/9126103211@3.110.187.230 Action limit(db 4727985745 user_4727985745 1 )
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(is_recording=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(record_sample_rate=8000)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_caller_id_name=9126103211)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_caller_id_number=9126103211)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(receiver_accid=2)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_id=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(transfer_call_type=4)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(transfer_extensions=1000999999)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(busy_status=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(no_answer_status=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(always_status=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(transfer_status=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(variable_sip_to_host=${domain_name})
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(variable_sip_network_ip=3.110.187.230)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(variable_sip_network_port=5077)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(domain_name=)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(sip_to_host=)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(presence_data=x|||default(4727985745)|||^100770.* // 100770 // 0.77000|||||||||DID|||3.110.187.230)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(call_type=4)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(calltype=STANDARD)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(accountcode=4727985745)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(caller_did_account_id=2)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_number=100770)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_init_inc=60)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_inc=60)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_cost=0.77000)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_connectcost=0.00000)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(origination_rates_did=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_id=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action transfer(1000999999 XML default)
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9126103211@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9126103211@3.110.187.230) State ROUTING going to sleep
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 3)
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9126103211@3.110.187.230) State EXECUTE
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_sofia.c:213 sofia/default/9126103211@3.110.187.230 SOFIA EXECUTE
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/9126103211@3.110.187.230 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_destination_number=100770)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_destination_number]=[100770]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(type=0)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [type]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(callstart=2024-02-29 10:50:44)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [callstart]=[2024-02-29 10:50:44]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(hangup_after_bridge=true)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(continue_on_fail=TRUE)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(account_id=2)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [account_id]=[2]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(parent_id=0)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(entity_id=0)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(call_processed=internal)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(call_direction=inbound)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(accountname=Cummunity)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [accountname]=[Cummunity]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(origination_rates_did=ID:1|CODE:^100770.*|DESTINATION:100770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:124|ACCID:2)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [origination_rates_did]=[ID:1|CODE:^100770.*|DESTINATION:100770|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.77000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:124|ACCID:2]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(origination_rates=0)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(original_caller_id_name=9126103211)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [original_caller_id_name]=[9126103211]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(original_caller_id_number=9126103211)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [original_caller_id_number]=[9126103211]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 limit(db 4727985745 user_4727985745 1 )
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(is_recording=1)
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(media_bug_answer_req=true)
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(record_sample_rate=8000)
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav)
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_caller_id_name=9126103211)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_caller_id_name]=[9126103211]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_caller_id_number=9126103211)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_caller_id_number]=[9126103211]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(receiver_accid=2)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [receiver_accid]=[2]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_id=1)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_id]=[1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(transfer_call_type=4)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [transfer_call_type]=[4]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(transfer_extensions=1000999999)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [transfer_extensions]=[1000999999]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(busy_status=1)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [busy_status]=[1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(no_answer_status=1)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [no_answer_status]=[1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(always_status=0)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [always_status]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(transfer_status=0)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [transfer_status]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(variable_sip_to_host=95.217.238.195)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [variable_sip_to_host]=[95.217.238.195]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(variable_sip_network_ip=3.110.187.230)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [variable_sip_network_ip]=[3.110.187.230]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(variable_sip_network_port=5077)
2024-02-29 10:50:44.999032 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [variable_sip_network_port]=[5077]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(domain_name=)
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(sip_to_host=)
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(presence_data=x|||default(4727985745)|||^100770.* // 100770 // 0.77000|||||||||DID|||3.110.187.230)
2024-02-29 10:50:44.999032 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^100770.* // 100770 // 0.77000|||||||||DID|||3.110.187.230]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(call_type=4)
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[4]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(calltype=STANDARD)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(accountcode=4727985745)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [accountcode]=[4727985745]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(caller_did_account_id=2)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [caller_did_account_id]=[2]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_number=100770)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_number]=[100770]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_init_inc=60)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_init_inc]=[60]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_inc=60)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_inc]=[60]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_cost=0.77000)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_cost]=[0.77000]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_connectcost=0.00000)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_connectcost]=[0.00000]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(origination_rates_did=0)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [origination_rates_did]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(did_id=1)
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [did_id]=[1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 transfer(1000999999 XML default)
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_ivr.c:2288 (sofia/default/9126103211@3.110.187.230) State Change CS_EXECUTE -> CS_ROUTING
2024-02-29 10:50:45.019025 97.27% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/9126103211@3.110.187.230 to XML[1000999999@default]
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9126103211@3.110.187.230) State EXECUTE going to sleep
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 3)
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9126103211@3.110.187.230) State ROUTING
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2024-02-29 10:50:45.019025 97.27% [DEBUG] mod_sofia.c:158 sofia/default/9126103211@3.110.187.230 SOFIA ROUTING
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/9126103211@3.110.187.230 Standard ROUTING
2024-02-29 10:50:45.019025 97.27% [INFO] mod_dialplan_xml.c:639 Processing 9126103211 <9126103211>->1000999999 in context default
2024-02-29 10:50:45.019025 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-02-29 10:50:45.019025 97.27% [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-02-29 10:50:45.019025 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:45.019025 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1000999999
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1000999999' AND status=0 limit 1
2024-02-29 10:50:45.019025 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9126103211 / 9126103211
2024-02-29 10:50:45.019025 97.27% [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 ="1000999999" LIMIT 1
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,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 ="1000999999" LIMIT 1
2024-02-29 10:50:45.019025 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
2024-02-29 10:50:45.039024 97.27% [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="1000999999" limit 1
2024-02-29 10:50:45.039024 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-02-29 10:50:45.039024 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1000999999.*' OR blocked_patterns = '^100099999.*' OR blocked_patterns = '^10009999.*' OR blocked_patterns = '^1000999.*' OR blocked_patterns = '^100099.*' OR blocked_patterns = '^10009.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1000999999" AND (accountid = 0 OR status = 1) LIMIT 1
2024-02-29 10:50:45.039024 97.27% [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 = '^1000999999.*' OR patterns = '^100099999.*' OR patterns = '^10009999.*' OR patterns = '^1000999.*' OR patterns = '^100099.*' OR patterns = '^10009.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-02-29 10:50:45.039024 97.27% [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 ="1000999999" AND A.accountid = '2' limit 1
2024-02-29 10:50:45.039024 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1000999999
2024-02-29 10:50:45.039024 97.27% [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 ="1000999999" LIMIT 1
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,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 ="1000999999" LIMIT 1
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
2024-02-29 10:50:45.039024 97.27% [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="1000999999" limit 1
2024-02-29 10:50:45.039024 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-02-29 10:50:45.039024 97.27% [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 = '1000999999' OR number = '100099999' OR number = '10009999' OR number = '1000999' OR number = '100099' OR number = '10009' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '1000999999*' OR number = '100099999*' OR number = '10009999*' OR number = '1000999*' OR number = '100099*' OR number = '10009*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9126103211' OR number = '912610321' OR number = '91261032' OR number = '9126103' OR number = '912610' OR number = '91261' OR number = '9126' OR number = '912' OR number = '91' OR number = '9' OR number ='--') OR (number = '9126103211*' OR number = '912610321*' OR number = '91261032*' OR number = '9126103*' OR number = '912610*' OR number = '91261*' OR number = '9126*' OR number = '912*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-02-29 10:50:45.039024 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1000999999' OR routing_prefix = '100099999' OR routing_prefix = '10009999' OR routing_prefix = '1000999' OR routing_prefix = '100099' OR routing_prefix = '10009' OR routing_prefix = '1000' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 976.71
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1000999999.*' OR pattern = '^100099999.*' OR pattern = '^10009999.*' OR pattern = '^1000999.*' OR pattern = '^100099.*' OR pattern = '^10009.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^9126103211.*' OR caller_id_pattern = '^912610321.*' OR caller_id_pattern = '^91261032.*' OR caller_id_pattern = '^9126103.*' OR caller_id_pattern = '^912610.*' OR caller_id_pattern = '^91261.*' OR caller_id_pattern = '^9126.*' OR caller_id_pattern = '^912.*' 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=2) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2000000000
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your976.71 balance Accountid 2 !!!
2024-02-29 10:50:45.059032 97.27% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
2024-02-29 10:50:45.059032 97.27% [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-02-29 10:50:45.059032 97.27% [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 = '^1000999999.*' OR pattern = '^100099999.*' OR pattern = '^10009999.*' OR pattern = '^1000999.*' OR pattern = '^100099.*' OR pattern = '^10009.*' OR pattern = '^1000.*' OR pattern = '^100.*' 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-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-02-29 10:50:45.059032 97.27% [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 = 2 AND status=0 LIMIT 1
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+ALPHA' and status = 0 limit 1
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:45.059032 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2024-02-29 10:50:45.059032 97.27% [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-02-29 10:50:45.059032 97.27% [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-02-29 10:50:45.059032 97.27% [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 ="100770" LIMIT 1
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,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 ="100770" LIMIT 1
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:45.059032 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :9126103211
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="2" and did_id ="1" and number ="9126103211" and status = '0' LIMIT 1
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DIDQUERY] Query :SELECT * FROM dids WHERE id ="1" and status = 0 limit 1
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="1000999999">
<condition field="destination_number" expression="1000999999">
<action application="set" data="effective_destination_number=1000999999"/>
<action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2024-02-29 10:50:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=2"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="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:2"/>
<action application="set" data="original_caller_id_name=9126103211"/>
<action application="set" data="original_caller_id_number=9126103211"/>
<action application="limit" data="db 4727985745 user_4727985745 1 "/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="effective_caller_id_name=9126103211"/>
<action application="set" data="effective_caller_id_number=9126103211"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
<action application="set" data="trunk_id=1"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="daily_call_credit_limit=0.00000"/>
<action application="set" data="monthly_call_credit_limit=0.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=0.00000"/>
<action application="set" data="quality_trunk_seq=1"/>
<action application="set" data="force_trunk_flag=1"/>
<action application="export" data="presence_data=trunk_id=1"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=1000999999"/>
<action application="export" data="presence_data=x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000999999"/>
<action application="set" data="did_id=1"/>
<action application="set" data="destination_number=1000999999"/>
<action application="set" data="leg_timeout=0"/>
<action application="set" data="call_type_vm_flag=1"/>
<action application="set" data="is_local_extension=0"/>
<action application="lua" data="did_call_forwarding.lua"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9126103211@3.110.187.230 parsing [default->1000999999] continue=false
Dialplan: sofia/default/9126103211@3.110.187.230 Regex (PASS) [1000999999] destination_number(1000999999) =~ /1000999999/ break=on-false
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_destination_number=1000999999)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(type=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(callstart=2024-02-29 10:50:45)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(account_id=2)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(parent_id=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(entity_id=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_processed=internal)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_direction=outbound)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(accountname=default)
Dialplan: sofia/default/9126103211@3.110.187.230 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:2)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(original_caller_id_name=9126103211)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(original_caller_id_number=9126103211)
Dialplan: sofia/default/9126103211@3.110.187.230 Action limit(db 4727985745 user_4727985745 1 )
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(is_recording=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(record_sample_rate=8000)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_caller_id_name=9126103211)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(effective_caller_id_number=9126103211)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(calltype=STANDARD)
Dialplan: sofia/default/9126103211@3.110.187.230 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/9126103211@3.110.187.230 Action set(trunk_id=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(provider_id=3)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(rate_flag=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(quality_trunk_seq=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(force_trunk_flag=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(presence_data=trunk_id=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(intcall=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(presence_id=1000999999)
Dialplan: sofia/default/9126103211@3.110.187.230 Action export(presence_data=x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230)
Dialplan: sofia/default/9126103211@3.110.187.230 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000999999)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(did_id=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(destination_number=1000999999)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(leg_timeout=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(call_type_vm_flag=1)
Dialplan: sofia/default/9126103211@3.110.187.230 Action set(is_local_extension=0)
Dialplan: sofia/default/9126103211@3.110.187.230 Action lua(did_call_forwarding.lua)
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9126103211@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9126103211@3.110.187.230) State ROUTING going to sleep
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 3)
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9126103211@3.110.187.230) State EXECUTE
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_sofia.c:213 sofia/default/9126103211@3.110.187.230 SOFIA EXECUTE
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/9126103211@3.110.187.230 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_destination_number=1000999999)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_destination_number]=[1000999999]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(type=0)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [type]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(callstart=2024-02-29 10:50:45)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [callstart]=[2024-02-29 10:50:45]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(hangup_after_bridge=true)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(continue_on_fail=TRUE)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(account_id=2)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [account_id]=[2]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(parent_id=0)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(entity_id=0)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(call_processed=internal)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(call_direction=outbound)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(accountname=default)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [accountname]=[default]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 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:2)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [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:2]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(original_caller_id_name=9126103211)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [original_caller_id_name]=[9126103211]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(original_caller_id_number=9126103211)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [original_caller_id_number]=[9126103211]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 limit(db 4727985745 user_4727985745 1 )
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(is_recording=1)
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(media_bug_answer_req=true)
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(record_sample_rate=8000)
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav)
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(continue_on_fail=TRUE)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_caller_id_name=9126103211)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_caller_id_name]=[9126103211]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(effective_caller_id_number=9126103211)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [effective_caller_id_number]=[9126103211]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(calltype=STANDARD)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 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-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [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/9126103211@3.110.187.230 set(trunk_id=1)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [trunk_id]=[1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(provider_id=3)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [provider_id]=[3]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(rate_flag=0)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(daily_call_credit_limit=0.00000)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(monthly_call_credit_limit=0.00000)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(daily_call_used_limit=0.00000)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(monthly_call_used_limit=0.00000)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(quality_trunk_seq=1)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [quality_trunk_seq]=[1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(force_trunk_flag=1)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [force_trunk_flag]=[1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(presence_data=trunk_id=1)
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 set(intcall=0)
2024-02-29 10:50:45.079030 97.27% [DEBUG] mod_dptools.c:1671 SET sofia/default/9126103211@3.110.187.230 [intcall]=[0]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(presence_id=1000999999)
2024-02-29 10:50:45.079030 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[1000999999]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 export(presence_data=x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230)
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230]
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1000999999)
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [call_type]=[4] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [presence_id]=[1000999999] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_channel.c:1288 sofia/default/9126103211@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 0.2000000000 |||YourTrunk // ^1.* // USA // 0.1000000000 // trunk_id=1|||STD|||3.110.187.230] to event
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
2024-02-29 10:50:45.099021 97.27% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1000999999 [9fc2fefe-a72f-4520-af35-4142db1561d5]
2024-02-29 10:50:45.099021 97.27% [DEBUG] mod_sofia.c:5110 (sofia/default/1000999999) State Change CS_NEW -> CS_INIT
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_ivr_originate.c:3167 sofia/default/1000999999 Setting leg timeout to 30
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_INIT (Cur 2 Tot 4)
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000999999) State INIT
2024-02-29 10:50:45.099021 97.27% [DEBUG] mod_sofia.c:97 sofia/default/1000999999 SOFIA INIT
2024-02-29 10:50:45.099021 97.27% [INFO] sofia_glue.c:1659 sofia/default/1000999999 sending invite call-id: (null)
2024-02-29 10:50:45.099021 97.27% [DEBUG] sofia_glue.c:1662 sofia/default/1000999999 sending invite version: 1.10.10-release 64bit
Local SDP:
v=0
o=FreeSWITCH 1709179027 1709179028 IN IP4 95.217.238.195
s=FreeSWITCH
c=IN IP4 95.217.238.195
t=0 0
m=audio 24818 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-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/1000999999 Standard INIT
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1000999999) State Change CS_INIT -> CS_ROUTING
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1000999999) State INIT going to sleep
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_ROUTING (Cur 2 Tot 4)
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000999999) State ROUTING
2024-02-29 10:50:45.099021 97.27% [DEBUG] mod_sofia.c:158 sofia/default/1000999999 SOFIA ROUTING
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1000999999) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1000999999) State ROUTING going to sleep
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 4)
2024-02-29 10:50:45.099021 97.27% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [calling][0]
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000999999) State CONSUME_MEDIA
2024-02-29 10:50:45.099021 97.27% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1000999999) State CONSUME_MEDIA going to sleep
2024-02-29 10:50:45.299041 97.27% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [proceeding][180]
2024-02-29 10:50:45.299041 97.27% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/1000999999!
2024-02-29 10:50:45.299041 97.27% [DEBUG] switch_channel.c:3513 (sofia/default/1000999999) Callstate Change DOWN -> RINGING
2024-02-29 10:50:45.319023 97.27% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/9126103211@3.110.187.230!
2024-02-29 10:50:45.319023 97.27% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [early][180]
2024-02-29 10:50:45.319023 97.27% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/9126103211@3.110.187.230!
2024-02-29 10:50:50.339038 96.67% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [proceeding][183]
2024-02-29 10:50:50.339038 96.67% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=root 232300575 232300575 IN IP4 13.201.89.233
s=Asterisk PBX 18.20.0
c=IN IP4 13.201.89.233
t=0 0
m=audio 19640 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2024-02-29 10:50:50.339038 96.67% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/1000999999!
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_channel.c:3585 (sofia/default/1000999999) Callstate Change RINGING -> EARLY
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1000999999 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_codec.c:111 sofia/default/1000999999 Original read codec set to PCMA:8
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:5856 sofia/default/1000999999 Set 2833 dtmf send payload to 101 recv payload to 101
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/1000999999] 95.217.238.195 port 24818 -> 13.201.89.233 port 19640 codec: 8 ms: 20
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-02-29 10:50:50.339038 96.67% [INFO] switch_ivr_originate.c:3858 Sending early media
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/9126103211@3.110.187.230] 95.217.238.195 port 22338 -> 3.110.187.230 port 20486 codec: 8 ms: 20
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8972 sofia/default/1000999999 Set 2833 dtmf send payload to 101
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8979 sofia/default/1000999999 Set 2833 dtmf receive payload to 101
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:9002 sofia/default/1000999999 Set rtp dtmf delay to 40
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8972 sofia/default/9126103211@3.110.187.230 Set 2833 dtmf send payload to 101
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:8979 sofia/default/9126103211@3.110.187.230 Set 2833 dtmf receive payload to 101
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_media.c:9002 sofia/default/9126103211@3.110.187.230 Set rtp dtmf delay to 40
2024-02-29 10:50:50.339038 96.67% [DEBUG] mod_sofia.c:2607 Ring SDP:
v=0
o=FreeSWITCH 1709181512 1709181513 IN IP4 95.217.238.195
s=FreeSWITCH
c=IN IP4 95.217.238.195
t=0 0
m=audio 22338 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-02-29 10:50:50.339038 96.67% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/9126103211@3.110.187.230!
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_channel.c:3585 (sofia/default/9126103211@3.110.187.230) Callstate Change RINGING -> EARLY
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/1000999999] Peer UUID: 9fc2fefe-a72f-4520-af35-4142db1561d5
2024-02-29 10:50:50.339038 96.67% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [early][183]
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/1000999999) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 4)
2024-02-29 10:50:50.339038 96.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000999999) State EXCHANGE_MEDIA
2024-02-29 10:50:50.339038 96.67% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
2024-02-29 10:50:51.319022 96.63% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
2024-02-29 10:51:00.359081 95.93% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [completing][200]
2024-02-29 10:51:00.359081 95.93% [DEBUG] sofia.c:7500 Duplicate SDP
v=0
o=root 232300575 232300575 IN IP4 13.201.89.233
s=Asterisk PBX 18.20.0
c=IN IP4 13.201.89.233
t=0 0
m=audio 19640 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2024-02-29 10:51:00.379028 95.93% [DEBUG] sofia.c:7493 Channel sofia/default/1000999999 entering state [ready][200]
2024-02-29 10:51:00.379028 95.93% [NOTICE] sofia.c:8622 Channel [sofia/default/1000999999] has been answered
EXECUTE [depth=0] sofia/default/1000999999 record_session(/usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav)
2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/default/9126103211@3.110.187.230.
2024-02-29 10:51:00.379028 95.93% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/9126103211@3.110.187.230:
v=0
o=FreeSWITCH 1709181512 1709181514 IN IP4 95.217.238.195
s=FreeSWITCH
c=IN IP4 95.217.238.195
t=0 0
m=audio 22338 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-02-29 10:51:00.379028 95.93% [NOTICE] switch_ivr_bridge.c:730 Channel [sofia/default/9126103211@3.110.187.230] has been answered
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 sched_hangup(+6000 normal_clearing)
2024-02-29 10:51:00.379028 95.93% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [completed][200]
2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_scheduler.c:263 Added task 5 switch_ivr_schedule_hangup (8a487cba-56a5-4d5a-b622-e0e981e31966) to run at 1709209860
EXECUTE [depth=0] sofia/default/9126103211@3.110.187.230 record_session(/usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav)
2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000
2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/1000999999
2024-02-29 10:51:00.379028 95.93% [DEBUG] switch_channel.c:3912 (sofia/default/1000999999) Callstate Change EARLY -> ACTIVE
2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000
2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/9126103211@3.110.187.230
2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_channel.c:3912 (sofia/default/9126103211@3.110.187.230) Callstate Change EARLY -> ACTIVE
2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech
2024-02-29 10:51:00.399023 95.93% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech
2024-02-29 10:51:00.439037 95.93% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
2024-02-29 10:51:00.439037 95.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2024-02-29 10:51:00.439037 95.93% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
2024-02-29 10:51:00.439037 95.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2024-02-29 10:51:00.599072 95.80% [DEBUG] sofia.c:7493 Channel sofia/default/9126103211@3.110.187.230 entering state [ready][200]
2024-02-29 10:51:07.339041 93.40% [NOTICE] sofia.c:1065 Hangup sofia/default/9126103211@3.110.187.230 [CS_EXECUTE] [NORMAL_CLEARING]
2024-02-29 10:51:07.339041 93.40% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/9126103211@3.110.187.230]
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_bridge.c:819 sofia/default/9126103211@3.110.187.230 ending bridge by request from write function
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/1000999999]
2024-02-29 10:51:07.359054 93.40% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/1000999999 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:650 (sofia/default/1000999999) State EXCHANGE_MEDIA going to sleep
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_HANGUP (Cur 2 Tot 4)
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_async.c:1597 Stop recording file /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/1000999999 skip receive message [UNBRIDGE] (channel is hungup already)
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/9126103211@3.110.187.230 skip receive message [UNBRIDGE] (channel is hungup already)
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_session.c:2979 sofia/default/9126103211@3.110.187.230 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9126103211@3.110.187.230) State EXECUTE going to sleep
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_HANGUP (Cur 2 Tot 4)
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_async.c:1597 Stop recording file /usr/local/freeswitch/recordings/8a487cba-56a5-4d5a-b622-e0e981e31966.wav
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_async.c:1678 Channel is hung up
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_ivr_async.c:1678 Channel is hung up
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/1000999999
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1000999999) Callstate Change ACTIVE -> HANGUP
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000999999) State HANGUP
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/9126103211@3.110.187.230
2024-02-29 10:51:07.359054 93.40% [DEBUG] mod_sofia.c:463 sofia/default/1000999999 Overriding SIP cause 480 with 200 from the other leg
2024-02-29 10:51:07.359054 93.40% [DEBUG] mod_sofia.c:469 Channel sofia/default/1000999999 hanging up, cause: NORMAL_CLEARING
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9126103211@3.110.187.230) Callstate Change ACTIVE -> HANGUP
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9126103211@3.110.187.230) State HANGUP
2024-02-29 10:51:07.359054 93.40% [DEBUG] mod_sofia.c:469 Channel sofia/default/9126103211@3.110.187.230 hanging up, cause: NORMAL_CLEARING
2024-02-29 10:51:07.359054 93.40% [DEBUG] mod_sofia.c:523 Sending BYE to sofia/default/1000999999
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/1000999999 Standard HANGUP, cause: NORMAL_CLEARING
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1000999999) State HANGUP going to sleep
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1000999999) State Change CS_HANGUP -> CS_REPORTING
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1000999999) Running State Change CS_REPORTING (Cur 2 Tot 4)
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000999999) State REPORTING
2024-02-29 10:51:07.359054 93.40% [INFO] mod_json_cdr.c:272 Process [9fc2fefe-a72f-4520-af35-4142db1561d5.cdr.json]
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/9126103211@3.110.187.230 Standard HANGUP, cause: NORMAL_CLEARING
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9126103211@3.110.187.230) State HANGUP going to sleep
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9126103211@3.110.187.230) State Change CS_HANGUP -> CS_REPORTING
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9126103211@3.110.187.230) Running State Change CS_REPORTING (Cur 2 Tot 4)
2024-02-29 10:51:07.359054 93.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9126103211@3.110.187.230) State REPORTING
2024-02-29 10:51:07.359054 93.40% [INFO] mod_json_cdr.c:272 Process [8a487cba-56a5-4d5a-b622-e0e981e31966.cdr.json]
2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/1000999999 Standard REPORTING, cause: NORMAL_CLEARING
2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1000999999) State REPORTING going to sleep
2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1000999999) State Change CS_REPORTING -> CS_DESTROY
2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_session.c:1744 Session 4 (sofia/default/1000999999) Locked, Waiting on external entities
2024-02-29 10:51:07.379036 93.40% [NOTICE] switch_core_session.c:1762 Session 4 (sofia/default/1000999999) Ended
2024-02-29 10:51:07.379036 93.40% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1000999999 [CS_DESTROY]
2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1000999999) Running State Change CS_DESTROY (Cur 1 Tot 4)
2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000999999) State DESTROY
2024-02-29 10:51:07.379036 93.40% [DEBUG] mod_sofia.c:380 sofia/default/1000999999 SOFIA DESTROY
2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/1000999999 Standard DESTROY
2024-02-29 10:51:07.379036 93.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1000999999) State DESTROY going to sleep
2024-02-29 10:51:07.399024 93.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/9126103211@3.110.187.230 Standard REPORTING, cause: NORMAL_CLEARING
2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9126103211@3.110.187.230) State REPORTING going to sleep
2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9126103211@3.110.187.230) State Change CS_REPORTING -> CS_DESTROY
2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_session.c:1744 Session 3 (sofia/default/9126103211@3.110.187.230) Locked, Waiting on external entities
2024-02-29 10:51:07.419030 93.40% [NOTICE] switch_core_session.c:1762 Session 3 (sofia/default/9126103211@3.110.187.230) Ended
2024-02-29 10:51:07.419030 93.40% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/9126103211@3.110.187.230 [CS_DESTROY]
2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9126103211@3.110.187.230) Running State Change CS_DESTROY (Cur 0 Tot 4)
2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9126103211@3.110.187.230) State DESTROY
2024-02-29 10:51:07.419030 93.40% [DEBUG] mod_sofia.c:380 sofia/default/9126103211@3.110.187.230 SOFIA DESTROY
2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/9126103211@3.110.187.230 Standard DESTROY
2024-02-29 10:51:07.419030 93.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9126103211@3.110.187.230) State DESTROY going to sleep
2024-02-29 10:51:07.879031 93.37% [DEBUG] switch_scheduler.c:147 Deleting task 5 switch_ivr_schedule_hangup (8a487cba-56a5-4d5a-b622-e0e981e31966)
freeswitch@v6> /exit
root@v6:~#