2024-10-02 11:46:38.731464 99.57% [NOTICE] switch_channel.c:1142 New Channel sofia/default/8504190660@hugetnstest.huge.net.za [15a7b39f-7f3b-4282-b47c-7eb5436dfb72]
2024-10-02 11:46:38.731464 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_NEW (Cur 1 Tot 12)
2024-10-02 11:46:38.731464 99.57% [INFO] sofia.c:10459 sofia/default/8504190660@hugetnstest.huge.net.za receiving invite from 103.240.35.46:65498 version: 1.10.10-release 64bit call-id: P8zqspTqXcU7f7ZRuLiMoQ..
2024-10-02 11:46:38.731464 99.57% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.35.46:0.
2024-10-02 11:46:38.731464 99.57% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [0839632119@hugetnstest.huge.net.za] from ip 103.240.35.46
2024-10-02 11:46:38.731464 99.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8504190660@hugetnstest.huge.net.za) State NEW
2024-10-02 11:46:38.731464 99.57% [DEBUG] sofia.c:2419 detaching session 15a7b39f-7f3b-4282-b47c-7eb5436dfb72
2024-10-02 11:46:39.431463 99.57% [DEBUG] sofia.c:2532 Re-attaching to session 15a7b39f-7f3b-4282-b47c-7eb5436dfb72
2024-10-02 11:46:39.451496 99.57% [INFO] sofia.c:10459 sofia/default/8504190660@hugetnstest.huge.net.za receiving invite from 103.240.35.46:65498 version: 1.10.10-release 64bit call-id: P8zqspTqXcU7f7ZRuLiMoQ..
2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.35.46:0.
2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:11674 Setting NAT mode based on via port
2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:7493 Channel sofia/default/8504190660@hugetnstest.huge.net.za entering state [received][100]
2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=Z 0 0 IN IP4 103.240.35.46
s=Z
c=IN IP4 103.240.35.46
t=0 0
m=audio 8000 RTP/AVP 3 110 8 0 97 101
a=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/8504190660@hugetnstest.huge.net.za PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_codec.c:111 sofia/default/8504190660@hugetnstest.huge.net.za Original read codec set to PCMA:8
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_media.c:5856 sofia/default/8504190660@hugetnstest.huge.net.za Set 2833 dtmf send payload to 101 recv payload to 101
2024-10-02 11:46:39.451496 99.57% [DEBUG] sofia.c:7927 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_NEW -> CS_INIT
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_INIT (Cur 1 Tot 12)
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8504190660@hugetnstest.huge.net.za) State INIT
2024-10-02 11:46:39.451496 99.57% [DEBUG] mod_sofia.c:97 sofia/default/8504190660@hugetnstest.huge.net.za SOFIA INIT
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/8504190660@hugetnstest.huge.net.za Standard INIT
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_INIT -> CS_ROUTING
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8504190660@hugetnstest.huge.net.za) State INIT going to sleep
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_ROUTING (Cur 1 Tot 12)
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_channel.c:2399 (sofia/default/8504190660@hugetnstest.huge.net.za) Callstate Change DOWN -> RINGING
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8504190660@hugetnstest.huge.net.za) State ROUTING
2024-10-02 11:46:39.451496 99.57% [DEBUG] mod_sofia.c:158 sofia/default/8504190660@hugetnstest.huge.net.za SOFIA ROUTING
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/8504190660@hugetnstest.huge.net.za Standard ROUTING
2024-10-02 11:46:39.451496 99.57% [INFO] mod_dialplan_xml.c:639 Processing 8504190660 <8504190660>->0839632119 in context default
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-10-02 11:46:39.451496 99.57% [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-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0839632119
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0839632119' limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0839632119' AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0839632119' and status=0 LIMIT 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER8504190660
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'hugetnstest.huge.net.za' limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '1765' and username = '0839632119' limit 1
2024-10-02 11:46:39.451496 99.57% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 27871616258 / 27871616258
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2119
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 083963 AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 3
2024-10-02 11:46:39.451496 99.57% [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 = 3 AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
2024-10-02 11:46:39.451496 99.57% [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 ="27839632119" LIMIT 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0839632119" AND domains.domain="hugetnstest.huge.net.za" limit 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8504190660]
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =0839632119
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8504190660" OR id = "8504190660") AND deleted = 0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0839632119.*' OR blocked_patterns = '^083963211.*' OR blocked_patterns = '^08396321.*' OR blocked_patterns = '^0839632.*' OR blocked_patterns = '^083963.*' OR blocked_patterns = '^08396.*' OR blocked_patterns = '^0839.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1765 limit 1
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 3
2024-10-02 11:46:39.451496 99.57% [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 = 3 AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27839632119" AND (accountid = 0 OR status = 1) LIMIT 1
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 2
2024-10-02 11:46:39.451496 99.57% [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 = 2 AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+27/0,27/0,00/99".....0839632119
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+27/0,27/0,00/99".....0839632119
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+27/0,27/0,00/99".....0839632119
2024-10-02 11:46:39.451496 99.57% [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 = '^0839632119.*' OR patterns = '^083963211.*' OR patterns = '^08396321.*' OR patterns = '^0839632.*' OR patterns = '^083963.*' OR patterns = '^08396.*' OR patterns = '^0839.*' OR patterns = '^083.*' OR patterns = '^08.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 1765 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-10-02 11:46:39.451496 99.57% [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 ="0839632119" AND A.accountid = '1765' limit 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 3
2024-10-02 11:46:39.451496 99.57% [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 = 3 AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
2024-10-02 11:46:39.451496 99.57% [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 ="27839632119" LIMIT 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,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 ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0839632119" AND domains.domain="hugetnstest.huge.net.za" limit 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-10-02 11:46:39.451496 99.57% [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 = '0839632119' OR number = '083963211' OR number = '08396321' OR number = '0839632' OR number = '083963' OR number = '08396' OR number = '0839' OR number = '083' OR number = '08' OR number = '0' OR number ='--') OR (number = '0839632119*' OR number = '083963211*' OR number = '08396321*' OR number = '0839632*' OR number = '083963*' OR number = '08396*' OR number = '0839*' OR number = '083*' OR number = '08*' OR number = '0*' OR number ='--') OR (number = '27871616258' OR number = '2787161625' OR number = '278716162' OR number = '27871616' OR number = '2787161' OR number = '278716' OR number = '27871' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27871616258*' OR number = '2787161625*' OR number = '278716162*' OR number = '27871616*' OR number = '2787161*' OR number = '278716*' OR number = '27871*' 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-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0839632119' OR routing_prefix = '083963211' OR routing_prefix = '08396321' OR routing_prefix = '0839632' OR routing_prefix = '083963' OR routing_prefix = '08396' OR routing_prefix = '0839' OR routing_prefix = '083' OR routing_prefix = '08' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 1764 limit 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1765
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8504190660
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 493.7584
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 300
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 300 AND status = 0
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 300 AND status = 0
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0839632119.*' OR pattern = '^083963211.*' OR pattern = '^08396321.*' OR pattern = '^0839632.*' OR pattern = '^083963.*' OR pattern = '^08396.*' OR pattern = '^0839.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND (caller_id_pattern = '^27871616258.*' OR caller_id_pattern = '^2787161625.*' OR caller_id_pattern = '^278716162.*' OR caller_id_pattern = '^27871616.*' OR caller_id_pattern = '^2787161.*' OR caller_id_pattern = '^278716.*' OR caller_id_pattern = '^27871.*' 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 = 300 OR accountid=1765) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10272567
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.4900000000
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : D083 - MTN Business Solutions (Pty) Ltd
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1765
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your493.7584 balance Accountid 1765 !!!
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 420 mins!
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 1764
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "1764" OR number = "1764") AND deleted = 0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0839632119.*' OR blocked_patterns = '^083963211.*' OR blocked_patterns = '^08396321.*' OR blocked_patterns = '^0839632.*' OR blocked_patterns = '^083963.*' OR blocked_patterns = '^08396.*' OR blocked_patterns = '^0839.*' OR blocked_patterns = '^083.*' OR blocked_patterns = '^08.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1764 limit 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1764
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8390638295
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 34994.2412
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 190
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 190 AND status = 0
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 190 AND status = 0
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0839632119.*' OR pattern = '^083963211.*' OR pattern = '^08396321.*' OR pattern = '^0839632.*' OR pattern = '^083963.*' OR pattern = '^08396.*' OR pattern = '^0839.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND (caller_id_pattern = '^27871616258.*' OR caller_id_pattern = '^2787161625.*' OR caller_id_pattern = '^278716162.*' OR caller_id_pattern = '^27871616.*' OR caller_id_pattern = '^2787161.*' OR caller_id_pattern = '^278716.*' OR caller_id_pattern = '^27871.*' 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 = 190 OR accountid=1764) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8282624
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.1400000000
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : D083-MTN
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1764
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your34994.2412 balance Accountid 1764 !!!
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 420 mins!
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 420 minutes
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=190 ORDER by id asc
2024-10-02 11:46:39.451496 99.57% [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 = '^0839632119.*' OR pattern = '^083963211.*' OR pattern = '^08396321.*' OR pattern = '^0839632.*' OR pattern = '^083963.*' OR pattern = '^08396.*' OR pattern = '^0839.*' OR pattern = '^083.*' OR pattern = '^08.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (2,3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^0.*
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : South Africa
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^0.*
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 27
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 2
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Kensington_31
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 1157
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 5000
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^0.*
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : South Africa
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^0.*
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 27
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Kensington_10
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 1157
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 5000
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-10-02 11:46:39.451496 99.57% [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 = 1765 AND status=0 LIMIT 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 420
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '8504190660' and status = 0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2024-10-02 11:46:39.451496 99.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 190 AND status = 0
2024-10-02 11:46:39.451496 99.57% [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 = 1157) AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [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 = 2) AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/27.....0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 3
2024-10-02 11:46:39.451496 99.57% [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 = 3 AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
2024-10-02 11:46:39.451496 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
2024-10-02 11:46:39.451496 99.57% [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 ="27839632119" LIMIT 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 190 AND status = 0
2024-10-02 11:46:39.451496 99.57% [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 = 1157) AND status=0 limit 1
2024-10-02 11:46:39.451496 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/27.....0839632119
2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 3
2024-10-02 11:46:39.491455 99.57% [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 = 3 AND status=0 limit 1
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27".....0839632119
2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0839632119
2024-10-02 11:46:39.491455 99.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27839632119
2024-10-02 11:46:39.491455 99.57% [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 ="27839632119" LIMIT 1
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-02 11:46:39.491455 99.57% [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="0839632119">
<condition field="destination_number" expression="0839632119">
<action application="set" data="effective_destination_number=0839632119"/>
<action application="set" data="execute_on_answer_1=sched_hangup +25200 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2024-10-02 11:46:39"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=1765"/>
<action application="set" data="parent_id=1764"/>
<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="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764"/>
<action application="set" data="original_caller_id_name=27871616258"/>
<action application="set" data="original_caller_id_number=27871616258"/>
<action application="limit" data="db 8504190660 user_8504190660 5 "/>
<action application="limit" data="db 8390638295 user_8390638295 500 "/>
<action application="set" data="effective_caller_id_name=27871616258"/>
<action application="set" data="effective_caller_id_number=27871616258"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:7|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:1157"/>
<action application="set" data="trunk_id=2"/>
<action application="set" data="provider_id=1157"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="daily_call_credit_limit=0.00000"/>
<action application="set" data="monthly_call_credit_limit=0.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=0.00000"/>
<action application="set" data="quality_trunk_seq=2,3"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=2"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=0839632119"/>
<action application="export" data="presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 31 // ^0.* // South Africa // 0.0000000000 // trunk_id=2|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN"/>
<action application="limit_execute" data="db kensington 31 gw_kensington 31 5000 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_31/27839632119"/>
<action application="set" data="effective_caller_id_name=27871616258"/>
<action application="set" data="effective_caller_id_number=27871616258"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:13|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:1157"/>
<action application="set" data="trunk_id=3"/>
<action application="set" data="provider_id=1157"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="daily_call_credit_limit=0.00000"/>
<action application="set" data="monthly_call_credit_limit=0.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=0.00000"/>
<action application="set" data="quality_trunk_seq=2,3"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=3"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=0839632119"/>
<action application="export" data="presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 10 // ^0.* // South Africa // 0.0000000000 // trunk_id=3|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN"/>
<action application="limit" data="hash CPS_3 CPS_trunk_3 10/1 "/>
<action application="limit_execute" data="db kensington 10 gw_kensington 10 5000 bridge [leg_timeout=60,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_10/27839632119"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za parsing [default->0839632119] continue=false
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Regex (PASS) [0839632119] destination_number(0839632119) =~ /0839632119/ break=on-false
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_destination_number=0839632119)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(execute_on_answer_1=sched_hangup +25200 normal_clearing)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(notify_flag=0)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(type=0)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(callstart=2024-10-02 11:46:39)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(hangup_after_bridge=true)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(account_id=1765)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(parent_id=1764)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(entity_id=0)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(call_processed=internal)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(call_direction=outbound)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(accountname=default)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(origination_rates=ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(original_caller_id_name=27871616258)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(original_caller_id_number=27871616258)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit(db 8504190660 user_8504190660 5 )
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit(db 8390638295 user_8390638295 500 )
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_caller_id_name=27871616258)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_caller_id_number=27871616258)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(calltype=STANDARD)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(termination_rates=ID:7|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:1157)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(trunk_id=2)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(provider_id=1157)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(rate_flag=0)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(quality_trunk_seq=2,3)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(force_trunk_flag=0)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_data=trunk_id=2)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(intcall=0)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_id=0839632119)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 31 // ^0.* // South Africa // 0.0000000000 // trunk_id=2|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit_execute(db kensington 31 gw_kensington 31 5000 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_31/27839632119)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_caller_id_name=27871616258)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(effective_caller_id_number=27871616258)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(calltype=STANDARD)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(termination_rates=ID:13|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:1157)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(trunk_id=3)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(provider_id=1157)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(rate_flag=0)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(quality_trunk_seq=2,3)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(force_trunk_flag=0)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action set(intcall=0)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_id=0839632119)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action export(presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 10 // ^0.* // South Africa // 0.0000000000 // trunk_id=3|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN)
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit(hash CPS_3 CPS_trunk_3 10/1 )
Dialplan: sofia/default/8504190660@hugetnstest.huge.net.za Action limit_execute(db kensington 10 gw_kensington 10 5000 bridge [leg_timeout=60,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_10/27839632119)
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_ROUTING -> CS_EXECUTE
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8504190660@hugetnstest.huge.net.za) State ROUTING going to sleep
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_EXECUTE (Cur 1 Tot 12)
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8504190660@hugetnstest.huge.net.za) State EXECUTE
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_sofia.c:213 sofia/default/8504190660@hugetnstest.huge.net.za SOFIA EXECUTE
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/8504190660@hugetnstest.huge.net.za Standard EXECUTE
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_destination_number=0839632119)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_destination_number]=[0839632119]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(execute_on_answer_1=sched_hangup +25200 normal_clearing)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [execute_on_answer_1]=[sched_hangup +25200 normal_clearing]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(notify_flag=0)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(notify_credit_limit=5.00000)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(type=0)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [type]=[0]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(callstart=2024-10-02 11:46:39)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [callstart]=[2024-10-02 11:46:39]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(hangup_after_bridge=true)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(continue_on_fail=TRUE)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(account_id=1765)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [account_id]=[1765]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(parent_id=1764)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [parent_id]=[1764]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(entity_id=0)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [entity_id]=[0]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(call_processed=internal)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(call_direction=outbound)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(accountname=default)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [accountname]=[default]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(filename1=astpp.pbx.lua)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(origination_rates=ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [origination_rates]=[ID:10272567|CODE:^083.*|DESTINATION:D083 - MTN Business Solutions (Pty) Ltd|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.4900000000|INC:1|INITIALBLOCK:1|RATEGROUP:300|MARKUP:0|CI:0|ACCID:1765||ID:8282624|CODE:^083.*|DESTINATION:D083-MTN|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1400000000|INC:1|INITIALBLOCK:1|RATEGROUP:190|MARKUP:0|CI:0|ACCID:1764]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(original_caller_id_name=27871616258)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [original_caller_id_name]=[27871616258]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(original_caller_id_number=27871616258)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [original_caller_id_number]=[27871616258]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit(db 8504190660 user_8504190660 5 )
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_limit.c:124 incr called: 8504190660_user_8504190660 max:5, interval:0
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_db.c:194 Usage for 8504190660_user_8504190660 is now 1/5
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit(db 8390638295 user_8390638295 500 )
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_limit.c:124 incr called: 8390638295_user_8390638295 max:500, interval:0
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_db.c:194 Usage for 8390638295_user_8390638295 is now 1/500
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_caller_id_name=27871616258)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_caller_id_name]=[27871616258]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_caller_id_number=27871616258)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_caller_id_number]=[27871616258]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(calltype=STANDARD)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(termination_rates=ID:7|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:1157)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [termination_rates]=[ID:7|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:2|PROVIDER:1157]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(trunk_id=2)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [trunk_id]=[2]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(provider_id=1157)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [provider_id]=[1157]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(rate_flag=0)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(daily_call_credit_limit=0.00000)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(monthly_call_credit_limit=0.00000)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(daily_call_used_limit=0.00000)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(monthly_call_used_limit=0.00000)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(quality_trunk_seq=2,3)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [quality_trunk_seq]=[2,3]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(force_trunk_flag=0)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_data=trunk_id=2)
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=2]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(intcall=0)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [intcall]=[0]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_id=0839632119)
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[0839632119]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 31 // ^0.* // South Africa // 0.0000000000 // trunk_id=2|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN)
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 31 // ^0.* // South Africa // 0.0000000000 // trunk_id=2|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit_execute(db kensington 31 gw_kensington 31 5000 bridge [leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_31/27839632119)
2024-10-02 11:46:39.491455 99.57% [DEBUG] switch_limit.c:124 incr called: kensington_31 max:0, interval:0
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_db.c:194 Usage for kensington_31 is now 1/0
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_caller_id_name=27871616258)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_caller_id_name]=[27871616258]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(effective_caller_id_number=27871616258)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [effective_caller_id_number]=[27871616258]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(calltype=STANDARD)
2024-10-02 11:46:39.491455 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(termination_rates=ID:13|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:1157)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [termination_rates]=[ID:13|CODE:^0.*|DESTINATION:South Africa|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:1157]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(trunk_id=3)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(provider_id=1157)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [provider_id]=[1157]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(rate_flag=0)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(daily_call_credit_limit=0.00000)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(monthly_call_credit_limit=0.00000)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(daily_call_used_limit=0.00000)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(monthly_call_used_limit=0.00000)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(quality_trunk_seq=2,3)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [quality_trunk_seq]=[2,3]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(force_trunk_flag=0)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_data=trunk_id=3)
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za set(intcall=0)
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_dptools.c:1671 SET sofia/default/8504190660@hugetnstest.huge.net.za [intcall]=[0]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_id=0839632119)
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[0839632119]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za export(presence_data=x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 10 // ^0.* // South Africa // 0.0000000000 // trunk_id=3|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN)
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x//1764|||Huge ICT Specialists PoC(8504190660)|||^083.* // D083 - MTN Business Solutions (Pty) Ltd // 0.4900000000 |||kensington 10 // ^0.* // South Africa // 0.0000000000 // trunk_id=3|||STD|||103.240.35.46|||0.1400000000 // ^083.* // D083-MTN]
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit(hash CPS_3 CPS_trunk_3 10/1 )
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_limit.c:124 incr called: CPS_3_CPS_trunk_3 max:10, interval:1
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_hash.c:195 Usage for CPS_3_CPS_trunk_3 is now 1/10 for the last 1 seconds
EXECUTE [depth=0] sofia/default/8504190660@hugetnstest.huge.net.za limit_execute(db kensington 10 gw_kensington 10 5000 bridge [leg_timeout=60,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Kensington_10/27839632119)
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_limit.c:124 incr called: kensington_10 max:0, interval:0
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_db.c:194 Usage for kensington_10 is now 1/0
2024-10-02 11:46:39.511397 99.57% [NOTICE] switch_core_state_machine.c:382 sofia/default/8504190660@hugetnstest.huge.net.za has executed the last dialplan instruction, hanging up.
2024-10-02 11:46:39.511397 99.57% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/8504190660@hugetnstest.huge.net.za [CS_EXECUTE] [NORMAL_CLEARING]
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_hash.c:293 Usage for CPS_3_CPS_trunk_3 is now 0
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8504190660@hugetnstest.huge.net.za) State EXECUTE going to sleep
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_HANGUP (Cur 1 Tot 12)
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8504190660@hugetnstest.huge.net.za) Callstate Change RINGING -> HANGUP
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8504190660@hugetnstest.huge.net.za) State HANGUP
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_sofia.c:469 Channel sofia/default/8504190660@hugetnstest.huge.net.za hanging up, cause: NORMAL_CLEARING
2024-10-02 11:46:39.511397 99.57% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/8504190660@hugetnstest.huge.net.za Standard HANGUP, cause: NORMAL_CLEARING
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8504190660@hugetnstest.huge.net.za) State HANGUP going to sleep
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_HANGUP -> CS_REPORTING
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_REPORTING (Cur 1 Tot 12)
2024-10-02 11:46:39.511397 99.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8504190660@hugetnstest.huge.net.za) State REPORTING
2024-10-02 11:46:39.511397 99.57% [INFO] mod_json_cdr.c:272 Process [15a7b39f-7f3b-4282-b47c-7eb5436dfb72.cdr.json]
2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/8504190660@hugetnstest.huge.net.za Standard REPORTING, cause: NORMAL_CLEARING
2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8504190660@hugetnstest.huge.net.za) State REPORTING going to sleep
2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8504190660@hugetnstest.huge.net.za) State Change CS_REPORTING -> CS_DESTROY
2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_session.c:1744 Session 12 (sofia/default/8504190660@hugetnstest.huge.net.za) Locked, Waiting on external entities
2024-10-02 11:46:39.531396 99.57% [NOTICE] switch_core_session.c:1762 Session 12 (sofia/default/8504190660@hugetnstest.huge.net.za) Ended
2024-10-02 11:46:39.531396 99.57% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/8504190660@hugetnstest.huge.net.za [CS_DESTROY]
2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8504190660@hugetnstest.huge.net.za) Running State Change CS_DESTROY (Cur 0 Tot 12)
2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8504190660@hugetnstest.huge.net.za) State DESTROY
2024-10-02 11:46:39.531396 99.57% [DEBUG] mod_sofia.c:380 sofia/default/8504190660@hugetnstest.huge.net.za SOFIA DESTROY
2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/8504190660@hugetnstest.huge.net.za Standard DESTROY
2024-10-02 11:46:39.531396 99.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8504190660@hugetnstest.huge.net.za) State DESTROY going to sleep