2023-07-03 10:26:26.656415 95.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1111@52.66.198.239:5070 [66e1102f-3b68-4ba8-a40b-61314831a826] 2023-07-03 10:26:26.656415 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_NEW (Cur 1 Tot 46) 2023-07-03 10:26:26.656415 95.53% [INFO] sofia.c:10453 sofia/default/1111@52.66.198.239:5070 receiving invite from 103.206.138.169:24034 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: ZWEzYTI5YTY1ZWUzYWYzOWNmNzliZjBiMmIwOTk1YTU. 2023-07-03 10:26:26.656415 95.53% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.206.138.169:0. 2023-07-03 10:26:26.656415 95.53% [DEBUG] sofia.c:2419 detaching session 66e1102f-3b68-4ba8-a40b-61314831a826 2023-07-03 10:26:26.656415 95.53% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [1585@52.66.198.239] from ip 103.206.138.169 2023-07-03 10:26:26.656415 95.53% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1111@52.66.198.239:5070) State NEW 2023-07-03 10:26:26.736411 95.53% [DEBUG] sofia.c:2532 Re-attaching to session 66e1102f-3b68-4ba8-a40b-61314831a826 2023-07-03 10:26:26.756422 95.53% [INFO] sofia.c:10453 sofia/default/1111@52.66.198.239:5070 receiving invite from 103.206.138.169:24034 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: ZWEzYTI5YTY1ZWUzYWYzOWNmNzliZjBiMmIwOTk1YTU. 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.206.138.169:0. 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:11668 Setting NAT mode based on via received 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [received][100] 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=Z 0 0 IN IP4 103.206.138.169 s=Z c=IN IP4 103.206.138.169 t=0 0 m=audio 23936 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/1111@52.66.198.239:5070 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_codec.c:111 sofia/default/1111@52.66.198.239:5070 Original read codec set to PCMA:8 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_media.c:5850 sofia/default/1111@52.66.198.239:5070 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-03 10:26:26.756422 95.53% [DEBUG] sofia.c:7921 (sofia/default/1111@52.66.198.239:5070) State Change CS_NEW -> CS_INIT 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_INIT (Cur 1 Tot 46) 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1111@52.66.198.239:5070) State INIT 2023-07-03 10:26:26.756422 95.53% [DEBUG] mod_sofia.c:97 sofia/default/1111@52.66.198.239:5070 SOFIA INIT 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/1111@52.66.198.239:5070 Standard INIT 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1111@52.66.198.239:5070) State Change CS_INIT -> CS_ROUTING 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1111@52.66.198.239:5070) State INIT going to sleep 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_ROUTING (Cur 1 Tot 46) 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_channel.c:2380 (sofia/default/1111@52.66.198.239:5070) Callstate Change DOWN -> RINGING 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1111@52.66.198.239:5070) State ROUTING 2023-07-03 10:26:26.756422 95.53% [DEBUG] mod_sofia.c:158 sofia/default/1111@52.66.198.239:5070 SOFIA ROUTING 2023-07-03 10:26:26.756422 95.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/1111@52.66.198.239:5070 Standard ROUTING 2023-07-03 10:26:26.756422 95.53% [INFO] mod_dialplan_xml.c:639 Processing 1111 <1111>->1585 in context default 2023-07-03 10:26:26.756422 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1585 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1585' limit 1 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1585' AND status=0 limit 1 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1585' and status=0 LIMIT 1 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1111 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '52.66.198.239' limit 1 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '1585' limit 1 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 1111 / 1111 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 1585 AND status=0 limit 1 2023-07-03 10:26:26.776392 95.53% [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 ="1585" LIMIT 1 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-07-03 10:26:26.776392 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745] 2023-07-03 10:26:26.776392 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1585" AND (accountid = 0 OR status = 1) LIMIT 1 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2 2023-07-03 10:26:26.796391 95.53% [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 = '^1585.*' OR patterns = '^158.*' OR patterns = '^15.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-07-03 10:26:26.796391 95.53% [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 ="1585" AND A.accountid = '2' limit 1 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1585 2023-07-03 10:26:26.796391 95.53% [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 ="1585" LIMIT 1 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2023-07-03 10:26:26.796391 95.53% [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 = '1585' OR number = '158' OR number = '15' OR number = '1' OR number ='--') OR (number = '1585*' OR number = '158*' OR number = '15*' OR number = '1*' OR number ='--') OR (number = '1111' OR number = '111' OR number = '11' OR number = '1' OR number ='--') OR (number = '1111*' OR number = '111*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1585' OR routing_prefix = '158' OR routing_prefix = '15' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4999 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-07-03 10:26:26.796391 95.53% [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 ="1585" LIMIT 1 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1585 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4999 balance Accountid 2 !!! 2023-07-03 10:26:26.796391 95.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2023-07-03 10:26:26.796391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2023-07-03 10:26:26.796391 95.53% [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-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1 2023-07-03 10:26:26.796391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2023-07-03 10:26:26.816391 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 52.66.198.239 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}] 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"3","no_answer_call_type":"11","priority":"1"}] 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "3" limit 1 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str : time-of-day= "00:00-23:59" wday= "1-7" mday= "1-31" mon= "1-12" year= "2023-2023" 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2023-07-03 10:26:26.816391 95.53% [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 = "1" AND accounts.status = 0 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2023-07-03 10:26:26.816391 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 52.66.198.239 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->TESTTCCC] continue=true Dialplan: sofia/default/1111@52.66.198.239:5070 Absolute Condition [TESTTCCC] Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(timezone=Europe/Sarajevo) INLINE EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(timezone=Europe/Sarajevo) 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [timezone]=[Europe/Sarajevo] Dialplan: sofia/default/1111@52.66.198.239:5070 Date/Time Match (PASS) [TESTTCCC] break=never Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(office_status=open) INLINE EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(office_status=open) 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [office_status]=[open] Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(extensions=2222) INLINE EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(extensions=2222) 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [extensions]=[2222] Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_did_number=1585) INLINE EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(no_answer_did_number=1585) 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_did_number]=[1585] Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_call_type=11) INLINE EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(no_answer_call_type=11) 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_call_type]=[11] Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->tod route, x1585] continue=false Dialplan: sofia/default/1111@52.66.198.239:5070 Regex (PASS) [tod route, x1585] destination_number(1585) =~ /^(\+?)?(1585)$/ break=on-false Dialplan: sofia/default/1111@52.66.198.239:5070 Action execute_extension(1585_${office_status}) 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1111@52.66.198.239:5070) State Change CS_ROUTING -> CS_EXECUTE 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1111@52.66.198.239:5070) State ROUTING going to sleep 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_EXECUTE (Cur 1 Tot 46) 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1111@52.66.198.239:5070) State EXECUTE 2023-07-03 10:26:26.816391 95.53% [DEBUG] mod_sofia.c:213 sofia/default/1111@52.66.198.239:5070 SOFIA EXECUTE 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/1111@52.66.198.239:5070 Standard EXECUTE EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 execute_extension(1585_open) 2023-07-03 10:26:26.816391 95.53% [INFO] mod_dialplan_xml.c:639 Processing 1111 <1111>->1585_open in context default 2023-07-03 10:26:26.816391 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-03 10:26:26.816391 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1585 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1585' limit 1 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1585' AND status=0 limit 1 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1585' and status=0 LIMIT 1 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1111 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '52.66.198.239' limit 1 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '1585' limit 1 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 1111 / 1111 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 1585 AND status=0 limit 1 2023-07-03 10:26:26.836397 95.53% [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 ="1585" LIMIT 1 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-07-03 10:26:26.836397 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745] 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1585" AND (accountid = 0 OR status = 1) LIMIT 1 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2023-07-03 10:26:26.836397 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2 2023-07-03 10:26:26.836397 95.53% [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 = '^1585.*' OR patterns = '^158.*' OR patterns = '^15.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-07-03 10:26:26.856394 95.53% [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 ="1585" AND A.accountid = '2' limit 1 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1585 2023-07-03 10:26:26.856394 95.53% [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 ="1585" LIMIT 1 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2023-07-03 10:26:26.856394 95.53% [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 = '1585' OR number = '158' OR number = '15' OR number = '1' OR number ='--') OR (number = '1585*' OR number = '158*' OR number = '15*' OR number = '1*' OR number ='--') OR (number = '1111' OR number = '111' OR number = '11' OR number = '1' OR number ='--') OR (number = '1111*' OR number = '111*' OR number = '11*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1585' OR routing_prefix = '158' OR routing_prefix = '15' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4999 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-07-03 10:26:26.856394 95.53% [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 ="1585" LIMIT 1 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1585 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4999 balance Accountid 2 !!! 2023-07-03 10:26:26.856394 95.53% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2023-07-03 10:26:26.856394 95.53% [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-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2023-07-03 10:26:26.856394 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 52.66.198.239 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 1 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}] 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2023-2023","extensions":"3","no_answer_call_type":"11","priority":"1"}] 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Sipdevice Form Id] Query :SELECT username from sip_devices where id = "3" limit 1 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '49' LIMIT 1 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str : time-of-day= "00:00-23:59" wday= "1-7" mday= "1-31" mon= "1-12" year= "2023-2023" 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2023-07-03 10:26:26.856394 95.53% [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 = "1" AND accounts.status = 0 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2023-07-03 10:26:26.856394 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 52.66.198.239 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11 2023-07-03 10:26:26.856394 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 1 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '1' and status =0 LIMIT 1 2023-07-03 10:26:26.856394 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->TESTTCCC] continue=true Dialplan: sofia/default/1111@52.66.198.239:5070 Absolute Condition [TESTTCCC] Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(timezone=Europe/Sarajevo) INLINE EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(timezone=Europe/Sarajevo) 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [timezone]=[Europe/Sarajevo] Dialplan: sofia/default/1111@52.66.198.239:5070 Date/Time Match (PASS) [TESTTCCC] break=never Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(office_status=open) INLINE EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(office_status=open) 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [office_status]=[open] Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(extensions=2222) INLINE EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(extensions=2222) 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [extensions]=[2222] Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_did_number=1585) INLINE EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_did_number=1585) 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_did_number]=[1585] Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_call_type=11) INLINE EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_call_type=11) 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_call_type]=[11] Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->tod route, x1585] continue=false Dialplan: sofia/default/1111@52.66.198.239:5070 Regex (FAIL) [tod route, x1585] destination_number(1585_open) =~ /^(\+?)?(1585)$/ break=on-false Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->office is open] continue=false Dialplan: sofia/default/1111@52.66.198.239:5070 Regex (PASS) [office is open] destination_number(1585_open) =~ /^(\+?)?(1585_open)$/ break=on-false Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(domain_name=52.66.198.239) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(set_extensions=${extensions}) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_flag=true) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_did_number=1585) INLINE EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_did_number=1585) 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_did_number]=[1585] Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_call_type=${no_answer_call_type}) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_number=${extensions}) Dialplan: sofia/default/1111@52.66.198.239:5070 Action transfer(2 XML default) 2023-07-03 10:26:26.856394 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(domain_name=52.66.198.239) EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(domain_name=52.66.198.239) 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [domain_name]=[52.66.198.239] 2023-07-03 10:26:26.856394 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(set_extensions=${extensions}) EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(set_extensions=2222) 2023-07-03 10:26:26.856394 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [set_extensions]=[2222] 2023-07-03 10:26:26.856394 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(no_answer_flag=true) EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_flag=true) 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_flag]=[true] 2023-07-03 10:26:26.876388 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type}) EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_call_type=11) 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_call_type]=[11] 2023-07-03 10:26:26.876388 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] set(no_answer_number=${extensions}) EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 set(no_answer_number=2222) 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_number]=[2222] 2023-07-03 10:26:26.876388 95.53% [NOTICE] switch_core_session.c:3085 Execute [depth=1] transfer(2 XML default) EXECUTE [depth=1] sofia/default/1111@52.66.198.239:5070 transfer(2 XML default) 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_ivr.c:2288 (sofia/default/1111@52.66.198.239:5070) State Change CS_EXECUTE -> CS_ROUTING 2023-07-03 10:26:26.876388 95.53% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/1111@52.66.198.239:5070 to XML[2@default] 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1111@52.66.198.239:5070) State EXECUTE going to sleep 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_ROUTING (Cur 1 Tot 46) 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1111@52.66.198.239:5070) State ROUTING 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged 2023-07-03 10:26:26.876388 95.53% [DEBUG] mod_sofia.c:158 sofia/default/1111@52.66.198.239:5070 SOFIA ROUTING 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_core_state_machine.c:230 sofia/default/1111@52.66.198.239:5070 Standard ROUTING 2023-07-03 10:26:26.876388 95.53% [INFO] mod_dialplan_xml.c:639 Processing 1111 <1111>->2 in context default 2023-07-03 10:26:26.876388 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.876388 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-03 10:26:26.876388 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2 2023-07-03 10:26:26.876388 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '2' limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2' AND status=0 limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '2' and status=0 LIMIT 1 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1111 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '52.66.198.239' limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '2' limit 1 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 1111 / 1111 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 2 AND status=0 limit 1 2023-07-03 10:26:26.896387 95.53% [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 ="2" LIMIT 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.896387 95.53% [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="2" AND domains.domain="52.66.198.239" limit 1 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745] 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 2 limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2" AND (accountid = 0 OR status = 1) LIMIT 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ no_answer_did_number :1585 2023-07-03 10:26:26.896387 95.53% [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 ="1585" LIMIT 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ringgroup_no_answer_forward _ accountid :2 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 2 limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :2 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2 limit 1 2023-07-03 10:26:26.896387 95.53% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domain52.66.198.239 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 11 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Time Conditions 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "2222" 2023-07-03 10:26:26.896387 95.53% [INFO] switch_cpp.cpp:1465 [ASTPP] [SIP_CODEC5] 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2222" AND domains.domain="52.66.198.239" limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/1111@52.66.198.239:5070 parsing [default->2] continue=false Dialplan: sofia/default/1111@52.66.198.239:5070 Regex (PASS) [2] destination_number(2) =~ /2/ break=on-false Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(did_user_domain=52.66.198.239) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(ignore_early_media=true) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(no_answer_flag=false) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(did_calltype=11) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(did_extensions=2222) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(is_recording=1) Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(media_bug_answer_req=true) Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(RECORD_STEREO=true) Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(record_sample_rate=8000) Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(sip_destination_number=2222) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(sip_to_host=52.66.198.239) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(user_domain=52.66.198.239) Dialplan: sofia/default/1111@52.66.198.239:5070 Action db(insert/pickup_any_group_${callgroup}/2222/${uuid}) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(dialed_extension=transfer_call) Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(dialed_extension=transfer_call) Dialplan: sofia/default/1111@52.66.198.239:5070 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/1111@52.66.198.239:5070 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/1111@52.66.198.239:5070 Action export(ring_group_transfer=true) Dialplan: sofia/default/1111@52.66.198.239:5070 Action set(userinfo_id=2) Dialplan: sofia/default/1111@52.66.198.239:5070 Action bridge(user/2222@52.66.198.239) Dialplan: sofia/default/1111@52.66.198.239:5070 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1111@52.66.198.239:5070) State Change CS_ROUTING -> CS_EXECUTE 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1111@52.66.198.239:5070) State ROUTING going to sleep 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_EXECUTE (Cur 1 Tot 46) 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1111@52.66.198.239:5070) State EXECUTE 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_sofia.c:213 sofia/default/1111@52.66.198.239:5070 SOFIA EXECUTE 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_core_state_machine.c:323 sofia/default/1111@52.66.198.239:5070 Standard EXECUTE EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(did_user_domain=52.66.198.239) 2023-07-03 10:26:26.896387 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[52.66.198.239] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(continue_on_fail=TRUE) 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(ignore_early_media=true) 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [ignore_early_media]=[true] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(no_answer_flag=false) 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [no_answer_flag]=[false] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(did_calltype=11) 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [did_calltype]=[11] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(did_extensions=2222) 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [did_extensions]=[2222] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(daily_call_credit_limit=0.00000) 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(monthly_call_credit_limit=0.00000) 2023-07-03 10:26:26.896387 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(daily_call_used_limit=0.00000) 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(monthly_call_used_limit=0.00000) 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(is_recording=1) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(media_bug_answer_req=true) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(RECORD_STEREO=true) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(record_sample_rate=8000) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(sip_destination_number=2222) 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [sip_destination_number]=[2222] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(sip_to_host=52.66.198.239) 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [sip_to_host]=[52.66.198.239] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(user_domain=52.66.198.239) 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [user_domain]=[52.66.198.239] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 db(insert/pickup_any_group_/2222/66e1102f-3b68-4ba8-a40b-61314831a826) EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(dialed_extension=transfer_call) 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(dialed_extension=transfer_call) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2023-07-03 10:26:26.916386 95.53% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2023-07-03 10:26:26.916386 95.53% [INFO] switch_ivr_async.c:4780 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 export(ring_group_transfer=true) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [ring_group_transfer]=[true] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 set(userinfo_id=2) 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_dptools.c:1673 SET sofia/default/1111@52.66.198.239:5070 [userinfo_id]=[2] EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 bridge(user/2222@52.66.198.239) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [did_user_domain]=[52.66.198.239] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [is_recording]=[1] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [ring_group_transfer]=[true] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [did_user_domain]=[52.66.198.239] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [is_recording]=[1] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_channel.c:1269 sofia/default/1111@52.66.198.239:5070 EXPORTING[export_vars] [ring_group_transfer]=[true] to event 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables 2023-07-03 10:26:26.916386 95.53% [NOTICE] switch_channel.c:1123 New Channel sofia/default/2222@103.206.138.169:24048 [daeaca92-6737-4bb2-b37b-e2438ffdc9e6] 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_sofia.c:5117 (sofia/default/2222@103.206.138.169:24048) State Change CS_NEW -> CS_INIT 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_INIT (Cur 2 Tot 47) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2222@103.206.138.169:24048) State INIT 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_sofia.c:97 sofia/default/2222@103.206.138.169:24048 SOFIA INIT 2023-07-03 10:26:26.916386 95.53% [DEBUG] sofia_glue.c:1623 sip:2222@103.206.138.169:24034;rinstance=cca0043b66b1bf8c;transport=TCP Setting proxy route to sofia/default/2222@103.206.138.169:24048 2023-07-03 10:26:26.916386 95.53% [INFO] sofia_glue.c:1654 sofia/default/2222@103.206.138.169:24048 sending invite call-id: (null) 2023-07-03 10:26:26.916386 95.53% [DEBUG] sofia_glue.c:1657 sofia/default/2222@103.206.138.169:24048 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit Local SDP: v=0 o=FreeSWITCH 1688359634 1688359635 IN IP4 52.66.198.239 s=FreeSWITCH c=IN IP4 52.66.198.239 t=0 0 m=audio 20352 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-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:40 sofia/default/2222@103.206.138.169:24048 Standard INIT 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:48 (sofia/default/2222@103.206.138.169:24048) State Change CS_INIT -> CS_ROUTING 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2222@103.206.138.169:24048) State INIT going to sleep 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_ROUTING (Cur 2 Tot 47) 2023-07-03 10:26:26.916386 95.53% [DEBUG] sofia.c:7487 Channel sofia/default/2222@103.206.138.169:24048 entering state [calling][0] 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2222@103.206.138.169:24048) State ROUTING 2023-07-03 10:26:26.916386 95.53% [DEBUG] mod_sofia.c:158 sofia/default/2222@103.206.138.169:24048 SOFIA ROUTING 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_ivr_originate.c:67 (sofia/default/2222@103.206.138.169:24048) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2222@103.206.138.169:24048) State ROUTING going to sleep 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 47) 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/2222@103.206.138.169:24048) State CONSUME_MEDIA 2023-07-03 10:26:26.916386 95.53% [DEBUG] switch_core_state_machine.c:659 (sofia/default/2222@103.206.138.169:24048) State CONSUME_MEDIA going to sleep 2023-07-03 10:26:27.236430 95.53% [DEBUG] sofia.c:7487 Channel sofia/default/2222@103.206.138.169:24048 entering state [proceeding][180] 2023-07-03 10:26:27.236430 95.53% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/2222@103.206.138.169:24048! 2023-07-03 10:26:27.236430 95.53% [DEBUG] switch_channel.c:3494 (sofia/default/2222@103.206.138.169:24048) Callstate Change DOWN -> RINGING 2023-07-03 10:26:27.236430 95.53% [NOTICE] mod_sofia.c:2516 Ring-Ready sofia/default/1111@52.66.198.239:5070! 2023-07-03 10:26:27.236430 95.53% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [early][180] 2023-07-03 10:26:27.236430 95.53% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/1111@52.66.198.239:5070! 2023-07-03 10:26:28.016389 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/2222@103.206.138.169:24048 entering state [completing][200] 2023-07-03 10:26:28.016389 94.93% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=Z 0 3 IN IP4 103.206.138.169 s=Z c=IN IP4 103.206.138.169 t=0 0 m=audio 23592 RTP/AVP 8 3 110 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2023-07-03 10:26:28.016389 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/2222@103.206.138.169:24048 entering state [ready][200] 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/2222@103.206.138.169:24048 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_codec.c:111 sofia/default/2222@103.206.138.169:24048 Original read codec set to PCMA:8 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:5850 sofia/default/2222@103.206.138.169:24048 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/2222@103.206.138.169:24048] 172.31.33.51 port 20352 -> 103.206.138.169 port 23592 codec: 8 ms: 20 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:8963 sofia/default/2222@103.206.138.169:24048 Set 2833 dtmf send payload to 101 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:8970 sofia/default/2222@103.206.138.169:24048 Set 2833 dtmf receive payload to 101 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media.c:8993 sofia/default/2222@103.206.138.169:24048 Set rtp dtmf delay to 40 2023-07-03 10:26:28.016389 94.93% [NOTICE] sofia.c:8674 Channel [sofia/default/2222@103.206.138.169:24048] has been answered EXECUTE [depth=1] sofia/default/2222@103.206.138.169:24048 record_session(/usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav) 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/2222@103.206.138.169:24048 2023-07-03 10:26:28.016389 94.93% [DEBUG] switch_channel.c:3893 (sofia/default/2222@103.206.138.169:24048) Callstate Change RINGING -> ACTIVE 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/1111@52.66.198.239:5070] 172.31.33.51 port 25402 -> 103.206.138.169 port 23936 codec: 8 ms: 20 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media.c:8963 sofia/default/1111@52.66.198.239:5070 Set 2833 dtmf send payload to 101 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media.c:8970 sofia/default/1111@52.66.198.239:5070 Set 2833 dtmf receive payload to 101 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media.c:8993 sofia/default/1111@52.66.198.239:5070 Set rtp dtmf delay to 40 2023-07-03 10:26:28.036434 94.93% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1111@52.66.198.239:5070: v=0 o=FreeSWITCH 1688354586 1688354587 IN IP4 52.66.198.239 s=FreeSWITCH c=IN IP4 52.66.198.239 t=0 0 m=audio 25402 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-03 10:26:28.036434 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [completed][200] 2023-07-03 10:26:28.036434 94.93% [NOTICE] switch_ivr_originate.c:3844 Channel [sofia/default/1111@52.66.198.239:5070] has been answered EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 record_session(/usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav) 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/1111@52.66.198.239:5070 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_channel.c:3893 (sofia/default/1111@52.66.198.239:5070) Callstate Change RINGING -> ACTIVE 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/2222@103.206.138.169:24048] Peer UUID: daeaca92-6737-4bb2-b37b-e2438ffdc9e6 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/2222@103.206.138.169:24048] Peer UUID: daeaca92-6737-4bb2-b37b-e2438ffdc9e6 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/2222@103.206.138.169:24048) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 47) 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/2222@103.206.138.169:24048) State EXCHANGE_MEDIA 2023-07-03 10:26:28.036434 94.93% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2023-07-03 10:26:28.036434 94.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2023-07-03 10:26:28.056390 94.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2023-07-03 10:26:28.076390 94.93% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed. 2023-07-03 10:26:28.076390 94.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2023-07-03 10:26:28.076390 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [ready][200] 2023-07-03 10:26:28.136412 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [received][100] 2023-07-03 10:26:28.136412 94.93% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=Z 0 1 IN IP4 103.206.138.169 s=Z c=IN IP4 0.0.0.0 t=0 0 m=audio 23936 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=inactive 2023-07-03 10:26:28.136412 94.93% [WARNING] switch_core_media.c:4918 RFC2543 from March 1999 called; They want their 0.0.0.0 hold method back..... 2023-07-03 10:26:28.136412 94.93% [DEBUG] switch_channel.c:1975 (sofia/default/1111@52.66.198.239:5070) Callstate Change ACTIVE -> HELD 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_ivr.c:632 sofia/default/2222@103.206.138.169:24048 Command Execute [depth=0] playback(local_stream://moh) EXECUTE [depth=0] sofia/default/2222@103.206.138.169:24048 playback(local_stream://moh) 2023-07-03 10:26:28.376412 94.93% [DEBUG] mod_local_stream.c:912 Opening Stream [moh/8000] 8000hz 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:5850 sofia/default/1111@52.66.198.239:5070 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:8639 Audio params changed for sofia/default/1111@52.66.198.239:5070 from 103.206.138.169:23936 to 0.0.0.0:23936 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/1111@52.66.198.239:5070] 172.31.33.51 port 25402 -> 0.0.0.0 port 23936 codec: 8 ms: 20 2023-07-03 10:26:28.376412 94.93% [DEBUG] switch_core_media.c:8680 AUDIO RTP CHANGING DEST TO: [0.0.0.0:23936] 2023-07-03 10:26:28.376412 94.93% [DEBUG] sofia.c:8442 Processing updated SDP 2023-07-03 10:26:28.376412 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [completed][200] 2023-07-03 10:26:28.416412 94.93% [DEBUG] sofia.c:7487 Channel sofia/default/1111@52.66.198.239:5070 entering state [ready][200] 2023-07-03 10:26:29.316411 94.83% [NOTICE] sofia.c:1065 Hangup sofia/default/2222@103.206.138.169:24048 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_play_say.c:2015 done playing file local_stream://moh 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_session.c:2973 sofia/default/2222@103.206.138.169:24048 skip receive message [PHONE_EVENT] (channel is hungup already) 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_bridge.c:567 sofia/default/2222@103.206.138.169:24048 skip receive message [BRIDGE] (channel is hungup already) 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr.c:679 sofia/default/2222@103.206.138.169:24048 skip receive message [VIDEO_SYNC] (channel is hungup already) 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_bridge.c:825 sofia/default/2222@103.206.138.169:24048 ending bridge by request from read function 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/2222@103.206.138.169:24048] 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:650 (sofia/default/2222@103.206.138.169:24048) State EXCHANGE_MEDIA going to sleep 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_HANGUP (Cur 2 Tot 47) 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/2222@103.206.138.169:24048 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/2222@103.206.138.169:24048) Callstate Change ACTIVE -> HANGUP 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2222@103.206.138.169:24048) State HANGUP 2023-07-03 10:26:29.316411 94.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/2222@103.206.138.169:24048 hanging up, cause: NORMAL_CLEARING 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/2222@103.206.138.169:24048 Standard HANGUP, cause: NORMAL_CLEARING 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2222@103.206.138.169:24048) State HANGUP going to sleep 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/2222@103.206.138.169:24048) State Change CS_HANGUP -> CS_REPORTING 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_REPORTING (Cur 2 Tot 47) 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2222@103.206.138.169:24048) State REPORTING 2023-07-03 10:26:29.316411 94.83% [INFO] mod_json_cdr.c:272 Process [daeaca92-6737-4bb2-b37b-e2438ffdc9e6.cdr.json] 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/2222@103.206.138.169:24048 Standard REPORTING, cause: NORMAL_CLEARING 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2222@103.206.138.169:24048) State REPORTING going to sleep 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/2222@103.206.138.169:24048) State Change CS_REPORTING -> CS_DESTROY 2023-07-03 10:26:29.316411 94.83% [DEBUG] switch_core_session.c:1743 Session 47 (sofia/default/2222@103.206.138.169:24048) Locked, Waiting on external entities 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/1111@52.66.198.239:5070] 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_channel.c:2160 (sofia/default/1111@52.66.198.239:5070) Callstate Change HELD -> UNHELD EXECUTE [depth=0] sofia/default/1111@52.66.198.239:5070 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua) 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_core_session.c:1761 Session 47 (sofia/default/2222@103.206.138.169:24048) Ended 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/2222@103.206.138.169:24048 [CS_DESTROY] 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/2222@103.206.138.169:24048) Running State Change CS_DESTROY (Cur 1 Tot 47) 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2222@103.206.138.169:24048) State DESTROY 2023-07-03 10:26:29.336385 94.83% [DEBUG] mod_sofia.c:379 sofia/default/2222@103.206.138.169:24048 SOFIA DESTROY 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/2222@103.206.138.169:24048 Standard DESTROY 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/2222@103.206.138.169:24048) State DESTROY going to sleep 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions SUCCESS This Is SIP Number : 2222 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_cpp.cpp:1209 sofia/default/1111@52.66.198.239:5070 destroy/unlink session from object 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_core_state_machine.c:382 sofia/default/1111@52.66.198.239:5070 has executed the last dialplan instruction, hanging up. 2023-07-03 10:26:29.336385 94.83% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1111@52.66.198.239:5070 [CS_EXECUTE] [NORMAL_CLEARING] 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1111@52.66.198.239:5070) State EXECUTE going to sleep 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_HANGUP (Cur 1 Tot 47) 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/66e1102f-3b68-4ba8-a40b-61314831a826.wav 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/1111@52.66.198.239:5070 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1111@52.66.198.239:5070) Callstate Change UNHELD -> HANGUP 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1111@52.66.198.239:5070) State HANGUP 2023-07-03 10:26:29.336385 94.83% [DEBUG] mod_sofia.c:462 sofia/default/1111@52.66.198.239:5070 Overriding SIP cause 480 with 200 from the other leg 2023-07-03 10:26:29.336385 94.83% [DEBUG] mod_sofia.c:468 Channel sofia/default/1111@52.66.198.239:5070 hanging up, cause: NORMAL_CLEARING 2023-07-03 10:26:29.336385 94.83% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1111@52.66.198.239:5070 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:59 sofia/default/1111@52.66.198.239:5070 Standard HANGUP, cause: NORMAL_CLEARING 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1111@52.66.198.239:5070) State HANGUP going to sleep 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1111@52.66.198.239:5070) State Change CS_HANGUP -> CS_REPORTING 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_REPORTING (Cur 1 Tot 47) 2023-07-03 10:26:29.336385 94.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1111@52.66.198.239:5070) State REPORTING 2023-07-03 10:26:29.336385 94.83% [INFO] mod_json_cdr.c:272 Process [66e1102f-3b68-4ba8-a40b-61314831a826.cdr.json] 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:168 sofia/default/1111@52.66.198.239:5070 Standard REPORTING, cause: NORMAL_CLEARING 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1111@52.66.198.239:5070) State REPORTING going to sleep 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1111@52.66.198.239:5070) State Change CS_REPORTING -> CS_DESTROY 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_session.c:1743 Session 46 (sofia/default/1111@52.66.198.239:5070) Locked, Waiting on external entities 2023-07-03 10:26:29.356390 94.83% [NOTICE] switch_core_session.c:1761 Session 46 (sofia/default/1111@52.66.198.239:5070) Ended 2023-07-03 10:26:29.356390 94.83% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/1111@52.66.198.239:5070 [CS_DESTROY] 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1111@52.66.198.239:5070) Running State Change CS_DESTROY (Cur 0 Tot 47) 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1111@52.66.198.239:5070) State DESTROY 2023-07-03 10:26:29.356390 94.83% [DEBUG] mod_sofia.c:379 sofia/default/1111@52.66.198.239:5070 SOFIA DESTROY 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:175 sofia/default/1111@52.66.198.239:5070 Standard DESTROY 2023-07-03 10:26:29.356390 94.83% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1111@52.66.198.239:5070) State DESTROY going to sleep