From Kamal, 3 Years ago, written in FreeSWITCH.
This paste is a reply to Untitled from Kamal
- go back
Embed
Viewing differences between Untitled and USER_NOT_REGISTERED
2021-02-15 18:29:23.674601 [NOTICE] switch_channel.c:1118 New Channel sofia/default/07943550553@87.238.73.159 [e5ca7a50-efb7-49ba-ab45-65d1722a4357]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_NEW (Cur 1 Tot 43938)
2021-02-15 18:29:23.674601 [DEBUG] sofia.c:10280 sofia/default/07943550553@87.238.73.159 receiving invite from 87.238.72.130:5060 version: 1.10.5 -release-17-25569c1631 64bit
2021-02-15 18:29:23.674601 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 87.238.72.130:0.
2021-02-15 18:29:23.674601 [DEBUG] sofia.c:10403 IP 87.238.72.130 Approved by acl "default[]". Access Granted.
2021-02-15 18:29:23.674601 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.159 entering state [received][100]
2021-02-15 18:29:23.674601 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 5 1 IN IP4 213.166.4.161
s=-
c=IN IP4 213.166.4.161
t=0 0
m=audio 26752 RTP/AVP 8 0 3 18 4 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=fmtp:4 bitrate=5.3;annexa=yes
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/07943550553@87.238.73.159 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-02-15 18:29:23.674601 [DEBUG] switch_core_codec.c:111 sofia/default/07943550553@87.238.73.159 Original read codec set to PCMA:8
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-02-15 18:29:23.674601 [DEBUG] switch_core_media.c:5911 sofia/default/07943550553@87.238.73.159 Set 2833 dtmf send payload to 101 recv payload to 101
2021-02-15 18:29:23.674601 [DEBUG] sofia.c:7760 (sofia/default/07943550553@87.238.73.159) State Change CS_NEW -> CS_INIT
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:604 (sofia/default/07943550553@87.238.73.159) State NEW
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_INIT (Cur 1 Tot 43938)
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07943550553@87.238.73.159) State INIT
2021-02-15 18:29:23.674601 [DEBUG] mod_sofia.c:93 sofia/default/07943550553@87.238.73.159 SOFIA INIT
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:40 sofia/default/07943550553@87.238.73.159 Standard INIT
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:48 (sofia/default/07943550553@87.238.73.159) State Change CS_INIT -> CS_ROUTING
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07943550553@87.238.73.159) State INIT going to sleep
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_ROUTING (Cur 1 Tot 43938)
2021-02-15 18:29:23.674601 [DEBUG] switch_channel.c:2332 (sofia/default/07943550553@87.238.73.159) Callstate Change DOWN -> RINGING
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07943550553@87.238.73.159) State ROUTING
2021-02-15 18:29:23.674601 [DEBUG] mod_sofia.c:154 sofia/default/07943550553@87.238.73.159 SOFIA ROUTING
2021-02-15 18:29:23.674601 [DEBUG] switch_core_state_machine.c:236 sofia/default/07943550553@87.238.73.159 Standard ROUTING
2021-02-15 18:29:23.674601 [INFO] mod_dialplan_xml.c:637 Processing 07943550553 <07943550553>->03333059910 in context default
2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-02-15 18:29:23.694542 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
2021-02-15 18:29:23.694542 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 03333059910
2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '03333059910' limit 1
2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '03333059910' AND status=0 limit 1
2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '03333059910' and status=0 LIMIT 1
2021-02-15 18:29:23.694542 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
2021-02-15 18:29:23.694542 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 07943550553 / 07943550553
2021-02-15 18:29:23.694542 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03333059910" LIMIT 1
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [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("87.238.72.130") 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 "03333059910"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3673942894]
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [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 ="03333059910" AND A.accountid = '3' limit 1
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 03333059910
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03333059910" LIMIT 1
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="03333059910" AND (accountid = 0 OR status = 1) LIMIT 1
2021-02-15 18:29:23.714531 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :84
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [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 (patterns = '^03333059910.*' OR patterns = '^0333305991.*' OR patterns = '^033330599.*' OR patterns = '^03333059.*' OR patterns = '^0333305.*' OR patterns = '^033330.*' OR patterns = '^03333.*' OR patterns = '^0333.*' OR patterns = '^033.*' OR patterns = '^03.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 84 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '03333059910' OR number = '0333305991' OR number = '033330599' OR number = '03333059' OR number = '0333305' OR number = '033330' OR number = '03333' OR number = '0333' OR number = '033' OR number = '03' OR number = '0' OR number ='--') OR (number = '03333059910*' OR number = '0333305991*' OR number = '033330599*' OR number = '03333059*' OR number = '0333305*' OR number = '033330*' OR number = '03333*' OR number = '0333*' OR number = '033*' OR number = '03*' OR number = '0*' OR number ='--') OR (number = '07943550553' OR number = '0794355055' OR number = '079435505' OR number = '07943550' OR number = '0794355' OR number = '079435' OR number = '07943' OR number = '0794' OR number = '079' OR number = '07' OR number = '0' OR number ='--') OR (number = '07943550553*' OR number = '0794355055*' OR number = '079435505*' OR number = '07943550*' OR number = '0794355*' OR number = '079435*' OR number = '07943*' OR number = '0794*' OR number = '079*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '03333059910' OR routing_prefix = '0333305991' OR routing_prefix = '033330599' OR routing_prefix = '03333059' OR routing_prefix = '0333305' OR routing_prefix = '033330' OR routing_prefix = '03333' OR routing_prefix = '0333' OR routing_prefix = '033' OR routing_prefix = '03' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 3
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3673942894
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 3
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03333059910" LIMIT 1
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1042
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 03333059910
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 200
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 3
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
2021-02-15 18:29:23.714531 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2021-02-15 18:29:23.714531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
2021-02-15 18:29:23.714531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "84" AND deleted = 0 limit 1
2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:3
2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:3
2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 84 limit 1
2021-02-15 18:29:23.734552 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDont66.appcaption.com
2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
2021-02-15 18:29:23.734552 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : inbound
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"44/0".....07943550553
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"44/0".....07943550553
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 84 limit 1
2021-02-15 18:29:23.734552 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDont66.appcaption.com
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [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 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="8389988158"  AND domains.domain="Dont66.appcaption.com" limit 1
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 31 limit 1
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-02-15 18:29:23.734552 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain beforeDont66.appcaption.com
2021-02-15 18:29:23.734552 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] pickup_group_permission pickup_str
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-02-15 18:29:23.734552 [DEBUG] switch_cpp.cpp:1447 [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 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="8389988158"  AND domains.domain="Dont66.appcaption.com" limit 1
2021-02-15 18:29:23.754537 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 31 limit 1
2021-02-15 18:29:23.754537 [DEBUG] switch_cpp.cpp:1447 [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="03333059910">
<condition field="destination_number" expression="03333059910">
<action application="set" data="effective_destination_number=03333059910"/>
<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="callstart=2021-02-15 18:29:23"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=3"/>
<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=Magrathea_IP_2"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=07943550553"/>
<action application="set" data="original_caller_id_number=07943550553"/>
<action application="limit" data="db 84 user_84 1000 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=07943550553"/>
<action application="set" data="effective_caller_id_number=07943550553"/>
<action application="set" data="receiver_accid=84"/>
<action application="limit" data="db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION"/>
<action application="export" data="presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID"/>
<action application="export" data="call_type=0"/>
<action application="set" data="calltype=DID-LOCAL"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/8389988158/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="export" data="did_user_domain=Dont66.appcaption.com"/>
<action application="bridge" data="[leg_timeout=180]user/8389988158@Dont66.appcaption.com"/>
<action application="set" data="on_busy_flag=1"/>
<action application="set" data="on_busy_destination="/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination="/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination="/>
<action application="set" data="opensips_flag=1"/>
<action application="set" data="variable_sip_to_host=Dont66.appcaption.com"/>
<action application="set" data="opensips_domain=127.0.0.1"/>
<action application="set" data="leg_timeout=180"/>
<action application="set" data="userinfo_id=84"/>
<action application="set" data="sip_destination_number=8389988158"/>
<action application="set" data="destination_number=03333059910"/>
<action application="set" data="did_number=03333059910"/>
<action application="set" data="user_domain=Dont66.appcaption.com"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 8389988158@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=03333059910"/>
<action application="voicemail" data="default $${domain_name} 8389988158"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/07943550553@87.238.73.159 parsing [default->03333059910] continue=false
Dialplan: sofia/default/07943550553@87.238.73.159 Regex (PASS) [03333059910] destination_number(03333059910) =~ /03333059910/ break=on-false
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(effective_destination_number=03333059910)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(callstart=2021-02-15 18:29:23)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(account_id=3)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(parent_id=0)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(entity_id=3)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(call_processed=internal)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(call_direction=inbound)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(accountname=Magrathea_IP_2)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(origination_rates=0)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(original_caller_id_name=07943550553)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(original_caller_id_number=07943550553)
Dialplan: sofia/default/07943550553@87.238.73.159 Action limit(db 84 user_84 1000 !SWITCH_CONGESTION)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(effective_caller_id_name=07943550553)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(effective_caller_id_number=07943550553)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(receiver_accid=84)
Dialplan: sofia/default/07943550553@87.238.73.159 Action limit(db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION)
Dialplan: sofia/default/07943550553@87.238.73.159 Action export(presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID)
Dialplan: sofia/default/07943550553@87.238.73.159 Action export(call_type=0)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/07943550553@87.238.73.159 Action db(insert/pickup_any_group_${callgroup}/8389988158/${uuid})
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/07943550553@87.238.73.159 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/07943550553@87.238.73.159 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/07943550553@87.238.73.159 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/07943550553@87.238.73.159 Action export(did_user_domain=Dont66.appcaption.com)
Dialplan: sofia/default/07943550553@87.238.73.159 Action bridge([leg_timeout=180]user/8389988158@Dont66.appcaption.com)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(on_busy_flag=1)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(on_busy_destination=)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(no_answer_flag=1)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(no_answer_destination=)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(not_register_flag=1)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(not_register_destination=)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(opensips_flag=1)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(variable_sip_to_host=Dont66.appcaption.com)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(leg_timeout=180)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(userinfo_id=84)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(sip_destination_number=8389988158)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(destination_number=03333059910)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(did_number=03333059910)
Dialplan: sofia/default/07943550553@87.238.73.159 Action set(user_domain=Dont66.appcaption.com)
Dialplan: sofia/default/07943550553@87.238.73.159 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [03333059910_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/07943550553@87.238.73.159 Regex (FAIL) [03333059910_recur_1] ${cond(${user_data 8389988158@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/07943550553@87.238.73.159 ANTI-Action hangup(${originate_disposition})
2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:287 (sofia/default/07943550553@87.238.73.159) State Change CS_ROUTING -> CS_EXECUTE
2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07943550553@87.238.73.159) State ROUTING going to sleep
2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_EXECUTE (Cur 1 Tot 43938)
2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07943550553@87.238.73.159) State EXECUTE
2021-02-15 18:29:23.774526 [DEBUG] mod_sofia.c:209 sofia/default/07943550553@87.238.73.159 SOFIA EXECUTE
2021-02-15 18:29:23.774526 [DEBUG] switch_core_state_machine.c:329 sofia/default/07943550553@87.238.73.159 Standard EXECUTE
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(effective_destination_number=03333059910)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [effective_destination_number]=[03333059910]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(callstart=2021-02-15 18:29:23)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [callstart]=[2021-02-15 18:29:23]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(hangup_after_bridge=true)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(continue_on_fail=TRUE)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(account_id=3)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [account_id]=[3]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(parent_id=0)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(entity_id=3)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(call_processed=internal)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(call_direction=inbound)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(accountname=Magrathea_IP_2)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [accountname]=[Magrathea_IP_2]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(filename1=astpp.pbx.lua)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [origination_rates_did]=[ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(origination_rates=0)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(original_caller_id_name=07943550553)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [original_caller_id_name]=[07943550553]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(original_caller_id_number=07943550553)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [original_caller_id_number]=[07943550553]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 limit(db 84 user_84 1000 !SWITCH_CONGESTION)
2021-02-15 18:29:23.774526 [DEBUG] switch_limit.c:124 incr called: 84_user_84 max:1000, interval:0
2021-02-15 18:29:23.774526 [DEBUG] mod_db.c:194 Usage for 84_user_84 is now 1/1000
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(effective_caller_id_name=07943550553)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [effective_caller_id_name]=[07943550553]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(effective_caller_id_number=07943550553)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [effective_caller_id_number]=[07943550553]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(receiver_accid=84)
2021-02-15 18:29:23.774526 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [receiver_accid]=[84]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 limit(db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION)
2021-02-15 18:29:23.794529 [DEBUG] switch_limit.c:124 incr called: 03333059910_did_03333059910 max:1000, interval:0
2021-02-15 18:29:23.794529 [DEBUG] mod_db.c:194 Usage for 03333059910_did_03333059910 is now 1/1000
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 export(presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID)
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 export(call_type=0)
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(calltype=DID-LOCAL)
2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [calltype]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 db(insert/pickup_any_group_/8389988158/e5ca7a50-efb7-49ba-ab45-65d1722a4357)
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(dialed_extension=transfer_call)
2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 export(dialed_extension=transfer_call)
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-02-15 18:29:23.794529 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-02-15 18:29:23.794529 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(hangup_after_bridge=true)
2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 export(did_user_domain=Dont66.appcaption.com)
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[Dont66.appcaption.com]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 bridge([leg_timeout=180]user/8389988158@Dont66.appcaption.com)
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID] to event
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [call_type]=[0] to event
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [did_user_domain]=[Dont66.appcaption.com] to event
2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID] to event
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [call_type]=[0] to event
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-02-15 18:29:23.794529 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.159 EXPORTING[export_vars] [did_user_domain]=[Dont66.appcaption.com] to event
2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-02-15 18:29:23.794529 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2021-02-15 18:29:23.794529 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
2021-02-15 18:29:23.794529 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2021-02-15 18:29:23.794529 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: USER_NOT_REGISTERED
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(on_busy_flag=1)
2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [on_busy_flag]=[1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(on_busy_destination=)
2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [on_busy_destination]=[UNDEF]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(no_answer_flag=1)
2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [no_answer_flag]=[1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(no_answer_destination=)
2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [no_answer_destination]=[UNDEF]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(not_register_flag=1)
2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [not_register_flag]=[1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(not_register_destination=)
2021-02-15 18:29:23.794529 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [not_register_destination]=[UNDEF]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(opensips_flag=1)
2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [opensips_flag]=[1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(variable_sip_to_host=Dont66.appcaption.com)
2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [variable_sip_to_host]=[Dont66.appcaption.com]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(opensips_domain=127.0.0.1)
2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [opensips_domain]=[127.0.0.1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(leg_timeout=180)
2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [leg_timeout]=[180]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(userinfo_id=84)
2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [userinfo_id]=[84]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(sip_destination_number=8389988158)
2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [sip_destination_number]=[8389988158]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(destination_number=03333059910)
2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [destination_number]=[03333059910]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(did_number=03333059910)
2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [did_number]=[03333059910]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 set(user_domain=Dont66.appcaption.com)
2021-02-15 18:29:23.814537 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.159 [user_domain]=[Dont66.appcaption.com]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
2021-02-15 18:29:23.814537 [NOTICE] switch_cpp.cpp:1447 [Astpp_SIP-Devices] This is last dispositions USER_NOT_REGISTERED This is SIP Number : 8389988158
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 answer()
2021-02-15 18:29:23.814537 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/07943550553@87.238.73.159] 172.31.7.52 port 30258 -> 213.166.4.161 port 26752 codec: 8 ms: 20
2021-02-15 18:29:23.814537 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-02-15 18:29:23.814537 [DEBUG] switch_core_media.c:8977 sofia/default/07943550553@87.238.73.159 Set 2833 dtmf send payload to 101
2021-02-15 18:29:23.814537 [DEBUG] switch_core_media.c:8984 sofia/default/07943550553@87.238.73.159 Set 2833 dtmf receive payload to 101
2021-02-15 18:29:23.814537 [DEBUG] switch_core_media.c:9007 sofia/default/07943550553@87.238.73.159 Set rtp dtmf delay to 40
2021-02-15 18:29:23.814537 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/07943550553@87.238.73.159:
v=0
o=FreeSWITCH 1613383505 1613383506 IN IP4 35.176.176.116
s=FreeSWITCH
c=IN IP4 35.176.176.116
t=0 0
m=audio 30258 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2021-02-15 18:29:23.814537 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/07943550553@87.238.73.159] has been answered
2021-02-15 18:29:23.814537 [DEBUG] switch_channel.c:3865 (sofia/default/07943550553@87.238.73.159) Callstate Change RINGING -> ACTIVE
2021-02-15 18:29:23.814537 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.159 entering state [completed][200]
2021-02-15 18:29:23.814537 [NOTICE] switch_cpp.cpp:1447 [Astpp_SIP-Devices] dialed_user for voicemail::: 8389988158
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.159 voicemail(default Dont66.appcaption.com 8389988158)
2021-02-15 18:29:23.814537 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.159 entering state [ready][200]
2021-02-15 18:29:23.914585 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2021-02-15 18:29:23.934542 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
2021-02-15 18:29:23.934542 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2021-02-15 18:29:23.954528 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-02-15 18:29:25.274557 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
2021-02-15 18:29:25.374562 [DEBUG] switch_ivr_play_say.c:250 Handle say:[8389988158] (en:en)
2021-02-15 18:29:25.374562 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2021-02-15 18:29:29.574551 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/8.wav!digits/3.wav!digits/8.wav!digits/9.wav!digits/9.wav!digits/8.wav!digits/8.wav!digits/1.wav!digits/5.wav!digits/8.wav
2021-02-15 18:29:29.674586 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-not_available.wav] (en:en)
2021-02-15 18:29:29.674586 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2021-02-15 18:29:30.654557 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-not_available.wav
2021-02-15 18:29:30.754562 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2021-02-15 18:29:30.754562 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
2021-02-15 18:29:30.754562 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2021-02-15 18:29:32.234551 [NOTICE] sofia.c:1089 Hangup sofia/default/07943550553@87.238.73.159 [CS_EXECUTE] [NORMAL_CLEARING]
2021-02-15 18:29:32.234551 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
2021-02-15 18:29:32.234551 [DEBUG] switch_core_session.c:2905 sofia/default/07943550553@87.238.73.159 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-02-15 18:29:32.234551 [DEBUG] switch_cpp.cpp:1191 sofia/default/07943550553@87.238.73.159 destroy/unlink session from object
2021-02-15 18:29:32.234551 [DEBUG] switch_core_session.c:2905 sofia/default/07943550553@87.238.73.159 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07943550553@87.238.73.159) State EXECUTE going to sleep
2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_HANGUP (Cur 1 Tot 43938)
2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:848 (sofia/default/07943550553@87.238.73.159) Callstate Change ACTIVE -> HANGUP
2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07943550553@87.238.73.159) State HANGUP
2021-02-15 18:29:32.234551 [DEBUG] mod_sofia.c:453 Channel sofia/default/07943550553@87.238.73.159 hanging up, cause: NORMAL_CLEARING
2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:60 sofia/default/07943550553@87.238.73.159 Standard HANGUP, cause: NORMAL_CLEARING
2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07943550553@87.238.73.159) State HANGUP going to sleep
2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:620 (sofia/default/07943550553@87.238.73.159) State Change CS_HANGUP -> CS_REPORTING
2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.159) Running State Change CS_REPORTING (Cur 1 Tot 43938)
2021-02-15 18:29:32.234551 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07943550553@87.238.73.159) State REPORTING
2021-02-15 18:29:32.234551 [INFO] mod_json_cdr.c:271 Process [e5ca7a50-efb7-49ba-ab45-65d1722a4357.cdr.json]
2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:174 sofia/default/07943550553@87.238.73.159 Standard REPORTING, cause: NORMAL_CLEARING
2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07943550553@87.238.73.159) State REPORTING going to sleep
2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:611 (sofia/default/07943550553@87.238.73.159) State Change CS_REPORTING -> CS_DESTROY
2021-02-15 18:29:32.254563 [DEBUG] switch_core_session.c:1726 Session 43938 (sofia/default/07943550553@87.238.73.159) Locked, Waiting on external entities
2021-02-15 18:29:32.254563 [NOTICE] switch_core_session.c:1744 Session 43938 (sofia/default/07943550553@87.238.73.159) Ended
2021-02-15 18:29:32.254563 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/07943550553@87.238.73.159 [CS_DESTROY]
2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:739 (sofia/default/07943550553@87.238.73.159) Running State Change CS_DESTROY (Cur 0 Tot 43938)
2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07943550553@87.238.73.159) State DESTROY
2021-02-15 18:29:32.254563 [DEBUG] mod_sofia.c:364 sofia/default/07943550553@87.238.73.159 SOFIA DESTROY
2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:181 sofia/default/07943550553@87.238.73.159 Standard DESTROY
2021-02-15 18:29:32.254563 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07943550553@87.238.73.159) State DESTROY going to sleep
2021-02-15 18:29:34.194567 [NOTICE] switch_channel.c:1118 New Channel sofia/default/07943550553@87.238.73.151 [c75a8bf0-ca34-4074-aa59-d3853566842b]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_NEW (Cur 1 Tot 43939)
2021-02-15 18:29:34.194567 [DEBUG] sofia.c:10280 sofia/default/07943550553@87.238.73.151 receiving invite from 87.238.72.130:5060 version: 1.10.5 -release-17-25569c1631 64bit
2021-02-15 18:29:34.194567 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 87.238.72.130:0.
2021-02-15 18:29:34.194567 [DEBUG] sofia.c:10403 IP 87.238.72.130 Approved by acl "default[]". Access Granted.
2021-02-15 18:29:34.194567 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.151 entering state [received][100]
2021-02-15 18:29:34.194567 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 5 1 IN IP4 213.166.4.163
s=-
c=IN IP4 213.166.4.163
t=0 0
m=audio 30228 RTP/AVP 8 0 3 18 4 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=fmtp:4 bitrate=5.3;annexa=yes
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMA:8:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMU:0:8000:20:64000:1]
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/07943550553@87.238.73.151 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-02-15 18:29:34.194567 [DEBUG] switch_core_codec.c:111 sofia/default/07943550553@87.238.73.151 Original read codec set to PCMA:8
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-02-15 18:29:34.194567 [DEBUG] switch_core_media.c:5911 sofia/default/07943550553@87.238.73.151 Set 2833 dtmf send payload to 101 recv payload to 101
2021-02-15 18:29:34.194567 [DEBUG] sofia.c:7760 (sofia/default/07943550553@87.238.73.151) State Change CS_NEW -> CS_INIT
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:604 (sofia/default/07943550553@87.238.73.151) State NEW
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_INIT (Cur 1 Tot 43939)
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07943550553@87.238.73.151) State INIT
2021-02-15 18:29:34.194567 [DEBUG] mod_sofia.c:93 sofia/default/07943550553@87.238.73.151 SOFIA INIT
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:40 sofia/default/07943550553@87.238.73.151 Standard INIT
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:48 (sofia/default/07943550553@87.238.73.151) State Change CS_INIT -> CS_ROUTING
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:628 (sofia/default/07943550553@87.238.73.151) State INIT going to sleep
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_ROUTING (Cur 1 Tot 43939)
2021-02-15 18:29:34.194567 [DEBUG] switch_channel.c:2332 (sofia/default/07943550553@87.238.73.151) Callstate Change DOWN -> RINGING
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07943550553@87.238.73.151) State ROUTING
2021-02-15 18:29:34.194567 [DEBUG] mod_sofia.c:154 sofia/default/07943550553@87.238.73.151 SOFIA ROUTING
2021-02-15 18:29:34.194567 [DEBUG] switch_core_state_machine.c:236 sofia/default/07943550553@87.238.73.151 Standard ROUTING
2021-02-15 18:29:34.194567 [INFO] mod_dialplan_xml.c:637 Processing 07943550553 <07943550553>->03333059910 in context default
2021-02-15 18:29:34.214531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-02-15 18:29:34.214531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 03333059910
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '03333059910' limit 1
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '03333059910' AND status=0 limit 1
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '03333059910' and status=0 LIMIT 1
2021-02-15 18:29:34.234535 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 07943550553 / 07943550553
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03333059910" LIMIT 1
2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [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("87.238.72.130") 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 "03333059910"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3673942894]
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [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 ="03333059910" AND A.accountid = '3' limit 1
2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 03333059910
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03333059910" LIMIT 1
2021-02-15 18:29:34.234535 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="03333059910" AND (accountid = 0 OR status = 1) LIMIT 1
2021-02-15 18:29:34.234535 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2021-02-15 18:29:34.234535 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :84
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [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 (patterns = '^03333059910.*' OR patterns = '^0333305991.*' OR patterns = '^033330599.*' OR patterns = '^03333059.*' OR patterns = '^0333305.*' OR patterns = '^033330.*' OR patterns = '^03333.*' OR patterns = '^0333.*' OR patterns = '^033.*' OR patterns = '^03.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 84 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '03333059910' OR number = '0333305991' OR number = '033330599' OR number = '03333059' OR number = '0333305' OR number = '033330' OR number = '03333' OR number = '0333' OR number = '033' OR number = '03' OR number = '0' OR number ='--') OR (number = '03333059910*' OR number = '0333305991*' OR number = '033330599*' OR number = '03333059*' OR number = '0333305*' OR number = '033330*' OR number = '03333*' OR number = '0333*' OR number = '033*' OR number = '03*' OR number = '0*' OR number ='--') OR (number = '07943550553' OR number = '0794355055' OR number = '079435505' OR number = '07943550' OR number = '0794355' OR number = '079435' OR number = '07943' OR number = '0794' OR number = '079' OR number = '07' OR number = '0' OR number ='--') OR (number = '07943550553*' OR number = '0794355055*' OR number = '079435505*' OR number = '07943550*' OR number = '0794355*' OR number = '079435*' OR number = '07943*' OR number = '0794*' OR number = '079*' OR number = '07*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '03333059910' OR routing_prefix = '0333305991' OR routing_prefix = '033330599' OR routing_prefix = '03333059' OR routing_prefix = '0333305' OR routing_prefix = '033330' OR routing_prefix = '03333' OR routing_prefix = '0333' OR routing_prefix = '033' OR routing_prefix = '03' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 3
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3673942894
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 3
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03333059910" LIMIT 1
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1042
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 03333059910
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 200
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 3
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
2021-02-15 18:29:34.254531 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "84" AND deleted = 0 limit 1
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:3
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:3
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 84 limit 1
2021-02-15 18:29:34.254531 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDont66.appcaption.com
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
2021-02-15 18:29:34.254531 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : inbound
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"44/0".....07943550553
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"44/0".....07943550553
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 84 limit 1
2021-02-15 18:29:34.254531 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDont66.appcaption.com
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [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 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="8389988158"  AND domains.domain="Dont66.appcaption.com" limit 1
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 31 limit 1
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-02-15 18:29:34.254531 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain beforeDont66.appcaption.com
2021-02-15 18:29:34.254531 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] pickup_group_permission pickup_str
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-02-15 18:29:34.254531 [DEBUG] switch_cpp.cpp:1447 [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 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="8389988158"  AND domains.domain="Dont66.appcaption.com" limit 1
2021-02-15 18:29:34.274534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 31 limit 1
2021-02-15 18:29:34.274534 [DEBUG] switch_cpp.cpp:1447 [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="03333059910">
<condition field="destination_number" expression="03333059910">
<action application="set" data="effective_destination_number=03333059910"/>
<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="callstart=2021-02-15 18:29:34"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=3"/>
<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=Magrathea_IP_2"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=07943550553"/>
<action application="set" data="original_caller_id_number=07943550553"/>
<action application="limit" data="db 84 user_84 1000 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=07943550553"/>
<action application="set" data="effective_caller_id_number=07943550553"/>
<action application="set" data="receiver_accid=84"/>
<action application="limit" data="db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION"/>
<action application="export" data="presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID"/>
<action application="export" data="call_type=0"/>
<action application="set" data="calltype=DID-LOCAL"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/8389988158/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="export" data="did_user_domain=Dont66.appcaption.com"/>
<action application="bridge" data="[leg_timeout=180]user/8389988158@Dont66.appcaption.com"/>
<action application="set" data="on_busy_flag=1"/>
<action application="set" data="on_busy_destination="/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination="/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination="/>
<action application="set" data="opensips_flag=1"/>
<action application="set" data="variable_sip_to_host=Dont66.appcaption.com"/>
<action application="set" data="opensips_domain=127.0.0.1"/>
<action application="set" data="leg_timeout=180"/>
<action application="set" data="userinfo_id=84"/>
<action application="set" data="sip_destination_number=8389988158"/>
<action application="set" data="destination_number=03333059910"/>
<action application="set" data="did_number=03333059910"/>
<action application="set" data="user_domain=Dont66.appcaption.com"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 8389988158@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=03333059910"/>
<action application="voicemail" data="default $${domain_name} 8389988158"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/07943550553@87.238.73.151 parsing [default->03333059910] continue=false
Dialplan: sofia/default/07943550553@87.238.73.151 Regex (PASS) [03333059910] destination_number(03333059910) =~ /03333059910/ break=on-false
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(effective_destination_number=03333059910)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(callstart=2021-02-15 18:29:34)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(account_id=3)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(parent_id=0)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(entity_id=3)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(call_processed=internal)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(call_direction=inbound)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(accountname=Magrathea_IP_2)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(origination_rates=0)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(original_caller_id_name=07943550553)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(original_caller_id_number=07943550553)
Dialplan: sofia/default/07943550553@87.238.73.151 Action limit(db 84 user_84 1000 !SWITCH_CONGESTION)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(effective_caller_id_name=07943550553)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(effective_caller_id_number=07943550553)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(receiver_accid=84)
Dialplan: sofia/default/07943550553@87.238.73.151 Action limit(db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION)
Dialplan: sofia/default/07943550553@87.238.73.151 Action export(presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID)
Dialplan: sofia/default/07943550553@87.238.73.151 Action export(call_type=0)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/07943550553@87.238.73.151 Action db(insert/pickup_any_group_${callgroup}/8389988158/${uuid})
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/07943550553@87.238.73.151 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/07943550553@87.238.73.151 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/07943550553@87.238.73.151 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/07943550553@87.238.73.151 Action export(did_user_domain=Dont66.appcaption.com)
Dialplan: sofia/default/07943550553@87.238.73.151 Action bridge([leg_timeout=180]user/8389988158@Dont66.appcaption.com)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(on_busy_flag=1)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(on_busy_destination=)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(no_answer_flag=1)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(no_answer_destination=)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(not_register_flag=1)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(not_register_destination=)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(opensips_flag=1)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(variable_sip_to_host=Dont66.appcaption.com)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(leg_timeout=180)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(userinfo_id=84)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(sip_destination_number=8389988158)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(destination_number=03333059910)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(did_number=03333059910)
Dialplan: sofia/default/07943550553@87.238.73.151 Action set(user_domain=Dont66.appcaption.com)
Dialplan: sofia/default/07943550553@87.238.73.151 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [03333059910_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/07943550553@87.238.73.151 Regex (FAIL) [03333059910_recur_1] ${cond(${user_data 8389988158@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/07943550553@87.238.73.151 ANTI-Action hangup(${originate_disposition})
2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:287 (sofia/default/07943550553@87.238.73.151) State Change CS_ROUTING -> CS_EXECUTE
2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:644 (sofia/default/07943550553@87.238.73.151) State ROUTING going to sleep
2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_EXECUTE (Cur 1 Tot 43939)
2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07943550553@87.238.73.151) State EXECUTE
2021-02-15 18:29:34.294534 [DEBUG] mod_sofia.c:209 sofia/default/07943550553@87.238.73.151 SOFIA EXECUTE
2021-02-15 18:29:34.294534 [DEBUG] switch_core_state_machine.c:329 sofia/default/07943550553@87.238.73.151 Standard EXECUTE
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(effective_destination_number=03333059910)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [effective_destination_number]=[03333059910]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(callstart=2021-02-15 18:29:34)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [callstart]=[2021-02-15 18:29:34]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(hangup_after_bridge=true)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(continue_on_fail=TRUE)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(account_id=3)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [account_id]=[3]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(parent_id=0)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(entity_id=3)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(call_processed=internal)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(call_direction=inbound)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(accountname=Magrathea_IP_2)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [accountname]=[Magrathea_IP_2]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(filename1=astpp.pbx.lua)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(origination_rates_did=ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [origination_rates_did]=[ID:1042|CODE:^03333059910.*|DESTINATION:03333059910|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:10|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:84]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(origination_rates=0)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(original_caller_id_name=07943550553)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [original_caller_id_name]=[07943550553]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(original_caller_id_number=07943550553)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [original_caller_id_number]=[07943550553]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 limit(db 84 user_84 1000 !SWITCH_CONGESTION)
2021-02-15 18:29:34.294534 [DEBUG] switch_limit.c:124 incr called: 84_user_84 max:1000, interval:0
2021-02-15 18:29:34.294534 [DEBUG] mod_db.c:194 Usage for 84_user_84 is now 1/1000
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(effective_caller_id_name=07943550553)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [effective_caller_id_name]=[07943550553]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(effective_caller_id_number=07943550553)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [effective_caller_id_number]=[07943550553]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(receiver_accid=84)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [receiver_accid]=[84]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 limit(db 03333059910 did_03333059910 1000 !SWITCH_CONGESTION)
2021-02-15 18:29:34.294534 [DEBUG] switch_limit.c:124 incr called: 03333059910_did_03333059910 max:1000, interval:0
2021-02-15 18:29:34.294534 [DEBUG] mod_db.c:194 Usage for 03333059910_did_03333059910 is now 1/1000
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 export(presence_data=x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID)
2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 export(call_type=0)
2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(calltype=DID-LOCAL)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [calltype]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 db(insert/pickup_any_group_/8389988158/c75a8bf0-ca34-4074-aa59-d3853566842b)
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(dialed_extension=transfer_call)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 export(dialed_extension=transfer_call)
2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-02-15 18:29:34.294534 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-02-15 18:29:34.294534 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(hangup_after_bridge=true)
2021-02-15 18:29:34.294534 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 export(did_user_domain=Dont66.appcaption.com)
2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[Dont66.appcaption.com]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 bridge([leg_timeout=180]user/8389988158@Dont66.appcaption.com)
2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID] to event
2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [call_type]=[0] to event
2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-02-15 18:29:34.294534 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [did_user_domain]=[Dont66.appcaption.com] to event
2021-02-15 18:29:34.294534 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-02-15 18:29:34.294534 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2021-02-15 18:29:34.314528 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [presence_data]=[x|||Magrathea(3673942894)|||^03333059910.* // 03333059910 // 0.00000||||||DID] to event
2021-02-15 18:29:34.314528 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [call_type]=[0] to event
2021-02-15 18:29:34.314528 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-02-15 18:29:34.314528 [DEBUG] switch_channel.c:1264 sofia/default/07943550553@87.238.73.151 EXPORTING[export_vars] [did_user_domain]=[Dont66.appcaption.com] to event
2021-02-15 18:29:34.314528 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-02-15 18:29:34.314528 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2021-02-15 18:29:34.314528 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2021-02-15 18:29:34.314528 [NOTICE] switch_ivr_originate.c:2999 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
2021-02-15 18:29:34.314528 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
2021-02-15 18:29:34.314528 [INFO] mod_dptools.c:3631 Originate Failed.  Cause: USER_NOT_REGISTERED
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(on_busy_flag=1)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [on_busy_flag]=[1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(on_busy_destination=)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [on_busy_destination]=[UNDEF]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(no_answer_flag=1)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [no_answer_flag]=[1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(no_answer_destination=)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [no_answer_destination]=[UNDEF]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(not_register_flag=1)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [not_register_flag]=[1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(not_register_destination=)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [not_register_destination]=[UNDEF]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(opensips_flag=1)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [opensips_flag]=[1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(variable_sip_to_host=Dont66.appcaption.com)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [variable_sip_to_host]=[Dont66.appcaption.com]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(opensips_domain=127.0.0.1)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [opensips_domain]=[127.0.0.1]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(leg_timeout=180)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [leg_timeout]=[180]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(userinfo_id=84)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [userinfo_id]=[84]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(sip_destination_number=8389988158)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [sip_destination_number]=[8389988158]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(destination_number=03333059910)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [destination_number]=[03333059910]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(did_number=03333059910)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [did_number]=[03333059910]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 set(user_domain=Dont66.appcaption.com)
2021-02-15 18:29:34.314528 [DEBUG] mod_dptools.c:1672 SET sofia/default/07943550553@87.238.73.151 [user_domain]=[Dont66.appcaption.com]
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
2021-02-15 18:29:34.314528 [NOTICE] switch_cpp.cpp:1447 [Astpp_SIP-Devices] This is last dispositions USER_NOT_REGISTERED This is SIP Number : 8389988158
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 answer()
2021-02-15 18:29:34.314528 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/07943550553@87.238.73.151] 172.31.7.52 port 25206 -> 213.166.4.163 port 30228 codec: 8 ms: 20
2021-02-15 18:29:34.314528 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-02-15 18:29:34.334526 [DEBUG] switch_core_media.c:8977 sofia/default/07943550553@87.238.73.151 Set 2833 dtmf send payload to 101
2021-02-15 18:29:34.334526 [DEBUG] switch_core_media.c:8984 sofia/default/07943550553@87.238.73.151 Set 2833 dtmf receive payload to 101
2021-02-15 18:29:34.334526 [DEBUG] switch_core_media.c:9007 sofia/default/07943550553@87.238.73.151 Set rtp dtmf delay to 40
2021-02-15 18:29:34.334526 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/07943550553@87.238.73.151:
v=0
o=FreeSWITCH 1613388568 1613388569 IN IP4 35.176.176.116
s=FreeSWITCH
c=IN IP4 35.176.176.116
t=0 0
m=audio 25206 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2021-02-15 18:29:34.334526 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/07943550553@87.238.73.151] has been answered
2021-02-15 18:29:34.334526 [DEBUG] switch_channel.c:3865 (sofia/default/07943550553@87.238.73.151) Callstate Change RINGING -> ACTIVE
2021-02-15 18:29:34.334526 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.151 entering state [completed][200]
2021-02-15 18:29:34.334526 [NOTICE] switch_cpp.cpp:1447 [Astpp_SIP-Devices] dialed_user for voicemail::: 8389988158
EXECUTE [depth=0] sofia/default/07943550553@87.238.73.151 voicemail(default Dont66.appcaption.com 8389988158)
2021-02-15 18:29:34.334526 [DEBUG] sofia.c:7326 Channel sofia/default/07943550553@87.238.73.151 entering state [ready][200]
2021-02-15 18:29:34.434526 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-02-15 18:29:34.434526 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2021-02-15 18:29:34.454547 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
2021-02-15 18:29:34.454547 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2021-02-15 18:29:35.794574 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
2021-02-15 18:29:35.914550 [DEBUG] switch_ivr_play_say.c:250 Handle say:[8389988158] (en:en)
2021-02-15 18:29:35.914550 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2021-02-15 18:29:36.314533 [NOTICE] sofia.c:1089 Hangup sofia/default/07943550553@87.238.73.151 [CS_EXECUTE] [NORMAL_CLEARING]
2021-02-15 18:29:36.334536 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/8.wav!digits/3.wav!digits/8.wav!digits/9.wav!digits/9.wav!digits/8.wav!digits/8.wav!digits/1.wav!digits/5.wav!digits/8.wav
2021-02-15 18:29:36.334536 [DEBUG] switch_core_session.c:2905 sofia/default/07943550553@87.238.73.151 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-02-15 18:29:36.334536 [DEBUG] switch_cpp.cpp:1191 sofia/default/07943550553@87.238.73.151 destroy/unlink session from object
2021-02-15 18:29:36.334536 [DEBUG] switch_core_session.c:2905 sofia/default/07943550553@87.238.73.151 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07943550553@87.238.73.151) State EXECUTE going to sleep
2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_HANGUP (Cur 1 Tot 43939)
2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:848 (sofia/default/07943550553@87.238.73.151) Callstate Change ACTIVE -> HANGUP
2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07943550553@87.238.73.151) State HANGUP
2021-02-15 18:29:36.334536 [DEBUG] mod_sofia.c:453 Channel sofia/default/07943550553@87.238.73.151 hanging up, cause: NORMAL_CLEARING
2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:60 sofia/default/07943550553@87.238.73.151 Standard HANGUP, cause: NORMAL_CLEARING
2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07943550553@87.238.73.151) State HANGUP going to sleep
2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:620 (sofia/default/07943550553@87.238.73.151) State Change CS_HANGUP -> CS_REPORTING
2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07943550553@87.238.73.151) Running State Change CS_REPORTING (Cur 1 Tot 43939)
2021-02-15 18:29:36.334536 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07943550553@87.238.73.151) State REPORTING
2021-02-15 18:29:36.334536 [INFO] mod_json_cdr.c:271 Process [c75a8bf0-ca34-4074-aa59-d3853566842b.cdr.json]
2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:174 sofia/default/07943550553@87.238.73.151 Standard REPORTING, cause: NORMAL_CLEARING
2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07943550553@87.238.73.151) State REPORTING going to sleep
2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:611 (sofia/default/07943550553@87.238.73.151) State Change CS_REPORTING -> CS_DESTROY
2021-02-15 18:29:36.354530 [DEBUG] switch_core_session.c:1726 Session 43939 (sofia/default/07943550553@87.238.73.151) Locked, Waiting on external entities
2021-02-15 18:29:36.354530 [NOTICE] switch_core_session.c:1744 Session 43939 (sofia/default/07943550553@87.238.73.151) Ended
2021-02-15 18:29:36.354530 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/07943550553@87.238.73.151 [CS_DESTROY]
2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:739 (sofia/default/07943550553@87.238.73.151) Running State Change CS_DESTROY (Cur 0 Tot 43939)
2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07943550553@87.238.73.151) State DESTROY
2021-02-15 18:29:36.354530 [DEBUG] mod_sofia.c:364 sofia/default/07943550553@87.238.73.151 SOFIA DESTROY
2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:181 sofia/default/07943550553@87.238.73.151 Standard DESTROY
2021-02-15 18:29:36.354530 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07943550553@87.238.73.151) State DESTROY going to sleep
freeswitch@ip-172-31-7-52> /quit