and you must configure your device to use the proper domain in its authentication credentials.
2023-07-12 09:57:16.870628 60.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9900120420@13.232.246.166 [31010f03-6510-467c-a3b5-dc70f7a04fbe]
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_NEW (Cur 1 Tot 4)
2023-07-12 09:57:16.870628 60.97% [INFO] sofia.c:10453 sofia/default/9900120420@13.232.246.166 receiving invite from 13.232.246.166:5077 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: 531929f3-9b3d-123c-4c95-02c9c4cfda14
2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 13.232.246.166:0.
2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:10576 IP 13.232.246.166 Approved by acl "default[]". Access Granted.
2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [received][100]
2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:7497 Remote SDP:
v=0
o=FreeSWITCH 1689137664 1689137665 IN IP4 13.232.246.166
s=FreeSWITCH
c=IN IP4 13.232.246.166
t=0 0
m=audio 18172 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/9900120420@13.232.246.166 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_codec.c:111 sofia/default/9900120420@13.232.246.166 Original read codec set to PCMU:0
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_media.c:5850 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101 recv payload to 101
2023-07-12 09:57:16.870628 60.97% [DEBUG] sofia.c:7921 (sofia/default/9900120420@13.232.246.166) State Change CS_NEW -> CS_INIT
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9900120420@13.232.246.166) State NEW
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_INIT (Cur 1 Tot 4)
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT
2023-07-12 09:57:16.870628 60.97% [DEBUG] mod_sofia.c:97 sofia/default/9900120420@13.232.246.166 SOFIA INIT
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/9900120420@13.232.246.166 Standard INIT
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9900120420@13.232.246.166) State Change CS_INIT -> CS_ROUTING
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9900120420@13.232.246.166) State INIT going to sleep
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 4)
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_channel.c:2380 (sofia/default/9900120420@13.232.246.166) Callstate Change DOWN -> RINGING
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
2023-07-12 09:57:16.870628 60.97% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
2023-07-12 09:57:16.870628 60.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
2023-07-12 09:57:16.870628 60.97% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->10050 in context default
2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10050
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10050' limit 1
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10050' and status=0 LIMIT 1
2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alphaFreeswitchProxy
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '95.217.238.195' limit 1
2023-07-12 09:57:16.890617 60.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : CallerPKCommunitySix / 9900120420
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 10050 AND status=0 limit 1
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-07-12 09:57:16.890617 60.97% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("13.232.246.166") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "10050" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-07-12 09:57:16.890617 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343670]
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10050
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8871343670" OR id = "8871343670") AND deleted = 0 limit 1
2023-07-12 09:57:16.890617 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
2023-07-12 09:57:16.910612 60.97% [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 = '^10050.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-07-12 09:57:16.910612 60.97% [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 ="10050" AND A.accountid = '13' limit 1
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10050
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-07-12 09:57:16.910612 60.97% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2023-07-12 09:57:16.910612 60.97% [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 = '10050' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10050*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9900120420' OR number = '990012042' OR number = '99001204' OR number = '9900120' OR number = '990012' OR number = '99001' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '9900120420*' OR number = '990012042*' OR number = '99001204*' OR number = '9900120*' OR number = '990012*' OR number = '99001*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10050' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 13
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8871343670
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 76168.3732
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2023-07-12 09:57:16.910612 60.97% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10050" LIMIT 1
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="13" and number ="9900120420" and status = '0' LIMIT 1
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.20000
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '1' and status=0
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Query :SELECT gmttime from timezone where id = '118'
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Data :GMT+00:00
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Plus timezone
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_date:12
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_month:Jul
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :12-7
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :1
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT gmttime from timezone where id = '118'
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Data :GMT+00:00
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Plus timezone
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = +05:00 :
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted current_time: 09.57
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] BEFORE current_wday :Wed
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -00:00 :
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted DAY current_wday:Wed
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] AFTER current_wday :Wed
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Current Day Number4
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :-7
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.20000
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 13
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10050
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 13
2023-07-12 09:57:16.910612 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-07-12 09:57:16.910612 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your76168.3732 balance Accountid 13 !!!
2023-07-12 09:57:16.930614 60.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 500 mins!
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 500 minutes
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2023-07-12 09:57:16.930614 60.97% [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 = 13 AND status=0 LIMIT 1
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "7" OR number = "7") AND deleted = 0 limit 1
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =7
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:13
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:13
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 13
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2023-07-12 09:57:16.930614 60.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : alpha6.astppbilling.org
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 500
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+alphaFreeswitchProxy' and status = 0 limit 1
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-07-12 09:57:16.930614 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "10000007000" AND accounts.status = 0
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2023-07-12 09:57:16.930614 60.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : alpha6.astppbilling.org
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
2023-07-12 09:57:16.930614 60.97% [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="10050">
<condition field="destination_number" expression="10050">
<action application="set" data="effective_destination_number=10050"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+30000 normal_clearing"/>
<action application="set" data="type=3"/>
<action application="set" data="callstart=2023-07-12 09:57:16"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=13"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=CommunityVsix"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:1.20000|INC:60|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=CallerPKCommunitySix"/>
<action application="set" data="original_caller_id_number=9900120420"/>
<action application="set" data="effective_caller_id_name=CallerPKCommunitySix"/>
<action application="set" data="effective_caller_id_number=9900120420"/>
<action application="set" data="receiver_accid=7"/>
<action application="set" data="did_id=13"/>
<action application="set" data="transfer_call_type=5"/>
<action application="set" data="transfer_extensions=8827185844"/>
<action application="set" data="busy_status=0"/>
<action application="set" data="no_answer_status=1"/>
<action application="set" data="always_status=1"/>
<action application="set" data="transfer_status=1"/>
<action application="set" data="variable_sip_to_host=${domain_name}"/>
<action application="set" data="variable_sip_network_ip=13.232.246.166"/>
<action application="set" data="variable_sip_network_port=5077"/>
<action application="export" data="domain_name=alpha6.astppbilling.org"/>
<action application="export" data="sip_to_host=alpha6.astppbilling.org"/>
<action application="export" data="presence_data=x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166"/>
<action application="export" data="call_type=4"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="accountcode=8871343676"/>
<action application="set" data="caller_did_account_id=13"/>
<action application="set" data="did_number=10050"/>
<action application="set" data="did_init_inc=0"/>
<action application="set" data="did_inc=60"/>
<action application="set" data="did_cost=1.20000"/>
<action application="set" data="did_connectcost=0.00000"/>
<action application="set" data="origination_rates_did=0"/>
<action application="set" data="did_id=13"/>
<action application="transfer" data="10000007000 XML default"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9900120420@13.232.246.166 parsing [default->10050] continue=false
Dialplan: sofia/default/9900120420@13.232.246.166 Regex (PASS) [10050] destination_number(10050) =~ /10050/ break=on-false
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_destination_number=10050)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(type=3)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(callstart=2023-07-12 09:57:16)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(account_id=13)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(parent_id=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(entity_id=3)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_processed=internal)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_direction=inbound)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(accountname=CommunityVsix)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:1.20000|INC:60|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_name=CallerPKCommunitySix)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_number=9900120420)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_name=CallerPKCommunitySix)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_caller_id_number=9900120420)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(receiver_accid=7)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_id=13)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_call_type=5)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_extensions=8827185844)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(busy_status=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(no_answer_status=1)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(always_status=1)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(transfer_status=1)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_to_host=${domain_name})
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_ip=13.232.246.166)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(variable_sip_network_port=5077)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(domain_name=alpha6.astppbilling.org)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(sip_to_host=alpha6.astppbilling.org)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(presence_data=x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
Dialplan: sofia/default/9900120420@13.232.246.166 Action export(call_type=4)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(calltype=STANDARD)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(accountcode=8871343676)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(caller_did_account_id=13)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_number=10050)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_init_inc=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_inc=60)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_cost=1.20000)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_connectcost=0.00000)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(origination_rates_did=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(did_id=13)
Dialplan: sofia/default/9900120420@13.232.246.166 Action transfer(10000007000 XML default)
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9900120420@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 4)
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_sofia.c:213 sofia/default/9900120420@13.232.246.166 SOFIA EXECUTE
2023-07-12 09:57:16.930614 60.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/9900120420@13.232.246.166 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_destination_number=10050)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_destination_number]=[10050]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(bridge_pre_execute_bleg_data=+30000 normal_clearing)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [bridge_pre_execute_bleg_data]=[+30000 normal_clearing]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(type=3)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [type]=[3]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(callstart=2023-07-12 09:57:16)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [callstart]=[2023-07-12 09:57:16]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(hangup_after_bridge=true)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(continue_on_fail=TRUE)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(account_id=13)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [account_id]=[13]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(parent_id=0)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(entity_id=3)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_processed=internal)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_direction=inbound)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(accountname=CommunityVsix)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [accountname]=[CommunityVsix]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(filename1=astpp.pbx.lua)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates_did=ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:1.20000|INC:60|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates_did]=[ID:13|CODE:^10050.*|DESTINATION:10050|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:1.20000|INC:60|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:7]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates=0)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_name=CallerPKCommunitySix)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_name]=[CallerPKCommunitySix]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_number=9900120420)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_number]=[9900120420]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_name=CallerPKCommunitySix)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_name]=[CallerPKCommunitySix]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_caller_id_number=9900120420)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_caller_id_number]=[9900120420]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(receiver_accid=7)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [receiver_accid]=[7]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_id=13)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_id]=[13]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_call_type=5)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_call_type]=[5]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_extensions=8827185844)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_extensions]=[8827185844]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(busy_status=0)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [busy_status]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(no_answer_status=1)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [no_answer_status]=[1]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(always_status=1)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [always_status]=[1]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(transfer_status=1)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [transfer_status]=[1]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_to_host=95.217.238.195)
2023-07-12 09:57:16.930614 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_to_host]=[95.217.238.195]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_ip=13.232.246.166)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_ip]=[13.232.246.166]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(variable_sip_network_port=5077)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [variable_sip_network_port]=[5077]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(domain_name=alpha6.astppbilling.org)
2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[alpha6.astppbilling.org]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(sip_to_host=alpha6.astppbilling.org)
2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[alpha6.astppbilling.org]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(presence_data=x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166)
2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||DID and Call Services(8871343670)|||^10050.* // 10050 // 1.20000|||||||||DID|||13.232.246.166]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 export(call_type=4)
2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(calltype=STANDARD)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(accountcode=8871343676)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [accountcode]=[8871343676]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(caller_did_account_id=13)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [caller_did_account_id]=[13]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_number=10050)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_number]=[10050]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_init_inc=0)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_init_inc]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_inc=60)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_inc]=[60]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_cost=1.20000)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_cost]=[1.20000]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_connectcost=0.00000)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_connectcost]=[0.00000]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(origination_rates_did=0)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [origination_rates_did]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(did_id=13)
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [did_id]=[13]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 transfer(10000007000 XML default)
2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_ivr.c:2288 (sofia/default/9900120420@13.232.246.166) State Change CS_EXECUTE -> CS_ROUTING
2023-07-12 09:57:16.950624 60.97% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/9900120420@13.232.246.166 to XML[10000007000@default]
2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE going to sleep
2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_ROUTING (Cur 1 Tot 4)
2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2023-07-12 09:57:16.950624 60.97% [DEBUG] mod_sofia.c:158 sofia/default/9900120420@13.232.246.166 SOFIA ROUTING
2023-07-12 09:57:16.950624 60.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/9900120420@13.232.246.166 Standard ROUTING
2023-07-12 09:57:16.950624 60.97% [INFO] mod_dialplan_xml.c:639 Processing CallerPKCommunitySix <9900120420>->10000007000 in context default
2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10000007000
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '10000007000' limit 1
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '10000007000' and status=0 LIMIT 1
2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+alphaFreeswitchProxy
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'alpha6.astppbilling.org' limit 1
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '10000007000' limit 1
2023-07-12 09:57:16.970620 60.97% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : CallerPKCommunitySix / 9900120420
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 07000
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100000 AND status=0 limit 1
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-07-12 09:57:16.970620 60.97% [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="10000007000" AND domains.domain="alpha6.astppbilling.org" limit 1
2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8871343676]
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =10000007000
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8871343676" OR id = "8871343676") AND deleted = 0 limit 1
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^10000007000.*' OR blocked_patterns = '^1000000700.*' OR blocked_patterns = '^100000070.*' OR blocked_patterns = '^10000007.*' OR blocked_patterns = '^1000000.*' OR blocked_patterns = '^100000.*' OR blocked_patterns = '^10000.*' OR blocked_patterns = '^1000.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2023-07-12 09:57:16.970620 60.97% [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 = '^10000007000.*' OR patterns = '^1000000700.*' OR patterns = '^100000070.*' OR patterns = '^10000007.*' OR patterns = '^1000000.*' OR patterns = '^100000.*' OR patterns = '^10000.*' OR patterns = '^1000.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-07-12 09:57:16.970620 60.97% [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 ="10000007000" AND A.accountid = '7' limit 1
2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10000007000
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-07-12 09:57:16.970620 60.97% [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="10000007000" AND domains.domain="alpha6.astppbilling.org" limit 1
2023-07-12 09:57:16.970620 60.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-07-12 09:57:16.970620 60.97% [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 = '10000007000' OR number = '1000000700' OR number = '100000070' OR number = '10000007' OR number = '1000000' OR number = '100000' OR number = '10000' OR number = '1000' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10000007000*' OR number = '1000000700*' OR number = '100000070*' OR number = '10000007*' OR number = '1000000*' OR number = '100000*' OR number = '10000*' OR number = '1000*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9900120420' OR number = '990012042' OR number = '99001204' OR number = '9900120' OR number = '990012' OR number = '99001' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '9900120420*' OR number = '990012042*' OR number = '99001204*' OR number = '9900120*' OR number = '990012*' OR number = '99001*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number: 10000007000 : Type: 0 (0 for CLI, 1 for DST))
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number::::****
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : 1
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Post Cdrs : 0
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 7
2023-07-12 09:57:16.970620 60.97% [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="10000007000">
<condition field="destination_number" expression="10000007000">
<action application="log" data="WARNING Accountcode 8871343676. Dialed number (10000007000) 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=CallerPKCommunitySix"/>
<action application="set" data="original_caller_id_number=CallerPKCommunitySix"/>
<action application="set" data="error_cdr=1"/>
<action application="set" data="callstart=2023-07-12 09:57:16"/>
<action application="set" data="account_id=7"/>
<action application="set" data="parent_id=0"/>
<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=10000007000"/>
<action application="set" data="last_bridge_hangup_cause=DESTINATION_BLOCKED"/>
<action application="hangup" data="DESTINATION_BLOCKED"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9900120420@13.232.246.166 parsing [default->10000007000] continue=false
Dialplan: sofia/default/9900120420@13.232.246.166 Regex (PASS) [10000007000] destination_number(10000007000) =~ /10000007000/ break=on-false
Dialplan: sofia/default/9900120420@13.232.246.166 Action log(WARNING Accountcode 8871343676. Dialed number (10000007000) is blocked for account!!)
Dialplan: sofia/default/9900120420@13.232.246.166 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_name=CallerPKCommunitySix)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(original_caller_id_number=CallerPKCommunitySix)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(error_cdr=1)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(callstart=2023-07-12 09:57:16)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(account_id=7)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(parent_id=0)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_direction=outbound)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(sip_ignore_remote_cause=true)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(call_processed=internal)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(effective_destination_number=10000007000)
Dialplan: sofia/default/9900120420@13.232.246.166 Action set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
Dialplan: sofia/default/9900120420@13.232.246.166 Action hangup(DESTINATION_BLOCKED)
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9900120420@13.232.246.166) State Change CS_ROUTING -> CS_EXECUTE
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9900120420@13.232.246.166) State ROUTING going to sleep
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_EXECUTE (Cur 1 Tot 4)
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE
2023-07-12 09:57:16.970620 60.97% [DEBUG] mod_sofia.c:213 sofia/default/9900120420@13.232.246.166 SOFIA EXECUTE
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/9900120420@13.232.246.166 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 log(WARNING Accountcode 8871343676. Dialed number (10000007000) is blocked for account!!)
2023-07-12 09:57:16.970620 60.97% [WARNING] mod_dptools.c:1867 Accountcode 8871343676. Dialed number (10000007000) is blocked for account!!
2023-07-12 09:57:16.970620 60.97% [DEBUG] switch_core_session.c:2785 Application playback Requires media! pre_answering channel sofia/default/9900120420@13.232.246.166
2023-07-12 09:57:16.990717 60.97% [INFO] switch_core_session.c:2787 Sending early media
2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/9900120420@13.232.246.166] 95.217.238.195 port 32496 -> 13.232.246.166 port 18172 codec: 0 ms: 20
2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_media.c:8963 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf send payload to 101
2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_media.c:8970 sofia/default/9900120420@13.232.246.166 Set 2833 dtmf receive payload to 101
2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_media.c:8993 sofia/default/9900120420@13.232.246.166 Set rtp dtmf delay to 40
2023-07-12 09:57:16.990717 60.97% [DEBUG] mod_sofia.c:2609 Ring SDP:
v=0
o=FreeSWITCH 1689123340 1689123341 IN IP4 95.217.238.195
s=FreeSWITCH
c=IN IP4 95.217.238.195
t=0 0
m=audio 32496 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-07-12 09:57:16.990717 60.97% [NOTICE] mod_sofia.c:2612 Pre-Answer sofia/default/9900120420@13.232.246.166!
2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_channel.c:3566 (sofia/default/9900120420@13.232.246.166) Callstate Change RINGING -> EARLY
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav)
2023-07-12 09:57:16.990717 60.97% [DEBUG] sofia.c:7487 Channel sofia/default/9900120420@13.232.246.166 entering state [early][183]
2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav sample rate 16000 doesn't match requested rate 8000
2023-07-12 09:57:16.990717 60.97% [DEBUG] switch_ivr_play_say.c:1566 Codec Activated L16@8000hz 1 channels 20ms
2023-07-12 09:57:17.330617 60.97% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_ivr_play_say.c:2015 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-badnumber.wav
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_name=CallerPKCommunitySix)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_name]=[CallerPKCommunitySix]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(original_caller_id_number=CallerPKCommunitySix)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [original_caller_id_number]=[CallerPKCommunitySix]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(error_cdr=1)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [error_cdr]=[1]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(callstart=2023-07-12 09:57:16)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [callstart]=[2023-07-12 09:57:16]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(account_id=7)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [account_id]=[7]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(parent_id=0)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_direction=outbound)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(sip_ignore_remote_cause=true)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [sip_ignore_remote_cause]=[true]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(call_processed=internal)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(effective_destination_number=10000007000)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [effective_destination_number]=[10000007000]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_dptools.c:1673 SET sofia/default/9900120420@13.232.246.166 [last_bridge_hangup_cause]=[DESTINATION_BLOCKED]
EXECUTE [depth=0] sofia/default/9900120420@13.232.246.166 hangup(DESTINATION_BLOCKED)
2023-07-12 09:57:19.050623 60.70% [NOTICE] mod_dptools.c:1376 Hangup sofia/default/9900120420@13.232.246.166 [CS_EXECUTE] [NORMAL_CLEARING]
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_session.c:2973 sofia/default/9900120420@13.232.246.166 skip receive message [PHONE_EVENT] (channel is hungup already)
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9900120420@13.232.246.166) State EXECUTE going to sleep
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_HANGUP (Cur 1 Tot 4)
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9900120420@13.232.246.166) Callstate Change EARLY -> HANGUP
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/9900120420@13.232.246.166 hanging up, cause: NORMAL_CLEARING
2023-07-12 09:57:19.050623 60.70% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/9900120420@13.232.246.166 Standard HANGUP, cause: NORMAL_CLEARING
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9900120420@13.232.246.166) State HANGUP going to sleep
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9900120420@13.232.246.166) State Change CS_HANGUP -> CS_REPORTING
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9900120420@13.232.246.166) Running State Change CS_REPORTING (Cur 1 Tot 4)
2023-07-12 09:57:19.050623 60.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING
2023-07-12 09:57:19.050623 60.70% [INFO] mod_json_cdr.c:272 Process [31010f03-6510-467c-a3b5-dc70f7a04fbe.cdr.json]
2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/9900120420@13.232.246.166 Standard REPORTING, cause: NORMAL_CLEARING
2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9900120420@13.232.246.166) State REPORTING going to sleep
2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9900120420@13.232.246.166) State Change CS_REPORTING -> CS_DESTROY
2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_session.c:1743 Session 4 (sofia/default/9900120420@13.232.246.166) Locked, Waiting on external entities
2023-07-12 09:57:19.070621 60.70% [NOTICE] switch_core_session.c:1761 Session 4 (sofia/default/9900120420@13.232.246.166) Ended
2023-07-12 09:57:19.070621 60.70% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/9900120420@13.232.246.166 [CS_DESTROY]
2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9900120420@13.232.246.166) Running State Change CS_DESTROY (Cur 0 Tot 4)
2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY
2023-07-12 09:57:19.070621 60.70% [DEBUG] mod_sofia.c:379 sofia/default/9900120420@13.232.246.166 SOFIA DESTROY
2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/9900120420@13.232.246.166 Standard DESTROY
2023-07-12 09:57:19.070621 60.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9900120420@13.232.246.166) State DESTROY going to sleep
freeswitch@AlphaQaAlpesh>
freeswitch@AlphaQaAlpesh>
freeswitch@AlphaQaAlpesh>
freeswitch@AlphaQaAlpesh>
freeswitch@AlphaQaAlpesh>
freeswitch@AlphaQaAlpesh> /exit
root@AlphaQaAlpesh:~#