and you must configure your device to use the proper domain in its authentication credentials.
2023-03-01 11:40:27.374854 94.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/4810338297@95.217.238.195 [8b13f8a3-6026-4cd9-94b9-19166a7cc79f]
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4810338297@95.217.238.195) Running State Change CS_NEW (Cur 1 Tot 1)
2023-03-01 11:40:27.374854 94.47% [INFO] sofia.c:10462 sofia/default/4810338297@95.217.238.195 receiving invite from 142.132.184.134:5060 version: 1.10.7 -release 64bit call-id: b4071744-32c8-123c-9e93-960001f424d3
2023-03-01 11:40:27.374854 94.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 142.132.184.134:0.
2023-03-01 11:40:27.374854 94.47% [DEBUG] sofia.c:10585 IP 142.132.184.134 Approved by acl "default[]". Access Granted.
2023-03-01 11:40:27.374854 94.47% [DEBUG] sofia.c:7499 Channel sofia/default/4810338297@95.217.238.195 entering state [received][100]
2023-03-01 11:40:27.374854 94.47% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=FreeSWITCH 1677649515 1677649516 IN IP4 95.217.238.195
s=FreeSWITCH
c=IN IP4 95.217.238.195
t=0 0
m=audio 21312 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/4810338297@95.217.238.195 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_codec.c:111 sofia/default/4810338297@95.217.238.195 Original read codec set to PCMU:0
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_media.c:5973 sofia/default/4810338297@95.217.238.195 Set 2833 dtmf send payload to 101 recv payload to 101
2023-03-01 11:40:27.374854 94.47% [DEBUG] sofia.c:7933 (sofia/default/4810338297@95.217.238.195) State Change CS_NEW -> CS_INIT
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:600 (sofia/default/4810338297@95.217.238.195) State NEW
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4810338297@95.217.238.195) Running State Change CS_INIT (Cur 1 Tot 1)
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4810338297@95.217.238.195) State INIT
2023-03-01 11:40:27.374854 94.47% [DEBUG] mod_sofia.c:97 sofia/default/4810338297@95.217.238.195 SOFIA INIT
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/4810338297@95.217.238.195 Standard INIT
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4810338297@95.217.238.195) State Change CS_INIT -> CS_ROUTING
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4810338297@95.217.238.195) State INIT going to sleep
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4810338297@95.217.238.195) Running State Change CS_ROUTING (Cur 1 Tot 1)
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_channel.c:2380 (sofia/default/4810338297@95.217.238.195) Callstate Change DOWN -> RINGING
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4810338297@95.217.238.195) State ROUTING
2023-03-01 11:40:27.374854 94.47% [DEBUG] mod_sofia.c:158 sofia/default/4810338297@95.217.238.195 SOFIA ROUTING
2023-03-01 11:40:27.374854 94.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/4810338297@95.217.238.195 Standard ROUTING
2023-03-01 11:40:27.374854 94.47% [INFO] mod_dialplan_xml.c:639 Processing ASTPP <4810338297>->1011 in context default
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1011
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1011' limit 1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1011' and status=0 LIMIT 1
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERadmin
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '1011' limit 1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '63' and username = '1011' limit 1
2023-03-01 11:40:27.394864 94.47% [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 = 'admin' limit 1
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "ASTPP" / 4810338297
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 1011 AND status=0 limit 1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1011" LIMIT 1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 95.217.238.195
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 990004]
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "990004" AND deleted = 0 limit 1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =63
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 63
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^1011.*' OR patterns = '^101.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 63 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="1011" AND A.accountid = '63' limit 1
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1011
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1011" LIMIT 1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '1011' OR number = '101' OR number = '10' OR number = '1' OR number ='--') OR (number = '1011*' OR number = '101*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '4810338297' OR number = '481033829' OR number = '48103382' OR number = '4810338' OR number = '481033' OR number = '48103' OR number = '4810' OR number = '481' OR number = '48' OR number = '4' OR number ='--') OR (number = '4810338297*' OR number = '481033829*' OR number = '48103382*' OR number = '4810338*' OR number = '481033*' OR number = '48103*' OR number = '4810*' OR number = '481*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1011' OR routing_prefix = '101' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 61 limit 1
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 63
2023-03-01 11:40:27.394864 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990004
2023-03-01 11:40:27.394864 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1029397.01
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 138
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::138
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1011" LIMIT 1
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 102
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1011
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1029397.01 balance Accountid 63 !!!
2023-03-01 11:40:27.414884 94.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2023-03-01 11:40:27.414884 94.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 61
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "61" AND deleted = 0 limit 1
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 61
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990003
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1029397.01
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 137
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::137
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1011" LIMIT 1
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 102
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 1011
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 61
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1029397.01 balance Accountid 61 !!!
2023-03-01 11:40:27.414884 94.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63||ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 63 AND status=0 LIMIT 1
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "63" AND deleted = 0 limit 1
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:63
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 63
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 63 limit 1
2023-03-01 11:40:27.414884 94.47% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : astppqa603.astppbilling.org
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2023-03-01 11:40:27.414884 94.47% [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 = "6" AND accounts.status = 0
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :1011
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :1011
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 63 limit 1
2023-03-01 11:40:27.414884 94.47% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : astppqa603.astppbilling.org
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 63 and status = 0 limit 1
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_14
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 14
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] call_type : Call Center
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_CALLCENTER_INFO] Query :SELECT * from callcenter_queues WHERE id = 6 and status=0 LIMIT 1
2023-03-01 11:40:27.414884 94.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call center greetings_file::10
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '10' LIMIT 1
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '11' LIMIT 1
2023-03-01 11:40:27.414884 94.47% [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="1011">
<condition field="destination_number" expression="1011">
<action application="set" data="effective_destination_number=1011"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2023-03-01 11:40:27"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=63"/>
<action application="set" data="parent_id=61"/>
<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="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="origination_rates_did=ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63||ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name="ASTPP""/>
<action application="set" data="original_caller_id_number=4810338297"/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="RECORD_STEREO=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
<action application="hash" data="insert/${domain_name}-call_return/${destination_number}/${caller_id_number}"/>
<action application="set" data="effective_caller_id_name="ASTPP""/>
<action application="set" data="effective_caller_id_number=4810338297"/>
<action application="set" data="receiver_accid=63"/>
<action application="export" data="domain_name=astppqa603.astppbilling.org"/>
<action application="export" data="sip_to_host=astppqa603.astppbilling.org"/>
<action application="export" data="presence_data=x|||Reseller PK Client Customer(990004)|||||||||DID|||95.217.238.195"/>
<action application="export" data="call_type=14"/>
<action application="set" data="did_calltype=14"/>
<action application="set" data="did_extensions=6"/>
<action application="set" data="daily_call_credit_limit=0.00000"/>
<action application="set" data="monthly_call_credit_limit=0.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=0.00000"/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="RECORD_STEREO=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="answer"/>
<action application="playback" data="/var/www/html/astpp/upload/pbx/taunt_010323081438.wav"/>
<action application="playback" data="/var/www/html/astpp/upload/pbx/sample-12s_010323091804.wav"/>
<action application="callcenter" data="dataQA@default"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/4810338297@95.217.238.195 parsing [default->1011] continue=false
Dialplan: sofia/default/4810338297@95.217.238.195 Regex (PASS) [1011] destination_number(1011) =~ /1011/ break=on-false
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(effective_destination_number=1011)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(type=0)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(callstart=2023-03-01 11:40:27)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(account_id=63)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(parent_id=61)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(entity_id=0)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(call_processed=internal)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(call_direction=inbound)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(accountname=default)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(t38_passthru=true)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(fax_enable_t38=true)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(origination_rates_did=ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63||ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(origination_rates=0)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(original_caller_id_name=)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(original_caller_id_number=4810338297)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(is_recording=1)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(RECORD_STEREO=true)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(record_sample_rate=8000)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/4810338297@95.217.238.195 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/default/4810338297@95.217.238.195 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number})
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(effective_caller_id_name=)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(effective_caller_id_number=4810338297)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(receiver_accid=63)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(domain_name=astppqa603.astppbilling.org)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(sip_to_host=astppqa603.astppbilling.org)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(presence_data=x|||Reseller PK Client Customer(990004)|||||||||DID|||95.217.238.195)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(call_type=14)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(did_calltype=14)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(did_extensions=6)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/4810338297@95.217.238.195 Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(is_recording=1)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(RECORD_STEREO=true)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(record_sample_rate=8000)
Dialplan: sofia/default/4810338297@95.217.238.195 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/4810338297@95.217.238.195 Action answer()
Dialplan: sofia/default/4810338297@95.217.238.195 Action playback(/var/www/html/astpp/upload/pbx/taunt_010323081438.wav)
Dialplan: sofia/default/4810338297@95.217.238.195 Action playback(/var/www/html/astpp/upload/pbx/sample-12s_010323091804.wav)
Dialplan: sofia/default/4810338297@95.217.238.195 Action callcenter(dataQA@default)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/4810338297@95.217.238.195) State Change CS_ROUTING -> CS_EXECUTE
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4810338297@95.217.238.195) State ROUTING going to sleep
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4810338297@95.217.238.195) Running State Change CS_EXECUTE (Cur 1 Tot 1)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4810338297@95.217.238.195) State EXECUTE
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_sofia.c:213 sofia/default/4810338297@95.217.238.195 SOFIA EXECUTE
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/4810338297@95.217.238.195 Standard EXECUTE
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(effective_destination_number=1011)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [effective_destination_number]=[1011]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(type=0)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [type]=[0]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(callstart=2023-03-01 11:40:27)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [callstart]=[2023-03-01 11:40:27]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(hangup_after_bridge=true)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(continue_on_fail=TRUE)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(account_id=63)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [account_id]=[63]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(parent_id=61)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [parent_id]=[61]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(entity_id=0)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(call_processed=internal)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(call_direction=inbound)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(accountname=default)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [accountname]=[default]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(t38_passthru=true)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(fax_enable_t38=true)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [fax_enable_t38]=[true]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(fax_enable_t38_request=true)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [fax_enable_t38_request]=[true]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(origination_rates_did=ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63||ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [origination_rates_did]=[ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63||ID:102|CODE:^1011.*|DESTINATION:1011|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:14|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:63]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(origination_rates=0)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(original_caller_id_name=)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [original_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(original_caller_id_number=4810338297)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [original_caller_id_number]=[4810338297]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(is_recording=1)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(media_bug_answer_req=true)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(RECORD_STEREO=true)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(record_sample_rate=8000)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/8b13f8a3-6026-4cd9-94b9-19166a7cc79f.wav)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8b13f8a3-6026-4cd9-94b9-19166a7cc79f.wav]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 hash(insert/142.132.184.134-last_dial/4810338297/1011)
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 hash(insert/142.132.184.134-call_return/1011/4810338297)
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(effective_caller_id_name=)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [effective_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(effective_caller_id_number=4810338297)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [effective_caller_id_number]=[4810338297]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(receiver_accid=63)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [receiver_accid]=[63]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(domain_name=astppqa603.astppbilling.org)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[astppqa603.astppbilling.org]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(sip_to_host=astppqa603.astppbilling.org)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[astppqa603.astppbilling.org]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(presence_data=x|||Reseller PK Client Customer(990004)|||||||||DID|||95.217.238.195)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Reseller PK Client Customer(990004)|||||||||DID|||95.217.238.195]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(call_type=14)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[14]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(did_calltype=14)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [did_calltype]=[14]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(did_extensions=6)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [did_extensions]=[6]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(daily_call_credit_limit=0.00000)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(monthly_call_credit_limit=0.00000)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(daily_call_used_limit=0.00000)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 set(monthly_call_used_limit=0.00000)
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/4810338297@95.217.238.195 [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(is_recording=1)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(media_bug_answer_req=true)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(RECORD_STEREO=true)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(record_sample_rate=8000)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/8b13f8a3-6026-4cd9-94b9-19166a7cc79f.wav)
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/8b13f8a3-6026-4cd9-94b9-19166a7cc79f.wav]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 answer()
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/4810338297@95.217.238.195] 142.132.184.134 port 20944 -> 95.217.238.195 port 21312 codec: 0 ms: 20
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_core_media.c:9089 sofia/default/4810338297@95.217.238.195 Set 2833 dtmf send payload to 101
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_core_media.c:9096 sofia/default/4810338297@95.217.238.195 Set 2833 dtmf receive payload to 101
2023-03-01 11:40:27.414884 94.47% [DEBUG] switch_core_media.c:9119 sofia/default/4810338297@95.217.238.195 Set rtp dtmf delay to 40
2023-03-01 11:40:27.414884 94.47% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/4810338297@95.217.238.195:
v=0
o=FreeSWITCH 1677649883 1677649884 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 20944 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-03-01 11:40:27.414884 94.47% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/4810338297@95.217.238.195] has been answered
2023-03-01 11:40:27.414884 94.47% [DEBUG] sofia.c:7499 Channel sofia/default/4810338297@95.217.238.195 entering state [completed][200]
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 record_session(/usr/local/freeswitch/recordings/8b13f8a3-6026-4cd9-94b9-19166a7cc79f.wav)
2023-03-01 11:40:27.454830 94.47% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
2023-03-01 11:40:27.454830 94.47% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/4810338297@95.217.238.195
2023-03-01 11:40:27.454830 94.47% [DEBUG] switch_channel.c:3950 (sofia/default/4810338297@95.217.238.195) Callstate Change RINGING -> ACTIVE
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 playback(/var/www/html/astpp/upload/pbx/taunt_010323081438.wav)
2023-03-01 11:40:27.454830 94.47% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/pbx/taunt_010323081438.wav sample rate 22257 doesn't match requested rate 8000
2023-03-01 11:40:27.454830 94.47% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2023-03-01 11:40:27.454830 94.47% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
2023-03-01 11:40:27.474835 94.47% [DEBUG] sofia.c:7499 Channel sofia/default/4810338297@95.217.238.195 entering state [ready][200]
2023-03-01 11:40:27.994862 94.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-03-01 11:40:27.994862 94.47% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
2023-03-01 11:40:28.574875 94.33% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [816845@astppqa604.astppbilling.org] from ip 150.129.107.251
2023-03-01 11:40:28.714859 94.33% [WARNING] sofia_reg.c:3223 Can't find user [816845@astppqa604.astppbilling.org] from 150.129.107.251
You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="816845" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2023-03-01 11:40:31.514852 94.27% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/pbx/taunt_010323081438.wav
EXECUTE [depth=0] sofia/default/4810338297@95.217.238.195 playback(/var/www/html/astpp/upload/pbx/sample-12s_010323091804.wav)
2023-03-01 11:40:31.514852 94.27% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/pbx/sample-12s_010323091804.wav sample rate 44100 doesn't match requested rate 8000
2023-03-01 11:40:31.514852 94.27% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2023-03-01 11:40:31.514852 94.27% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_ivr_play_say.c:2001 done playing file /var/www/html/astpp/upload/pbx/sample-12s_010323091804.wav
2023-03-01 11:40:44.314849 94.63% [ERR] switch_core_session.c:2770 Invalid Application callcenter
2023-03-01 11:40:44.314849 94.63% [NOTICE] switch_core_session.c:2771 Hangup sofia/default/4810338297@95.217.238.195 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/4810338297@95.217.238.195) State EXECUTE going to sleep
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4810338297@95.217.238.195) Running State Change CS_HANGUP (Cur 1 Tot 1)
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/8b13f8a3-6026-4cd9-94b9-19166a7cc79f.wav
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/4810338297@95.217.238.195
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4810338297@95.217.238.195) Callstate Change ACTIVE -> HANGUP
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4810338297@95.217.238.195) State HANGUP
2023-03-01 11:40:44.314849 94.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/4810338297@95.217.238.195 hanging up, cause: DESTINATION_OUT_OF_ORDER
2023-03-01 11:40:44.314849 94.63% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/4810338297@95.217.238.195
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/4810338297@95.217.238.195 Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4810338297@95.217.238.195) State HANGUP going to sleep
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4810338297@95.217.238.195) State Change CS_HANGUP -> CS_REPORTING
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4810338297@95.217.238.195) Running State Change CS_REPORTING (Cur 1 Tot 1)
2023-03-01 11:40:44.314849 94.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4810338297@95.217.238.195) State REPORTING
2023-03-01 11:40:44.314849 94.63% [INFO] mod_json_cdr.c:271 Process [8b13f8a3-6026-4cd9-94b9-19166a7cc79f.cdr.json]
2023-03-01 11:40:44.374847 94.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/4810338297@95.217.238.195 Standard REPORTING, cause: DESTINATION_OUT_OF_ORDER
2023-03-01 11:40:44.374847 94.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4810338297@95.217.238.195) State REPORTING going to sleep
2023-03-01 11:40:44.374847 94.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4810338297@95.217.238.195) State Change CS_REPORTING -> CS_DESTROY
2023-03-01 11:40:44.374847 94.63% [DEBUG] switch_core_session.c:1753 Session 1 (sofia/default/4810338297@95.217.238.195) Locked, Waiting on external entities
2023-03-01 11:40:44.374847 94.63% [NOTICE] switch_core_session.c:1771 Session 1 (sofia/default/4810338297@95.217.238.195) Ended
2023-03-01 11:40:44.374847 94.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/4810338297@95.217.238.195 [CS_DESTROY]
2023-03-01 11:40:44.374847 94.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4810338297@95.217.238.195) Running State Change CS_DESTROY (Cur 0 Tot 1)
2023-03-01 11:40:44.374847 94.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4810338297@95.217.238.195) State DESTROY
2023-03-01 11:40:44.374847 94.63% [DEBUG] mod_sofia.c:379 sofia/default/4810338297@95.217.238.195 SOFIA DESTROY
2023-03-01 11:40:44.374847 94.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/4810338297@95.217.238.195 Standard DESTROY
2023-03-01 11:40:44.374847 94.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4810338297@95.217.238.195) State DESTROY going to sleep
freeswitch@BetaQA> /exit
root@BetaQA:~#