Type /help to see a list of commands +OK log level [7] freeswitch@172.31.38.83> freeswitch@172.31.38.83> 2023-08-10 13:19:05.622492 97.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5426772319@13.232.246.166:5077 [c122b837-901c-4ad6-ac29-770f239ad33c] 2023-08-10 13:19:05.622492 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5426772319@13.232.246.166:5077) Running State Change CS_NEW (Cur 1 Tot 5) 2023-08-10 13:19:05.622492 97.50% [INFO] sofia.c:10453 sofia/default/5426772319@13.232.246.166:5077 receiving invite from 103.240.35.46:40596 version: 1.10.9 -release-21-a615e85afc 64bit call-id: 1867130792-40596-11@BJC.BGI.B.BFI 2023-08-10 13:19:05.622492 97.50% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0. 2023-08-10 13:19:05.622492 97.50% [DEBUG] sofia.c:2419 detaching session c122b837-901c-4ad6-ac29-770f239ad33c 2023-08-10 13:19:05.622492 97.50% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [100999@13.232.246.166] from ip 103.240.35.46 2023-08-10 13:19:05.622492 97.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/5426772319@13.232.246.166:5077) State NEW 2023-08-10 13:19:05.722492 97.50% [DEBUG] sofia.c:2532 Re-attaching to session c122b837-901c-4ad6-ac29-770f239ad33c 2023-08-10 13:19:05.722492 97.50% [INFO] sofia.c:10453 sofia/default/5426772319@13.232.246.166:5077 receiving invite from 103.240.35.46:40596 version: 1.10.9 -release-21-a615e85afc 64bit call-id: 1867130792-40596-11@BJC.BGI.B.BFI 2023-08-10 13:19:05.722492 97.50% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 103.240.35.46:0. 2023-08-10 13:19:05.742483 97.50% [DEBUG] sofia.c:11668 Setting NAT mode based on via received 2023-08-10 13:19:05.742483 97.50% [DEBUG] sofia.c:7487 Channel sofia/default/5426772319@13.232.246.166:5077 entering state [received][100] 2023-08-10 13:19:05.742483 97.50% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=5426772319 8001 8000 IN IP4 192.168.1.158 s=SIP Call c=IN IP4 192.168.1.158 t=0 0 m=audio 5008 RTP/AVP 0 8 4 18 9 97 2 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:4 G723/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:9 G722/8000 a=rtpmap:97 iLBC/8000 a=fmtp:97 mode=30 a=rtpmap:2 G726-32/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/5426772319@13.232.246.166:5077 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_codec.c:111 sofia/default/5426772319@13.232.246.166:5077 Original read codec set to PCMU:0 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_media.c:5850 sofia/default/5426772319@13.232.246.166:5077 Set 2833 dtmf send payload to 101 recv payload to 101 2023-08-10 13:19:05.742483 97.50% [DEBUG] sofia.c:7921 (sofia/default/5426772319@13.232.246.166:5077) State Change CS_NEW -> CS_INIT 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5426772319@13.232.246.166:5077) Running State Change CS_INIT (Cur 1 Tot 5) 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5426772319@13.232.246.166:5077) State INIT 2023-08-10 13:19:05.742483 97.50% [DEBUG] mod_sofia.c:97 sofia/default/5426772319@13.232.246.166:5077 SOFIA INIT 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/5426772319@13.232.246.166:5077 Standard INIT 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5426772319@13.232.246.166:5077) State Change CS_INIT -> CS_ROUTING 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5426772319@13.232.246.166:5077) State INIT going to sleep 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5426772319@13.232.246.166:5077) Running State Change CS_ROUTING (Cur 1 Tot 5) 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_channel.c:2380 (sofia/default/5426772319@13.232.246.166:5077) Callstate Change DOWN -> RINGING 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5426772319@13.232.246.166:5077) State ROUTING 2023-08-10 13:19:05.742483 97.50% [DEBUG] mod_sofia.c:158 sofia/default/5426772319@13.232.246.166:5077 SOFIA ROUTING 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/5426772319@13.232.246.166:5077 Standard ROUTING 2023-08-10 13:19:05.742483 97.50% [INFO] mod_dialplan_xml.c:639 Processing 5426772319 <5426772319>->100999 in context default 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100999 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '100999' AND status=0 limit 1 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : CallerPKCommunitySix / 5426772319 2023-08-10 13:19:05.742483 97.50% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100999" LIMIT 1 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="100999" limit 1 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5426772319] 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5426772319" AND deleted = 0 limit 1 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^100999.*' OR blocked_patterns = '^10099.*' OR blocked_patterns = '^1009.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 14 limit 1 2023-08-10 13:19:05.742483 97.50% [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 ="100999" AND A.accountid = '14' limit 1 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100999 2023-08-10 13:19:05.742483 97.50% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100999" LIMIT 1 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="100999" limit 1 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="100999" AND (accountid = 0 OR status = 1) LIMIT 1 2023-08-10 13:19:05.742483 97.50% [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 (patterns = '^100999.*' OR patterns = '^10099.*' OR patterns = '^1009.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 14 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 14 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5426772319 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 30207.2 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4 2023-08-10 13:19:05.742483 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2023-08-10 13:19:05.742483 97.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 5426772319 2023-08-10 13:19:05.742483 97.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9191000091 2023-08-10 13:19:05.742483 97.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 5426772319 2023-08-10 13:19:05.742483 97.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9191000091 2023-08-10 13:19:05.742483 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^100999.*' OR pattern = '^10099.*' OR pattern = '^1009.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 4 OR accountid=14) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.30000 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 14 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your30207.2 balance Accountid 14 !!! 2023-08-10 13:19:05.762481 97.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 10000 mins! 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 10000 minutes 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 7 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc 2023-08-10 13:19:05.762481 97.50% [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 = '^100999.*' OR pattern = '^10099.*' OR pattern = '^1009.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.* 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.* 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : alphaFreeswitchProxy 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : alphaFreeswitchProxy 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2023-08-10 13:19:05.762481 97.50% [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 = 14 AND status=0 LIMIT 1 2023-08-10 13:19:05.762481 97.50% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 10000 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2023-08-10 13:19:05.762481 97.50% [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 = 3) AND status=0 limit 1 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5426772319" limit 1 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/5426772319@13.232.246.166:5077 parsing [default->100999] continue=false Dialplan: sofia/default/5426772319@13.232.246.166:5077 Regex (PASS) [100999] destination_number(100999) =~ /100999/ break=on-false Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(effective_destination_number=100999) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(bridge_pre_execute_bleg_data=+600000 normal_clearing) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(callstart=2023-08-10 13:19:05) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(hangup_after_bridge=true) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(account_id=14) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(parent_id=0) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(entity_id=0) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(call_processed=internal) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(call_direction=outbound) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(accountname=default) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(origination_rates=ID:7|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.30000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:0|ACCID:14) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(original_caller_id_name=CallerPKCommunitySix) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(original_caller_id_number=9191000091) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(calltype=STANDARD) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(termination_rates=ID:3|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:3) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(trunk_id=3) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(provider_id=3) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(rate_flag=0) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(force_trunk_flag=7) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action export(presence_data=trunk_id=3) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action set(intcall=0) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action export(presence_data=x|||PKCallSystem(5426772319)|||^1.* // // 0.30000 // trunk_id=0|||alphaFreeswitchProxy // ^1.* // // 0.10000 // trunk_id=3|||STD) Dialplan: sofia/default/5426772319@13.232.246.166:5077 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/alphaFreeswitchProxy/100999) 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/5426772319@13.232.246.166:5077) State Change CS_ROUTING -> CS_EXECUTE 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5426772319@13.232.246.166:5077) State ROUTING going to sleep 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5426772319@13.232.246.166:5077) Running State Change CS_EXECUTE (Cur 1 Tot 5) 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5426772319@13.232.246.166:5077) State EXECUTE 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_sofia.c:213 sofia/default/5426772319@13.232.246.166:5077 SOFIA EXECUTE 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/5426772319@13.232.246.166:5077 Standard EXECUTE EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(effective_destination_number=100999) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [effective_destination_number]=[100999] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(bridge_pre_execute_bleg_app=sched_hangup) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(bridge_pre_execute_bleg_data=+600000 normal_clearing) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [bridge_pre_execute_bleg_data]=[+600000 normal_clearing] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(callstart=2023-08-10 13:19:05) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [callstart]=[2023-08-10 13:19:05] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(hangup_after_bridge=true) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(continue_on_fail=TRUE) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(account_id=14) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [account_id]=[14] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(parent_id=0) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [parent_id]=[0] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(entity_id=0) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [entity_id]=[0] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(call_processed=internal) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(call_direction=outbound) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(accountname=default) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [accountname]=[default] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(origination_rates=ID:7|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.30000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:0|ACCID:14) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [origination_rates]=[ID:7|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.30000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:0|ACCID:14] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(original_caller_id_name=CallerPKCommunitySix) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [original_caller_id_name]=[CallerPKCommunitySix] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(original_caller_id_number=9191000091) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [original_caller_id_number]=[9191000091] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(calltype=STANDARD) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(termination_rates=ID:3|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:3) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [termination_rates]=[ID:3|CODE:^1.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:60|TRUNK:3|PROVIDER:3] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(trunk_id=3) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [trunk_id]=[3] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(provider_id=3) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [provider_id]=[3] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(rate_flag=0) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(force_trunk_flag=7) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [force_trunk_flag]=[7] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 export(presence_data=trunk_id=3) 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 set(intcall=0) 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_dptools.c:1673 SET sofia/default/5426772319@13.232.246.166:5077 [intcall]=[0] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 export(presence_data=x|||PKCallSystem(5426772319)|||^1.* // // 0.30000 // trunk_id=0|||alphaFreeswitchProxy // ^1.* // // 0.10000 // trunk_id=3|||STD) 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PKCallSystem(5426772319)|||^1.* // // 0.30000 // trunk_id=0|||alphaFreeswitchProxy // ^1.* // // 0.10000 // trunk_id=3|||STD] EXECUTE [depth=0] sofia/default/5426772319@13.232.246.166:5077 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/alphaFreeswitchProxy/100999) 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_channel.c:1269 sofia/default/5426772319@13.232.246.166:5077 EXPORTING[export_vars] [presence_data]=[x|||PKCallSystem(5426772319)|||^1.* // // 0.30000 // trunk_id=0|||alphaFreeswitchProxy // ^1.* // // 0.10000 // trunk_id=3|||STD] to event 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_channel.c:1269 sofia/default/5426772319@13.232.246.166:5077 EXPORTING[export_vars] [presence_data]=[x|||PKCallSystem(5426772319)|||^1.* // // 0.30000 // trunk_id=0|||alphaFreeswitchProxy // ^1.* // // 0.10000 // trunk_id=3|||STD] to event 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables 2023-08-10 13:19:05.762481 97.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100999 [cada7b5a-8cbf-4935-9b24-3ff2c5c25c6d] 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_sofia.c:5117 (sofia/default/100999) State Change CS_NEW -> CS_INIT 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100999) Running State Change CS_INIT (Cur 2 Tot 6) 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100999) State INIT 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_sofia.c:97 sofia/default/100999 SOFIA INIT 2023-08-10 13:19:05.762481 97.50% [INFO] sofia_glue.c:1654 sofia/default/100999 sending invite call-id: (null) 2023-08-10 13:19:05.762481 97.50% [DEBUG] sofia_glue.c:1657 sofia/default/100999 sending invite version: 1.10.9 -release-21-a615e85afc 64bit Local SDP: v=0 o=FreeSWITCH 1691643143 1691643144 IN IP4 13.232.246.166 s=FreeSWITCH c=IN IP4 13.232.246.166 t=0 0 m=audio 30402 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/100999 Standard INIT 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100999) State Change CS_INIT -> CS_ROUTING 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100999) State INIT going to sleep 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100999) Running State Change CS_ROUTING (Cur 2 Tot 6) 2023-08-10 13:19:05.762481 97.50% [DEBUG] sofia.c:7487 Channel sofia/default/100999 entering state [calling][0] 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100999) State ROUTING 2023-08-10 13:19:05.762481 97.50% [DEBUG] mod_sofia.c:158 sofia/default/100999 SOFIA ROUTING 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/100999) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100999) State ROUTING going to sleep 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100999) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 6) 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100999) State CONSUME_MEDIA 2023-08-10 13:19:05.762481 97.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100999) State CONSUME_MEDIA going to sleep 2023-08-10 13:19:06.062484 97.50% [DEBUG] sofia.c:7487 Channel sofia/default/100999 entering state [proceeding][180] 2023-08-10 13:19:06.062484 97.50% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/100999! 2023-08-10 13:19:06.062484 97.50% [DEBUG] switch_channel.c:3494 (sofia/default/100999) Callstate Change DOWN -> RINGING 2023-08-10 13:19:06.062484 97.50% [NOTICE] mod_sofia.c:2516 Ring-Ready sofia/default/5426772319@13.232.246.166:5077! 2023-08-10 13:19:06.062484 97.50% [DEBUG] sofia.c:7487 Channel sofia/default/5426772319@13.232.246.166:5077 entering state [early][180] 2023-08-10 13:19:06.062484 97.50% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/5426772319@13.232.246.166:5077! 2023-08-10 13:19:14.062489 97.33% [DEBUG] sofia.c:7487 Channel sofia/default/100999 entering state [completing][200] 2023-08-10 13:19:14.062489 97.33% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=FreeSWITCH 1691649183 1691649184 IN IP4 95.217.238.195 s=FreeSWITCH c=IN IP4 95.217.238.195 t=0 0 m=audio 24370 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2023-08-10 13:19:14.062489 97.33% [DEBUG] sofia.c:7487 Channel sofia/default/100999 entering state [ready][200] 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/100999 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_codec.c:111 sofia/default/100999 Original read codec set to PCMU:0 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:5850 sofia/default/100999 Set 2833 dtmf send payload to 101 recv payload to 101 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/100999] 172.31.38.83 port 30402 -> 95.217.238.195 port 24370 codec: 0 ms: 20 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:8963 sofia/default/100999 Set 2833 dtmf send payload to 101 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:8970 sofia/default/100999 Set 2833 dtmf receive payload to 101 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:8993 sofia/default/100999 Set rtp dtmf delay to 40 2023-08-10 13:19:14.062489 97.33% [NOTICE] sofia.c:8674 Channel [sofia/default/100999] has been answered 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_channel.c:3893 (sofia/default/100999) Callstate Change RINGING -> ACTIVE 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/5426772319@13.232.246.166:5077] 172.31.38.83 port 31364 -> 192.168.1.158 port 5008 codec: 0 ms: 20 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:8963 sofia/default/5426772319@13.232.246.166:5077 Set 2833 dtmf send payload to 101 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:8970 sofia/default/5426772319@13.232.246.166:5077 Set 2833 dtmf receive payload to 101 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_media.c:8993 sofia/default/5426772319@13.232.246.166:5077 Set rtp dtmf delay to 40 2023-08-10 13:19:14.062489 97.33% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/5426772319@13.232.246.166:5077: v=0 o=FreeSWITCH 1691642190 1691642191 IN IP4 13.232.246.166 s=FreeSWITCH c=IN IP4 13.232.246.166 t=0 0 m=audio 31364 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-08-10 13:19:14.062489 97.33% [DEBUG] sofia.c:7487 Channel sofia/default/5426772319@13.232.246.166:5077 entering state [completed][200] 2023-08-10 13:19:14.062489 97.33% [NOTICE] switch_ivr_originate.c:3844 Channel [sofia/default/5426772319@13.232.246.166:5077] has been answered 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_channel.c:3893 (sofia/default/5426772319@13.232.246.166:5077) Callstate Change RINGING -> ACTIVE 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/100999] Peer UUID: cada7b5a-8cbf-4935-9b24-3ff2c5c25c6d 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/100999) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100999) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 6) 2023-08-10 13:19:14.062489 97.33% [DEBUG] switch_core_state_machine.c:650 (sofia/default/100999) State EXCHANGE_MEDIA 2023-08-10 13:19:14.062489 97.33% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2023-08-10 13:19:14.122482 97.33% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed. 2023-08-10 13:19:14.122482 97.33% [DEBUG] sofia.c:7487 Channel sofia/default/5426772319@13.232.246.166:5077 entering state [ready][200] 2023-08-10 13:19:14.142417 97.33% [DEBUG] sofia.c:7487 Channel sofia/default/5426772319@13.232.246.166:5077 entering state [calling][0] 2023-08-10 13:19:14.262484 97.33% [DEBUG] switch_ivr_bridge.c:654 sofia/default/100999 Bridge execute app sched_hangup(+600000 normal_clearing) 2023-08-10 13:19:14.282398 97.33% [DEBUG] switch_ivr.c:632 sofia/default/100999 Command Execute [depth=0] sched_hangup(+600000 normal_clearing) EXECUTE [depth=0] sofia/default/100999 sched_hangup(+600000 normal_clearing) 2023-08-10 13:19:14.282398 97.33% [DEBUG] switch_scheduler.c:263 Added task 6 switch_ivr_schedule_hangup (cada7b5a-8cbf-4935-9b24-3ff2c5c25c6d) to run at 1692273554 2023-08-10 13:19:14.322494 97.17% [DEBUG] sofia.c:7487 Channel sofia/default/5426772319@13.232.246.166:5077 entering state [ready][200] 2023-08-10 13:19:14.322494 97.17% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=5426772319 8001 8001 IN IP4 192.168.1.158 s=SIP Call c=IN IP4 192.168.1.158 t=0 0 m=audio 5008 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2023-08-10 13:19:14.322494 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-08-10 13:19:14.322494 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-08-10 13:19:14.322494 97.17% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-08-10 13:19:14.322494 97.17% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000 2023-08-10 13:19:14.322494 97.17% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000 2023-08-10 13:19:14.322494 97.17% [DEBUG] switch_core_media.c:5850 sofia/default/5426772319@13.232.246.166:5077 Set 2833 dtmf send payload to 101 recv payload to 101 2023-08-10 13:19:14.322494 97.17% [DEBUG] sofia.c:8512 Processing updated SDP 2023-08-10 13:19:14.322494 97.17% [DEBUG] switch_core_media.c:8633 Audio params are unchanged for sofia/default/5426772319@13.232.246.166:5077. 2023-08-10 13:19:14.622516 97.17% [INFO] switch_rtp.c:7471 Auto Changing audio port from 192.168.1.158:5008 to 103.240.35.46:5008 2023-08-10 13:19:21.422487 96.93% [NOTICE] sofia.c:1065 Hangup sofia/default/5426772319@13.232.246.166:5077 [CS_EXECUTE] [NORMAL_CLEARING] 2023-08-10 13:19:21.422487 96.93% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/5426772319@13.232.246.166:5077] 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_ivr_bridge.c:819 sofia/default/5426772319@13.232.246.166:5077 ending bridge by request from write function 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/100999] 2023-08-10 13:19:21.442439 96.93% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/100999 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/100999) State EXCHANGE_MEDIA going to sleep 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100999) Running State Change CS_HANGUP (Cur 2 Tot 6) 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100999) Callstate Change ACTIVE -> HANGUP 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100999) State HANGUP 2023-08-10 13:19:21.442439 96.93% [DEBUG] mod_sofia.c:462 sofia/default/100999 Overriding SIP cause 480 with 200 from the other leg 2023-08-10 13:19:21.442439 96.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/100999 hanging up, cause: NORMAL_CLEARING 2023-08-10 13:19:21.442439 96.93% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/100999 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/100999 Standard HANGUP, cause: NORMAL_CLEARING 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100999) State HANGUP going to sleep 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100999) State Change CS_HANGUP -> CS_REPORTING 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100999) Running State Change CS_REPORTING (Cur 2 Tot 6) 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100999) State REPORTING 2023-08-10 13:19:21.442439 96.93% [INFO] mod_json_cdr.c:272 Process [cada7b5a-8cbf-4935-9b24-3ff2c5c25c6d.cdr.json] 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/100999 skip receive message [UNBRIDGE] (channel is hungup already) 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/5426772319@13.232.246.166:5077 skip receive message [UNBRIDGE] (channel is hungup already) 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_session.c:2973 sofia/default/5426772319@13.232.246.166:5077 skip receive message [PHONE_EVENT] (channel is hungup already) 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5426772319@13.232.246.166:5077) State EXECUTE going to sleep 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5426772319@13.232.246.166:5077) Running State Change CS_HANGUP (Cur 2 Tot 6) 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5426772319@13.232.246.166:5077) Callstate Change ACTIVE -> HANGUP 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5426772319@13.232.246.166:5077) State HANGUP 2023-08-10 13:19:21.442439 96.93% [DEBUG] mod_sofia.c:468 Channel sofia/default/5426772319@13.232.246.166:5077 hanging up, cause: NORMAL_CLEARING 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:59 sofia/default/5426772319@13.232.246.166:5077 Standard HANGUP, cause: NORMAL_CLEARING 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5426772319@13.232.246.166:5077) State HANGUP going to sleep 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5426772319@13.232.246.166:5077) State Change CS_HANGUP -> CS_REPORTING 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5426772319@13.232.246.166:5077) Running State Change CS_REPORTING (Cur 2 Tot 6) 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5426772319@13.232.246.166:5077) State REPORTING 2023-08-10 13:19:21.442439 96.93% [INFO] mod_json_cdr.c:272 Process [c122b837-901c-4ad6-ac29-770f239ad33c.cdr.json] 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/100999 Standard REPORTING, cause: NORMAL_CLEARING 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100999) State REPORTING going to sleep 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100999) State Change CS_REPORTING -> CS_DESTROY 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_session.c:1743 Session 6 (sofia/default/100999) Locked, Waiting on external entities 2023-08-10 13:19:21.442439 96.93% [NOTICE] switch_core_session.c:1761 Session 6 (sofia/default/100999) Ended 2023-08-10 13:19:21.442439 96.93% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/100999 [CS_DESTROY] 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100999) Running State Change CS_DESTROY (Cur 1 Tot 6) 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100999) State DESTROY 2023-08-10 13:19:21.442439 96.93% [DEBUG] mod_sofia.c:379 sofia/default/100999 SOFIA DESTROY 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/100999 Standard DESTROY 2023-08-10 13:19:21.442439 96.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100999) State DESTROY going to sleep 2023-08-10 13:19:21.462478 96.93% [DEBUG] switch_core_state_machine.c:168 sofia/default/5426772319@13.232.246.166:5077 Standard REPORTING, cause: NORMAL_CLEARING 2023-08-10 13:19:21.462478 96.93% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5426772319@13.232.246.166:5077) State REPORTING going to sleep 2023-08-10 13:19:21.462478 96.93% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5426772319@13.232.246.166:5077) State Change CS_REPORTING -> CS_DESTROY 2023-08-10 13:19:21.462478 96.93% [DEBUG] switch_core_session.c:1743 Session 5 (sofia/default/5426772319@13.232.246.166:5077) Locked, Waiting on external entities 2023-08-10 13:19:21.462478 96.93% [NOTICE] switch_core_session.c:1761 Session 5 (sofia/default/5426772319@13.232.246.166:5077) Ended 2023-08-10 13:19:21.462478 96.93% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/5426772319@13.232.246.166:5077 [CS_DESTROY] 2023-08-10 13:19:21.462478 96.93% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5426772319@13.232.246.166:5077) Running State Change CS_DESTROY (Cur 0 Tot 6) 2023-08-10 13:19:21.462478 96.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5426772319@13.232.246.166:5077) State DESTROY 2023-08-10 13:19:21.462478 96.93% [DEBUG] mod_sofia.c:379 sofia/default/5426772319@13.232.246.166:5077 SOFIA DESTROY 2023-08-10 13:19:21.462478 96.93% [DEBUG] switch_core_state_machine.c:175 sofia/default/5426772319@13.232.246.166:5077 Standard DESTROY 2023-08-10 13:19:21.462478 96.93% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5426772319@13.232.246.166:5077) State DESTROY going to sleep 2023-08-10 13:19:21.782402 96.93% [DEBUG] switch_scheduler.c:147 Deleting task 6 switch_ivr_schedule_hangup (cada7b5a-8cbf-4935-9b24-3ff2c5c25c6d) freeswitch@172.31.38.83> /exit You have new mail in /var/mail/root