Type /help <enter> to see a list of commands
+OK log level [7]
2023-08-14 11:38:07.654214 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/PKsipProfile/9084093664@13.232.246.166:5078 [3a970827-05f5-4160-85bd-5a3a06b896ad]
2023-08-14 11:38:07.654214 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Running State Change CS_NEW (Cur 1 Tot 7)
2023-08-14 11:38:07.654214 98.37% [INFO] sofia.c:10453 sofia/PKsipProfile/9084093664@13.232.246.166:5078 receiving invite from 103.250.137.137:20774 version: 1.10.9 -release-21-a615e85afc 64bit call-id: NzAzYzhlYmVkZjhmYmJmNmUwNjRkY2MwMjgyMTg4ZGQ.
2023-08-14 11:38:07.654214 98.37% [DEBUG] sofia.c:10547 verifying acl "PKsipProfile" for ip/port 103.250.137.137:0.
2023-08-14 11:38:07.654214 98.37% [DEBUG] sofia.c:2419 detaching session 3a970827-05f5-4160-85bd-5a3a06b896ad
2023-08-14 11:38:07.654214 98.37% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'PKsipProfile' for [10040403333@13.232.246.166] from ip 103.250.137.137
2023-08-14 11:38:07.654214 98.37% [DEBUG] switch_core_state_machine.c:600 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State NEW
2023-08-14 11:38:07.734195 98.30% [DEBUG] sofia.c:2532 Re-attaching to session 3a970827-05f5-4160-85bd-5a3a06b896ad
2023-08-14 11:38:07.734195 98.30% [INFO] sofia.c:10453 sofia/PKsipProfile/9084093664@13.232.246.166:5078 receiving invite from 103.250.137.137:20774 version: 1.10.9 -release-21-a615e85afc 64bit call-id: NzAzYzhlYmVkZjhmYmJmNmUwNjRkY2MwMjgyMTg4ZGQ.
2023-08-14 11:38:07.734195 98.30% [DEBUG] sofia.c:10547 verifying acl "PKsipProfile" for ip/port 103.250.137.137:0.
2023-08-14 11:38:07.734195 98.30% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfile/9084093664@13.232.246.166:5078 entering state [received][100]
2023-08-14 11:38:07.734195 98.30% [DEBUG] sofia.c:7497 Remote SDP:
v=0
o=Z 0 0 IN IP4 103.250.137.137
s=Z
c=IN IP4 103.250.137.137
t=0 0
m=audio 20592 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-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:3750 Set Codec sofia/PKsipProfile/9084093664@13.232.246.166:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_codec.c:111 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Original read codec set to PCMA:8
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_media.c:5850 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Set 2833 dtmf send payload to 101 recv payload to 101
2023-08-14 11:38:07.734195 98.30% [DEBUG] sofia.c:7921 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State Change CS_NEW -> CS_INIT
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Running State Change CS_INIT (Cur 1 Tot 7)
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_state_machine.c:624 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State INIT
2023-08-14 11:38:07.734195 98.30% [DEBUG] mod_sofia.c:97 sofia/PKsipProfile/9084093664@13.232.246.166:5078 SOFIA INIT
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_state_machine.c:40 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Standard INIT
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_state_machine.c:48 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State Change CS_INIT -> CS_ROUTING
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_state_machine.c:624 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State INIT going to sleep
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Running State Change CS_ROUTING (Cur 1 Tot 7)
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_channel.c:2380 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Callstate Change DOWN -> RINGING
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State ROUTING
2023-08-14 11:38:07.734195 98.30% [DEBUG] mod_sofia.c:158 sofia/PKsipProfile/9084093664@13.232.246.166:5078 SOFIA ROUTING
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_core_state_machine.c:230 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Standard ROUTING
2023-08-14 11:38:07.734195 98.30% [INFO] mod_dialplan_xml.c:639 Processing 9084093664 <9084093664>->10040403333 in context default
2023-08-14 11:38:07.734195 98.30% [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-14 11:38:07.734195 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-08-14 11:38:07.734195 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10040403333
2023-08-14 11:38:07.734195 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '10040403333' AND status=0 limit 1
2023-08-14 11:38:07.734195 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9084093664 / 9084093664
2023-08-14 11:38:07.734195 98.30% [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 ="10040403333" LIMIT 1
2023-08-14 11:38:07.754194 98.30% [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="10040403333" limit 1
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9084093665]
2023-08-14 11:38:07.754194 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9084093665" AND deleted = 0 limit 1
2023-08-14 11:38:07.754194 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10040403333.*' OR blocked_patterns = '^1004040333.*' OR blocked_patterns = '^100404033.*' OR blocked_patterns = '^10040403.*' OR blocked_patterns = '^1004040.*' OR blocked_patterns = '^100404.*' OR blocked_patterns = '^10040.*' OR blocked_patterns = '^1004.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 13 limit 1
2023-08-14 11:38:07.754194 98.30% [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 ="10040403333" AND A.accountid = '13' limit 1
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10040403333
2023-08-14 11:38:07.754194 98.30% [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 ="10040403333" LIMIT 1
2023-08-14 11:38:07.754194 98.30% [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="10040403333" limit 1
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
2023-08-14 11:38:07.754194 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="10040403333" AND (accountid = 0 OR status = 1) LIMIT 1
2023-08-14 11:38:07.754194 98.30% [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 = '^10040403333.*' OR patterns = '^1004040333.*' OR patterns = '^100404033.*' OR patterns = '^10040403.*' OR patterns = '^1004040.*' OR patterns = '^100404.*' OR patterns = '^10040.*' OR patterns = '^1004.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9084093665
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 55948.98248
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-08-14 11:38:07.754194 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-08-14 11:38:07.754194 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-08-14 11:38:07.754194 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^10040403333.*' OR pattern = '^1004040333.*' OR pattern = '^100404033.*' OR pattern = '^10040403.*' OR pattern = '^1004040.*' OR pattern = '^100404.*' OR pattern = '^10040.*' OR pattern = '^1004.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=13) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : USA
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your55948.98248 balance Accountid 13 !!!
2023-08-14 11:38:07.754194 98.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 10000 mins!
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 10000 minutes
2023-08-14 11:38:07.754194 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 1
2023-08-14 11:38:07.754194 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
2023-08-14 11:38:07.774196 98.30% [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 = '^10040403333.*' OR pattern = '^1004040333.*' OR pattern = '^100404033.*' OR pattern = '^10040403.*' OR pattern = '^1004040.*' OR pattern = '^100404.*' OR pattern = '^10040.*' OR pattern = '^1004.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourProvider
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-08-14 11:38:07.774196 98.30% [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 = 13 AND status=0 LIMIT 1
2023-08-14 11:38:07.774196 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 10000
2023-08-14 11:38:07.774196 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-08-14 11:38:07.774196 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
2023-08-14 11:38:07.774196 98.30% [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-14 11:38:07.774196 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="10040403333">
<condition field="destination_number" expression="10040403333">
<action application="set" data="effective_destination_number=10040403333"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+600000 normal_clearing"/>
<action application="set" data="callstart=2023-08-14 11:38:07"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:13"/>
<action application="set" data="original_caller_id_name=9084093664"/>
<action application="set" data="original_caller_id_number=9084093664"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
<action application="set" data="trunk_id=1"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=1"/>
<action application="export" data="presence_data=trunk_id=1"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||PKPostpaidCustomer(9084093665)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=700,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10040403333"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 parsing [default->10040403333] continue=false
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Regex (PASS) [10040403333] destination_number(10040403333) =~ /10040403333/ break=on-false
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(effective_destination_number=10040403333)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(bridge_pre_execute_bleg_data=+600000 normal_clearing)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(callstart=2023-08-14 11:38:07)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(hangup_after_bridge=true)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(continue_on_fail=TRUE)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(account_id=13)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(parent_id=0)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(entity_id=0)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(call_processed=internal)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(call_direction=outbound)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(accountname=default)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:13)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(original_caller_id_name=9084093664)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(original_caller_id_number=9084093664)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(calltype=STANDARD)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(trunk_id=1)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(provider_id=3)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(rate_flag=0)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(force_trunk_flag=1)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action export(presence_data=trunk_id=1)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action set(intcall=0)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action export(presence_data=x|||PKPostpaidCustomer(9084093665)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
Dialplan: sofia/PKsipProfile/9084093664@13.232.246.166:5078 Action bridge({sip_cid_type=none}[leg_timeout=700,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10040403333)
2023-08-14 11:38:07.774196 98.30% [DEBUG] switch_core_state_machine.c:281 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State Change CS_ROUTING -> CS_EXECUTE
2023-08-14 11:38:07.774196 98.30% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State ROUTING going to sleep
2023-08-14 11:38:07.774196 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Running State Change CS_EXECUTE (Cur 1 Tot 7)
2023-08-14 11:38:07.774196 98.30% [DEBUG] switch_core_state_machine.c:647 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State EXECUTE
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_sofia.c:213 sofia/PKsipProfile/9084093664@13.232.246.166:5078 SOFIA EXECUTE
2023-08-14 11:38:07.774196 98.30% [DEBUG] switch_core_state_machine.c:323 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Standard EXECUTE
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(effective_destination_number=10040403333)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [effective_destination_number]=[10040403333]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(bridge_pre_execute_bleg_data=+600000 normal_clearing)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [bridge_pre_execute_bleg_data]=[+600000 normal_clearing]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(callstart=2023-08-14 11:38:07)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [callstart]=[2023-08-14 11:38:07]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(hangup_after_bridge=true)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(continue_on_fail=TRUE)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(account_id=13)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [account_id]=[13]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(parent_id=0)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [parent_id]=[0]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(entity_id=0)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [entity_id]=[0]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(call_processed=internal)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [call_processed]=[internal]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(call_direction=outbound)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(accountname=default)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [accountname]=[default]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:13)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:13]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(original_caller_id_name=9084093664)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [original_caller_id_name]=[9084093664]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(original_caller_id_number=9084093664)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [original_caller_id_number]=[9084093664]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(calltype=STANDARD)
2023-08-14 11:38:07.774196 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
2023-08-14 11:38:07.794192 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(trunk_id=1)
2023-08-14 11:38:07.794192 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [trunk_id]=[1]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(provider_id=3)
2023-08-14 11:38:07.794192 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [provider_id]=[3]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(rate_flag=0)
2023-08-14 11:38:07.794192 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [rate_flag]=[0]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(force_trunk_flag=1)
2023-08-14 11:38:07.794192 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [force_trunk_flag]=[1]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 export(presence_data=trunk_id=1)
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 set(intcall=0)
2023-08-14 11:38:07.794192 98.30% [DEBUG] mod_dptools.c:1673 SET sofia/PKsipProfile/9084093664@13.232.246.166:5078 [intcall]=[0]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 export(presence_data=x|||PKPostpaidCustomer(9084093665)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD)
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||PKPostpaidCustomer(9084093665)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD]
EXECUTE [depth=0] sofia/PKsipProfile/9084093664@13.232.246.166:5078 bridge({sip_cid_type=none}[leg_timeout=700,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/10040403333)
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_channel.c:1269 sofia/PKsipProfile/9084093664@13.232.246.166:5078 EXPORTING[export_vars] [presence_data]=[x|||PKPostpaidCustomer(9084093665)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_channel.c:1269 sofia/PKsipProfile/9084093664@13.232.246.166:5078 EXPORTING[export_vars] [presence_data]=[x|||PKPostpaidCustomer(9084093665)|||^1.* // USA // 0.20000 // trunk_id=0|||YourProvider // ^1.* // USA // 0.10000 // trunk_id=1|||STD] to event
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
2023-08-14 11:38:07.794192 98.30% [NOTICE] switch_channel.c:1123 New Channel sofia/PKsipProfile/10040403333 [476fd664-f99b-4e33-be03-d2d816fa5391]
2023-08-14 11:38:07.794192 98.30% [DEBUG] mod_sofia.c:5117 (sofia/PKsipProfile/10040403333) State Change CS_NEW -> CS_INIT
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_ivr_originate.c:3161 sofia/PKsipProfile/10040403333 Setting leg timeout to 700
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/10040403333) Running State Change CS_INIT (Cur 2 Tot 8)
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:624 (sofia/PKsipProfile/10040403333) State INIT
2023-08-14 11:38:07.794192 98.30% [DEBUG] mod_sofia.c:97 sofia/PKsipProfile/10040403333 SOFIA INIT
2023-08-14 11:38:07.794192 98.30% [INFO] sofia_glue.c:1654 sofia/PKsipProfile/10040403333 sending invite call-id: (null)
2023-08-14 11:38:07.794192 98.30% [DEBUG] sofia_glue.c:1657 sofia/PKsipProfile/10040403333 sending invite version: 1.10.9 -release-21-a615e85afc 64bit
Local SDP:
v=0
o=FreeSWITCH 1691990107 1691990108 IN IP4 172.31.38.83
s=FreeSWITCH
c=IN IP4 172.31.38.83
t=0 0
m=audio 22980 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:40 sofia/PKsipProfile/10040403333 Standard INIT
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:48 (sofia/PKsipProfile/10040403333) State Change CS_INIT -> CS_ROUTING
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:624 (sofia/PKsipProfile/10040403333) State INIT going to sleep
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/10040403333) Running State Change CS_ROUTING (Cur 2 Tot 8)
2023-08-14 11:38:07.794192 98.30% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfile/10040403333 entering state [calling][0]
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfile/10040403333) State ROUTING
2023-08-14 11:38:07.794192 98.30% [DEBUG] mod_sofia.c:158 sofia/PKsipProfile/10040403333 SOFIA ROUTING
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_ivr_originate.c:67 (sofia/PKsipProfile/10040403333) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:640 (sofia/PKsipProfile/10040403333) State ROUTING going to sleep
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/10040403333) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 8)
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:659 (sofia/PKsipProfile/10040403333) State CONSUME_MEDIA
2023-08-14 11:38:07.794192 98.30% [DEBUG] switch_core_state_machine.c:659 (sofia/PKsipProfile/10040403333) State CONSUME_MEDIA going to sleep
2023-08-14 11:38:07.974194 98.30% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfile/10040403333 entering state [proceeding][180]
2023-08-14 11:38:07.974194 98.30% [NOTICE] sofia.c:7598 Ring-Ready sofia/PKsipProfile/10040403333!
2023-08-14 11:38:07.974194 98.30% [DEBUG] switch_channel.c:3494 (sofia/PKsipProfile/10040403333) Callstate Change DOWN -> RINGING
2023-08-14 11:38:07.994248 98.30% [NOTICE] mod_sofia.c:2516 Ring-Ready sofia/PKsipProfile/9084093664@13.232.246.166:5078!
2023-08-14 11:38:07.994248 98.30% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfile/9084093664@13.232.246.166:5078 entering state [early][180]
2023-08-14 11:38:07.994248 98.30% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/PKsipProfile/9084093664@13.232.246.166:5078!
2023-08-14 11:38:17.994202 97.93% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfile/10040403333 entering state [completing][200]
2023-08-14 11:38:17.994202 97.93% [DEBUG] sofia.c:7497 Remote SDP:
v=0
o=root 568017019 568017019 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 17622 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2023-08-14 11:38:17.994202 97.93% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfile/10040403333 entering state [ready][200]
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:3750 Set Codec sofia/PKsipProfile/10040403333 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_codec.c:111 sofia/PKsipProfile/10040403333 Original read codec set to PCMA:8
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:5850 sofia/PKsipProfile/10040403333 Set 2833 dtmf send payload to 101 recv payload to 101
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/PKsipProfile/10040403333] 172.31.38.83 port 22980 -> 159.203.131.36 port 17622 codec: 8 ms: 20
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_rtp.c:4399 Not using a timer
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:8963 sofia/PKsipProfile/10040403333 Set 2833 dtmf send payload to 101
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:8970 sofia/PKsipProfile/10040403333 Set 2833 dtmf receive payload to 101
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:8993 sofia/PKsipProfile/10040403333 Set rtp dtmf delay to 40
2023-08-14 11:38:17.994202 97.93% [NOTICE] sofia.c:8674 Channel [sofia/PKsipProfile/10040403333] has been answered
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_channel.c:3893 (sofia/PKsipProfile/10040403333) Callstate Change RINGING -> ACTIVE
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/PKsipProfile/9084093664@13.232.246.166:5078] 172.31.38.83 port 24902 -> 103.250.137.137 port 20592 codec: 8 ms: 20
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_rtp.c:4399 Not using a timer
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:8963 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Set 2833 dtmf send payload to 101
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:8970 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Set 2833 dtmf receive payload to 101
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_media.c:8993 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Set rtp dtmf delay to 40
2023-08-14 11:38:17.994202 97.93% [DEBUG] mod_sofia.c:913 Local SDP sofia/PKsipProfile/9084093664@13.232.246.166:5078:
v=0
o=FreeSWITCH 1691988195 1691988196 IN IP4 172.31.38.83
s=FreeSWITCH
c=IN IP4 172.31.38.83
t=0 0
m=audio 24902 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-08-14 11:38:17.994202 97.93% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfile/9084093664@13.232.246.166:5078 entering state [completed][200]
2023-08-14 11:38:17.994202 97.93% [NOTICE] switch_ivr_originate.c:3844 Channel [sofia/PKsipProfile/9084093664@13.232.246.166:5078] has been answered
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_channel.c:3893 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Callstate Change RINGING -> ACTIVE
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/PKsipProfile/10040403333] Peer UUID: 476fd664-f99b-4e33-be03-d2d816fa5391
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_ivr_bridge.c:1791 (sofia/PKsipProfile/10040403333) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/10040403333) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 8)
2023-08-14 11:38:17.994202 97.93% [DEBUG] switch_core_state_machine.c:650 (sofia/PKsipProfile/10040403333) State EXCHANGE_MEDIA
2023-08-14 11:38:17.994202 97.93% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-08-14 11:38:49.994247 98.80% [DEBUG] sofia.c:7487 Channel sofia/PKsipProfile/9084093664@13.232.246.166:5078 entering state [terminating][0]
2023-08-14 11:38:49.994247 98.80% [NOTICE] sofia.c:8729 Hangup sofia/PKsipProfile/9084093664@13.232.246.166:5078 [CS_EXECUTE] [NORMAL_UNSPECIFIED]
2023-08-14 11:38:49.994247 98.80% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/PKsipProfile/9084093664@13.232.246.166:5078]
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/PKsipProfile/10040403333]
2023-08-14 11:38:50.014224 98.80% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/PKsipProfile/10040403333 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:650 (sofia/PKsipProfile/10040403333) State EXCHANGE_MEDIA going to sleep
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/10040403333) Running State Change CS_HANGUP (Cur 2 Tot 8)
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:844 (sofia/PKsipProfile/10040403333) Callstate Change ACTIVE -> HANGUP
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:846 (sofia/PKsipProfile/10040403333) State HANGUP
2023-08-14 11:38:50.014224 98.80% [DEBUG] mod_sofia.c:468 Channel sofia/PKsipProfile/10040403333 hanging up, cause: NORMAL_CLEARING
2023-08-14 11:38:50.014224 98.80% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/PKsipProfile/10040403333
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:59 sofia/PKsipProfile/10040403333 Standard HANGUP, cause: NORMAL_CLEARING
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:846 (sofia/PKsipProfile/10040403333) State HANGUP going to sleep
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:616 (sofia/PKsipProfile/10040403333) State Change CS_HANGUP -> CS_REPORTING
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/10040403333) Running State Change CS_REPORTING (Cur 2 Tot 8)
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:932 (sofia/PKsipProfile/10040403333) State REPORTING
2023-08-14 11:38:50.014224 98.80% [INFO] mod_json_cdr.c:272 Process [476fd664-f99b-4e33-be03-d2d816fa5391.cdr.json]
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_ivr_bridge.c:1890 sofia/PKsipProfile/10040403333 skip receive message [UNBRIDGE] (channel is hungup already)
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_ivr_bridge.c:1893 sofia/PKsipProfile/9084093664@13.232.246.166:5078 skip receive message [UNBRIDGE] (channel is hungup already)
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_session.c:2973 sofia/PKsipProfile/9084093664@13.232.246.166:5078 skip receive message [PHONE_EVENT] (channel is hungup already)
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:647 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State EXECUTE going to sleep
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Running State Change CS_HANGUP (Cur 2 Tot 8)
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:844 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Callstate Change ACTIVE -> HANGUP
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:846 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State HANGUP
2023-08-14 11:38:50.014224 98.80% [DEBUG] mod_sofia.c:468 Channel sofia/PKsipProfile/9084093664@13.232.246.166:5078 hanging up, cause: NORMAL_UNSPECIFIED
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:59 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Standard HANGUP, cause: NORMAL_UNSPECIFIED
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:846 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State HANGUP going to sleep
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:616 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State Change CS_HANGUP -> CS_REPORTING
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:581 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Running State Change CS_REPORTING (Cur 2 Tot 8)
2023-08-14 11:38:50.014224 98.80% [DEBUG] switch_core_state_machine.c:932 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State REPORTING
2023-08-14 11:38:50.014224 98.80% [INFO] mod_json_cdr.c:272 Process [3a970827-05f5-4160-85bd-5a3a06b896ad.cdr.json]
2023-08-14 11:38:50.034211 98.80% [DEBUG] switch_core_state_machine.c:168 sofia/PKsipProfile/10040403333 Standard REPORTING, cause: NORMAL_CLEARING
2023-08-14 11:38:50.034211 98.80% [DEBUG] switch_core_state_machine.c:932 (sofia/PKsipProfile/10040403333) State REPORTING going to sleep
2023-08-14 11:38:50.034211 98.80% [DEBUG] switch_core_state_machine.c:607 (sofia/PKsipProfile/10040403333) State Change CS_REPORTING -> CS_DESTROY
2023-08-14 11:38:50.034211 98.80% [DEBUG] switch_core_session.c:1743 Session 8 (sofia/PKsipProfile/10040403333) Locked, Waiting on external entities
2023-08-14 11:38:50.034211 98.80% [NOTICE] switch_core_session.c:1761 Session 8 (sofia/PKsipProfile/10040403333) Ended
2023-08-14 11:38:50.034211 98.80% [NOTICE] switch_core_session.c:1765 Close Channel sofia/PKsipProfile/10040403333 [CS_DESTROY]
2023-08-14 11:38:50.034211 98.80% [DEBUG] switch_core_state_machine.c:735 (sofia/PKsipProfile/10040403333) Running State Change CS_DESTROY (Cur 1 Tot 8)
2023-08-14 11:38:50.034211 98.80% [DEBUG] switch_core_state_machine.c:745 (sofia/PKsipProfile/10040403333) State DESTROY
2023-08-14 11:38:50.034211 98.80% [DEBUG] mod_sofia.c:379 sofia/PKsipProfile/10040403333 SOFIA DESTROY
2023-08-14 11:38:50.034211 98.80% [DEBUG] switch_core_state_machine.c:175 sofia/PKsipProfile/10040403333 Standard DESTROY
2023-08-14 11:38:50.034211 98.80% [DEBUG] switch_core_state_machine.c:745 (sofia/PKsipProfile/10040403333) State DESTROY going to sleep
2023-08-14 11:38:50.054214 98.80% [DEBUG] switch_core_state_machine.c:168 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Standard REPORTING, cause: NORMAL_UNSPECIFIED
2023-08-14 11:38:50.054214 98.80% [DEBUG] switch_core_state_machine.c:932 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State REPORTING going to sleep
2023-08-14 11:38:50.054214 98.80% [DEBUG] switch_core_state_machine.c:607 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State Change CS_REPORTING -> CS_DESTROY
2023-08-14 11:38:50.054214 98.80% [DEBUG] switch_core_session.c:1743 Session 7 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Locked, Waiting on external entities
2023-08-14 11:38:50.054214 98.80% [NOTICE] switch_core_session.c:1761 Session 7 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Ended
2023-08-14 11:38:50.054214 98.80% [NOTICE] switch_core_session.c:1765 Close Channel sofia/PKsipProfile/9084093664@13.232.246.166:5078 [CS_DESTROY]
2023-08-14 11:38:50.054214 98.80% [DEBUG] switch_core_state_machine.c:735 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) Running State Change CS_DESTROY (Cur 0 Tot 8)
2023-08-14 11:38:50.054214 98.80% [DEBUG] switch_core_state_machine.c:745 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State DESTROY
2023-08-14 11:38:50.054214 98.80% [DEBUG] mod_sofia.c:379 sofia/PKsipProfile/9084093664@13.232.246.166:5078 SOFIA DESTROY
2023-08-14 11:38:50.054214 98.80% [DEBUG] switch_core_state_machine.c:175 sofia/PKsipProfile/9084093664@13.232.246.166:5078 Standard DESTROY
2023-08-14 11:38:50.054214 98.80% [DEBUG] switch_core_state_machine.c:745 (sofia/PKsipProfile/9084093664@13.232.246.166:5078) State DESTROY going to sleep
freeswitch@172.31.38.83> /exit
You have new mail in /var/mail/root
root@172:/home/admin#