+OK log level [7]
2024-10-29 10:05:51.633543 99.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300012@196.7.219.43:8356 [d95650a3-b85c-46a8-9da4-5a4dfb3fb23c]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_NEW (Cur 3 Tot 42400)
2024-10-29 10:05:51.633543 99.00% [INFO] sofia.c:10462 sofia/default/27876300012@196.7.219.43:8356 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: dd3b41e2-c65ea80-9a68c5b4-2d4c08ee
2024-10-29 10:05:51.633543 99.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
2024-10-29 10:05:51.633543 99.00% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
2024-10-29 10:05:51.633543 99.00% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [received][100]
2024-10-29 10:05:51.633543 99.00% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=bk 598470 1 IN IP4 196.7.219.43
s=-
c=IN IP4 196.7.219.43
t=0 0
m=audio 46176 RTP/AVP 8 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=ptime:20
a=ptime:20
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300012@196.7.219.43:8356 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.7.219.43:8356 Original read codec set to PCMA:8
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_media.c:5973 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101 recv payload to 101
2024-10-29 10:05:51.633543 99.00% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_NEW -> CS_INIT
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.7.219.43:8356) State NEW
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_INIT (Cur 3 Tot 42400)
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT
2024-10-29 10:05:51.633543 99.00% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.7.219.43:8356 SOFIA INIT
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.7.219.43:8356 Standard INIT
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_INIT -> CS_ROUTING
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT going to sleep
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 3 Tot 42400)
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change DOWN -> RINGING
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING
2024-10-29 10:05:51.633543 99.00% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.7.219.43:8356 SOFIA ROUTING
2024-10-29 10:05:51.633543 99.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.7.219.43:8356 Standard ROUTING
2024-10-29 10:05:51.633543 99.00% [INFO] mod_dialplan_xml.c:639 Processing Ext 112 <27876300012>->27876303962 in context default
2024-10-29 10:05:51.673539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-10-29 10:05:51.713543 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-10-29 10:05:51.713543 99.00% [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-29 10:05:51.713543 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876303962
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876303962' AND status=0 limit 1
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876300012
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876303962' limit 1
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '467' and username = '27876303962' limit 1
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL] Query :SELECT local_effective_caller_id_name,local_effective_caller_id_number FROM sip_devices WHERE username = '27876300012' limit 1
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan COMINNG] Caller Id name / number : 27876300012 / 27876300012
2024-10-29 10:05:51.753542 99.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 27876300012 / 27876300012
2024-10-29 10:05:51.753542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
2024-10-29 10:05:51.753542 99.00% [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-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.753542 99.00% [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 ="27876303962" LIMIT 1
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8773282952]
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8773282952" OR id = "8773282952") AND deleted = 0 limit 1
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
2024-10-29 10:05:51.753542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
2024-10-29 10:05:51.753542 99.00% [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-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876303962" AND (accountid = 0 OR status = 1) LIMIT 1
2024-10-29 10:05:51.753542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
2024-10-29 10:05:51.753542 99.00% [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-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 467
2024-10-29 10:05:51.753542 99.00% [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 = '^27876303962.*' OR patterns = '^2787630396.*' OR patterns = '^278763039.*' OR patterns = '^27876303.*' OR patterns = '^2787630.*' OR patterns = '^278763.*' OR patterns = '^27876.*' OR patterns = '^2787.*' OR patterns = '^278.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 467 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 879
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 307
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 307 AND status = 0
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product :
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 1 Call Direction : inbound [0:inbound,1:outbound,2:both]
2024-10-29 10:05:51.753542 99.00% [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 ="27876303962" AND A.accountid = '419' limit 1
2024-10-29 10:05:51.753542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876303962
2024-10-29 10:05:51.753542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
2024-10-29 10:05:51.753542 99.00% [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-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.753542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.753542 99.00% [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 ="27876303962" LIMIT 1
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2024-10-29 10:05:51.773539 99.00% [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 = '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 ='--') OR (number = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' 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 = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' 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-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27876303962' OR routing_prefix = '2787630396' OR routing_prefix = '278763039' OR routing_prefix = '27876303' OR routing_prefix = '2787630' OR routing_prefix = '278763' OR routing_prefix = '27876' OR routing_prefix = '2787' OR routing_prefix = '278' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 405 limit 1
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 419
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8773282952
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 8.9478
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 187
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :43.....27876303962
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="27876303962" LIMIT 1
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 203
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 419
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your8.9478 balance Accountid 419 !!!
2024-10-29 10:05:51.773539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2024-10-29 10:05:51.773539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 8.9478
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-10-29 10:05:51.773539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0
2024-10-29 10:05:51.773539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2024-10-29 10:05:51.773539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
2024-10-29 10:05:51.773539 99.00% [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-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876303962
2024-10-29 10:05:51.793538 99.00% [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 ="27876303962" LIMIT 1
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 203
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your8.9478 balance Accountid 405 !!!
2024-10-29 10:05:51.793538 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2024-10-29 10:05:51.793538 99.00% [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 = 419 AND status=0 LIMIT 1
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "467" OR number = "467") AND deleted = 0 limit 1
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =467
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:419
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:419
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 419
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 60
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-29 10:05:51.793538 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
2024-10-29 10:05:51.793538 99.00% [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="27876303962">
<condition field="destination_number" expression="27876303962">
<action application="set" data="effective_destination_number=27876303962"/>
<action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=450.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2024-10-29 10:05:51"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=419"/>
<action application="set" data="parent_id=405"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates_did=ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=27876300012"/>
<action application="set" data="original_caller_id_number=27876300012"/>
<action application="limit" data="db 8773282952 user_8773282952 16 "/>
<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=27876300012"/>
<action application="set" data="effective_caller_id_number=27876300012"/>
<action application="set" data="receiver_accid=467"/>
<action application="export" data="domain_name="/>
<action application="export" data="sip_to_host="/>
<action application="export" data="presence_data=x//405|||BizVoice - Account(8773282952)|||^27876303962.* // George Western Cape // 0.00000|||||||||DID|||196.7.219.43"/>
<action application="export" data="call_type=4"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="accountcode=4910157719"/>
<action application="set" data="caller_did_account_id=419"/>
<action application="set" data="did_number=27876303962"/>
<action application="set" data="did_init_inc=1"/>
<action application="set" data="did_inc=1"/>
<action application="set" data="did_cost=0.00000"/>
<action application="set" data="did_connectcost=0.00000"/>
<action application="set" data="origination_rates_did=0"/>
<action application="set" data="did_id=203"/>
<action application="transfer" data="0740451462 XML default"/>
</condition>
</extension>
</context>
</document>
Dialplan: sofia/default/27876300012@196.7.219.43:8356 parsing [default->27876303962] continue=false
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Regex (PASS) [27876303962] destination_number(27876303962) =~ /27876303962/ break=on-false
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_destination_number=27876303962)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_flag=0)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_credit_limit=450.00000)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(type=0)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(callstart=2024-10-29 10:05:51)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(account_id=419)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(parent_id=405)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(entity_id=0)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_processed=internal)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_direction=inbound)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(accountname=default)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates_did=ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates=0)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_name=27876300012)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_number=27876300012)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 8773282952 user_8773282952 16 )
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(is_recording=1)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(record_sample_rate=8000)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_name=27876300012)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_number=27876300012)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(receiver_accid=467)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(domain_name=)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(sip_to_host=)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=x//405|||BizVoice - Account(8773282952)|||^27876303962.* // George Western Cape // 0.00000|||||||||DID|||196.7.219.43)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(call_type=4)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(calltype=STANDARD)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(accountcode=4910157719)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(caller_did_account_id=419)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_number=27876303962)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_init_inc=1)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_inc=1)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_cost=0.00000)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_connectcost=0.00000)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates_did=0)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(did_id=203)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action transfer(0740451462 XML default)
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING going to sleep
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 3 Tot 42400)
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.7.219.43:8356 SOFIA EXECUTE
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.7.219.43:8356 Standard EXECUTE
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_destination_number=27876303962)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_destination_number]=[27876303962]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_flag=0)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_credit_limit=450.00000)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_credit_limit]=[450.00000]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(type=0)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [type]=[0]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(callstart=2024-10-29 10:05:51)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [callstart]=[2024-10-29 10:05:51]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(hangup_after_bridge=true)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(continue_on_fail=TRUE)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(account_id=419)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [account_id]=[419]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(parent_id=405)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [parent_id]=[405]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(entity_id=0)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_processed=internal)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_direction=inbound)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(accountname=default)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [accountname]=[default]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates_did=ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates_did]=[ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:467||ID:203|CODE:^27876303962.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates=0)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_name=27876300012)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_name]=[27876300012]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_number=27876300012)
2024-10-29 10:05:51.793538 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_number]=[27876300012]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 8773282952 user_8773282952 16 )
2024-10-29 10:05:51.793538 99.00% [DEBUG] switch_limit.c:124 incr called: 8773282952_user_8773282952 max:16, interval:0
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_db.c:194 Usage for 8773282952_user_8773282952 is now 1/16
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(is_recording=1)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(media_bug_answer_req=true)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(record_sample_rate=8000)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/d95650a3-b85c-46a8-9da4-5a4dfb3fb23c.wav)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/d95650a3-b85c-46a8-9da4-5a4dfb3fb23c.wav]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_name=27876300012)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_name]=[27876300012]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_number=27876300012)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_number]=[27876300012]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(receiver_accid=467)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [receiver_accid]=[467]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(domain_name=)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(sip_to_host=)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=x//405|||BizVoice - Account(8773282952)|||^27876303962.* // George Western Cape // 0.00000|||||||||DID|||196.7.219.43)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||BizVoice - Account(8773282952)|||^27876303962.* // George Western Cape // 0.00000|||||||||DID|||196.7.219.43]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(call_type=4)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(calltype=STANDARD)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(accountcode=4910157719)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [accountcode]=[4910157719]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(caller_did_account_id=419)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [caller_did_account_id]=[419]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_number=27876303962)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_number]=[27876303962]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_init_inc=1)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_init_inc]=[1]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_inc=1)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_inc]=[1]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_cost=0.00000)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_cost]=[0.00000]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_connectcost=0.00000)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_connectcost]=[0.00000]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates_did=0)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates_did]=[0]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(did_id=203)
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [did_id]=[203]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 transfer(0740451462 XML default)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_ivr.c:2289 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_EXECUTE -> CS_ROUTING
2024-10-29 10:05:51.813539 99.00% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/27876300012@196.7.219.43:8356 to XML[0740451462@default]
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE going to sleep
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 3 Tot 42400)
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2024-10-29 10:05:51.813539 99.00% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.7.219.43:8356 SOFIA ROUTING
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.7.219.43:8356 Standard ROUTING
2024-10-29 10:05:51.813539 99.00% [INFO] mod_dialplan_xml.c:639 Processing Ext 112 <27876300012>->0740451462 in context default
2024-10-29 10:05:51.813539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-10-29 10:05:51.813539 99.00% [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-29 10:05:51.813539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-29 10:05:51.813539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0740451462
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0740451462' AND status=0 limit 1
2024-10-29 10:05:51.813539 99.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2024-10-29 10:05:51.813539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 27876300012 / 27876300012
2024-10-29 10:05:51.813539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
2024-10-29 10:05:51.813539 99.00% [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-10-29 10:05:51.813539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
2024-10-29 10:05:51.813539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
2024-10-29 10:05:51.813539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-10-29 10:05:51.813539 99.00% [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-10-29 10:05:51.813539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-29 10:05:51.813539 99.00% [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-10-29 10:05:51.813539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-10-29 10:05:51.813539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43
2024-10-29 10:05:51.813539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4910157719]
2024-10-29 10:05:51.813539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4910157719" OR id = "4910157719") AND deleted = 0 limit 1
2024-10-29 10:05:51.813539 99.00% [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 = 467 limit 1
2024-10-29 10:05:51.813539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
2024-10-29 10:05:51.813539 99.00% [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-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0740451462
2024-10-29 10:05:51.833539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
2024-10-29 10:05:51.833539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
2024-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0740451462
2024-10-29 10:05:51.833539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27740451462
2024-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [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 = 467 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-10-29 10:05:51.833539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 879
2024-10-29 10:05:51.833539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 307
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 307 AND status = 0
2024-10-29 10:05:51.833539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product :
2024-10-29 10:05:51.833539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 1 Call Direction : outbound [0:inbound,1:outbound,2:both]
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters WHERE accountid = 467 AND package_id = 879 AND status=1 LIMIT 1
2024-10-29 10:05:51.833539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 4.2333333333333
2024-10-29 10:05:51.833539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Package Id : 879
2024-10-29 10:05:51.833539 99.00% [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 = '467' limit 1
2024-10-29 10:05:51.833539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27740451462
2024-10-29 10:05:51.833539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
2024-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
2024-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-10-29 10:05:51.833539 99.00% [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-10-29 10:05:51.833539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-10-29 10:05:51.833539 99.00% [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 = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' 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 = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' 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-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876300012
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876300012' and accountid = "467" and status=0
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :0
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from ani_map where number='27876300012' and status=0
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Post Cdrs : 0
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 467
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] 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="0740451462">
<condition field="destination_number" expression="0740451462">
<action application="log" data="WARNING CALLERID_NOT_FOUND 467"/>
<action application="playback" data=""/>
<action application="set" data="original_caller_id_name=27876300012"/>
<action application="set" data="original_caller_id_number=27876300012"/>
<action application="set" data="error_cdr=1"/>
<action application="set" data="callstart=2024-10-29 10:05:51"/>
<action application="set" data="account_id=467"/>
<action application="set" data="parent_id=425"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="sip_ignore_remote_cause=true"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="effective_destination_number=27740451462"/>
<action application="set" data="last_bridge_hangup_cause=CALLERID_NOT_FOUND"/>
<action application="hangup" data="CALLERID_NOT_FOUND"/>
</condition>
</extension>
</context>
</document>
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Post Cdrs : 0
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 467
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] 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="0740451462">
<condition field="destination_number" expression="0740451462">
<action application="log" data="WARNING Accountcode 4910157719. Dialed number (27740451462) is blocked for account!!"/>
<action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav"/>
<action application="set" data="original_caller_id_name=27876300012"/>
<action application="set" data="original_caller_id_number=27876300012"/>
<action application="set" data="error_cdr=1"/>
<action application="set" data="callstart=2024-10-29 10:05:51"/>
<action application="set" data="account_id=467"/>
<action application="set" data="parent_id=425"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="sip_ignore_remote_cause=true"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="effective_destination_number=27740451462"/>
<action application="set" data="last_bridge_hangup_cause=DESTINATION_BLOCKED"/>
<action application="hangup" data="DESTINATION_BLOCKED"/>
</condition>
</extension>
</context>
</document>
Dialplan: sofia/default/27876300012@196.7.219.43:8356 parsing [default->0740451462] continue=false
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Regex (PASS) [0740451462] destination_number(0740451462) =~ /0740451462/ break=on-false
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action log(WARNING Accountcode 4910157719. Dialed number (27740451462) is blocked for account!!)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_name=27876300012)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_number=27876300012)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(error_cdr=1)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(callstart=2024-10-29 10:05:51)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(account_id=467)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(parent_id=425)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_direction=outbound)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(sip_ignore_remote_cause=true)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_processed=internal)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_destination_number=27740451462)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action hangup(DESTINATION_BLOCKED)
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING going to sleep
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 3 Tot 42400)
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE
2024-10-29 10:05:51.833539 99.00% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.7.219.43:8356 SOFIA EXECUTE
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.7.219.43:8356 Standard EXECUTE
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 log(WARNING Accountcode 4910157719. Dialed number (27740451462) is blocked for account!!)
2024-10-29 10:05:51.833539 99.00% [WARNING] mod_dptools.c:1879 Accountcode 4910157719. Dialed number (27740451462) is blocked for account!!
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/27876300012@196.7.219.43:8356
2024-10-29 10:05:51.833539 99.00% [INFO] switch_core_session.c:2797 Sending early media
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300012@196.7.219.43:8356] 102.220.232.20 port 30864 -> 196.7.219.43 port 46176 codec: 8 ms: 20
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_media.c:9089 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_media.c:9096 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf receive payload to 101
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_core_media.c:9119 sofia/default/27876300012@196.7.219.43:8356 Set rtp dtmf delay to 40
2024-10-29 10:05:51.833539 99.00% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1730165487 1730165488 IN IP4 102.220.232.20
s=FreeSWITCH
c=IN IP4 102.220.232.20
t=0 0
m=audio 30864 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2024-10-29 10:05:51.833539 99.00% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876300012@196.7.219.43:8356!
2024-10-29 10:05:51.833539 99.00% [DEBUG] switch_channel.c:3622 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change RINGING -> EARLY
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
2024-10-29 10:05:51.833539 99.00% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [early][183]
2024-10-29 10:05:51.873539 99.00% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav sample rate 22050 doesn't match requested rate 8000
2024-10-29 10:05:51.873539 99.00% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2024-10-29 10:05:52.173543 99.00% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2024-10-29 10:05:53.873543 98.97% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_name=27876300012)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_name]=[27876300012]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_number=27876300012)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_number]=[27876300012]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(error_cdr=1)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [error_cdr]=[1]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(callstart=2024-10-29 10:05:51)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [callstart]=[2024-10-29 10:05:51]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(account_id=467)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [account_id]=[467]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(parent_id=425)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [parent_id]=[425]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_direction=outbound)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(sip_ignore_remote_cause=true)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [sip_ignore_remote_cause]=[true]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_processed=internal)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_destination_number=27740451462)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_destination_number]=[27740451462]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [last_bridge_hangup_cause]=[DESTINATION_BLOCKED]
EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 hangup(DESTINATION_BLOCKED)
2024-10-29 10:05:53.873543 98.97% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/27876300012@196.7.219.43:8356 [CS_EXECUTE] [NORMAL_CLEARING]
2024-10-29 10:05:53.873543 98.97% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.7.219.43:8356 skip receive message [PHONE_EVENT] (channel is hungup already)
2024-10-29 10:05:53.873543 98.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE going to sleep
2024-10-29 10:05:53.873543 98.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_HANGUP (Cur 3 Tot 42400)
2024-10-29 10:05:53.873543 98.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change EARLY -> HANGUP
2024-10-29 10:05:53.873543 98.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP
2024-10-29 10:05:53.873543 98.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.7.219.43:8356 hanging up, cause: NORMAL_CLEARING
2024-10-29 10:05:53.893539 98.97% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
2024-10-29 10:05:53.893539 98.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.7.219.43:8356 Standard HANGUP, cause: NORMAL_CLEARING
2024-10-29 10:05:53.893539 98.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP going to sleep
2024-10-29 10:05:53.893539 98.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_HANGUP -> CS_REPORTING
2024-10-29 10:05:53.893539 98.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_REPORTING (Cur 3 Tot 42400)
2024-10-29 10:05:53.893539 98.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING
2024-10-29 10:05:53.893539 98.97% [INFO] mod_json_cdr.c:271 Process [d95650a3-b85c-46a8-9da4-5a4dfb3fb23c.cdr.json]
2024-10-29 10:05:53.993539 98.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.7.219.43:8356 Standard REPORTING, cause: NORMAL_CLEARING
2024-10-29 10:05:53.993539 98.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING going to sleep
2024-10-29 10:05:53.993539 98.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_REPORTING -> CS_DESTROY
2024-10-29 10:05:53.993539 98.97% [DEBUG] switch_core_session.c:1753 Session 42400 (sofia/default/27876300012@196.7.219.43:8356) Locked, Waiting on external entities
2024-10-29 10:05:53.993539 98.97% [NOTICE] switch_core_session.c:1771 Session 42400 (sofia/default/27876300012@196.7.219.43:8356) Ended
2024-10-29 10:05:53.993539 98.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.7.219.43:8356 [CS_DESTROY]
2024-10-29 10:05:53.993539 98.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_DESTROY (Cur 2 Tot 42400)
2024-10-29 10:05:53.993539 98.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY
2024-10-29 10:05:53.993539 98.97% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.7.219.43:8356 SOFIA DESTROY
2024-10-29 10:05:53.993539 98.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.7.219.43:8356 Standard DESTROY
2024-10-29 10:05:53.993539 98.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY going to sleep