2024-07-12 10:54:26.070284 99.40% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [21ae9fbc-e538-4a8a-801e-9fbfc9d3c016]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Running State Change CS_NEW (Cur 3 Tot 7644)
2024-07-12 10:54:26.070284 99.40% [INFO] sofia.c:10462 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 1336992381@192.168.3.50
2024-07-12 10:54:26.070284 99.40% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
2024-07-12 10:54:26.070284 99.40% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
2024-07-12 10:54:26.070284 99.40% [DEBUG] sofia.c:7499 Channel sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za entering state [received][100]
2024-07-12 10:54:26.070284 99.40% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=- 20027 20027 IN IP4 102.220.234.128
s=SDP data
c=IN IP4 102.220.234.128
t=0 0
m=audio 11790 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=oldoip:192.168.3.50
a=oldcip:192.168.3.50
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za G729/8000 20 ms 160 samples 8000 bits 1 channels
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_codec.c:111 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Original read codec set to G729:18
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_media.c:5973 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101 recv payload to 101
2024-07-12 10:54:26.070284 99.40% [DEBUG] sofia.c:7933 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State Change CS_NEW -> CS_INIT
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State NEW
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Running State Change CS_INIT (Cur 3 Tot 7644)
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State INIT
2024-07-12 10:54:26.070284 99.40% [DEBUG] mod_sofia.c:97 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za SOFIA INIT
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Standard INIT
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State Change CS_INIT -> CS_ROUTING
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State INIT going to sleep
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Running State Change CS_ROUTING (Cur 3 Tot 7644)
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_channel.c:2380 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Callstate Change DOWN -> RINGING
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State ROUTING
2024-07-12 10:54:26.070284 99.40% [DEBUG] mod_sofia.c:158 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za SOFIA ROUTING
2024-07-12 10:54:26.070284 99.40% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Standard ROUTING
2024-07-12 10:54:26.070284 99.40% [INFO] mod_dialplan_xml.c:639 Processing 27876303962 <27876303962>->0740451462 in context default
2024-07-12 10:54:26.130279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-07-12 10:54:26.170291 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-07-12 10:54:26.170291 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
2024-07-12 10:54:26.170291 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-12 10:54:26.190284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0740451462' AND status=0 limit 1
2024-07-12 10:54:26.190284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876303962
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0740451462' limit 1
2024-07-12 10:54:26.190284 99.40% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2024-07-12 10:54:26.190284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 27876303962 / 27876303962
2024-07-12 10:54:26.190284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
2024-07-12 10:54:26.190284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-07-12 10:54:26.190284 99.40% [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 ="27740451462" LIMIT 1
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-12 10:54:26.190284 99.40% [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="0740451462" limit 1
2024-07-12 10:54:26.190284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-07-12 10:54:26.190284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 102.220.234.128
2024-07-12 10:54:26.190284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2234402741]
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "2234402741" OR id = "2234402741") AND deleted = 0 limit 1
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0740451462.*' OR blocked_patterns = '^074045146.*' OR blocked_patterns = '^07404514.*' OR blocked_patterns = '^0740451.*' OR blocked_patterns = '^074045.*' OR blocked_patterns = '^07404.*' OR blocked_patterns = '^0740.*' OR blocked_patterns = '^074.*' OR blocked_patterns = '^07.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 453 limit 1
2024-07-12 10:54:26.190284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
2024-07-12 10:54:26.190284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27740451462" AND (accountid = 0 OR status = 1) LIMIT 1
2024-07-12 10:54:26.190284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 55 AND status=0 limit 1
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0740451462
2024-07-12 10:54:26.190284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
2024-07-12 10:54:26.190284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
2024-07-12 10:54:26.190284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27740451462
2024-07-12 10:54:26.190284 99.40% [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 = '^27740451462.*' OR patterns = '^2774045146.*' OR patterns = '^277404514.*' OR patterns = '^27740451.*' OR patterns = '^2774045.*' OR patterns = '^277404.*' OR patterns = '^27740.*' OR patterns = '^2774.*' OR patterns = '^277.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 453 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 699
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 257
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 257 AND status = 0
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product :
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 1 Call Direction : outbound [0:inbound,1:outbound,2:both]
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters WHERE accountid = 453 AND package_id = 699 AND status=1 LIMIT 1
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 3
2024-07-12 10:54:26.210279 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Package Id : 699
2024-07-12 10:54:26.210279 99.40% [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 ="27740451462" AND A.accountid = '453' limit 1
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27740451462
2024-07-12 10:54:26.210279 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-07-12 10:54:26.210279 99.40% [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 ="27740451462" LIMIT 1
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-12 10:54:26.210279 99.40% [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="27740451462" limit 1
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-07-12 10:54:26.210279 99.40% [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 = '27740451462' OR number = '2774045146' OR number = '277404514' OR number = '27740451' OR number = '2774045' OR number = '277404' OR number = '27740' OR number = '2774' OR number = '277' OR number = '27' OR number = '2' OR number ='--') OR (number = '27740451462*' OR number = '2774045146*' OR number = '277404514*' OR number = '27740451*' OR number = '2774045*' OR number = '277404*' OR number = '27740*' OR number = '2774*' OR number = '277*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876303962' OR number = '2787630396' OR number = '278763039' OR number = '27876303' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876303962*' OR number = '2787630396*' OR number = '278763039*' OR number = '27876303*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876303962
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876303962' and accountid = "453" and status=0
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :1
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27740451462' OR routing_prefix = '2774045146' OR routing_prefix = '277404514' OR routing_prefix = '27740451' OR routing_prefix = '2774045' OR routing_prefix = '277404' OR routing_prefix = '27740' OR routing_prefix = '2774' OR routing_prefix = '277' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 449 limit 1
2024-07-12 10:54:26.210279 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (27740451462)!!!!
2024-07-12 10:54:26.210279 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (27740451462)!!!!
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 453
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2234402741
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 5
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 187
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27740451462.*' OR pattern = '^2774045146.*' OR pattern = '^277404514.*' OR pattern = '^27740451.*' OR pattern = '^2774045.*' OR pattern = '^277404.*' OR pattern = '^27740.*' OR pattern = '^2774.*' OR pattern = '^277.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876303962.*' OR caller_id_pattern = '^2787630396.*' OR caller_id_pattern = '^278763039.*' OR caller_id_pattern = '^27876303.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 187 OR accountid=453) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16333371
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.6900000000
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Cellc Mobile
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 453
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-07-12 10:54:26.210279 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your5 balance Accountid 453 !!!
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 2.8985507246377
2024-07-12 10:54:26.210279 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 449
2024-07-12 10:54:26.210279 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "449" OR number = "449") AND deleted = 0 limit 1
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27740451462.*' OR blocked_patterns = '^2774045146.*' OR blocked_patterns = '^277404514.*' OR blocked_patterns = '^27740451.*' OR blocked_patterns = '^2774045.*' OR blocked_patterns = '^277404.*' OR blocked_patterns = '^27740.*' OR blocked_patterns = '^2774.*' OR blocked_patterns = '^277.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 449 limit 1
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 449
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3780484589
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 6.4157
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 207
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 207 AND status = 0
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 207 AND status = 0
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27740451462.*' OR pattern = '^2774045146.*' OR pattern = '^277404514.*' OR pattern = '^27740451.*' OR pattern = '^2774045.*' OR pattern = '^277404.*' OR pattern = '^27740.*' OR pattern = '^2774.*' OR pattern = '^277.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876303962.*' OR caller_id_pattern = '^2787630396.*' OR caller_id_pattern = '^278763039.*' OR caller_id_pattern = '^27876303.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 207 OR accountid=449) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 18405733
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.5310000000
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Cellc Mobile
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 449
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your6.4157 balance Accountid 449 !!!
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Monthly call credit limit : 4.54934086629
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:16333371|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.6900000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:453||ID:18405733|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5310000000|INC:1|INITIALBLOCK:1|RATEGROUP:207|MARKUP:0|CI:0|ACCID:449
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 3 minutes
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 16333371
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :97
2024-07-12 10:54:26.230284 99.40% [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 = '^27740451462.*' OR pattern = '^2774045146.*' OR pattern = '^277404514.*' OR pattern = '^27740451.*' OR pattern = '^2774045.*' OR pattern = '^277404.*' OR pattern = '^27740.*' OR pattern = '^2774.*' OR pattern = '^277.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (97) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,97),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4152471
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2774.*
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : RSA Cellc Mobile
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2774.*
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 97
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Goldtel
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Goldtel
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 159
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-07-12 10:54:26.230284 99.40% [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 = 453 AND status=0 LIMIT 1
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 3
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876303962' and status = 0 limit 1
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-12 10:54:26.230284 99.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 207 AND status = 0
2024-07-12 10:54:26.230284 99.40% [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 = 159) AND status=0 limit 1
2024-07-12 10:54:26.230284 99.40% [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 = 97) AND status=0 limit 1
2024-07-12 10:54:26.230284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
2024-07-12 10:54:26.230284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
2024-07-12 10:54:26.230284 99.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-07-12 10:54:26.230284 99.40% [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 ="27740451462" LIMIT 1
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="27740451462">
<condition field="destination_number" expression="0740451462">
<action application="set" data="effective_destination_number=27740451462"/>
<action application="set" data="execute_on_answer_1=sched_hangup +180 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=1.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2024-07-12 10:54:26"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=453"/>
<action application="set" data="parent_id=449"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="package_id=699"/>
<action application="set" data="origination_rates=ID:16333371|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.6900000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:453||ID:18405733|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5310000000|INC:1|INITIALBLOCK:1|RATEGROUP:207|MARKUP:0|CI:0|ACCID:449"/>
<action application="set" data="original_caller_id_name=27876303962"/>
<action application="set" data="original_caller_id_number=27876303962"/>
<action application="limit" data="db 2234402741 user_2234402741 2 "/>
<action application="limit" data="db 3780484589 user_3780484589 5 "/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="effective_caller_id_name=27876303962"/>
<action application="set" data="effective_caller_id_number=27876303962"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:4152471|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1600000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159"/>
<action application="set" data="trunk_id=97"/>
<action application="set" data="provider_id=159"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="daily_call_credit_limit=5.00000"/>
<action application="set" data="monthly_call_credit_limit=6.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=3.58430"/>
<action application="set" data="quality_trunk_seq=97"/>
<action application="set" data="force_trunk_flag=16333371"/>
<action application="export" data="presence_data=trunk_id=97"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=27740451462"/>
<action application="export" data="presence_data=x//449|||AnywhereCustomerTen(2234402741)|||^2774.* // RSA Cellc Mobile // 0.6900000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||102.220.234.128|||0.5310000000 // ^2774.* // RSA Cellc Mobile"/>
<action application="limit" data="db Goldtel gw_Goldtel 20 "/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27740451462;fs_path=sip:102.220.232.100:5060"/>
</condition>
</extension>
</context>
</document>
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za parsing [default->27740451462] continue=false
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Regex (PASS) [27740451462] destination_number(0740451462) =~ /0740451462/ break=on-false
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(effective_destination_number=27740451462)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(execute_on_answer_1=sched_hangup +180 normal_clearing)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(notify_flag=0)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(notify_credit_limit=1.00000)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(type=0)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(callstart=2024-07-12 10:54:26)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(hangup_after_bridge=true)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(account_id=453)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(parent_id=449)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(entity_id=0)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(call_processed=internal)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(call_direction=outbound)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(accountname=default)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(package_id=699)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(origination_rates=ID:16333371|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.6900000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:453||ID:18405733|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5310000000|INC:1|INITIALBLOCK:1|RATEGROUP:207|MARKUP:0|CI:0|ACCID:449)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(original_caller_id_name=27876303962)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(original_caller_id_number=27876303962)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action limit(db 2234402741 user_2234402741 2 )
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action limit(db 3780484589 user_3780484589 5 )
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action export(is_recording=1)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action export(media_bug_answer_req=true)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action export(record_sample_rate=8000)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(effective_caller_id_name=27876303962)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(effective_caller_id_number=27876303962)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(calltype=STANDARD)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(termination_rates=ID:4152471|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1600000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(trunk_id=97)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(provider_id=159)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(rate_flag=0)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(daily_call_credit_limit=5.00000)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(monthly_call_credit_limit=6.00000)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(monthly_call_used_limit=3.58430)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(quality_trunk_seq=97)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(force_trunk_flag=16333371)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action export(presence_data=trunk_id=97)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action set(intcall=0)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action export(presence_id=27740451462)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action export(presence_data=x//449|||AnywhereCustomerTen(2234402741)|||^2774.* // RSA Cellc Mobile // 0.6900000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||102.220.234.128|||0.5310000000 // ^2774.* // RSA Cellc Mobile)
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action limit(db Goldtel gw_Goldtel 20 )
Dialplan: sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27740451462;fs_path=sip:102.220.232.100:5060)
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State Change CS_ROUTING -> CS_EXECUTE
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State ROUTING going to sleep
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Running State Change CS_EXECUTE (Cur 3 Tot 7644)
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State EXECUTE
2024-07-12 10:54:26.230284 99.40% [DEBUG] mod_sofia.c:213 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za SOFIA EXECUTE
2024-07-12 10:54:26.230284 99.40% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Standard EXECUTE
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(effective_destination_number=27740451462)
2024-07-12 10:54:26.230284 99.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [effective_destination_number]=[27740451462]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(execute_on_answer_1=sched_hangup +180 normal_clearing)
2024-07-12 10:54:26.230284 99.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [execute_on_answer_1]=[sched_hangup +180 normal_clearing]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(notify_flag=0)
2024-07-12 10:54:26.230284 99.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(notify_credit_limit=1.00000)
2024-07-12 10:54:26.230284 99.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [notify_credit_limit]=[1.00000]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(type=0)
2024-07-12 10:54:26.230284 99.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [type]=[0]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(callstart=2024-07-12 10:54:26)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [callstart]=[2024-07-12 10:54:26]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(hangup_after_bridge=true)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(continue_on_fail=TRUE)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(account_id=453)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [account_id]=[453]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(parent_id=449)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [parent_id]=[449]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(entity_id=0)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [entity_id]=[0]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(call_processed=internal)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(call_direction=outbound)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(accountname=default)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [accountname]=[default]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(package_id=699)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [package_id]=[699]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(origination_rates=ID:16333371|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.6900000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:453||ID:18405733|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5310000000|INC:1|INITIALBLOCK:1|RATEGROUP:207|MARKUP:0|CI:0|ACCID:449)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [origination_rates]=[ID:16333371|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.6900000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:453||ID:18405733|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.5310000000|INC:1|INITIALBLOCK:1|RATEGROUP:207|MARKUP:0|CI:0|ACCID:449]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(original_caller_id_name=27876303962)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [original_caller_id_name]=[27876303962]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(original_caller_id_number=27876303962)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [original_caller_id_number]=[27876303962]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za limit(db 2234402741 user_2234402741 2 )
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_limit.c:124 incr called: 2234402741_user_2234402741 max:2, interval:0
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_db.c:194 Usage for 2234402741_user_2234402741 is now 1/2
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za limit(db 3780484589 user_3780484589 5 )
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_limit.c:124 incr called: 3780484589_user_3780484589 max:5, interval:0
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_db.c:194 Usage for 3780484589_user_3780484589 is now 1/5
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za export(is_recording=1)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za export(media_bug_answer_req=true)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za export(record_sample_rate=8000)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/21ae9fbc-e538-4a8a-801e-9fbfc9d3c016.wav)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/21ae9fbc-e538-4a8a-801e-9fbfc9d3c016.wav]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(effective_caller_id_name=27876303962)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [effective_caller_id_name]=[27876303962]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(effective_caller_id_number=27876303962)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [effective_caller_id_number]=[27876303962]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(calltype=STANDARD)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(termination_rates=ID:4152471|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1600000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [termination_rates]=[ID:4152471|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1600000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(trunk_id=97)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [trunk_id]=[97]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(provider_id=159)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [provider_id]=[159]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(rate_flag=0)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(daily_call_credit_limit=5.00000)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [daily_call_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(monthly_call_credit_limit=6.00000)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [monthly_call_credit_limit]=[6.00000]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(daily_call_used_limit=0.00000)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(monthly_call_used_limit=3.58430)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [monthly_call_used_limit]=[3.58430]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(quality_trunk_seq=97)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [quality_trunk_seq]=[97]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(force_trunk_flag=16333371)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [force_trunk_flag]=[16333371]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za export(presence_data=trunk_id=97)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=97]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za set(intcall=0)
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [intcall]=[0]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za export(presence_id=27740451462)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[27740451462]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za export(presence_data=x//449|||AnywhereCustomerTen(2234402741)|||^2774.* // RSA Cellc Mobile // 0.6900000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||102.220.234.128|||0.5310000000 // ^2774.* // RSA Cellc Mobile)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//449|||AnywhereCustomerTen(2234402741)|||^2774.* // RSA Cellc Mobile // 0.6900000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||102.220.234.128|||0.5310000000 // ^2774.* // RSA Cellc Mobile]
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za limit(db Goldtel gw_Goldtel 20 )
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_limit.c:124 incr called: Goldtel_gw_Goldtel max:20, interval:0
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_db.c:194 Usage for Goldtel_gw_Goldtel is now 2/20
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27740451462;fs_path=sip:102.220.232.100:5060)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1269 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [is_recording]=[1] to event
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1269 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1269 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1269 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/21ae9fbc-e538-4a8a-801e-9fbfc9d3c016.wav] to event
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1269 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [presence_data]=[x//449|||AnywhereCustomerTen(2234402741)|||^2774.* // RSA Cellc Mobile // 0.6900000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||102.220.234.128|||0.5310000000 // ^2774.* // RSA Cellc Mobile] to event
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1269 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [presence_id]=[27740451462] to event
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_channel.c:1269 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za EXPORTING[export_vars] [presence_data]=[x//449|||AnywhereCustomerTen(2234402741)|||^2774.* // RSA Cellc Mobile // 0.6900000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||102.220.234.128|||0.5310000000 // ^2774.* // RSA Cellc Mobile] to event
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2024-07-12 10:54:26.250284 99.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27740451462 [c1a5130a-b0e7-4ce7-97ef-80112600dda4]
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_sofia.c:5121 (sofia/default/27740451462) State Change CS_NEW -> CS_INIT
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_INIT (Cur 4 Tot 7645)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27740451462) State INIT
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_sofia.c:97 sofia/default/27740451462 SOFIA INIT
2024-07-12 10:54:26.250284 99.37% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100 Setting proxy route to sofia/default/27740451462
2024-07-12 10:54:26.250284 99.37% [INFO] sofia_glue.c:1651 sofia/default/27740451462 sending invite call-id: (null)
2024-07-12 10:54:26.250284 99.37% [DEBUG] sofia_glue.c:1654 sofia/default/27740451462 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1720748972 1720748973 IN IP4 102.220.232.19
s=FreeSWITCH
c=IN IP4 102.220.232.19
t=0 0
m=audio 32694 RTP/AVP 8 0 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/27740451462 Standard INIT
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27740451462) State Change CS_INIT -> CS_ROUTING
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27740451462) State INIT going to sleep
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_ROUTING (Cur 4 Tot 7645)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27740451462) State ROUTING
2024-07-12 10:54:26.250284 99.37% [DEBUG] mod_sofia.c:158 sofia/default/27740451462 SOFIA ROUTING
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27740451462) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27740451462) State ROUTING going to sleep
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 7645)
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27740451462) State CONSUME_MEDIA
2024-07-12 10:54:26.250284 99.37% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27740451462) State CONSUME_MEDIA going to sleep
2024-07-12 10:54:26.250284 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27740451462 entering state [calling][0]
2024-07-12 10:54:30.250284 99.37% [INFO] sofia.c:1348 sofia/default/27740451462 Update Callee ID to "Outbound Call" <27740451462>
2024-07-12 10:54:30.250284 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27740451462 entering state [proceeding][183]
2024-07-12 10:54:30.250284 99.37% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=FreeSWITCH 1720752748 1720752749 IN IP4 196.31.25.87
s=FreeSWITCH
c=IN IP4 196.31.25.87
t=0 0
m=audio 28920 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2024-07-12 10:54:30.250284 99.37% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/27740451462!
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_channel.c:3622 (sofia/default/27740451462) Callstate Change DOWN -> EARLY
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27740451462 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_codec.c:111 sofia/default/27740451462 Original read codec set to PCMA:8
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:5973 sofia/default/27740451462 Set 2833 dtmf send payload to 101 recv payload to 101
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27740451462] 102.220.232.19 port 32694 -> 196.31.25.87 port 28920 codec: 8 ms: 20
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:9089 sofia/default/27740451462 Set 2833 dtmf send payload to 101
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:9096 sofia/default/27740451462 Set 2833 dtmf receive payload to 101
2024-07-12 10:54:30.250284 99.37% [DEBUG] switch_core_media.c:9119 sofia/default/27740451462 Set rtp dtmf delay to 40
2024-07-12 10:54:30.270286 99.37% [INFO] switch_ivr_originate.c:3841 Sending early media
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za] 102.220.232.19 port 31928 -> 102.220.234.128 port 11790 codec: 18 ms: 20
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_core_media.c:9089 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf send payload to 101
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_core_media.c:9096 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Set 2833 dtmf receive payload to 101
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_core_media.c:9119 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Set rtp dtmf delay to 40
2024-07-12 10:54:30.270286 99.37% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1720749742 1720749743 IN IP4 102.220.232.19
s=FreeSWITCH
c=IN IP4 102.220.232.19
t=0 0
m=audio 31928 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2024-07-12 10:54:30.270286 99.37% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za!
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_channel.c:3622 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Callstate Change RINGING -> EARLY
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27740451462] Peer UUID: c1a5130a-b0e7-4ce7-97ef-80112600dda4
2024-07-12 10:54:30.270286 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za entering state [early][183]
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27740451462) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 7645)
2024-07-12 10:54:30.270286 99.37% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27740451462) State EXCHANGE_MEDIA
2024-07-12 10:54:30.270286 99.37% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2024-07-12 10:54:30.390288 99.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2024-07-12 10:54:31.030285 99.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2024-07-12 10:54:33.310279 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27740451462 entering state [completing][200]
2024-07-12 10:54:33.310279 99.47% [DEBUG] sofia.c:7506 Duplicate SDP
v=0
o=FreeSWITCH 1720752748 1720752749 IN IP4 196.31.25.87
s=FreeSWITCH
c=IN IP4 196.31.25.87
t=0 0
m=audio 28920 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2024-07-12 10:54:33.330286 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27740451462 entering state [ready][200]
2024-07-12 10:54:33.330286 99.47% [NOTICE] sofia.c:8624 Channel [sofia/default/27740451462] has been answered
EXECUTE [depth=0] sofia/default/27740451462 record_session(/usr/local/freeswitch/recordings/21ae9fbc-e538-4a8a-801e-9fbfc9d3c016.wav)
2024-07-12 10:54:33.350297 99.47% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
2024-07-12 10:54:33.350297 99.47% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27740451462
2024-07-12 10:54:33.350297 99.47% [DEBUG] switch_channel.c:3950 (sofia/default/27740451462) Callstate Change EARLY -> ACTIVE
2024-07-12 10:54:33.350297 99.47% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za.
2024-07-12 10:54:33.350297 99.47% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za:
v=0
o=FreeSWITCH 1720749742 1720749744 IN IP4 102.220.232.19
s=FreeSWITCH
c=IN IP4 102.220.232.19
t=0 0
m=audio 31928 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2024-07-12 10:54:33.350297 99.47% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za] has been answered
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za sched_hangup(+180 normal_clearing)
2024-07-12 10:54:33.350297 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za entering state [completed][200]
2024-07-12 10:54:33.350297 99.47% [DEBUG] switch_scheduler.c:263 Added task 726 switch_ivr_schedule_hangup (21ae9fbc-e538-4a8a-801e-9fbfc9d3c016) to run at 1720781853
EXECUTE [depth=0] sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za record_session(/usr/local/freeswitch/recordings/21ae9fbc-e538-4a8a-801e-9fbfc9d3c016.wav)
2024-07-12 10:54:33.350297 99.47% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
2024-07-12 10:54:33.370284 99.47% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
2024-07-12 10:54:33.370284 99.47% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za
2024-07-12 10:54:33.370284 99.47% [DEBUG] switch_channel.c:3950 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Callstate Change EARLY -> ACTIVE
2024-07-12 10:54:33.370284 99.47% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
2024-07-12 10:54:33.390284 99.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2024-07-12 10:54:33.390284 99.47% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2024-07-12 10:54:33.410284 99.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2024-07-12 10:54:33.410284 99.47% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
2024-07-12 10:54:33.450279 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
2024-07-12 10:54:33.490283 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za entering state [calling][0]
2024-07-12 10:54:33.490283 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za entering state [ready][200]
2024-07-12 10:57:33.390283 99.37% [NOTICE] switch_ivr_async.c:5519 Hangup sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [CS_EXECUTE] [NORMAL_CLEARING]
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_scheduler.c:147 Deleting task 726 switch_ivr_schedule_hangup (21ae9fbc-e538-4a8a-801e-9fbfc9d3c016)
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_bridge.c:826 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za ending bridge by request from read function
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za]
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za ending bridge by request from write function
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27740451462]
2024-07-12 10:57:33.390283 99.37% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/27740451462 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27740451462) State EXCHANGE_MEDIA going to sleep
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_HANGUP (Cur 4 Tot 7645)
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/21ae9fbc-e538-4a8a-801e-9fbfc9d3c016.wav
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27740451462 skip receive message [UNBRIDGE] (channel is hungup already)
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za skip receive message [UNBRIDGE] (channel is hungup already)
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_session.c:2983 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za skip receive message [PHONE_EVENT] (channel is hungup already)
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27740451462
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State EXECUTE going to sleep
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Running State Change CS_HANGUP (Cur 4 Tot 7645)
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/21ae9fbc-e538-4a8a-801e-9fbfc9d3c016.wav
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27740451462) Callstate Change ACTIVE -> HANGUP
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27740451462) State HANGUP
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
2024-07-12 10:57:33.390283 99.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/27740451462 hanging up, cause: NORMAL_CLEARING
2024-07-12 10:57:33.390283 99.37% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27740451462
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/27740451462 Standard HANGUP, cause: NORMAL_CLEARING
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27740451462) State HANGUP going to sleep
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27740451462) State Change CS_HANGUP -> CS_REPORTING
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_REPORTING (Cur 4 Tot 7645)
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27740451462) State REPORTING
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za
2024-07-12 10:57:33.390283 99.37% [INFO] mod_json_cdr.c:271 Process [c1a5130a-b0e7-4ce7-97ef-80112600dda4.cdr.json]
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Callstate Change ACTIVE -> HANGUP
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State HANGUP
2024-07-12 10:57:33.390283 99.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za hanging up, cause: NORMAL_CLEARING
2024-07-12 10:57:33.390283 99.37% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Standard HANGUP, cause: NORMAL_CLEARING
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State HANGUP going to sleep
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State Change CS_HANGUP -> CS_REPORTING
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Running State Change CS_REPORTING (Cur 4 Tot 7645)
2024-07-12 10:57:33.390283 99.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State REPORTING
2024-07-12 10:57:33.410288 99.37% [INFO] mod_json_cdr.c:271 Process [21ae9fbc-e538-4a8a-801e-9fbfc9d3c016.cdr.json]
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/27740451462 Standard REPORTING, cause: NORMAL_CLEARING
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27740451462) State REPORTING going to sleep
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27740451462) State Change CS_REPORTING -> CS_DESTROY
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_session.c:1753 Session 7645 (sofia/default/27740451462) Locked, Waiting on external entities
2024-07-12 10:57:33.450287 99.37% [NOTICE] switch_core_session.c:1771 Session 7645 (sofia/default/27740451462) Ended
2024-07-12 10:57:33.450287 99.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27740451462 [CS_DESTROY]
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27740451462) Running State Change CS_DESTROY (Cur 3 Tot 7645)
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27740451462) State DESTROY
2024-07-12 10:57:33.450287 99.37% [DEBUG] mod_sofia.c:379 sofia/default/27740451462 SOFIA DESTROY
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/27740451462 Standard DESTROY
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27740451462) State DESTROY going to sleep
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Standard REPORTING, cause: NORMAL_CLEARING
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State REPORTING going to sleep
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State Change CS_REPORTING -> CS_DESTROY
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_session.c:1753 Session 7644 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Locked, Waiting on external entities
2024-07-12 10:57:33.450287 99.37% [NOTICE] switch_core_session.c:1771 Session 7644 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Ended
2024-07-12 10:57:33.450287 99.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za [CS_DESTROY]
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) Running State Change CS_DESTROY (Cur 2 Tot 7645)
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State DESTROY
2024-07-12 10:57:33.450287 99.37% [DEBUG] mod_sofia.c:379 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za SOFIA DESTROY
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za Standard DESTROY
2024-07-12 10:57:33.450287 99.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876303962@sbc-jb1.goldtelcloud.co.za) State DESTROY going to sleep