2023-07-07 14:58:19.949590 91.63% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9084093666@13.232.246.166 [02e6d915-414d-4e7d-bb13-2eac3d2637e2] 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 333) 2023-07-07 14:58:19.949590 91.63% [INFO] sofia.c:10462 sofia/default/9084093666@13.232.246.166 receiving invite from 13.232.246.166:5077 version: 1.10.7 -release 64bit call-id: 8d8486de-9779-123c-da90-02c9c4cfda14 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 13.232.246.166:0. 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:10585 IP 13.232.246.166 Approved by acl "default[]". Access Granted. 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [received][100] 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1688712375 1688712376 IN IP4 13.232.246.166 s=FreeSWITCH c=IN IP4 13.232.246.166 t=0 0 m=audio 29524 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 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9084093666@13.232.246.166 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_codec.c:111 sofia/default/9084093666@13.232.246.166 Original read codec set to PCMA:8 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_media.c:5973 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-07 14:58:19.949590 91.63% [DEBUG] sofia.c:7933 (sofia/default/9084093666@13.232.246.166) State Change CS_NEW -> CS_INIT 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9084093666@13.232.246.166) State NEW 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 333) 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9084093666@13.232.246.166) State INIT 2023-07-07 14:58:19.949590 91.63% [DEBUG] mod_sofia.c:97 sofia/default/9084093666@13.232.246.166 SOFIA INIT 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/9084093666@13.232.246.166 Standard INIT 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9084093666@13.232.246.166) State Change CS_INIT -> CS_ROUTING 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9084093666@13.232.246.166) State INIT going to sleep 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 333) 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_channel.c:2380 (sofia/default/9084093666@13.232.246.166) Callstate Change DOWN -> RINGING 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING 2023-07-07 14:58:19.949590 91.63% [DEBUG] mod_sofia.c:158 sofia/default/9084093666@13.232.246.166 SOFIA ROUTING 2023-07-07 14:58:19.949590 91.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/9084093666@13.232.246.166 Standard ROUTING 2023-07-07 14:58:19.949590 91.63% [INFO] mod_dialplan_xml.c:639 Processing 9084093666 <9084093666>->100099 in context default 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100099 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '100099' limit 1 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '100099' and status=0 LIMIT 1 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+AutomationBeta 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '13.127.204.47' limit 1 2023-07-07 14:58:19.969590 91.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9084093666 / 9084093666 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100099 AND status=0 limit 1 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100099" LIMIT 1 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-07-07 14:58:19.969590 91.63% [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("13.232.246.166") 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 "100099" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2023-07-07 14:58:19.969590 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894] 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1 2023-07-07 14:58:19.969590 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2 2023-07-07 14:58:19.989589 91.63% [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 = '^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 2023-07-07 14:58:19.989589 91.63% [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 ="100099" AND A.accountid = '3' limit 1 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100099 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100099" LIMIT 1 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2023-07-07 14:58:19.989589 91.63% [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 = '100099' OR number = '10009' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100099*' OR number = '10009*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9084093666' OR number = '908409366' OR number = '90840936' OR number = '9084093' OR number = '908409' OR number = '90840' OR number = '9084' OR number = '908' OR number = '90' OR number = '9' OR number ='--') OR (number = '9084093666*' OR number = '908409366*' OR number = '90840936*' OR number = '9084093*' OR number = '908409*' OR number = '90840*' OR number = '9084*' OR number = '908*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (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 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49913.0966 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 69 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100099" LIMIT 1 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 395 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100099 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49913.0966 balance Accountid 3 !!! 2023-07-07 14:58:19.989589 91.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3 2023-07-07 14:58:19.989589 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3 2023-07-07 14:58:19.989589 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2023-07-07 14:58:20.009593 91.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : automation1betav601.astppbilling.org 2023-07-07 14:58:20.009593 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:20.009593 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2023-07-07 14:58:20.009593 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "10000000070500" AND accounts.status = 0 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :100099 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :100099 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2023-07-07 14:58:20.009593 91.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : automation1betav601.astppbilling.org 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/9084093666@13.232.246.166 parsing [default->100099] continue=false Dialplan: sofia/default/9084093666@13.232.246.166 Regex (PASS) [100099] destination_number(100099) =~ /100099/ break=on-false Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_destination_number=100099) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(notify_flag=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(notify_credit_limit=0.00000) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(type=3) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(callstart=2023-07-07 14:58:20) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(hangup_after_bridge=true) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(account_id=3) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(parent_id=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(entity_id=3) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_processed=internal) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_direction=inbound) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(accountname=COmmunityVsix) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(pstn_flag=1) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates_did=ID:395|CODE:^100099.*|DESTINATION:100099|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:2) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_name=9084093666) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_number=9084093666) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(is_recording=1) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(media_bug_answer_req=true) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(RECORD_STEREO=true) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(record_sample_rate=8000) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/9084093666@13.232.246.166 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/default/9084093666@13.232.246.166 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number}) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_name=9084093666) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_number=9084093666) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(receiver_accid=2) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(domain_name=automation1betav601.astppbilling.org) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(sip_to_host=automation1betav601.astppbilling.org) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(presence_data=x|||default(3673942894)|||^100099.* // 100099 // 0.00000|||||||||DID|||13.232.246.166) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(call_type=4) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(calltype=STANDARD) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(accountcode=4727985745) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(caller_did_account_id=3) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_number=100099) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_init_inc=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_inc=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_cost=0.00000) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_connectcost=0.00000) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates_did=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_id=395) Dialplan: sofia/default/9084093666@13.232.246.166 Action transfer(10000000070500 XML default) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9084093666@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING going to sleep 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 333) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_sofia.c:213 sofia/default/9084093666@13.232.246.166 SOFIA EXECUTE 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/9084093666@13.232.246.166 Standard EXECUTE EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_destination_number=100099) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_destination_number]=[100099] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(notify_flag=0) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(notify_credit_limit=0.00000) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [notify_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(type=3) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [type]=[3] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(callstart=2023-07-07 14:58:20) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [callstart]=[2023-07-07 14:58:20] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(hangup_after_bridge=true) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(continue_on_fail=TRUE) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(account_id=3) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [account_id]=[3] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(parent_id=0) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [parent_id]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(entity_id=3) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [entity_id]=[3] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_processed=internal) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_direction=inbound) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(accountname=COmmunityVsix) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [accountname]=[COmmunityVsix] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(filename1=astpp.pbx.lua) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(pstn_flag=1) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [pstn_flag]=[1] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates_did=ID:395|CODE:^100099.*|DESTINATION:100099|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:2) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates_did]=[ID:395|CODE:^100099.*|DESTINATION:100099|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:2] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates=0) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_name=9084093666) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_name]=[9084093666] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_number=9084093666) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_number]=[9084093666] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(is_recording=1) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(media_bug_answer_req=true) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(RECORD_STEREO=true) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(record_sample_rate=8000) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 hash(insert/172.31.38.162-last_dial/9084093666/100099) EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 hash(insert/172.31.38.162-call_return/100099/9084093666) EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_name=9084093666) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_name]=[9084093666] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_number=9084093666) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_number]=[9084093666] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(receiver_accid=2) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [receiver_accid]=[2] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(domain_name=automation1betav601.astppbilling.org) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[automation1betav601.astppbilling.org] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(sip_to_host=automation1betav601.astppbilling.org) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[automation1betav601.astppbilling.org] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(presence_data=x|||default(3673942894)|||^100099.* // 100099 // 0.00000|||||||||DID|||13.232.246.166) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^100099.* // 100099 // 0.00000|||||||||DID|||13.232.246.166] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(call_type=4) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(calltype=STANDARD) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(accountcode=4727985745) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [accountcode]=[4727985745] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(caller_did_account_id=3) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [caller_did_account_id]=[3] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_number=100099) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_number]=[100099] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_init_inc=0) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_init_inc]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_inc=0) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_inc]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_cost=0.00000) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_cost]=[0.00000] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_connectcost=0.00000) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_connectcost]=[0.00000] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates_did=0) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates_did]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(did_id=395) 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [did_id]=[395] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 transfer(10000000070500 XML default) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_ivr.c:2289 (sofia/default/9084093666@13.232.246.166) State Change CS_EXECUTE -> CS_ROUTING 2023-07-07 14:58:20.009593 91.63% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/9084093666@13.232.246.166 to XML[10000000070500@default] 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE going to sleep 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 333) 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged 2023-07-07 14:58:20.009593 91.63% [DEBUG] mod_sofia.c:158 sofia/default/9084093666@13.232.246.166 SOFIA ROUTING 2023-07-07 14:58:20.009593 91.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/9084093666@13.232.246.166 Standard ROUTING 2023-07-07 14:58:20.009593 91.63% [INFO] mod_dialplan_xml.c:639 Processing 9084093666 <9084093666>->10000000070500 in context default 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10000000070500 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10000000070500' limit 1 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10000000070500' and status=0 LIMIT 1 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+AutomationBeta 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'automation1betav601.astppbilling.org' limit 1 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '10000000070500' limit 1 2023-07-07 14:58:20.029592 91.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9084093666 / 9084093666 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 00070500 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100000 AND status=0 limit 1 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10000000070500" AND domains.domain="automation1betav601.astppbilling.org" limit 1 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-07-07 14:58:20.029592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745] 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1 2023-07-07 14:58:20.029592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10000000070500.*' OR blocked_patterns = '^1000000007050.*' OR blocked_patterns = '^100000000705.*' OR blocked_patterns = '^10000000070.*' OR blocked_patterns = '^1000000007.*' OR blocked_patterns = '^100000000.*' OR blocked_patterns = '^10000000.*' OR blocked_patterns = '^1000000.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2023-07-07 14:58:20.049592 91.63% [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 = '^10000000070500.*' OR patterns = '^1000000007050.*' OR patterns = '^100000000705.*' OR patterns = '^10000000070.*' OR patterns = '^1000000007.*' OR patterns = '^100000000.*' OR patterns = '^10000000.*' OR patterns = '^1000000.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-07-07 14:58:20.049592 91.63% [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 ="10000000070500" AND A.accountid = '2' limit 1 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10000000070500 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="10000000070500" AND domains.domain="automation1betav601.astppbilling.org" limit 1 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2023-07-07 14:58:20.049592 91.63% [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 = '10000000070500' OR number = '1000000007050' OR number = '100000000705' OR number = '10000000070' OR number = '1000000007' OR number = '100000000' OR number = '10000000' OR number = '1000000' OR number = '100000' OR number = '10000' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10000000070500*' OR number = '1000000007050*' OR number = '100000000705*' OR number = '10000000070*' OR number = '1000000007*' OR number = '100000000*' OR number = '10000000*' OR number = '1000000*' OR number = '100000*' OR number = '10000*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9084093666' OR number = '908409366' OR number = '90840936' OR number = '9084093' OR number = '908409' OR number = '90840' OR number = '9084' OR number = '908' OR number = '90' OR number = '9' OR number ='--') OR (number = '9084093666*' OR number = '908409366*' OR number = '90840936*' OR number = '9084093*' OR number = '908409*' OR number = '90840*' OR number = '9084*' OR number = '908*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10000000070500' OR routing_prefix = '1000000007050' OR routing_prefix = '100000000705' OR routing_prefix = '10000000070' OR routing_prefix = '1000000007' OR routing_prefix = '100000000' OR routing_prefix = '10000000' OR routing_prefix = '1000000' OR routing_prefix = '100000' OR routing_prefix = '10000' 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 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49913.0966 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 69 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^10000000070500.*' OR pattern = '^1000000007050.*' OR pattern = '^100000000705.*' OR pattern = '^10000000070.*' OR pattern = '^1000000007.*' OR pattern = '^100000000.*' OR pattern = '^10000000.*' OR pattern = '^1000000.*' OR pattern = '^100000.*' OR pattern = '^10000.*' OR pattern = '^1000.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^9084093666.*' OR caller_id_pattern = '^908409366.*' OR caller_id_pattern = '^90840936.*' OR caller_id_pattern = '^9084093.*' OR caller_id_pattern = '^908409.*' OR caller_id_pattern = '^90840.*' OR caller_id_pattern = '^9084.*' OR caller_id_pattern = '^908.*' OR caller_id_pattern = '^90.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 69 OR accountid=2) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 100 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.10000 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 2.50000 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 203 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49913.0966 balance Accountid 2 !!! 2023-07-07 14:58:20.049592 91.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 1000 mins! 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 1000 minutes 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=69 ORDER by id asc 2023-07-07 14:58:20.049592 91.63% [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 = '^10000000070500.*' OR pattern = '^1000000007050.*' OR pattern = '^100000000705.*' OR pattern = '^10000000070.*' OR pattern = '^1000000007.*' OR pattern = '^100000000.*' OR pattern = '^10000000.*' OR pattern = '^1000000.*' OR pattern = '^100000.*' OR pattern = '^10000.*' 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 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.* 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.* 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2023-07-07 14:58:20.049592 91.63% [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 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 1000 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2023-07-07 14:58:20.049592 91.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :10000000070500 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :10000000070500 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69 2023-07-07 14:58:20.049592 91.63% [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 2023-07-07 14:58:20.049592 91.63% [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 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100099" LIMIT 1 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DIDQUERY] Query :SELECT * FROM dids WHERE id ="395" and status = 0 limit 1 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/9084093666@13.232.246.166 parsing [default->10000000070500] continue=false Dialplan: sofia/default/9084093666@13.232.246.166 Regex (PASS) [10000000070500] destination_number(10000000070500) =~ /10000000070500/ break=on-false Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_destination_number=10000000070500) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+60000 normal_clearing) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(type=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(callstart=2023-07-07 14:58:20) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(hangup_after_bridge=true) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(account_id=2) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(parent_id=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(entity_id=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_processed=internal) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_direction=outbound) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(accountname=default) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(pstn_flag=1) Dialplan: sofia/default/9084093666@13.232.246.166 Action sleep(1000) Dialplan: sofia/default/9084093666@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(ringback=%(2000,4000,440.0,480.0)) Dialplan: sofia/default/9084093666@13.232.246.166 Action say(en CURRENCY PRONOUNCED 49913.0966) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(origination_rates=ID:100|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:69|MARKUP:0|CI:203|ACCID:2) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_name=9084093666) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(original_caller_id_number=9084093666) Dialplan: sofia/default/9084093666@13.232.246.166 Action limit(db 4727985745 user_4727985745 500 ) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(is_recording=1) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(media_bug_answer_req=true) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(RECORD_STEREO=true) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(record_sample_rate=8000) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/9084093666@13.232.246.166 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/default/9084093666@13.232.246.166 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number}) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_name=9084093666) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(effective_caller_id_number=9084093666) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(calltype=STANDARD) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(trunk_id=1) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(provider_id=3) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(rate_flag=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(quality_trunk_seq=1) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(force_trunk_flag=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(presence_data=trunk_id=1) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(intcall=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(presence_id=10000000070500) Dialplan: sofia/default/9084093666@13.232.246.166 Action export(presence_data=x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166) Dialplan: sofia/default/9084093666@13.232.246.166 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10000000070500) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(did_id=395) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(destination_number=10000000070500) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(leg_timeout=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(call_type_vm_flag=1) Dialplan: sofia/default/9084093666@13.232.246.166 Action set(is_local_extension=0) Dialplan: sofia/default/9084093666@13.232.246.166 Action lua(did_call_forwarding.lua) 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9084093666@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9084093666@13.232.246.166) State ROUTING going to sleep 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 333) 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_sofia.c:213 sofia/default/9084093666@13.232.246.166 SOFIA EXECUTE 2023-07-07 14:58:20.049592 91.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/9084093666@13.232.246.166 Standard EXECUTE EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_destination_number=10000000070500) 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_destination_number]=[10000000070500] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup) 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(bridge_pre_execute_bleg_data=+60000 normal_clearing) 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [bridge_pre_execute_bleg_data]=[+60000 normal_clearing] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(type=0) 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [type]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(callstart=2023-07-07 14:58:20) 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [callstart]=[2023-07-07 14:58:20] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(hangup_after_bridge=true) 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(continue_on_fail=TRUE) 2023-07-07 14:58:20.049592 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(account_id=2) 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [account_id]=[2] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(parent_id=0) 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [parent_id]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(entity_id=0) 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [entity_id]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_processed=internal) 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(call_direction=outbound) 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(accountname=default) 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [accountname]=[default] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(filename1=astpp.pbx.lua) 2023-07-07 14:58:20.069587 91.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(pstn_flag=1) 2023-07-07 14:58:20.069587 91.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [pstn_flag]=[1] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 sleep(1000) 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/9084093666@13.232.246.166 2023-07-07 14:58:21.069627 91.23% [INFO] switch_core_session.c:2797 Sending early media 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9084093666@13.232.246.166] 172.31.38.162 port 21496 -> 13.232.246.166 port 29524 codec: 8 ms: 20 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_media.c:9089 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf send payload to 101 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_media.c:9096 sofia/default/9084093666@13.232.246.166 Set 2833 dtmf receive payload to 101 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_media.c:9119 sofia/default/9084093666@13.232.246.166 Set rtp dtmf delay to 40 2023-07-07 14:58:21.069627 91.23% [DEBUG] mod_sofia.c:2610 Ring SDP: v=0 o=FreeSWITCH 1688720405 1688720406 IN IP4 13.127.204.47 s=FreeSWITCH c=IN IP4 13.127.204.47 t=0 0 m=audio 21496 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 2023-07-07 14:58:21.069627 91.23% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/9084093666@13.232.246.166! 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_channel.c:3622 (sofia/default/9084093666@13.232.246.166) Callstate Change RINGING -> EARLY 2023-07-07 14:58:21.069627 91.23% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [early][183] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav) 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000 2023-07-07 14:58:21.069627 91.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2023-07-07 14:58:21.269590 91.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2023-07-07 14:58:22.389606 91.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(ringback=%(2000,4000,440.0,480.0)) 2023-07-07 14:58:22.389606 91.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [ringback]=[%(2000,4000,440.0,480.0)] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 say(en CURRENCY PRONOUNCED 49913.0966) 2023-07-07 14:58:22.389606 91.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2023-07-07 14:58:23.149612 91.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/580088@13.127.204.47 [a2c5fc70-5733-4fce-b31c-0802b2984bc7] 2023-07-07 14:58:23.149612 91.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580088@13.127.204.47) Running State Change CS_NEW (Cur 2 Tot 334) 2023-07-07 14:58:23.149612 91.17% [INFO] sofia.c:10462 sofia/default/580088@13.127.204.47 receiving invite from 45.155.91.135:60549 version: 1.10.7 -release 64bit call-id: 296802914-1621470994-424215661 2023-07-07 14:58:23.149612 91.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 45.155.91.135:0. 2023-07-07 14:58:23.149612 91.17% [DEBUG] sofia.c:2419 detaching session a2c5fc70-5733-4fce-b31c-0802b2984bc7 2023-07-07 14:58:23.149612 91.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [46423112877@13.127.204.47] from ip 45.155.91.135 2023-07-07 14:58:23.149612 91.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/580088@13.127.204.47) State NEW 2023-07-07 14:58:23.289590 91.17% [DEBUG] sofia.c:2532 Re-attaching to session a2c5fc70-5733-4fce-b31c-0802b2984bc7 2023-07-07 14:58:23.289590 91.17% [INFO] sofia.c:10462 sofia/default/580088@13.127.204.47 receiving invite from 45.155.91.135:60549 version: 1.10.7 -release 64bit call-id: 296802914-1621470994-424215661 2023-07-07 14:58:23.289590 91.17% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 45.155.91.135:0. 2023-07-07 14:58:23.309648 91.17% [WARNING] sofia_reg.c:3223 Can't find user [580088@13.127.204.47] from 45.155.91.135 You must define a domain called '13.127.204.47' in your directory and add a user with the id="580088" attribute and you must configure your device to use the proper domain in its authentication credentials. 2023-07-07 14:58:23.309648 91.17% [NOTICE] sofia.c:2417 Hangup sofia/default/580088@13.127.204.47 [CS_NEW] [CALL_REJECTED] 2023-07-07 14:58:23.309648 91.17% [WARNING] sofia_reg.c:1806 SIP auth failure (INVITE) on sofia profile 'default' for [46423112877@13.127.204.47] from ip 45.155.91.135 2023-07-07 14:58:23.309648 91.17% [DEBUG] sofia.c:1527 Channel is already hungup. 2023-07-07 14:58:23.309648 91.17% [DEBUG] sofia.c:1527 Channel is already hungup. 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580088@13.127.204.47) Running State Change CS_HANGUP (Cur 2 Tot 334) 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:844 (sofia/default/580088@13.127.204.47) Callstate Change DOWN -> HANGUP 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580088@13.127.204.47) State HANGUP 2023-07-07 14:58:23.309648 91.17% [DEBUG] mod_sofia.c:468 Channel sofia/default/580088@13.127.204.47 hanging up, cause: CALL_REJECTED 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:59 sofia/default/580088@13.127.204.47 Standard HANGUP, cause: CALL_REJECTED 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:846 (sofia/default/580088@13.127.204.47) State HANGUP going to sleep 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:616 (sofia/default/580088@13.127.204.47) State Change CS_HANGUP -> CS_REPORTING 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/580088@13.127.204.47) Running State Change CS_REPORTING (Cur 2 Tot 334) 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580088@13.127.204.47) State REPORTING 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:168 sofia/default/580088@13.127.204.47 Standard REPORTING, cause: CALL_REJECTED 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:932 (sofia/default/580088@13.127.204.47) State REPORTING going to sleep 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:607 (sofia/default/580088@13.127.204.47) State Change CS_REPORTING -> CS_DESTROY 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_session.c:1753 Session 334 (sofia/default/580088@13.127.204.47) Locked, Waiting on external entities 2023-07-07 14:58:23.309648 91.17% [NOTICE] switch_core_session.c:1771 Session 334 (sofia/default/580088@13.127.204.47) Ended 2023-07-07 14:58:23.309648 91.17% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/580088@13.127.204.47 [CS_DESTROY] 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:735 (sofia/default/580088@13.127.204.47) Running State Change CS_DESTROY (Cur 1 Tot 334) 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580088@13.127.204.47) State DESTROY 2023-07-07 14:58:23.309648 91.17% [DEBUG] mod_sofia.c:379 sofia/default/580088@13.127.204.47 SOFIA DESTROY 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:175 sofia/default/580088@13.127.204.47 Standard DESTROY 2023-07-07 14:58:23.309648 91.17% [DEBUG] switch_core_state_machine.c:745 (sofia/default/580088@13.127.204.47) State DESTROY going to sleep 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/40.wav!digits/9.wav!digits/thousand.wav!digits/9.wav!digits/hundred.wav!digits/13.wav!currency/dollars.wav!currency/and.wav!digits/9.wav!currency/cents.wav EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(origination_rates=ID:100|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:69|MARKUP:0|CI:203|ACCID:2) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [origination_rates]=[ID:100|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.10000|INCLUDEDSECONDS:0|CT:|COST:2.50000|INC:60|INITIALBLOCK:60|RATEGROUP:69|MARKUP:0|CI:203|ACCID:2] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_name=9084093666) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_name]=[9084093666] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(original_caller_id_number=9084093666) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [original_caller_id_number]=[9084093666] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 limit(db 4727985745 user_4727985745 500 ) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:500, interval:0 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/500 EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(is_recording=1) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(media_bug_answer_req=true) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(RECORD_STEREO=true) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(record_sample_rate=8000) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 hash(insert/automation1betav601.astppbilling.org-last_dial/9084093666/10000000070500) EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 hash(insert/automation1betav601.astppbilling.org-call_return/10000000070500/9084093666) EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_name=9084093666) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_name]=[9084093666] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(effective_caller_id_number=9084093666) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [effective_caller_id_number]=[9084093666] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(calltype=STANDARD) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(trunk_id=1) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [trunk_id]=[1] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(provider_id=3) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [provider_id]=[3] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(rate_flag=0) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(daily_call_credit_limit=0.00000) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(monthly_call_credit_limit=0.00000) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(daily_call_used_limit=0.00000) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(monthly_call_used_limit=0.00000) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(quality_trunk_seq=1) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [quality_trunk_seq]=[1] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(force_trunk_flag=0) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [force_trunk_flag]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(presence_data=trunk_id=1) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 set(intcall=0) 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/9084093666@13.232.246.166 [intcall]=[0] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(presence_id=10000000070500) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[10000000070500] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 export(presence_data=x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166] EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10000000070500) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [pstn_flag]=[1] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [is_recording]=[1] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [domain_name]=[automation1betav601.astppbilling.org] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [sip_to_host]=[automation1betav601.astppbilling.org] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [call_type]=[4] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [pstn_flag]=[1] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [is_recording]=[1] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [presence_id]=[10000000070500] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_channel.c:1269 sofia/default/9084093666@13.232.246.166 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^1.* // USA // 2.50000 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||13.232.246.166] to event 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2023-07-07 14:58:27.229605 91.43% [NOTICE] switch_channel.c:1123 New Channel sofia/default/10000000070500 [de28768b-416d-4516-937d-fbaae15155fa] 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_sofia.c:5121 (sofia/default/10000000070500) State Change CS_NEW -> CS_INIT 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_originate.c:3151 sofia/default/10000000070500 Setting leg timeout to 30 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_INIT (Cur 2 Tot 335) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10000000070500) State INIT 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_sofia.c:97 sofia/default/10000000070500 SOFIA INIT 2023-07-07 14:58:27.229605 91.43% [INFO] sofia_glue.c:1651 sofia/default/10000000070500 sending invite call-id: (null) 2023-07-07 14:58:27.229605 91.43% [DEBUG] sofia_glue.c:1654 sofia/default/10000000070500 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1688711491 1688711492 IN IP4 13.127.204.47 s=FreeSWITCH c=IN IP4 13.127.204.47 t=0 0 m=audio 30416 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 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:40 sofia/default/10000000070500 Standard INIT 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:48 (sofia/default/10000000070500) State Change CS_INIT -> CS_ROUTING 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:624 (sofia/default/10000000070500) State INIT going to sleep 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_ROUTING (Cur 2 Tot 335) 2023-07-07 14:58:27.229605 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/10000000070500 entering state [calling][0] 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10000000070500) State ROUTING 2023-07-07 14:58:27.229605 91.43% [DEBUG] mod_sofia.c:158 sofia/default/10000000070500 SOFIA ROUTING 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_ivr_originate.c:67 (sofia/default/10000000070500) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:640 (sofia/default/10000000070500) State ROUTING going to sleep 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 335) 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10000000070500) State CONSUME_MEDIA 2023-07-07 14:58:27.229605 91.43% [DEBUG] switch_core_state_machine.c:659 (sofia/default/10000000070500) State CONSUME_MEDIA going to sleep 2023-07-07 14:58:27.429596 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/10000000070500 entering state [completing][200] 2023-07-07 14:58:27.429596 91.43% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=root 757572018 757572018 IN IP4 159.203.131.36 s=Asterisk PBX 16.4.0 c=IN IP4 159.203.131.36 t=0 0 m=audio 14328 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=maxptime:150 2023-07-07 14:58:27.429596 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/10000000070500 entering state [ready][200] 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1] 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/10000000070500 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_codec.c:111 sofia/default/10000000070500 Original read codec set to PCMA:8 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:5973 sofia/default/10000000070500 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/10000000070500] 172.31.38.162 port 30416 -> 159.203.131.36 port 14328 codec: 8 ms: 20 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:9089 sofia/default/10000000070500 Set 2833 dtmf send payload to 101 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:9096 sofia/default/10000000070500 Set 2833 dtmf receive payload to 101 2023-07-07 14:58:27.429596 91.43% [DEBUG] switch_core_media.c:9119 sofia/default/10000000070500 Set rtp dtmf delay to 40 2023-07-07 14:58:27.429596 91.43% [NOTICE] sofia.c:8683 Channel [sofia/default/10000000070500] has been answered EXECUTE [depth=1] sofia/default/10000000070500 record_session(/usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav) 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/9084093666@13.232.246.166. 2023-07-07 14:58:27.449599 91.43% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9084093666@13.232.246.166: v=0 o=FreeSWITCH 1688720405 1688720407 IN IP4 13.127.204.47 s=FreeSWITCH c=IN IP4 13.127.204.47 t=0 0 m=audio 21496 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 2023-07-07 14:58:27.449599 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [completed][200] 2023-07-07 14:58:27.449599 91.43% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/9084093666@13.232.246.166] has been answered EXECUTE [depth=0] sofia/default/9084093666@13.232.246.166 record_session(/usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav) 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/10000000070500 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_channel.c:3950 (sofia/default/10000000070500) Callstate Change DOWN -> ACTIVE 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/9084093666@13.232.246.166 2023-07-07 14:58:27.449599 91.43% [DEBUG] sofia.c:7499 Channel sofia/default/9084093666@13.232.246.166 entering state [ready][200] 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_channel.c:3950 (sofia/default/9084093666@13.232.246.166) Callstate Change EARLY -> ACTIVE 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/10000000070500] Peer UUID: de28768b-416d-4516-937d-fbaae15155fa 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/10000000070500) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 335) 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_core_state_machine.c:650 (sofia/default/10000000070500) State EXCHANGE_MEDIA 2023-07-07 14:58:27.449599 91.43% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2023-07-07 14:58:27.449599 91.43% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2023-07-07 14:58:27.469591 91.43% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2023-07-07 14:58:27.509592 91.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2023-07-07 14:58:27.509592 91.27% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2023-07-07 14:58:27.629591 91.27% [DEBUG] switch_ivr_bridge.c:655 sofia/default/10000000070500 Bridge execute app sched_hangup(+60000 normal_clearing) 2023-07-07 14:58:27.649678 91.27% [DEBUG] switch_ivr.c:632 sofia/default/10000000070500 Command Execute [depth=0] sched_hangup(+60000 normal_clearing) EXECUTE [depth=0] sofia/default/10000000070500 sched_hangup(+60000 normal_clearing) 2023-07-07 14:58:27.649678 91.27% [DEBUG] switch_scheduler.c:263 Added task 12 switch_ivr_schedule_hangup (de28768b-416d-4516-937d-fbaae15155fa) to run at 1688801907 2023-07-07 14:58:27.729594 91.27% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2023-07-07 14:58:27.729594 91.27% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2023-07-07 14:58:30.969625 91.07% [NOTICE] sofia.c:1065 Hangup sofia/default/9084093666@13.232.246.166 [CS_EXECUTE] [NORMAL_CLEARING] 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9084093666@13.232.246.166] 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9084093666@13.232.246.166 ending bridge by request from write function 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/10000000070500] 2023-07-07 14:58:30.969625 91.07% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/10000000070500 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:650 (sofia/default/10000000070500) State EXCHANGE_MEDIA going to sleep 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_HANGUP (Cur 2 Tot 335) 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/10000000070500 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/10000000070500) Callstate Change ACTIVE -> HANGUP 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10000000070500) State HANGUP 2023-07-07 14:58:30.969625 91.07% [DEBUG] mod_sofia.c:462 sofia/default/10000000070500 Overriding SIP cause 480 with 200 from the other leg 2023-07-07 14:58:30.969625 91.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/10000000070500 hanging up, cause: NORMAL_CLEARING 2023-07-07 14:58:30.969625 91.07% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/10000000070500 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/10000000070500 Standard HANGUP, cause: NORMAL_CLEARING 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/10000000070500) State HANGUP going to sleep 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/10000000070500) State Change CS_HANGUP -> CS_REPORTING 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/10000000070500) Running State Change CS_REPORTING (Cur 2 Tot 335) 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10000000070500) State REPORTING 2023-07-07 14:58:30.969625 91.07% [INFO] mod_json_cdr.c:271 Process [de28768b-416d-4516-937d-fbaae15155fa.cdr.json] 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/10000000070500 skip receive message [UNBRIDGE] (channel is hungup already) 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9084093666@13.232.246.166 skip receive message [UNBRIDGE] (channel is hungup already) 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_session.c:2983 sofia/default/9084093666@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already) 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9084093666@13.232.246.166) State EXECUTE going to sleep 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_HANGUP (Cur 2 Tot 335) 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/02e6d915-414d-4e7d-bb13-2eac3d2637e2.wav 2023-07-07 14:58:30.969625 91.07% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/9084093666@13.232.246.166 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9084093666@13.232.246.166) Callstate Change ACTIVE -> HANGUP 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9084093666@13.232.246.166) State HANGUP 2023-07-07 14:58:30.989591 91.07% [DEBUG] mod_sofia.c:468 Channel sofia/default/9084093666@13.232.246.166 hanging up, cause: NORMAL_CLEARING 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/9084093666@13.232.246.166 Standard HANGUP, cause: NORMAL_CLEARING 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9084093666@13.232.246.166) State HANGUP going to sleep 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9084093666@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9084093666@13.232.246.166) Running State Change CS_REPORTING (Cur 2 Tot 335) 2023-07-07 14:58:30.989591 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9084093666@13.232.246.166) State REPORTING 2023-07-07 14:58:30.989591 91.07% [INFO] mod_json_cdr.c:271 Process [02e6d915-414d-4e7d-bb13-2eac3d2637e2.cdr.json] 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/10000000070500 Standard REPORTING, cause: NORMAL_CLEARING 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/10000000070500) State REPORTING going to sleep 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/10000000070500) State Change CS_REPORTING -> CS_DESTROY 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_session.c:1753 Session 335 (sofia/default/10000000070500) Locked, Waiting on external entities 2023-07-07 14:58:31.009595 91.07% [NOTICE] switch_core_session.c:1771 Session 335 (sofia/default/10000000070500) Ended 2023-07-07 14:58:31.009595 91.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/10000000070500 [CS_DESTROY] 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/10000000070500) Running State Change CS_DESTROY (Cur 1 Tot 335) 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10000000070500) State DESTROY 2023-07-07 14:58:31.009595 91.07% [DEBUG] mod_sofia.c:379 sofia/default/10000000070500 SOFIA DESTROY 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/10000000070500 Standard DESTROY 2023-07-07 14:58:31.009595 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/10000000070500) State DESTROY going to sleep 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/9084093666@13.232.246.166 Standard REPORTING, cause: NORMAL_CLEARING 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9084093666@13.232.246.166) State REPORTING going to sleep 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9084093666@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_session.c:1753 Session 333 (sofia/default/9084093666@13.232.246.166) Locked, Waiting on external entities 2023-07-07 14:58:31.029591 91.07% [NOTICE] switch_core_session.c:1771 Session 333 (sofia/default/9084093666@13.232.246.166) Ended 2023-07-07 14:58:31.029591 91.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9084093666@13.232.246.166 [CS_DESTROY] 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9084093666@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 335) 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9084093666@13.232.246.166) State DESTROY 2023-07-07 14:58:31.029591 91.07% [DEBUG] mod_sofia.c:379 sofia/default/9084093666@13.232.246.166 SOFIA DESTROY 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/9084093666@13.232.246.166 Standard DESTROY 2023-07-07 14:58:31.029591 91.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9084093666@13.232.246.166) State DESTROY going to sleep 2023-07-07 14:58:31.149615 91.07% [DEBUG] switch_scheduler.c:147 Deleting task 12 switch_ivr_schedule_hangup (de28768b-416d-4516-937d-fbaae15155fa) freeswitch@ip-172-31-38-162> /exit root@ip-172-31-38-162:/home/admin#