2022-06-30 13:00:17.179801 97.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/0902@102.220.200.133 [6f057ed6-1c4c-43e5-a30f-0091513f154c] 2022-06-30 13:00:17.179801 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_NEW (Cur 1 Tot 3) 2022-06-30 13:00:17.179801 97.47% [INFO] sofia.c:10462 sofia/default/0902@102.220.200.133 receiving invite from 102.220.201.145:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 365df0c7-c1a39e22@102.220.201.145 2022-06-30 13:00:17.179801 97.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.201.145:0. 2022-06-30 13:00:17.179801 97.47% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [815@102.220.200.133] from ip 102.220.201.145 2022-06-30 13:00:17.179801 97.47% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0902@102.220.200.133) State NEW 2022-06-30 13:00:17.179801 97.47% [DEBUG] sofia.c:2419 detaching session 6f057ed6-1c4c-43e5-a30f-0091513f154c 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:2532 Re-attaching to session 6f057ed6-1c4c-43e5-a30f-0091513f154c 2022-06-30 13:00:17.199795 97.47% [INFO] sofia.c:10462 sofia/default/0902@102.220.200.133 receiving invite from 102.220.201.145:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 365df0c7-c1a39e22@102.220.201.145 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.201.145:0. 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:7499 Channel sofia/default/0902@102.220.200.133 entering state [received][100] 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=- 32190 32190 IN IP4 102.220.201.145 s=- c=IN IP4 102.220.201.145 t=0 0 m=audio 16448 RTP/AVP 0 2 8 9 18 96 97 98 101 a=rtpmap:0 PCMU/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:18 G729a/8000 a=rtpmap:96 G726-40/8000 a=rtpmap:97 G726-24/8000 a=rtpmap:98 G726-16/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:30 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5686 Audio Codec Compare [PCMU:0:8000:20:64000:1] is saved as a near-match 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:2:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:2:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5686 Audio Codec Compare [PCMA:8:8000:20:64000:1] is saved as a near-match 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:30:64000:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:30:64000:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729a:18:8000:30:8000:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729a:18:8000:30:8000:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-40:96:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-40:96:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-24:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-24:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-16:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-16:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5757 Substituting codec PCMU@30i@8000h@1c 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/0902@102.220.200.133 PCMU/8000 30 ms 240 samples 64000 bits 1 channels 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_codec.c:111 sofia/default/0902@102.220.200.133 Original read codec set to PCMU:0 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_media.c:5973 sofia/default/0902@102.220.200.133 Set 2833 dtmf send payload to 101 recv payload to 101 2022-06-30 13:00:17.199795 97.47% [DEBUG] sofia.c:7933 (sofia/default/0902@102.220.200.133) State Change CS_NEW -> CS_INIT 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_INIT (Cur 1 Tot 3) 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0902@102.220.200.133) State INIT 2022-06-30 13:00:17.199795 97.47% [DEBUG] mod_sofia.c:97 sofia/default/0902@102.220.200.133 SOFIA INIT 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/0902@102.220.200.133 Standard INIT 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0902@102.220.200.133) State Change CS_INIT -> CS_ROUTING 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0902@102.220.200.133) State INIT going to sleep 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_ROUTING (Cur 1 Tot 3) 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_channel.c:2380 (sofia/default/0902@102.220.200.133) Callstate Change DOWN -> RINGING 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0902@102.220.200.133) State ROUTING 2022-06-30 13:00:17.199795 97.47% [DEBUG] mod_sofia.c:158 sofia/default/0902@102.220.200.133 SOFIA ROUTING 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/0902@102.220.200.133 Standard ROUTING 2022-06-30 13:00:17.199795 97.47% [INFO] mod_dialplan_xml.c:639 Processing 0902 <0902>->815 in context default 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 815 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '815' AND status=0 limit 1 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 0902 / 0902 2022-06-30 13:00:17.199795 97.47% [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 ="815" LIMIT 1 2022-06-30 13:00:17.199795 97.47% [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="815" limit 1 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 671684] 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "671684" AND deleted = 0 limit 1 2022-06-30 13:00:17.199795 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^815.*' OR blocked_patterns = '^81.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 19 limit 1 2022-06-30 13:00:17.199795 97.47% [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 ="815" AND A.accountid = '19' limit 1 2022-06-30 13:00:17.199795 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 815 2022-06-30 13:00:17.199795 97.47% [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 ="815" LIMIT 1 2022-06-30 13:00:17.239722 97.47% [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="815" limit 1 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="815" AND (accountid = 0 OR status = 1) LIMIT 1 2022-06-30 13:00:17.239722 97.47% [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 = '^815.*' OR patterns = '^81.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 19 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 19 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 671684 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 5000 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^815.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=19) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 220.00000 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : Uganda 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 197 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 19 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 4 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your5000 balance Accountid 19 !!! 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 22.727272727273 minutes 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 12 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^815.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^8.* 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Uganda 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^8.* 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : MTN 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 21 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : MTN 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2022-06-30 13:00:17.239722 97.47% [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 = 19 AND status=0 LIMIT 1 2022-06-30 13:00:17.239722 97.47% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 22.727272727273 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0 2022-06-30 13:00:17.239722 97.47% [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 = 4) AND status=0 limit 1 2022-06-30 13:00:17.239722 97.47% [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 = 21) AND status=0 limit 1 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/0902@102.220.200.133 parsing [default->815] continue=false Dialplan: sofia/default/0902@102.220.200.133 Regex (PASS) [815] destination_number(815) =~ /815/ break=on-false Dialplan: sofia/default/0902@102.220.200.133 Action set(effective_destination_number=815) Dialplan: sofia/default/0902@102.220.200.133 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/0902@102.220.200.133 Action set(bridge_pre_execute_bleg_data=+1363.6363636364 normal_clearing) Dialplan: sofia/default/0902@102.220.200.133 Action set(callstart=2022-06-30 10:00:17) Dialplan: sofia/default/0902@102.220.200.133 Action set(hangup_after_bridge=true) Dialplan: sofia/default/0902@102.220.200.133 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/0902@102.220.200.133 Action set(account_id=19) Dialplan: sofia/default/0902@102.220.200.133 Action set(parent_id=0) Dialplan: sofia/default/0902@102.220.200.133 Action set(entity_id=0) Dialplan: sofia/default/0902@102.220.200.133 Action set(call_processed=internal) Dialplan: sofia/default/0902@102.220.200.133 Action set(call_direction=outbound) Dialplan: sofia/default/0902@102.220.200.133 Action set(accountname=default) Dialplan: sofia/default/0902@102.220.200.133 Action set(origination_rates=ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19) Dialplan: sofia/default/0902@102.220.200.133 Action set(original_caller_id_name=0902) Dialplan: sofia/default/0902@102.220.200.133 Action set(original_caller_id_number=0902) Dialplan: sofia/default/0902@102.220.200.133 Action set(calltype=STANDARD) Dialplan: sofia/default/0902@102.220.200.133 Action set(termination_rates=ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:21) Dialplan: sofia/default/0902@102.220.200.133 Action set(trunk_id=4) Dialplan: sofia/default/0902@102.220.200.133 Action set(provider_id=21) Dialplan: sofia/default/0902@102.220.200.133 Action set(rate_flag=0) Dialplan: sofia/default/0902@102.220.200.133 Action set(force_trunk_flag=12) Dialplan: sofia/default/0902@102.220.200.133 Action export(presence_data=trunk_id=4) Dialplan: sofia/default/0902@102.220.200.133 Action set(intcall=0) Dialplan: sofia/default/0902@102.220.200.133 Action export(presence_data=x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD) Dialplan: sofia/default/0902@102.220.200.133 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/MTN/815) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0902@102.220.200.133) State Change CS_ROUTING -> CS_EXECUTE 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0902@102.220.200.133) State ROUTING going to sleep 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_EXECUTE (Cur 1 Tot 3) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0902@102.220.200.133) State EXECUTE 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:213 sofia/default/0902@102.220.200.133 SOFIA EXECUTE 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/0902@102.220.200.133 Standard EXECUTE EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(effective_destination_number=815) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [effective_destination_number]=[815] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(bridge_pre_execute_bleg_data=+1363.6363636364 normal_clearing) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [bridge_pre_execute_bleg_data]=[+1363.6363636364 normal_clearing] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(callstart=2022-06-30 10:00:17) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [callstart]=[2022-06-30 10:00:17] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(hangup_after_bridge=true) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(continue_on_fail=TRUE) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(account_id=19) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [account_id]=[19] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(parent_id=0) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [parent_id]=[0] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(entity_id=0) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [entity_id]=[0] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(call_processed=internal) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(call_direction=outbound) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(accountname=default) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [accountname]=[default] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(origination_rates=ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [origination_rates]=[ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(original_caller_id_name=0902) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [original_caller_id_name]=[0902] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(original_caller_id_number=0902) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [original_caller_id_number]=[0902] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(calltype=STANDARD) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(termination_rates=ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:21) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [termination_rates]=[ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:21] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(trunk_id=4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [trunk_id]=[4] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(provider_id=21) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [provider_id]=[21] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(rate_flag=0) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(force_trunk_flag=12) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [force_trunk_flag]=[12] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(presence_data=trunk_id=4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(intcall=0) 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [intcall]=[0] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(presence_data=x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/MTN/815) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD] to event 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000 // trunk_id=4|||MTN // ^8.* // Uganda // 220.00000 // trunk_id=4|||STD] to event 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/815 [f123f665-8446-438b-9287-ba33bd9eed19] 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:5121 (sofia/default/815) State Change CS_NEW -> CS_INIT 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_INIT (Cur 2 Tot 4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/815) State INIT 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:97 sofia/default/815 SOFIA INIT 2022-06-30 13:00:17.239722 97.47% [INFO] sofia_glue.c:1651 sofia/default/815 sending invite call-id: (null) 2022-06-30 13:00:17.239722 97.47% [DEBUG] sofia_glue.c:1654 sofia/default/815 sending invite version: 1.10.7 -release-19-883d2cb662 64bit Local SDP: v=0 o=FreeSWITCH 1656559329 1656559330 IN IP4 102.220.200.133 s=FreeSWITCH c=IN IP4 102.220.200.133 t=0 0 m=audio 23888 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/815 Standard INIT 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/815) State Change CS_INIT -> CS_ROUTING 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/815) State INIT going to sleep 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_ROUTING (Cur 2 Tot 4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/815) State ROUTING 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:158 sofia/default/815 SOFIA ROUTING 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/815) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/815) State ROUTING going to sleep 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/815) State CONSUME_MEDIA 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/815) State CONSUME_MEDIA going to sleep 2022-06-30 13:00:17.239722 97.47% [DEBUG] sofia.c:7499 Channel sofia/default/815 entering state [calling][0] 2022-06-30 13:00:17.239722 97.47% [DEBUG] sofia.c:7499 Channel sofia/default/815 entering state [terminated][503] 2022-06-30 13:00:17.239722 97.47% [NOTICE] sofia.c:8738 Hangup sofia/default/815 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_HANGUP (Cur 2 Tot 4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/815) Callstate Change DOWN -> HANGUP 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/815) State HANGUP 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/815 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/815 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/815) State HANGUP going to sleep 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/815) State Change CS_HANGUP -> CS_REPORTING 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_REPORTING (Cur 2 Tot 4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/815) State REPORTING 2022-06-30 13:00:17.239722 97.47% [INFO] mod_json_cdr.c:271 Process [f123f665-8446-438b-9287-ba33bd9eed19.cdr.json] 2022-06-30 13:00:17.239722 97.47% [INFO] mod_dptools.c:3653 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_core_state_machine.c:382 sofia/default/0902@102.220.200.133 has executed the last dialplan instruction, hanging up. 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/0902@102.220.200.133 [CS_EXECUTE] [NORMAL_CLEARING] 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0902@102.220.200.133) State EXECUTE going to sleep 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_HANGUP (Cur 2 Tot 4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0902@102.220.200.133) Callstate Change RINGING -> HANGUP 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0902@102.220.200.133) State HANGUP 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:462 sofia/default/0902@102.220.200.133 Overriding SIP cause 480 with 503 from the other leg 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/0902@102.220.200.133 hanging up, cause: NORMAL_CLEARING 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/0902@102.220.200.133 Standard HANGUP, cause: NORMAL_CLEARING 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0902@102.220.200.133) State HANGUP going to sleep 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0902@102.220.200.133) State Change CS_HANGUP -> CS_REPORTING 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_REPORTING (Cur 2 Tot 4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0902@102.220.200.133) State REPORTING 2022-06-30 13:00:17.239722 97.47% [INFO] mod_json_cdr.c:271 Process [6f057ed6-1c4c-43e5-a30f-0091513f154c.cdr.json] 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/815 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/815) State REPORTING going to sleep 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/815) State Change CS_REPORTING -> CS_DESTROY 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_session.c:1753 Session 4 (sofia/default/815) Locked, Waiting on external entities 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_core_session.c:1771 Session 4 (sofia/default/815) Ended 2022-06-30 13:00:17.239722 97.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/815 [CS_DESTROY] 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/815) Running State Change CS_DESTROY (Cur 1 Tot 4) 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/815) State DESTROY 2022-06-30 13:00:17.239722 97.47% [DEBUG] mod_sofia.c:379 sofia/default/815 SOFIA DESTROY 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/815 Standard DESTROY 2022-06-30 13:00:17.239722 97.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/815) State DESTROY going to sleep 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/0902@102.220.200.133 Standard REPORTING, cause: NORMAL_CLEARING 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0902@102.220.200.133) State REPORTING going to sleep 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0902@102.220.200.133) State Change CS_REPORTING -> CS_DESTROY 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_session.c:1753 Session 3 (sofia/default/0902@102.220.200.133) Locked, Waiting on external entities 2022-06-30 13:00:17.299748 97.47% [NOTICE] switch_core_session.c:1771 Session 3 (sofia/default/0902@102.220.200.133) Ended 2022-06-30 13:00:17.299748 97.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/0902@102.220.200.133 [CS_DESTROY] 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0902@102.220.200.133) Running State Change CS_DESTROY (Cur 0 Tot 4) 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0902@102.220.200.133) State DESTROY 2022-06-30 13:00:17.299748 97.47% [DEBUG] mod_sofia.c:379 sofia/default/0902@102.220.200.133 SOFIA DESTROY 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/0902@102.220.200.133 Standard DESTROY 2022-06-30 13:00:17.299748 97.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0902@102.220.200.133) State DESTROY going to sleep 2022-06-30 13:03:06.799793 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/0902@102.220.200.133 [ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb] 2022-06-30 13:03:06.799793 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_NEW (Cur 1 Tot 5) 2022-06-30 13:03:06.799793 98.37% [INFO] sofia.c:10462 sofia/default/0902@102.220.200.133 receiving invite from 102.220.201.145:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: a86c8210-3ecd7ae@102.220.201.145 2022-06-30 13:03:06.799793 98.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.201.145:0. 2022-06-30 13:03:06.799793 98.37% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [0000@102.220.200.133] from ip 102.220.201.145 2022-06-30 13:03:06.799793 98.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/0902@102.220.200.133) State NEW 2022-06-30 13:03:06.799793 98.37% [DEBUG] sofia.c:2419 detaching session ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb 2022-06-30 13:03:06.799793 98.37% [DEBUG] sofia.c:2532 Re-attaching to session ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb 2022-06-30 13:03:06.799793 98.37% [INFO] sofia.c:10462 sofia/default/0902@102.220.200.133 receiving invite from 102.220.201.145:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: a86c8210-3ecd7ae@102.220.201.145 2022-06-30 13:03:06.799793 98.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.201.145:0. 2022-06-30 13:03:06.839741 98.37% [DEBUG] sofia.c:7499 Channel sofia/default/0902@102.220.200.133 entering state [received][100] 2022-06-30 13:03:06.839741 98.37% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=- 49151 49151 IN IP4 102.220.201.145 s=- c=IN IP4 102.220.201.145 t=0 0 m=audio 16450 RTP/AVP 0 2 8 9 18 96 97 98 101 a=rtpmap:0 PCMU/8000 a=rtpmap:2 G726-32/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:18 G729a/8000 a=rtpmap:96 G726-40/8000 a=rtpmap:97 G726-24/8000 a=rtpmap:98 G726-16/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:30 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:30:64000:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5686 Audio Codec Compare [PCMU:0:8000:20:64000:1] is saved as a near-match 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:2:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:2:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5686 Audio Codec Compare [PCMA:8:8000:20:64000:1] is saved as a near-match 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:30:64000:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:30:64000:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:30:64000:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729a:18:8000:30:8000:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729a:18:8000:30:8000:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-40:96:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-40:96:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-24:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-24:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-16:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-16:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5757 Substituting codec PCMU@30i@8000h@1c 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/0902@102.220.200.133 PCMU/8000 30 ms 240 samples 64000 bits 1 channels 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_codec.c:111 sofia/default/0902@102.220.200.133 Original read codec set to PCMU:0 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:5973 sofia/default/0902@102.220.200.133 Set 2833 dtmf send payload to 101 recv payload to 101 2022-06-30 13:03:06.839741 98.37% [DEBUG] sofia.c:7933 (sofia/default/0902@102.220.200.133) State Change CS_NEW -> CS_INIT 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_INIT (Cur 1 Tot 5) 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0902@102.220.200.133) State INIT 2022-06-30 13:03:06.839741 98.37% [DEBUG] mod_sofia.c:97 sofia/default/0902@102.220.200.133 SOFIA INIT 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/0902@102.220.200.133 Standard INIT 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0902@102.220.200.133) State Change CS_INIT -> CS_ROUTING 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0902@102.220.200.133) State INIT going to sleep 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_ROUTING (Cur 1 Tot 5) 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_channel.c:2380 (sofia/default/0902@102.220.200.133) Callstate Change DOWN -> RINGING 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0902@102.220.200.133) State ROUTING 2022-06-30 13:03:06.839741 98.37% [DEBUG] mod_sofia.c:158 sofia/default/0902@102.220.200.133 SOFIA ROUTING 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/0902@102.220.200.133 Standard ROUTING 2022-06-30 13:03:06.839741 98.37% [INFO] mod_dialplan_xml.c:639 Processing 0902 <0902>->0000 in context default 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-06-30 13:03:06.839741 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0000 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0000' AND status=0 limit 1 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/0902@102.220.200.133 parsing [default->0000] continue=false Dialplan: sofia/default/0902@102.220.200.133 Regex (PASS) [0000] destination_number(0000) =~ /0000/ break=on-false Dialplan: sofia/default/0902@102.220.200.133 Action log(INFO ASTPP - Calling Card Call) Dialplan: sofia/default/0902@102.220.200.133 Action answer() Dialplan: sofia/default/0902@102.220.200.133 Action sleep(2000) Dialplan: sofia/default/0902@102.220.200.133 Action lua(astpp-callingcards.lua) 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:281 (sofia/default/0902@102.220.200.133) State Change CS_ROUTING -> CS_EXECUTE 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0902@102.220.200.133) State ROUTING going to sleep 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_EXECUTE (Cur 1 Tot 5) 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0902@102.220.200.133) State EXECUTE 2022-06-30 13:03:06.839741 98.37% [DEBUG] mod_sofia.c:213 sofia/default/0902@102.220.200.133 SOFIA EXECUTE 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_state_machine.c:323 sofia/default/0902@102.220.200.133 Standard EXECUTE EXECUTE [depth=0] sofia/default/0902@102.220.200.133 log(INFO ASTPP - Calling Card Call) 2022-06-30 13:03:06.839741 98.37% [INFO] mod_dptools.c:1879 ASTPP - Calling Card Call EXECUTE [depth=0] sofia/default/0902@102.220.200.133 answer() 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/0902@102.220.200.133] 102.220.200.133 port 19160 -> 102.220.201.145 port 16450 codec: 0 ms: 30 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 240 bytes per 30ms 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:9089 sofia/default/0902@102.220.200.133 Set 2833 dtmf send payload to 101 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:9096 sofia/default/0902@102.220.200.133 Set 2833 dtmf receive payload to 101 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_core_media.c:9119 sofia/default/0902@102.220.200.133 Set rtp dtmf delay to 40 2022-06-30 13:03:06.839741 98.37% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/0902@102.220.200.133: v=0 o=FreeSWITCH 1656564226 1656564227 IN IP4 102.220.200.133 s=FreeSWITCH c=IN IP4 102.220.200.133 t=0 0 m=audio 19160 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:30 a=sendrecv 2022-06-30 13:03:06.839741 98.37% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/0902@102.220.200.133] has been answered 2022-06-30 13:03:06.839741 98.37% [DEBUG] switch_channel.c:3950 (sofia/default/0902@102.220.200.133) Callstate Change RINGING -> ACTIVE 2022-06-30 13:03:06.839741 98.37% [DEBUG] sofia.c:7499 Channel sofia/default/0902@102.220.200.133 entering state [completed][200] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 sleep(2000) 2022-06-30 13:03:06.959796 98.30% [DEBUG] sofia.c:7499 Channel sofia/default/0902@102.220.200.133 entering state [ready][200] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 lua(astpp-callingcards.lua) 2022-06-30 13:03:08.859794 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') 2022-06-30 13:03:08.859794 98.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION 2022-06-30 13:03:08.859794 98.30% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/astpp-welcome.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:08.859794 98.30% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:08.919773 98.30% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2022-06-30 13:03:10.659804 98.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/astpp-welcome.wav 2022-06-30 13:03:10.659804 98.27% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:10.659804 98.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:13.659807 98.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav 2022-06-30 13:03:19.599781 98.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:1200 2022-06-30 13:03:19.599781 98.27% [INFO] switch_channel.c:527 RECV DTMF 6:1200 2022-06-30 13:03:20.199807 98.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:1440 2022-06-30 13:03:20.199807 98.23% [INFO] switch_channel.c:527 RECV DTMF 1:1440 2022-06-30 13:03:21.239800 98.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 7:1280 2022-06-30 13:03:21.239800 98.23% [INFO] switch_channel.c:527 RECV DTMF 7:1280 2022-06-30 13:03:21.599779 98.23% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:880 2022-06-30 13:03:21.599779 98.23% [INFO] switch_channel.c:527 RECV DTMF 1:880 2022-06-30 13:03:22.019804 98.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:960 2022-06-30 13:03:22.019804 98.20% [INFO] switch_channel.c:527 RECV DTMF 6:960 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:1120 2022-06-30 13:03:22.479802 98.20% [INFO] switch_channel.c:527 RECV DTMF #:1120 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 61716 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE number = "61716" AND status=0 AND deleted=0 limit 1 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-badaccount.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:22.479802 98.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:24.099794 98.20% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-badaccount.wav 2022-06-30 13:03:24.099794 98.20% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:24.099794 98.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:25.359805 98.30% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:1440 2022-06-30 13:03:25.359805 98.30% [INFO] switch_channel.c:527 RECV DTMF 6:1440 2022-06-30 13:03:25.359805 98.30% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-accountnum.wav 2022-06-30 13:03:26.159803 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 7:1840 2022-06-30 13:03:26.159803 98.37% [INFO] switch_channel.c:527 RECV DTMF 7:1840 2022-06-30 13:03:26.679802 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:1360 2022-06-30 13:03:26.679802 98.37% [INFO] switch_channel.c:527 RECV DTMF 1:1360 2022-06-30 13:03:27.579808 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:1440 2022-06-30 13:03:27.579808 98.37% [INFO] switch_channel.c:527 RECV DTMF 6:1440 2022-06-30 13:03:28.059804 98.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:1440 2022-06-30 13:03:28.059804 98.40% [INFO] switch_channel.c:527 RECV DTMF 8:1440 2022-06-30 13:03:28.439798 98.40% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:1280 2022-06-30 13:03:28.439798 98.40% [INFO] switch_channel.c:527 RECV DTMF 4:1280 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:1520 2022-06-30 13:03:29.519800 98.37% [INFO] switch_channel.c:527 RECV DTMF #:1520 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 671684 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT *,(select currencyrate from currency where id=currency_id) as currencyrate FROM accounts WHERE number = "671684" AND status=0 AND deleted=0 limit 1 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-pleasepin.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:29.519800 98.37% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:32.259791 98.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-pleasepin.wav 2022-06-30 13:03:36.619795 99.17% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 6:1440 2022-06-30 13:03:36.619795 99.17% [INFO] switch_channel.c:527 RECV DTMF 6:1440 2022-06-30 13:03:37.019803 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:1520 2022-06-30 13:03:37.019803 99.20% [INFO] switch_channel.c:527 RECV DTMF 3:1520 2022-06-30 13:03:37.439805 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:1360 2022-06-30 13:03:37.439805 99.20% [INFO] switch_channel.c:527 RECV DTMF 1:1360 2022-06-30 13:03:37.839806 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 4:1200 2022-06-30 13:03:37.839806 99.20% [INFO] switch_channel.c:527 RECV DTMF 4:1200 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:1200 2022-06-30 13:03:38.399792 99.20% [INFO] switch_channel.c:527 RECV DTMF #:1200 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] We recieved a pin : 6314 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2032-06-27 09:59:00' , '%Y%m%d%H%i%s') AS expiry 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [validate_card_usage] Query :SELECT DATE_FORMAT('2022-06-30 10:03:38' , '%Y%m%d%H%i%s') AS expiry 2022-06-30 13:03:38.399792 99.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 671684] 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:38.399792 99.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:39.719801 99.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav 2022-06-30 13:03:39.719801 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount First Part] Query :5000 2022-06-30 13:03:39.719801 99.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Play Amount Second Part] Query :00 EXECUTE [depth=0] sofia/default/0902@102.220.200.133 say(en number pronounced 5000) 2022-06-30 13:03:39.719801 99.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:40.959796 99.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/5.wav!digits/thousand.wav 2022-06-30 13:03:40.959796 99.23% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:40.959796 99.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:41.519803 99.23% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-point.wav EXECUTE [depth=0] sofia/default/0902@102.220.200.133 say(en number pronounced 00) 2022-06-30 13:03:41.519803 99.23% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:42.279795 99.20% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/0.wav 2022-06-30 13:03:42.319737 99.20% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:42.319737 99.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:46.019793 99.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-phonenum.wav 2022-06-30 13:03:46.479802 99.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 8:1760 2022-06-30 13:03:46.479802 99.27% [INFO] switch_channel.c:527 RECV DTMF 8:1760 2022-06-30 13:03:46.919803 99.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 1:1440 2022-06-30 13:03:46.919803 99.27% [INFO] switch_channel.c:527 RECV DTMF 1:1440 2022-06-30 13:03:47.379794 99.20% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 5:1520 2022-06-30 13:03:47.379794 99.20% [INFO] switch_channel.c:527 RECV DTMF 5:1520 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:1600 2022-06-30 13:03:48.059804 99.17% [INFO] switch_channel.c:527 RECV DTMF #:1600 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [CHECK_destination] Dialed destination number :815 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 19 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 671684 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 5000 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 5 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^815.*' OR blocked_patterns = '^81.*' OR blocked_patterns = '^8.*' OR blocked_patterns ='--') AND accountid = 19 limit 1 2022-06-30 13:03:48.059804 99.17% [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 = '^815.*' OR patterns = '^81.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 19 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction : 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^815.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 5 OR accountid=19) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 220.00000 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : Uganda 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 197 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 19 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 4 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-06-30 13:03:48.059804 99.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your5000 balance Accountid 19 !!! 2022-06-30 13:03:48.059804 99.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] 22 Minutes 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [SAY_TIMELIMIT] MINUTES 22 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:48.059804 99.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:49.259802 99.17% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-this-call-will-last.wav EXECUTE [depth=0] sofia/default/0902@102.220.200.133 say(en number pronounced 22) 2022-06-30 13:03:49.299728 99.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:50.379795 99.13% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/20.wav!digits/2.wav 2022-06-30 13:03:50.379795 99.13% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:50.379795 99.13% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:50.979822 99.10% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-minutes.wav 2022-06-30 13:03:50.979822 99.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^815.*' OR pattern = '^81.*' OR pattern = '^8.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^8.* 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Uganda 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^8.* 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Termination rate id : 4 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Gateway name : MTN 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 21 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] trunk_name : MTN 2022-06-30 13:03:51.019745 99.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================= EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(call_processed=internal) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_processed]=[internal] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(callstart=2022-06-30 10:03:51) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [callstart]=[2022-06-30 10:03:51] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(originated_destination_number=815) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [originated_destination_number]=[815] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(effective_destination_number=815) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [effective_destination_number]=[815] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(continue_on_fail=true) 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [continue_on_fail]=[true] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(hangup_after_bridge=true) 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(account_id=19) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_id]=[19] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(account_type=0) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [account_type]=[0] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(resellerid=0) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [resellerid]=[0] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(parent_id=0) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [parent_id]=[0] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(accountcode=671684) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [accountcode]=[671684] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(call_direction=outbound) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(calltype=CALLINGCARD) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [calltype]=[CALLINGCARD] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(origination_rates=ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [origination_rates]=[ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(execute_on_answer=sched_hangup +1320) 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [execute_on_answer]=[sched_hangup +1320] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(process_cdr=true) 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [process_cdr]=[true] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 sched_hangup(+1320) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_scheduler.c:263 Added task 5 switch_ivr_schedule_hangup (ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb) to run at 1656584751 2022-06-30 13:03:51.019745 99.10% [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 = 19 AND status=0 LIMIT 1 EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(original_caller_id_name=0902) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_name]=[0902] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(original_caller_id_number=0902) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [original_caller_id_number]=[0902] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(presence_data=x|||Dorcas(671684)|||^8.* // Uganda // 220.00000|||MTN // ^8.* // Uganda // 220.00000|||CC) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000|||MTN // ^8.* // Uganda // 220.00000|||CC] 2022-06-30 13:03:51.019745 99.10% [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 = 21) AND status=0 limit 1 EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(termination_rates=ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|TRUNK:4|PROVIDER:21) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [termination_rates]=[ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|TRUNK:4|PROVIDER:21] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(trunk_id=4) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [trunk_id]=[4] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(provider_id=21) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [provider_id]=[21] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 set(hangup_after_bridge=false) 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/0902@102.220.200.133 [hangup_after_bridge]=[false] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 export(absolute_codec_string=PCMA,PCMU,G729) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [absolute_codec_string]=[PCMA,PCMU,G729] EXECUTE [depth=0] sofia/default/0902@102.220.200.133 bridge([leg_timeout=0]sofia/gateway/MTN/815) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1954 (sofia/default/0902@102.220.200.133) Callstate Change ACTIVE -> RING_WAIT 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [call_processed]=[internal] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [callstart]=[2022-06-30 10:03:51] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [originated_destination_number]=[815] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [effective_destination_number]=[815] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [account_id]=[19] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [account_type]=[0] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [resellerid]=[0] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [parent_id]=[0] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [accountcode]=[671684] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [call_direction]=[outbound] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [calltype]=[CALLINGCARD] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [origination_rates]=[ID:12|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:220.00000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|CI:197|ACCID:19] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [original_caller_id_name]=[0902] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [original_caller_id_number]=[0902] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [presence_data]=[x|||Dorcas(671684)|||^8.* // Uganda // 220.00000|||MTN // ^8.* // Uganda // 220.00000|||CC] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [termination_rates]=[ID:8|CODE:^8.*|DESTINATION:Uganda|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:220.00000|INC:60|TRUNK:4|PROVIDER:21] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [trunk_id]=[4] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [provider_id]=[21] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:1269 sofia/default/0902@102.220.200.133 EXPORTING[export_vars] [absolute_codec_string]=[PCMA,PCMU,G729] to event 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2022-06-30 13:03:51.019745 99.10% [NOTICE] switch_channel.c:1123 New Channel sofia/default/815 [43a342ba-7994-42b4-be39-d19d41465dd6] 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_sofia.c:5121 (sofia/default/815) State Change CS_NEW -> CS_INIT 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_INIT (Cur 2 Tot 6) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/815) State INIT 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_sofia.c:97 sofia/default/815 SOFIA INIT 2022-06-30 13:03:51.019745 99.10% [INFO] sofia_glue.c:1651 sofia/default/815 sending invite call-id: (null) 2022-06-30 13:03:51.019745 99.10% [DEBUG] sofia_glue.c:1654 sofia/default/815 sending invite version: 1.10.7 -release-19-883d2cb662 64bit Local SDP: v=0 o=FreeSWITCH 1656555697 1656555698 IN IP4 102.220.200.133 s=FreeSWITCH c=IN IP4 102.220.200.133 t=0 0 m=audio 27734 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:40 sofia/default/815 Standard INIT 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:48 (sofia/default/815) State Change CS_INIT -> CS_ROUTING 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:624 (sofia/default/815) State INIT going to sleep 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_ROUTING (Cur 2 Tot 6) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/815) State ROUTING 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_sofia.c:158 sofia/default/815 SOFIA ROUTING 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_originate.c:67 (sofia/default/815) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:640 (sofia/default/815) State ROUTING going to sleep 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 6) 2022-06-30 13:03:51.019745 99.10% [DEBUG] sofia.c:7499 Channel sofia/default/815 entering state [calling][0] 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/815) State CONSUME_MEDIA 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:659 (sofia/default/815) State CONSUME_MEDIA going to sleep 2022-06-30 13:03:51.019745 99.10% [DEBUG] sofia.c:7499 Channel sofia/default/815 entering state [terminated][503] 2022-06-30 13:03:51.019745 99.10% [NOTICE] sofia.c:8738 Hangup sofia/default/815 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_HANGUP (Cur 2 Tot 6) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/815) Callstate Change DOWN -> HANGUP 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/815) State HANGUP 2022-06-30 13:03:51.019745 99.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/815 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/815 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/815) State HANGUP going to sleep 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/815) State Change CS_HANGUP -> CS_REPORTING 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/815) Running State Change CS_REPORTING (Cur 2 Tot 6) 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/815) State REPORTING 2022-06-30 13:03:51.019745 99.10% [INFO] mod_json_cdr.c:271 Process [43a342ba-7994-42b4-be39-d19d41465dd6.cdr.json] 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_channel.c:2178 (sofia/default/0902@102.220.200.133) Callstate Change RING_WAIT -> ACTIVE 2022-06-30 13:03:51.019745 99.10% [INFO] mod_dptools.c:3653 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-callingcard-menu.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:51.019745 99.10% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/815 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/815) State REPORTING going to sleep 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/815) State Change CS_REPORTING -> CS_DESTROY 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_session.c:1753 Session 6 (sofia/default/815) Locked, Waiting on external entities 2022-06-30 13:03:51.099780 99.10% [NOTICE] switch_core_session.c:1771 Session 6 (sofia/default/815) Ended 2022-06-30 13:03:51.099780 99.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/815 [CS_DESTROY] 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:735 (sofia/default/815) Running State Change CS_DESTROY (Cur 1 Tot 6) 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/815) State DESTROY 2022-06-30 13:03:51.099780 99.10% [DEBUG] mod_sofia.c:379 sofia/default/815 SOFIA DESTROY 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/815 Standard DESTROY 2022-06-30 13:03:51.099780 99.10% [DEBUG] switch_core_state_machine.c:745 (sofia/default/815) State DESTROY going to sleep 2022-06-30 13:03:57.179806 98.53% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-callingcard-menu.wav 2022-06-30 13:03:58.539794 98.27% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 3:1680 2022-06-30 13:03:58.539794 98.27% [INFO] switch_channel.c:527 RECV DTMF 3:1680 2022-06-30 13:03:58.539794 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: 3retries:0 2022-06-30 13:03:58.539794 98.27% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-goodbye.wav sample rate 16000 doesn't match requested rate 8000 2022-06-30 13:03:58.539794 98.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 30ms 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-goodbye.wav 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup 2022-06-30 13:03:59.339744 98.27% [NOTICE] switch_cpp.cpp:751 Hangup sofia/default/0902@102.220.200.133 [CS_EXECUTE] [NORMAL_CLEARING] 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: retries:1 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Got DTMF digits: retries:2 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:749 CoreSession::hangup 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_cpp.cpp:1209 sofia/default/0902@102.220.200.133 destroy/unlink session from object 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_session.c:2983 sofia/default/0902@102.220.200.133 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/0902@102.220.200.133) State EXECUTE going to sleep 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_HANGUP (Cur 1 Tot 6) 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0902@102.220.200.133) Callstate Change ACTIVE -> HANGUP 2022-06-30 13:03:59.339744 98.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0902@102.220.200.133) State HANGUP 2022-06-30 13:03:59.339744 98.27% [DEBUG] mod_sofia.c:462 sofia/default/0902@102.220.200.133 Overriding SIP cause 480 with 503 from the other leg 2022-06-30 13:03:59.339744 98.27% [DEBUG] mod_sofia.c:468 Channel sofia/default/0902@102.220.200.133 hanging up, cause: NORMAL_CLEARING 2022-06-30 13:03:59.359726 98.27% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/0902@102.220.200.133 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:59 sofia/default/0902@102.220.200.133 Standard HANGUP, cause: NORMAL_CLEARING 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0902@102.220.200.133) State HANGUP going to sleep 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0902@102.220.200.133) State Change CS_HANGUP -> CS_REPORTING 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0902@102.220.200.133) Running State Change CS_REPORTING (Cur 1 Tot 6) 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0902@102.220.200.133) State REPORTING 2022-06-30 13:03:59.359726 98.27% [INFO] mod_json_cdr.c:271 Process [ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb.cdr.json] 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:168 sofia/default/0902@102.220.200.133 Standard REPORTING, cause: NORMAL_CLEARING 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0902@102.220.200.133) State REPORTING going to sleep 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0902@102.220.200.133) State Change CS_REPORTING -> CS_DESTROY 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_session.c:1753 Session 5 (sofia/default/0902@102.220.200.133) Locked, Waiting on external entities 2022-06-30 13:03:59.359726 98.27% [NOTICE] switch_core_session.c:1771 Session 5 (sofia/default/0902@102.220.200.133) Ended 2022-06-30 13:03:59.359726 98.27% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/0902@102.220.200.133 [CS_DESTROY] 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0902@102.220.200.133) Running State Change CS_DESTROY (Cur 0 Tot 6) 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0902@102.220.200.133) State DESTROY 2022-06-30 13:03:59.359726 98.27% [DEBUG] mod_sofia.c:379 sofia/default/0902@102.220.200.133 SOFIA DESTROY 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:175 sofia/default/0902@102.220.200.133 Standard DESTROY 2022-06-30 13:03:59.359726 98.27% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0902@102.220.200.133) State DESTROY going to sleep 2022-06-30 13:03:59.519802 98.27% [DEBUG] switch_scheduler.c:147 Deleting task 5 switch_ivr_schedule_hangup (ed7a04f4-99f9-4c84-9fa1-7bb4c9b6aabb) freeswitch@pbx>