+OK log level [7] 2024-02-14 05:41:33.731622 98.67% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [6785555051@voice.wantok.vu] from ip 202.80.34.21 2024-02-14 05:42:06.031665 98.87% [WARNING] sofia_reg.c:1846 SIP auth challenge (REGISTER) on sofia profile 'default' for [6785555051@voice.wantok.vu] from ip 202.80.34.21 2024-02-14 05:42:32.151621 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/6785555051@voice.wantok.vu [aa09438b-4d37-43c0-9e52-edc387c21616] 2024-02-14 05:42:32.151621 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6785555051@voice.wantok.vu) Running State Change CS_NEW (Cur 1 Tot 55) 2024-02-14 05:42:32.151621 98.37% [INFO] sofia.c:10453 sofia/default/6785555051@voice.wantok.vu receiving invite from 202.80.34.21:64511 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: tJTmq9RRXB 2024-02-14 05:42:32.151621 98.37% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 202.80.34.21:0. 2024-02-14 05:42:32.151621 98.37% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [5324587@voice.wantok.vu] from ip 202.80.34.21 2024-02-14 05:42:32.151621 98.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6785555051@voice.wantok.vu) State NEW 2024-02-14 05:42:32.151621 98.37% [DEBUG] sofia.c:2419 detaching session aa09438b-4d37-43c0-9e52-edc387c21616 2024-02-14 05:42:32.331637 98.47% [DEBUG] sofia.c:2532 Re-attaching to session aa09438b-4d37-43c0-9e52-edc387c21616 2024-02-14 05:42:32.351565 98.47% [INFO] sofia.c:10453 sofia/default/6785555051@voice.wantok.vu receiving invite from 202.80.34.21:64511 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: tJTmq9RRXB 2024-02-14 05:42:32.351565 98.47% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 202.80.34.21:0. 2024-02-14 05:42:32.351565 98.47% [DEBUG] sofia.c:7487 Channel sofia/default/6785555051@voice.wantok.vu entering state [received][100] 2024-02-14 05:42:32.351565 98.47% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=6785555051 3168 57 IN IP4 202.80.34.21 s=Talk c=IN IP4 202.80.34.21 t=0 0 a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics m=audio 62814 RTP/AVP 96 97 98 0 8 18 101 99 100 a=rtpmap:96 opus/48000/2 a=fmtp:96 useinbandfec=1 a=rtpmap:97 speex/16000 a=fmtp:97 vbr=on a=rtpmap:98 speex/8000 a=fmtp:98 vbr=on a=fmtp:18 annexb=yes a=rtpmap:101 telephone-event/48000 a=rtpmap:99 telephone-event/16000 a=rtpmap:100 telephone-event/8000 a=rtcp-fb:* trr-int 1000 a=rtcp-fb:* ccm tmmbr 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMA:8:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMU:0:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@48000 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/6785555051@voice.wantok.vu PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/6785555051@voice.wantok.vu Original read codec set to PCMU:0 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 100@8000 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_media.c:5850 sofia/default/6785555051@voice.wantok.vu Set 2833 dtmf send payload to 100 recv payload to 100 2024-02-14 05:42:32.351565 98.47% [DEBUG] sofia.c:7921 (sofia/default/6785555051@voice.wantok.vu) State Change CS_NEW -> CS_INIT 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6785555051@voice.wantok.vu) Running State Change CS_INIT (Cur 1 Tot 55) 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6785555051@voice.wantok.vu) State INIT 2024-02-14 05:42:32.351565 98.47% [DEBUG] mod_sofia.c:97 sofia/default/6785555051@voice.wantok.vu SOFIA INIT 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/6785555051@voice.wantok.vu Standard INIT 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6785555051@voice.wantok.vu) State Change CS_INIT -> CS_ROUTING 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6785555051@voice.wantok.vu) State INIT going to sleep 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6785555051@voice.wantok.vu) Running State Change CS_ROUTING (Cur 1 Tot 55) 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_channel.c:2380 (sofia/default/6785555051@voice.wantok.vu) Callstate Change DOWN -> RINGING 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6785555051@voice.wantok.vu) State ROUTING 2024-02-14 05:42:32.351565 98.47% [DEBUG] mod_sofia.c:158 sofia/default/6785555051@voice.wantok.vu SOFIA ROUTING 2024-02-14 05:42:32.351565 98.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/6785555051@voice.wantok.vu Standard ROUTING 2024-02-14 05:42:32.351565 98.47% [INFO] mod_dialplan_xml.c:639 Processing 6785555051 <6785555051>->5324587 in context default 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 5324587 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER6785555051 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '5324587' limit 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 8700004 / 8700004 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-02-14 05:42:32.371550 98.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,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5324587" limit 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6785555051] 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6785555051" OR id = "6785555051") AND deleted = 0 limit 1 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^5324587.*' OR blocked_patterns = '^532458.*' OR blocked_patterns = '^53245.*' OR blocked_patterns = '^5324.*' OR blocked_patterns = '^532.*' OR blocked_patterns = '^53.*' OR blocked_patterns = '^5.*' OR blocked_patterns ='--') AND accountid = 51 limit 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [KCV config['did_allow_international_call'] : 0 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [KCV config['did_allow_international_call'] : 0 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [KV] INF FF 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [KV] INF FF 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [USERDIDINFO] Query :SELECT * FROM dids WHERE accountid = '51' AND status = 0 limit 1 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [COUNTRYCODEINFO] Query :SELECT * FROM countrycode WHERE id = '228 ' limit 1 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2024-02-14 05:42:32.371550 98.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 P.is_terminated = 0 AND (patterns = '^5324587.*' OR patterns = '^532458.*' OR patterns = '^53245.*' OR patterns = '^5324.*' OR patterns = '^532.*' OR patterns = '^53.*' OR patterns = '^5.*' OR patterns ='--') AND accountid = 51 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-02-14 05:42:32.371550 98.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 ="5324587" AND A.accountid = '51' limit 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 5324587 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-02-14 05:42:32.371550 98.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,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5324587" limit 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '5324587' OR number = '532458' OR number = '53245' OR number = '5324' OR number = '532' OR number = '53' OR number = '5' OR number ='--') OR (number = '5324587*' OR number = '532458*' OR number = '53245*' OR number = '5324*' OR number = '532*' OR number = '53*' OR number = '5*' OR number ='--') OR (number = '8700004' OR number = '870000' OR number = '87000' OR number = '8700' OR number = '870' OR number = '87' OR number = '8' OR number ='--') OR (number = '8700004*' OR number = '870000*' OR number = '87000*' OR number = '8700*' OR number = '870*' OR number = '87*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '5324587' OR routing_prefix = '532458' OR routing_prefix = '53245' OR routing_prefix = '5324' OR routing_prefix = '532' OR routing_prefix = '53' OR routing_prefix = '5' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Config : 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 51 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6785555051 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 855 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^5324587.*' OR pattern = '^532458.*' OR pattern = '^53245.*' OR pattern = '^5324.*' OR pattern = '^532.*' OR pattern = '^53.*' OR pattern = '^5.*' OR pattern ='--') AND (caller_id_pattern = '^8700004.*' OR caller_id_pattern = '^870000.*' OR caller_id_pattern = '^87000.*' OR caller_id_pattern = '^8700.*' OR caller_id_pattern = '^870.*' OR caller_id_pattern = '^87.*' OR caller_id_pattern = '^8.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=51) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 25.00000 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 6.00000 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Vanuatu-Digicel 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 228 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 51 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 1 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your855 balance Accountid 51 !!! 2024-02-14 05:42:32.371550 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-02-14 05:42:32.371550 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 4 2024-02-14 05:42:32.371550 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :1 2024-02-14 05:42:32.371550 98.47% [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 = '^5324587.*' OR pattern = '^532458.*' OR pattern = '^53245.*' OR pattern = '^5324.*' OR pattern = '^532.*' OR pattern = '^53.*' OR pattern = '^5.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,1),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^5.* 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Vanuatu-Digicel 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 3.00000 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^5.* 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : wtkgw 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 10 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-02-14 05:42:32.391557 98.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 = 51 AND status=0 LIMIT 1 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '6785555051' and status = 0 limit 1 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-14 05:42:32.391557 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-02-14 05:42:32.391557 98.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 accounts where id = 10) AND status=0 limit 1 2024-02-14 05:42:32.391557 98.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 = 1) AND status=0 limit 1 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6785555051" limit 1 2024-02-14 05:42:32.391557 98.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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="5324587" LIMIT 1 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/6785555051@voice.wantok.vu parsing [default->5324587] continue=false Dialplan: sofia/default/6785555051@voice.wantok.vu Regex (PASS) [5324587] destination_number(5324587) =~ /5324587/ break=on-false Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(effective_destination_number=5324587) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(notify_flag=0) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(notify_credit_limit=5.00000) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(type=0) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(callstart=2024-02-14 05:42:32) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(hangup_after_bridge=true) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(continue_on_fail=TRUE) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(account_id=51) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(parent_id=0) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(entity_id=0) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(call_processed=internal) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(call_direction=outbound) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(accountname=default) Dialplan: sofia/default/6785555051@voice.wantok.vu Action export(t38_passthru=true) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(fax_enable_t38=true) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(fax_enable_t38_request=true) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(origination_rates=ID:4|CODE:^5.*|DESTINATION:Vanuatu-Digicel|CONNECTIONCOST:25.00000|INCLUDEDSECONDS:0|CT:|COST:6.00000|INC:30|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:228|ACCID:51) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(original_caller_id_name=8700004) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(original_caller_id_number=8700004) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(effective_caller_id_name=8700004) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(effective_caller_id_number=8700004) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(calltype=STANDARD) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(termination_rates=ID:2|CODE:^5.*|DESTINATION:Vanuatu-Digicel|CONNECTIONCOST:3.00000|INCLUDEDSECONDS:0|COST:5.90000|INC:15|INITIALBLOCK:0|TRUNK:1|PROVIDER:10) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(trunk_id=1) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(provider_id=10) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(rate_flag=0) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(quality_trunk_seq=1) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(force_trunk_flag=4) Dialplan: sofia/default/6785555051@voice.wantok.vu Action export(presence_data=trunk_id=1) Dialplan: sofia/default/6785555051@voice.wantok.vu Action set(intcall=0) Dialplan: sofia/default/6785555051@voice.wantok.vu Action export(presence_id=5324587) Dialplan: sofia/default/6785555051@voice.wantok.vu Action export(presence_data=x|||Alfred(6785555051)|||^5.* // Vanuatu-Digicel // 6.00000 |||DigicelTrunk // ^5.* // Vanuatu-Digicel // 5.90000 // trunk_id=1|||STD|||202.80.34.21) Dialplan: sofia/default/6785555051@voice.wantok.vu Action bridge({sip_cid_type=rpid}[leg_timeout=30]sofia/gateway/wtkgw/5324587) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6785555051@voice.wantok.vu) State Change CS_ROUTING -> CS_EXECUTE 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6785555051@voice.wantok.vu) State ROUTING going to sleep 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6785555051@voice.wantok.vu) Running State Change CS_EXECUTE (Cur 1 Tot 55) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6785555051@voice.wantok.vu) State EXECUTE 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_sofia.c:213 sofia/default/6785555051@voice.wantok.vu SOFIA EXECUTE 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/6785555051@voice.wantok.vu Standard EXECUTE EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(effective_destination_number=5324587) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [effective_destination_number]=[5324587] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(bridge_pre_execute_bleg_app=sched_hangup) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(notify_flag=0) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [notify_flag]=[0] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(notify_credit_limit=5.00000) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [notify_credit_limit]=[5.00000] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(type=0) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [type]=[0] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(callstart=2024-02-14 05:42:32) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [callstart]=[2024-02-14 05:42:32] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(hangup_after_bridge=true) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(continue_on_fail=TRUE) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(account_id=51) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [account_id]=[51] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(parent_id=0) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [parent_id]=[0] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(entity_id=0) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [entity_id]=[0] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(call_processed=internal) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [call_processed]=[internal] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(call_direction=outbound) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(accountname=default) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [accountname]=[default] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu export(t38_passthru=true) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(fax_enable_t38=true) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [fax_enable_t38]=[true] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(fax_enable_t38_request=true) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [fax_enable_t38_request]=[true] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(origination_rates=ID:4|CODE:^5.*|DESTINATION:Vanuatu-Digicel|CONNECTIONCOST:25.00000|INCLUDEDSECONDS:0|CT:|COST:6.00000|INC:30|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:228|ACCID:51) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [origination_rates]=[ID:4|CODE:^5.*|DESTINATION:Vanuatu-Digicel|CONNECTIONCOST:25.00000|INCLUDEDSECONDS:0|CT:|COST:6.00000|INC:30|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:228|ACCID:51] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(original_caller_id_name=8700004) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [original_caller_id_name]=[8700004] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(original_caller_id_number=8700004) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [original_caller_id_number]=[8700004] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(effective_caller_id_name=8700004) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [effective_caller_id_name]=[8700004] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(effective_caller_id_number=8700004) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [effective_caller_id_number]=[8700004] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(calltype=STANDARD) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(termination_rates=ID:2|CODE:^5.*|DESTINATION:Vanuatu-Digicel|CONNECTIONCOST:3.00000|INCLUDEDSECONDS:0|COST:5.90000|INC:15|INITIALBLOCK:0|TRUNK:1|PROVIDER:10) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [termination_rates]=[ID:2|CODE:^5.*|DESTINATION:Vanuatu-Digicel|CONNECTIONCOST:3.00000|INCLUDEDSECONDS:0|COST:5.90000|INC:15|INITIALBLOCK:0|TRUNK:1|PROVIDER:10] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(trunk_id=1) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [trunk_id]=[1] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(provider_id=10) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [provider_id]=[10] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(rate_flag=0) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [rate_flag]=[0] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(daily_call_credit_limit=0.00000) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(monthly_call_credit_limit=0.00000) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(daily_call_used_limit=0.00000) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(monthly_call_used_limit=0.00000) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(quality_trunk_seq=1) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [quality_trunk_seq]=[1] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(force_trunk_flag=4) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [force_trunk_flag]=[4] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu export(presence_data=trunk_id=1) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu set(intcall=0) 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_dptools.c:1673 SET sofia/default/6785555051@voice.wantok.vu [intcall]=[0] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu export(presence_id=5324587) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[5324587] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu export(presence_data=x|||Alfred(6785555051)|||^5.* // Vanuatu-Digicel // 6.00000 |||DigicelTrunk // ^5.* // Vanuatu-Digicel // 5.90000 // trunk_id=1|||STD|||202.80.34.21) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Alfred(6785555051)|||^5.* // Vanuatu-Digicel // 6.00000 |||DigicelTrunk // ^5.* // Vanuatu-Digicel // 5.90000 // trunk_id=1|||STD|||202.80.34.21] EXECUTE [depth=0] sofia/default/6785555051@voice.wantok.vu bridge({sip_cid_type=rpid}[leg_timeout=30]sofia/gateway/wtkgw/5324587) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_channel.c:1269 sofia/default/6785555051@voice.wantok.vu EXPORTING[export_vars] [t38_passthru]=[true] to event 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_channel.c:1269 sofia/default/6785555051@voice.wantok.vu EXPORTING[export_vars] [presence_data]=[x|||Alfred(6785555051)|||^5.* // Vanuatu-Digicel // 6.00000 |||DigicelTrunk // ^5.* // Vanuatu-Digicel // 5.90000 // trunk_id=1|||STD|||202.80.34.21] to event 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_channel.c:1269 sofia/default/6785555051@voice.wantok.vu EXPORTING[export_vars] [presence_id]=[5324587] to event 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_channel.c:1269 sofia/default/6785555051@voice.wantok.vu EXPORTING[export_vars] [presence_data]=[x|||Alfred(6785555051)|||^5.* // Vanuatu-Digicel // 6.00000 |||DigicelTrunk // ^5.* // Vanuatu-Digicel // 5.90000 // trunk_id=1|||STD|||202.80.34.21] to event 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables 2024-02-14 05:42:32.391557 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5324587 [05fc86d7-dcff-4e64-a638-2fa418268a29] 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_sofia.c:5117 (sofia/default/5324587) State Change CS_NEW -> CS_INIT 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_ivr_originate.c:3161 sofia/default/5324587 Setting leg timeout to 30 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5324587) Running State Change CS_INIT (Cur 2 Tot 56) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5324587) State INIT 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_sofia.c:97 sofia/default/5324587 SOFIA INIT 2024-02-14 05:42:32.391557 98.47% [DEBUG] sofia_glue.c:1623 sip:103.36.145.12 Setting proxy route to sofia/default/5324587 2024-02-14 05:42:32.391557 98.47% [INFO] sofia_glue.c:1654 sofia/default/5324587 sending invite call-id: (null) 2024-02-14 05:42:32.391557 98.47% [DEBUG] sofia_glue.c:1657 sofia/default/5324587 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit Local SDP: v=0 o=FreeSWITCH 1707869220 1707869221 IN IP4 103.36.145.40 s=FreeSWITCH c=IN IP4 103.36.145.40 t=0 0 m=audio 20132 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/5324587 Standard INIT 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5324587) State Change CS_INIT -> CS_ROUTING 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5324587) State INIT going to sleep 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5324587) Running State Change CS_ROUTING (Cur 2 Tot 56) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5324587) State ROUTING 2024-02-14 05:42:32.391557 98.47% [DEBUG] mod_sofia.c:158 sofia/default/5324587 SOFIA ROUTING 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/5324587) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5324587) State ROUTING going to sleep 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5324587) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 56) 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5324587) State CONSUME_MEDIA 2024-02-14 05:42:32.391557 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5324587) State CONSUME_MEDIA going to sleep 2024-02-14 05:42:32.391557 98.47% [DEBUG] sofia.c:7487 Channel sofia/default/5324587 entering state [calling][0] 2024-02-14 05:42:36.351641 99.20% [DEBUG] sofia.c:7487 Channel sofia/default/5324587 entering state [proceeding][183] 2024-02-14 05:42:36.351641 99.20% [DEBUG] sofia.c:7497 Remote SDP: v=0 o=root 518312719 518312719 IN IP4 103.36.145.12 s=Asterisk PBX 16.7.0 c=IN IP4 103.36.145.12 t=0 0 m=audio 17438 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2024-02-14 05:42:36.351641 99.20% [NOTICE] sofia.c:7500 Pre-Answer sofia/default/5324587! 2024-02-14 05:42:36.351641 99.20% [DEBUG] switch_channel.c:3566 (sofia/default/5324587) Callstate Change DOWN -> EARLY 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/5324587 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_codec.c:111 sofia/default/5324587 Original read codec set to PCMU:0 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:5850 sofia/default/5324587 Set 2833 dtmf send payload to 101 recv payload to 101 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/5324587] 103.36.145.40 port 20132 -> 103.36.145.12 port 17438 codec: 0 ms: 20 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:8963 sofia/default/5324587 Set 2833 dtmf send payload to 101 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:8970 sofia/default/5324587 Set 2833 dtmf receive payload to 101 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:8993 sofia/default/5324587 Set rtp dtmf delay to 40 2024-02-14 05:42:36.371555 99.20% [INFO] switch_ivr_originate.c:3851 Sending early media 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/6785555051@voice.wantok.vu] 103.36.145.40 port 19942 -> 202.80.34.21 port 62814 codec: 0 ms: 20 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:8963 sofia/default/6785555051@voice.wantok.vu Set 2833 dtmf send payload to 100 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:8970 sofia/default/6785555051@voice.wantok.vu Set 2833 dtmf receive payload to 100 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_media.c:8993 sofia/default/6785555051@voice.wantok.vu Set rtp dtmf delay to 40 2024-02-14 05:42:36.371555 99.20% [DEBUG] mod_sofia.c:2609 Ring SDP: v=0 o=FreeSWITCH 1707869414 1707869415 IN IP4 103.36.145.40 s=FreeSWITCH c=IN IP4 103.36.145.40 t=0 0 m=audio 19942 RTP/AVP 0 100 a=rtpmap:0 PCMU/8000 a=rtpmap:100 telephone-event/8000 a=fmtp:100 0-15 a=ptime:20 a=sendrecv 2024-02-14 05:42:36.371555 99.20% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/6785555051@voice.wantok.vu! 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_channel.c:3566 (sofia/default/6785555051@voice.wantok.vu) Callstate Change RINGING -> EARLY 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/5324587] Peer UUID: 05fc86d7-dcff-4e64-a638-2fa418268a29 2024-02-14 05:42:36.371555 99.20% [DEBUG] sofia.c:7487 Channel sofia/default/6785555051@voice.wantok.vu entering state [early][183] 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/5324587) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5324587) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 56) 2024-02-14 05:42:36.371555 99.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/5324587) State EXCHANGE_MEDIA 2024-02-14 05:42:36.371555 99.20% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2024-02-14 05:42:36.571555 99.20% [DEBUG] switch_ivr_bridge.c:654 sofia/default/5324587 Bridge execute app sched_hangup(+6000 normal_clearing) 2024-02-14 05:42:36.591602 99.20% [DEBUG] switch_ivr.c:632 sofia/default/5324587 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/default/5324587 sched_hangup(+6000 normal_clearing) 2024-02-14 05:42:36.591602 99.20% [DEBUG] switch_scheduler.c:263 Added task 22 switch_ivr_schedule_hangup (05fc86d7-dcff-4e64-a638-2fa418268a29) to run at 1707895356 2024-02-14 05:42:36.771575 99.20% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed. 2024-02-14 05:42:37.011574 99.20% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed. 2024-02-14 05:42:53.971569 99.57% [INFO] sofia.c:1348 sofia/default/5324587 Update Callee ID to "5324587" <5324587> 2024-02-14 05:42:53.971569 99.57% [DEBUG] sofia.c:7487 Channel sofia/default/5324587 entering state [completing][200] 2024-02-14 05:42:53.971569 99.57% [DEBUG] sofia.c:7494 Duplicate SDP v=0 o=root 518312719 518312719 IN IP4 103.36.145.12 s=Asterisk PBX 16.7.0 c=IN IP4 103.36.145.12 t=0 0 m=audio 17438 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2024-02-14 05:42:53.991583 99.57% [DEBUG] sofia.c:7487 Channel sofia/default/5324587 entering state [ready][200] 2024-02-14 05:42:53.991583 99.57% [NOTICE] sofia.c:8616 Channel [sofia/default/5324587] has been answered 2024-02-14 05:42:53.991583 99.57% [DEBUG] switch_channel.c:3893 (sofia/default/5324587) Callstate Change EARLY -> ACTIVE 2024-02-14 05:42:53.991583 99.57% [DEBUG] switch_core_media.c:8633 Audio params are unchanged for sofia/default/6785555051@voice.wantok.vu. 2024-02-14 05:42:53.991583 99.57% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/6785555051@voice.wantok.vu: v=0 o=FreeSWITCH 1707869414 1707869416 IN IP4 103.36.145.40 s=FreeSWITCH c=IN IP4 103.36.145.40 t=0 0 m=audio 19942 RTP/AVP 0 100 a=rtpmap:0 PCMU/8000 a=rtpmap:100 telephone-event/8000 a=fmtp:100 0-15 a=ptime:20 a=sendrecv 2024-02-14 05:42:53.991583 99.57% [NOTICE] switch_ivr_bridge.c:730 Channel [sofia/default/6785555051@voice.wantok.vu] has been answered 2024-02-14 05:42:53.991583 99.57% [DEBUG] switch_channel.c:3893 (sofia/default/6785555051@voice.wantok.vu) Callstate Change EARLY -> ACTIVE 2024-02-14 05:42:53.991583 99.57% [DEBUG] sofia.c:7487 Channel sofia/default/6785555051@voice.wantok.vu entering state [completed][200] 2024-02-14 05:42:54.051606 99.57% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed. 2024-02-14 05:42:54.111572 99.57% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed. 2024-02-14 05:42:54.231572 99.57% [DEBUG] sofia.c:7487 Channel sofia/default/6785555051@voice.wantok.vu entering state [ready][200]