+OK log level [7]
freeswitch@ip-172-31-40-49>
freeswitch@ip-172-31-40-49>
freeswitch@ip-172-31-40-49>
freeswitch@ip-172-31-40-49>
2022-09-20 10:01:01.389266 97.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/240709@13.127.15.161:5078 [a9064f03-1292-4ccd-b107-1539e6198730]
2022-09-20 10:01:01.389266 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_NEW (Cur 1 Tot 46)
2022-09-20 10:01:01.389266 97.90% [INFO] sofia.c:10462 sofia/default/240709@13.127.15.161:5078 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: vwzqaivdwgkomeu@pk-qa
2022-09-20 10:01:01.389266 97.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
2022-09-20 10:01:01.389266 97.90% [DEBUG] sofia.c:2419 detaching session a9064f03-1292-4ccd-b107-1539e6198730
2022-09-20 10:01:01.389266 97.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [5113911718@13.127.15.161] from ip 103.240.35.46
2022-09-20 10:01:01.389266 97.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/240709@13.127.15.161:5078) State NEW
2022-09-20 10:01:01.409273 97.90% [DEBUG] sofia.c:2532 Re-attaching to session a9064f03-1292-4ccd-b107-1539e6198730
2022-09-20 10:01:01.429245 97.90% [INFO] sofia.c:10462 sofia/default/240709@13.127.15.161:5078 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: vwzqaivdwgkomeu@pk-qa
2022-09-20 10:01:01.429245 97.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
2022-09-20 10:01:01.429245 97.90% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-09-20 10:01:01.429245 97.90% [DEBUG] sofia.c:7499 Channel sofia/default/240709@13.127.15.161:5078 entering state [received][100]
2022-09-20 10:01:01.429245 97.90% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=twinkle 1918555949 1225191674 IN IP4 192.168.1.51
s=-
c=IN IP4 192.168.1.51
t=0 0
m=audio 8000 RTP/AVP 98 97 8 0 3 101
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/240709@13.127.15.161:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_codec.c:111 sofia/default/240709@13.127.15.161:5078 Original read codec set to PCMA:8
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_media.c:5973 sofia/default/240709@13.127.15.161:5078 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:01:01.429245 97.90% [DEBUG] sofia.c:7933 (sofia/default/240709@13.127.15.161:5078) State Change CS_NEW -> CS_INIT
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_INIT (Cur 1 Tot 46)
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/240709@13.127.15.161:5078) State INIT
2022-09-20 10:01:01.429245 97.90% [DEBUG] mod_sofia.c:97 sofia/default/240709@13.127.15.161:5078 SOFIA INIT
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/240709@13.127.15.161:5078 Standard INIT
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/240709@13.127.15.161:5078) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/240709@13.127.15.161:5078) State INIT going to sleep
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_ROUTING (Cur 1 Tot 46)
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_channel.c:2380 (sofia/default/240709@13.127.15.161:5078) Callstate Change DOWN -> RINGING
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/240709@13.127.15.161:5078) State ROUTING
2022-09-20 10:01:01.429245 97.90% [DEBUG] mod_sofia.c:158 sofia/default/240709@13.127.15.161:5078 SOFIA ROUTING
2022-09-20 10:01:01.429245 97.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/240709@13.127.15.161:5078 Standard ROUTING
2022-09-20 10:01:01.429245 97.90% [INFO] mod_dialplan_xml.c:639 Processing 240709 <240709>->5113911718 in context default
2022-09-20 10:01:01.449248 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:01:01.449248 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:01:01.449248 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 5113911718
2022-09-20 10:01:01.449248 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '5113911718' AND status=0 limit 1
2022-09-20 10:01:01.449248 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 240709 / 240709
2022-09-20 10:01:01.449248 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="5113911718" LIMIT 1
2022-09-20 10:01:01.449248 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5113911718" limit 1
2022-09-20 10:01:01.449248 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local
2022-09-20 10:01:01.449248 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 240709]
2022-09-20 10:01:01.449248 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "240709" AND deleted = 0 limit 1
2022-09-20 10:01:01.449248 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="5113911718" AND A.accountid = '95' limit 1
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 5113911718
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="5113911718" LIMIT 1
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5113911718" limit 1
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : local
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="5113911718" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^5113911718.*' OR patterns = '^511391171.*' OR patterns = '^51139117.*' OR patterns = '^5113911.*' OR patterns = '^511391.*' OR patterns = '^51139.*' OR patterns = '^5113.*' OR patterns = '^511.*' OR patterns = '^51.*' OR patterns = '^5.*' OR patterns ='--') AND accountid = 95 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 95
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 240709
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 27
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 27 AND status = 0
2022-09-20 10:01:01.469252 97.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1
2022-09-20 10:01:01.469252 97.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!0
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 95 !!!
2022-09-20 10:01:01.469252 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2022-09-20 10:01:01.469252 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 93
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "93" AND deleted = 0 limit 1
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 93
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 306532
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 0
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 25
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
2022-09-20 10:01:01.469252 97.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1
2022-09-20 10:01:01.469252 97.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!0
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your0 balance Accountid 93 !!!
2022-09-20 10:01:01.469252 97.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5113911718" limit 1
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 142 limit 1
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 5113911718
2022-09-20 10:01:01.469252 97.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [LOCAL CALL] Recording Flag :1
2022-09-20 10:01:01.469252 97.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts
2022-09-20 10:01:01.469252 97.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 142
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 142 limit 1
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
2022-09-20 10:01:01.469252 97.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="5113911718">
<condition field="destination_number" expression="5113911718">
<action application="set" data="effective_destination_number=5113911718"/>
<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=2022-09-20 10:01:01"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=95"/>
<action application="set" data="parent_id=93"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=local"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93"/>
<action application="set" data="original_caller_id_name=240709"/>
<action application="set" data="original_caller_id_number=240709"/>
<action application="export" data="presence_data=x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51"/>
<action application="set" data="effective_caller_id_name=240709"/>
<action application="set" data="effective_caller_id_number=240709"/>
<action application="set" data="calltype=LOCAL"/>
<action application="set" data="receiver_accid=95"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=93}[leg_timeout=30 ] user/5113911718@13.127.15.161:5078"/>
<action application="set" data="on_busy_flag=1"/>
<action application="set" data="on_busy_destination=8701219444"/>
<action application="set" data="no_answer_flag=0"/>
<action application="set" data="no_answer_destination=8701219444"/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination=8701219444"/>
<action application="set" data="variable_sip_to_host=13.127.15.161"/>
<action application="set" data="variable_sip_to_port=5078"/>
<action application="set" data="leg_timeout=30"/>
<action application="set" data="userinfo_id=93"/>
<action application="set" data="sip_destination_number=5113911718"/>
<action application="set" data="did_number=5113911718"/>
<action application="lua" data="astpp/lib/sip_routing/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 5113911718@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=5113911718"/>
<action application="voicemail" data="default $${domain_name} 5113911718"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/240709@13.127.15.161:5078 parsing [default->5113911718] continue=false
Dialplan: sofia/default/240709@13.127.15.161:5078 Regex (PASS) [5113911718] destination_number(5113911718) =~ /5113911718/ break=on-false
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(effective_destination_number=5113911718)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(callstart=2022-09-20 10:01:01)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(account_id=95)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(parent_id=93)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(entity_id=0)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(call_processed=internal)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(call_direction=local)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(accountname=default)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(origination_rates=ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(original_caller_id_name=240709)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(original_caller_id_number=240709)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action export(presence_data=x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(effective_caller_id_name=240709)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(effective_caller_id_number=240709)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(calltype=LOCAL)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(receiver_accid=95)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=93}[leg_timeout=30 ] user/5113911718@13.127.15.161:5078)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(on_busy_flag=1)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(on_busy_destination=8701219444)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(no_answer_flag=0)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(no_answer_destination=8701219444)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(not_register_flag=1)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(not_register_destination=8701219444)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(variable_sip_to_host=13.127.15.161)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(variable_sip_to_port=5078)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(leg_timeout=30)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(userinfo_id=93)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(sip_destination_number=5113911718)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(did_number=5113911718)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action lua(astpp/lib/sip_routing/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [5113911718_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/240709@13.127.15.161:5078 Regex (FAIL) [5113911718_recur_1] ${cond(${user_data 5113911718@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/240709@13.127.15.161:5078 ANTI-Action hangup(${originate_disposition})
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_core_state_machine.c:281 (sofia/default/240709@13.127.15.161:5078) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/240709@13.127.15.161:5078) State ROUTING going to sleep
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_EXECUTE (Cur 1 Tot 46)
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/240709@13.127.15.161:5078) State EXECUTE
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_sofia.c:213 sofia/default/240709@13.127.15.161:5078 SOFIA EXECUTE
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/240709@13.127.15.161:5078 Standard EXECUTE
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(effective_destination_number=5113911718)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [effective_destination_number]=[5113911718]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(callstart=2022-09-20 10:01:01)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [callstart]=[2022-09-20 10:01:01]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(hangup_after_bridge=true)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(continue_on_fail=TRUE)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(account_id=95)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [account_id]=[95]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(parent_id=93)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [parent_id]=[93]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(entity_id=0)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(call_processed=internal)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(call_direction=local)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [call_direction]=[local]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(accountname=default)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [accountname]=[default]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(origination_rates=ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [origination_rates]=[ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(original_caller_id_name=240709)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [original_caller_id_name]=[240709]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(original_caller_id_number=240709)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [original_caller_id_number]=[240709]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 export(presence_data=x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51)
2022-09-20 10:01:01.469252 97.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(effective_caller_id_name=240709)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [effective_caller_id_name]=[240709]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(effective_caller_id_number=240709)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [effective_caller_id_number]=[240709]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(calltype=LOCAL)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [calltype]=[LOCAL]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(receiver_accid=95)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [receiver_accid]=[95]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(hangup_after_bridge=true)
2022-09-20 10:01:01.469252 97.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=93}[leg_timeout=30 ] user/5113911718@13.127.15.161:5078)
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_channel.c:1269 sofia/default/240709@13.127.15.161:5078 EXPORTING[export_vars] [presence_data]=[x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51] to event
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_channel.c:1269 sofia/default/240709@13.127.15.161:5078 EXPORTING[export_vars] [presence_data]=[x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51] to event
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-09-20 10:01:01.489246 97.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5113911718@103.240.35.46:41122 [1e019566-b4de-4cf7-8c48-b5d19b432da3]
2022-09-20 10:01:01.489246 97.90% [DEBUG] mod_sofia.c:5121 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_NEW -> CS_INIT
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_ivr_originate.c:3151 sofia/default/5113911718@103.240.35.46:41122 Setting leg timeout to 30
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_INIT (Cur 2 Tot 47)
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5113911718@103.240.35.46:41122) State INIT
2022-09-20 10:01:01.489246 97.90% [DEBUG] mod_sofia.c:97 sofia/default/5113911718@103.240.35.46:41122 SOFIA INIT
2022-09-20 10:01:01.489246 97.90% [DEBUG] sofia_glue.c:1620 sip:5113911718@103.240.35.46:37334;rinstance=95bc221e5f7865b4;transport=TCP Setting proxy route to sofia/default/5113911718@103.240.35.46:41122
2022-09-20 10:01:01.489246 97.90% [INFO] sofia_glue.c:1651 sofia/default/5113911718@103.240.35.46:41122 sending invite call-id: (null)
2022-09-20 10:01:01.489246 97.90% [DEBUG] sofia_glue.c:1654 sofia/default/5113911718@103.240.35.46:41122 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1663641589 1663641590 IN IP4 13.127.15.161
s=FreeSWITCH
c=IN IP4 13.127.15.161
t=0 0
m=audio 26472 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/5113911718@103.240.35.46:41122 Standard INIT
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5113911718@103.240.35.46:41122) State INIT going to sleep
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_ROUTING (Cur 2 Tot 47)
2022-09-20 10:01:01.489246 97.90% [DEBUG] sofia.c:7499 Channel sofia/default/5113911718@103.240.35.46:41122 entering state [calling][0]
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5113911718@103.240.35.46:41122) State ROUTING
2022-09-20 10:01:01.489246 97.90% [DEBUG] mod_sofia.c:158 sofia/default/5113911718@103.240.35.46:41122 SOFIA ROUTING
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_ivr_originate.c:67 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5113911718@103.240.35.46:41122) State ROUTING going to sleep
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 47)
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5113911718@103.240.35.46:41122) State CONSUME_MEDIA
2022-09-20 10:01:01.489246 97.90% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5113911718@103.240.35.46:41122) State CONSUME_MEDIA going to sleep
2022-09-20 10:01:02.029245 97.90% [DEBUG] sofia.c:7499 Channel sofia/default/5113911718@103.240.35.46:41122 entering state [proceeding][180]
2022-09-20 10:01:02.029245 97.90% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/5113911718@103.240.35.46:41122!
2022-09-20 10:01:02.029245 97.90% [DEBUG] switch_channel.c:3494 (sofia/default/5113911718@103.240.35.46:41122) Callstate Change DOWN -> RINGING
2022-09-20 10:01:02.029245 97.90% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/240709@13.127.15.161:5078!
2022-09-20 10:01:02.029245 97.90% [DEBUG] sofia.c:7499 Channel sofia/default/240709@13.127.15.161:5078 entering state [early][180]
2022-09-20 10:01:02.029245 97.90% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/240709@13.127.15.161:5078!
2022-09-20 10:01:20.009287 98.77% [NOTICE] sofia_reg.c:459 Registering 4598450814
2022-09-20 10:01:20.009287 98.77% [NOTICE] sofia_reg.c:459 Registering 1876077626
2022-09-20 10:01:20.129268 98.77% [ERR] sofia_reg.c:2677 1876077626 Failed Registration with status Service Unavailable [503]. failure #2349
2022-09-20 10:01:20.129268 98.77% [ERR] sofia_reg.c:2677 4598450814 Failed Registration with status Service Unavailable [503]. failure #2349
2022-09-20 10:01:21.009276 98.77% [WARNING] sofia_reg.c:516 4598450814 Failed Registration [503], setting retry to 30 seconds.
2022-09-20 10:01:21.009276 98.77% [WARNING] sofia_reg.c:516 1876077626 Failed Registration [503], setting retry to 30 seconds.
2022-09-20 10:01:31.009277 98.90% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/default/5113911718@103.240.35.46:41122 [CS_CONSUME_MEDIA] [NO_ANSWER]
2022-09-20 10:01:31.009277 98.90% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [NO_ANSWER]
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 19 [NO_ANSWER]
2022-09-20 10:01:31.009277 98.90% [INFO] mod_dptools.c:3653 Originate Failed. Cause: NO_ANSWER
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(on_busy_flag=1)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [on_busy_flag]=[1]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(on_busy_destination=8701219444)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [on_busy_destination]=[8701219444]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(no_answer_flag=0)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [no_answer_flag]=[0]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(no_answer_destination=8701219444)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [no_answer_destination]=[8701219444]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(not_register_flag=1)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [not_register_flag]=[1]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(not_register_destination=8701219444)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [not_register_destination]=[8701219444]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(variable_sip_to_host=13.127.15.161)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [variable_sip_to_host]=[13.127.15.161]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(variable_sip_to_port=5078)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [variable_sip_to_port]=[5078]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(leg_timeout=30)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [leg_timeout]=[30]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(userinfo_id=93)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [userinfo_id]=[93]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(sip_destination_number=5113911718)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [sip_destination_number]=[5113911718]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(did_number=5113911718)
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [did_number]=[5113911718]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 lua(astpp/lib/sip_routing/astpp-sipdevice-routing.lua)
2022-09-20 10:01:31.009277 98.90% [ERR] mod_lua.cpp:202 cannot open /usr/share/freeswitch/scripts/astpp/../addons.lua: No such file or directory
stack traceback:
[C]: in function 'dofile'
...cripts/astpp/lib/sip_routing/astpp-sipdevice-routing.lua:38: in main chunk
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_cpp.cpp:1209 sofia/default/240709@13.127.15.161:5078 destroy/unlink session from object
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 hangup(NO_ANSWER)
2022-09-20 10:01:31.009277 98.90% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/240709@13.127.15.161:5078 [CS_EXECUTE] [NO_ANSWER]
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_session.c:2983 sofia/default/240709@13.127.15.161:5078 skip receive message [PHONE_EVENT] (channel is hungup already)
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/240709@13.127.15.161:5078) State EXECUTE going to sleep
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_HANGUP (Cur 2 Tot 47)
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/240709@13.127.15.161:5078) Callstate Change RINGING -> HANGUP
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/240709@13.127.15.161:5078) State HANGUP
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/240709@13.127.15.161:5078 hanging up, cause: NO_ANSWER
2022-09-20 10:01:31.009277 98.90% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/240709@13.127.15.161:5078 Standard HANGUP, cause: NO_ANSWER
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/240709@13.127.15.161:5078) State HANGUP going to sleep
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/240709@13.127.15.161:5078) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_REPORTING (Cur 2 Tot 47)
2022-09-20 10:01:31.009277 98.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/240709@13.127.15.161:5078) State REPORTING
2022-09-20 10:01:31.009277 98.90% [INFO] mod_json_cdr.c:271 Process [a9064f03-1292-4ccd-b107-1539e6198730.cdr.json]
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_HANGUP (Cur 2 Tot 47)
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5113911718@103.240.35.46:41122) Callstate Change RINGING -> HANGUP
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5113911718@103.240.35.46:41122) State HANGUP
2022-09-20 10:01:31.029241 98.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/5113911718@103.240.35.46:41122 hanging up, cause: NO_ANSWER
2022-09-20 10:01:31.029241 98.90% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/5113911718@103.240.35.46:41122
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/5113911718@103.240.35.46:41122 Standard HANGUP, cause: NO_ANSWER
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5113911718@103.240.35.46:41122) State HANGUP going to sleep
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_REPORTING (Cur 2 Tot 47)
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5113911718@103.240.35.46:41122) State REPORTING
2022-09-20 10:01:31.029241 98.90% [INFO] mod_json_cdr.c:271 Process [1e019566-b4de-4cf7-8c48-b5d19b432da3.cdr.json]
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/5113911718@103.240.35.46:41122 Standard REPORTING, cause: NO_ANSWER
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5113911718@103.240.35.46:41122) State REPORTING going to sleep
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_session.c:1753 Session 47 (sofia/default/5113911718@103.240.35.46:41122) Locked, Waiting on external entities
2022-09-20 10:01:31.029241 98.90% [NOTICE] switch_core_session.c:1771 Session 47 (sofia/default/5113911718@103.240.35.46:41122) Ended
2022-09-20 10:01:31.029241 98.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5113911718@103.240.35.46:41122 [CS_DESTROY]
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_DESTROY (Cur 1 Tot 47)
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5113911718@103.240.35.46:41122) State DESTROY
2022-09-20 10:01:31.029241 98.90% [DEBUG] mod_sofia.c:379 sofia/default/5113911718@103.240.35.46:41122 SOFIA DESTROY
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/5113911718@103.240.35.46:41122 Standard DESTROY
2022-09-20 10:01:31.029241 98.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5113911718@103.240.35.46:41122) State DESTROY going to sleep
2022-09-20 10:01:31.049247 98.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/240709@13.127.15.161:5078 Standard REPORTING, cause: NO_ANSWER
2022-09-20 10:01:31.049247 98.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/240709@13.127.15.161:5078) State REPORTING going to sleep
2022-09-20 10:01:31.049247 98.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/240709@13.127.15.161:5078) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:01:31.049247 98.90% [DEBUG] switch_core_session.c:1753 Session 46 (sofia/default/240709@13.127.15.161:5078) Locked, Waiting on external entities
2022-09-20 10:01:31.049247 98.90% [NOTICE] switch_core_session.c:1771 Session 46 (sofia/default/240709@13.127.15.161:5078) Ended
2022-09-20 10:01:31.049247 98.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/240709@13.127.15.161:5078 [CS_DESTROY]
2022-09-20 10:01:31.049247 98.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_DESTROY (Cur 0 Tot 47)
2022-09-20 10:01:31.049247 98.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/240709@13.127.15.161:5078) State DESTROY
2022-09-20 10:01:31.049247 98.90% [DEBUG] mod_sofia.c:379 sofia/default/240709@13.127.15.161:5078 SOFIA DESTROY
2022-09-20 10:01:31.049247 98.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/240709@13.127.15.161:5078 Standard DESTROY
2022-09-20 10:01:31.049247 98.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/240709@13.127.15.161:5078) State DESTROY going to sleep
2022-09-20 10:01:52.049268 99.53% [NOTICE] sofia_reg.c:459 Registering 4598450814
2022-09-20 10:01:52.049268 99.53% [NOTICE] sofia_reg.c:459 Registering 1876077626
2022-09-20 10:01:52.149315 99.53% [ERR] sofia_reg.c:2677 1876077626 Failed Registration with status Service Unavailable [503]. failure #2350
2022-09-20 10:01:52.149315 99.53% [ERR] sofia_reg.c:2677 4598450814 Failed Registration with status Service Unavailable [503]. failure #2350
2022-09-20 10:01:53.049281 99.53% [WARNING] sofia_reg.c:516 4598450814 Failed Registration [503], setting retry to 30 seconds.
2022-09-20 10:01:53.049281 99.53% [WARNING] sofia_reg.c:516 1876077626 Failed Registration [503], setting retry to 30 seconds.
2022-09-20 10:02:19.189277 93.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/240709@13.127.15.161:5078 [1ec4be6e-2bbb-4d8b-9ded-cf16bdcf2b92]
2022-09-20 10:02:19.189277 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_NEW (Cur 1 Tot 48)
2022-09-20 10:02:19.189277 93.23% [INFO] sofia.c:10462 sofia/default/240709@13.127.15.161:5078 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ablrmbujrysarxh@pk-qa
2022-09-20 10:02:19.189277 93.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
2022-09-20 10:02:19.189277 93.23% [DEBUG] sofia.c:2419 detaching session 1ec4be6e-2bbb-4d8b-9ded-cf16bdcf2b92
2022-09-20 10:02:19.189277 93.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [5113911718@13.127.15.161] from ip 103.240.35.46
2022-09-20 10:02:19.189277 93.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/240709@13.127.15.161:5078) State NEW
2022-09-20 10:02:19.209244 93.23% [DEBUG] sofia.c:2532 Re-attaching to session 1ec4be6e-2bbb-4d8b-9ded-cf16bdcf2b92
2022-09-20 10:02:19.209244 93.23% [INFO] sofia.c:10462 sofia/default/240709@13.127.15.161:5078 receiving invite from 103.240.35.46:5078 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ablrmbujrysarxh@pk-qa
2022-09-20 10:02:19.209244 93.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0.
2022-09-20 10:02:19.229235 93.23% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-09-20 10:02:19.229235 93.23% [DEBUG] sofia.c:7499 Channel sofia/default/240709@13.127.15.161:5078 entering state [received][100]
2022-09-20 10:02:19.229235 93.23% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=twinkle 1254354177 1808959837 IN IP4 192.168.1.51
s=-
c=IN IP4 192.168.1.51
t=0 0
m=audio 8000 RTP/AVP 98 97 8 0 3 101
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/240709@13.127.15.161:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_codec.c:111 sofia/default/240709@13.127.15.161:5078 Original read codec set to PCMA:8
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_media.c:5973 sofia/default/240709@13.127.15.161:5078 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:02:19.229235 93.23% [DEBUG] sofia.c:7933 (sofia/default/240709@13.127.15.161:5078) State Change CS_NEW -> CS_INIT
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_INIT (Cur 1 Tot 48)
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/240709@13.127.15.161:5078) State INIT
2022-09-20 10:02:19.229235 93.23% [DEBUG] mod_sofia.c:97 sofia/default/240709@13.127.15.161:5078 SOFIA INIT
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/240709@13.127.15.161:5078 Standard INIT
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/240709@13.127.15.161:5078) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/240709@13.127.15.161:5078) State INIT going to sleep
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_ROUTING (Cur 1 Tot 48)
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_channel.c:2380 (sofia/default/240709@13.127.15.161:5078) Callstate Change DOWN -> RINGING
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/240709@13.127.15.161:5078) State ROUTING
2022-09-20 10:02:19.229235 93.23% [DEBUG] mod_sofia.c:158 sofia/default/240709@13.127.15.161:5078 SOFIA ROUTING
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/240709@13.127.15.161:5078 Standard ROUTING
2022-09-20 10:02:19.229235 93.23% [INFO] mod_dialplan_xml.c:639 Processing 240709 <240709>->5113911718 in context default
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:02:19.229235 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 5113911718
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '5113911718' AND status=0 limit 1
2022-09-20 10:02:19.229235 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 240709 / 240709
2022-09-20 10:02:19.229235 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="5113911718" LIMIT 1
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5113911718" limit 1
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 240709]
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "240709" AND deleted = 0 limit 1
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="5113911718" AND A.accountid = '95' limit 1
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 5113911718
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="5113911718" LIMIT 1
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5113911718" limit 1
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : local
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="5113911718" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^5113911718.*' OR patterns = '^511391171.*' OR patterns = '^51139117.*' OR patterns = '^5113911.*' OR patterns = '^511391.*' OR patterns = '^51139.*' OR patterns = '^5113.*' OR patterns = '^511.*' OR patterns = '^51.*' OR patterns = '^5.*' OR patterns ='--') AND accountid = 95 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 95
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 240709
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 27
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 27 AND status = 0
2022-09-20 10:02:19.249253 93.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1
2022-09-20 10:02:19.249253 93.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!0
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 95 !!!
2022-09-20 10:02:19.249253 93.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2022-09-20 10:02:19.249253 93.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 93
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "93" AND deleted = 0 limit 1
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 93
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 306532
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 0
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 25
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
2022-09-20 10:02:19.249253 93.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] free_inbound!!!1
2022-09-20 10:02:19.249253 93.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] charge_per_min!!!0
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your0 balance Accountid 93 !!!
2022-09-20 10:02:19.249253 93.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="5113911718" limit 1
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 142 limit 1
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] DESTINATION : 5113911718
2022-09-20 10:02:19.249253 93.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [LOCAL CALL] Recording Flag :1
2022-09-20 10:02:19.249253 93.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts
2022-09-20 10:02:19.249253 93.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 142
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 142 limit 1
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
2022-09-20 10:02:19.249253 93.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
2022-09-20 10:02:19.249253 93.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="5113911718">
<condition field="destination_number" expression="5113911718">
<action application="set" data="effective_destination_number=5113911718"/>
<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=2022-09-20 10:02:19"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=95"/>
<action application="set" data="parent_id=93"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=local"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93"/>
<action application="set" data="original_caller_id_name=240709"/>
<action application="set" data="original_caller_id_number=240709"/>
<action application="export" data="presence_data=x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51"/>
<action application="set" data="effective_caller_id_name=240709"/>
<action application="set" data="effective_caller_id_number=240709"/>
<action application="set" data="calltype=LOCAL"/>
<action application="set" data="receiver_accid=95"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=93}[leg_timeout=30 ] user/5113911718@13.127.15.161:5078"/>
<action application="set" data="on_busy_flag=0"/>
<action application="set" data="on_busy_destination=8701219444"/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination=8701219444"/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination=8701219444"/>
<action application="set" data="variable_sip_to_host=13.127.15.161"/>
<action application="set" data="variable_sip_to_port=5078"/>
<action application="set" data="leg_timeout=30"/>
<action application="set" data="userinfo_id=93"/>
<action application="set" data="sip_destination_number=5113911718"/>
<action application="set" data="did_number=5113911718"/>
<action application="lua" data="astpp/lib/sip_routing/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 5113911718@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=5113911718"/>
<action application="voicemail" data="default $${domain_name} 5113911718"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/240709@13.127.15.161:5078 parsing [default->5113911718] continue=false
Dialplan: sofia/default/240709@13.127.15.161:5078 Regex (PASS) [5113911718] destination_number(5113911718) =~ /5113911718/ break=on-false
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(effective_destination_number=5113911718)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(callstart=2022-09-20 10:02:19)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(account_id=95)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(parent_id=93)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(entity_id=0)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(call_processed=internal)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(call_direction=local)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(accountname=default)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(origination_rates=ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(original_caller_id_name=240709)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(original_caller_id_number=240709)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action export(presence_data=x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(effective_caller_id_name=240709)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(effective_caller_id_number=240709)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(calltype=LOCAL)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(receiver_accid=95)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=93}[leg_timeout=30 ] user/5113911718@13.127.15.161:5078)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(on_busy_flag=0)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(on_busy_destination=8701219444)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(no_answer_flag=1)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(no_answer_destination=8701219444)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(not_register_flag=1)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(not_register_destination=8701219444)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(variable_sip_to_host=13.127.15.161)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(variable_sip_to_port=5078)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(leg_timeout=30)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(userinfo_id=93)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(sip_destination_number=5113911718)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action set(did_number=5113911718)
Dialplan: sofia/default/240709@13.127.15.161:5078 Action lua(astpp/lib/sip_routing/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [5113911718_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/240709@13.127.15.161:5078 Regex (FAIL) [5113911718_recur_1] ${cond(${user_data 5113911718@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/240709@13.127.15.161:5078 ANTI-Action hangup(${originate_disposition})
2022-09-20 10:02:19.269248 93.23% [DEBUG] switch_core_state_machine.c:281 (sofia/default/240709@13.127.15.161:5078) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:02:19.269248 93.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/240709@13.127.15.161:5078) State ROUTING going to sleep
2022-09-20 10:02:19.269248 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_EXECUTE (Cur 1 Tot 48)
2022-09-20 10:02:19.269248 93.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/240709@13.127.15.161:5078) State EXECUTE
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_sofia.c:213 sofia/default/240709@13.127.15.161:5078 SOFIA EXECUTE
2022-09-20 10:02:19.269248 93.23% [DEBUG] switch_core_state_machine.c:323 sofia/default/240709@13.127.15.161:5078 Standard EXECUTE
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(effective_destination_number=5113911718)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [effective_destination_number]=[5113911718]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(callstart=2022-09-20 10:02:19)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [callstart]=[2022-09-20 10:02:19]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(hangup_after_bridge=true)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(continue_on_fail=TRUE)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(account_id=95)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [account_id]=[95]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(parent_id=93)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [parent_id]=[93]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(entity_id=0)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(call_processed=internal)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(call_direction=local)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [call_direction]=[local]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(accountname=default)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [accountname]=[default]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(origination_rates=ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [origination_rates]=[ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:27|MARKUP:0|CI:0|ACCID:95||ID:0|CODE:^5113911718.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:25|MARKUP:0|CI:0|ACCID:93]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(original_caller_id_name=240709)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [original_caller_id_name]=[240709]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(original_caller_id_number=240709)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [original_caller_id_number]=[240709]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 export(presence_data=x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51)
2022-09-20 10:02:19.269248 93.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(effective_caller_id_name=240709)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [effective_caller_id_name]=[240709]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(effective_caller_id_number=240709)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [effective_caller_id_number]=[240709]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(calltype=LOCAL)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [calltype]=[LOCAL]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(receiver_accid=95)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [receiver_accid]=[95]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(hangup_after_bridge=true)
2022-09-20 10:02:19.269248 93.23% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=93}[leg_timeout=30 ] user/5113911718@13.127.15.161:5078)
2022-09-20 10:02:19.269248 93.23% [DEBUG] switch_channel.c:1269 sofia/default/240709@13.127.15.161:5078 EXPORTING[export_vars] [presence_data]=[x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51] to event
2022-09-20 10:02:19.269248 93.23% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-09-20 10:02:19.269248 93.23% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_channel.c:1269 sofia/default/240709@13.127.15.161:5078 EXPORTING[export_vars] [presence_data]=[x//93|||customer of b.k resellar(240709)|||^5113911718.* // Local // 0||||||LOCAL|||192.168.1.51] to event
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-09-20 10:02:19.289255 93.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5113911718@103.240.35.46:41122 [ba838a65-d7e8-4b95-b7cf-c4f4d60f2998]
2022-09-20 10:02:19.289255 93.23% [DEBUG] mod_sofia.c:5121 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_NEW -> CS_INIT
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_ivr_originate.c:3151 sofia/default/5113911718@103.240.35.46:41122 Setting leg timeout to 30
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_INIT (Cur 2 Tot 49)
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5113911718@103.240.35.46:41122) State INIT
2022-09-20 10:02:19.289255 93.23% [DEBUG] mod_sofia.c:97 sofia/default/5113911718@103.240.35.46:41122 SOFIA INIT
2022-09-20 10:02:19.289255 93.23% [DEBUG] sofia_glue.c:1620 sip:5113911718@103.240.35.46:37334;rinstance=95bc221e5f7865b4;transport=TCP Setting proxy route to sofia/default/5113911718@103.240.35.46:41122
2022-09-20 10:02:19.289255 93.23% [INFO] sofia_glue.c:1651 sofia/default/5113911718@103.240.35.46:41122 sending invite call-id: (null)
2022-09-20 10:02:19.289255 93.23% [DEBUG] sofia_glue.c:1654 sofia/default/5113911718@103.240.35.46:41122 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1663645937 1663645938 IN IP4 13.127.15.161
s=FreeSWITCH
c=IN IP4 13.127.15.161
t=0 0
m=audio 22202 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/5113911718@103.240.35.46:41122 Standard INIT
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5113911718@103.240.35.46:41122) State INIT going to sleep
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_ROUTING (Cur 2 Tot 49)
2022-09-20 10:02:19.289255 93.23% [DEBUG] sofia.c:7499 Channel sofia/default/5113911718@103.240.35.46:41122 entering state [calling][0]
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5113911718@103.240.35.46:41122) State ROUTING
2022-09-20 10:02:19.289255 93.23% [DEBUG] mod_sofia.c:158 sofia/default/5113911718@103.240.35.46:41122 SOFIA ROUTING
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_ivr_originate.c:67 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5113911718@103.240.35.46:41122) State ROUTING going to sleep
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 49)
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5113911718@103.240.35.46:41122) State CONSUME_MEDIA
2022-09-20 10:02:19.289255 93.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/5113911718@103.240.35.46:41122) State CONSUME_MEDIA going to sleep
2022-09-20 10:02:19.589268 93.23% [DEBUG] sofia.c:7499 Channel sofia/default/5113911718@103.240.35.46:41122 entering state [proceeding][180]
2022-09-20 10:02:19.589268 93.23% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/5113911718@103.240.35.46:41122!
2022-09-20 10:02:19.589268 93.23% [DEBUG] switch_channel.c:3494 (sofia/default/5113911718@103.240.35.46:41122) Callstate Change DOWN -> RINGING
2022-09-20 10:02:19.609257 93.23% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/240709@13.127.15.161:5078!
2022-09-20 10:02:19.609257 93.23% [DEBUG] sofia.c:7499 Channel sofia/default/240709@13.127.15.161:5078 entering state [early][180]
2022-09-20 10:02:19.609257 93.23% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/240709@13.127.15.161:5078!
2022-09-20 10:02:24.089271 92.93% [NOTICE] sofia_reg.c:459 Registering 4598450814
2022-09-20 10:02:24.089271 92.93% [NOTICE] sofia_reg.c:459 Registering 1876077626
2022-09-20 10:02:24.209241 92.93% [ERR] sofia_reg.c:2677 1876077626 Failed Registration with status Service Unavailable [503]. failure #2351
2022-09-20 10:02:24.209241 92.93% [ERR] sofia_reg.c:2677 4598450814 Failed Registration with status Service Unavailable [503]. failure #2351
2022-09-20 10:02:25.089287 92.93% [WARNING] sofia_reg.c:516 4598450814 Failed Registration [503], setting retry to 30 seconds.
2022-09-20 10:02:25.089287 92.93% [WARNING] sofia_reg.c:516 1876077626 Failed Registration [503], setting retry to 30 seconds.
2022-09-20 10:02:30.109255 91.40% [DEBUG] sofia.c:7499 Channel sofia/default/5113911718@103.240.35.46:41122 entering state [terminated][486]
2022-09-20 10:02:30.109255 91.40% [NOTICE] sofia.c:8738 Hangup sofia/default/5113911718@103.240.35.46:41122 [CS_CONSUME_MEDIA] [USER_BUSY]
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_HANGUP (Cur 2 Tot 49)
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5113911718@103.240.35.46:41122) Callstate Change RINGING -> HANGUP
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5113911718@103.240.35.46:41122) State HANGUP
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/5113911718@103.240.35.46:41122 hanging up, cause: USER_BUSY
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/5113911718@103.240.35.46:41122 Standard HANGUP, cause: USER_BUSY
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5113911718@103.240.35.46:41122) State HANGUP going to sleep
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_REPORTING (Cur 2 Tot 49)
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5113911718@103.240.35.46:41122) State REPORTING
2022-09-20 10:02:30.109255 91.40% [INFO] mod_json_cdr.c:271 Process [ba838a65-d7e8-4b95-b7cf-c4f4d60f2998.cdr.json]
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
2022-09-20 10:02:30.109255 91.40% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_BUSY]
2022-09-20 10:02:30.109255 91.40% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 17 [USER_BUSY]
2022-09-20 10:02:30.109255 91.40% [INFO] mod_dptools.c:3653 Originate Failed. Cause: USER_BUSY
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(on_busy_flag=0)
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [on_busy_flag]=[0]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(on_busy_destination=8701219444)
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [on_busy_destination]=[8701219444]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(no_answer_flag=1)
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [no_answer_flag]=[1]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(no_answer_destination=8701219444)
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [no_answer_destination]=[8701219444]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(not_register_flag=1)
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [not_register_flag]=[1]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(not_register_destination=8701219444)
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [not_register_destination]=[8701219444]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(variable_sip_to_host=13.127.15.161)
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [variable_sip_to_host]=[13.127.15.161]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(variable_sip_to_port=5078)
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [variable_sip_to_port]=[5078]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(leg_timeout=30)
2022-09-20 10:02:30.109255 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [leg_timeout]=[30]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(userinfo_id=93)
2022-09-20 10:02:30.129242 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [userinfo_id]=[93]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(sip_destination_number=5113911718)
2022-09-20 10:02:30.129242 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [sip_destination_number]=[5113911718]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 set(did_number=5113911718)
2022-09-20 10:02:30.129242 91.40% [DEBUG] mod_dptools.c:1685 SET sofia/default/240709@13.127.15.161:5078 [did_number]=[5113911718]
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 lua(astpp/lib/sip_routing/astpp-sipdevice-routing.lua)
2022-09-20 10:02:30.129242 91.40% [ERR] mod_lua.cpp:202 cannot open /usr/share/freeswitch/scripts/astpp/../addons.lua: No such file or directory
stack traceback:
[C]: in function 'dofile'
...cripts/astpp/lib/sip_routing/astpp-sipdevice-routing.lua:38: in main chunk
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_cpp.cpp:1209 sofia/default/240709@13.127.15.161:5078 destroy/unlink session from object
EXECUTE [depth=0] sofia/default/240709@13.127.15.161:5078 hangup(USER_BUSY)
2022-09-20 10:02:30.129242 91.40% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/240709@13.127.15.161:5078 [CS_EXECUTE] [USER_BUSY]
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_session.c:2983 sofia/default/240709@13.127.15.161:5078 skip receive message [PHONE_EVENT] (channel is hungup already)
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/240709@13.127.15.161:5078) State EXECUTE going to sleep
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_HANGUP (Cur 2 Tot 49)
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/240709@13.127.15.161:5078) Callstate Change RINGING -> HANGUP
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/240709@13.127.15.161:5078) State HANGUP
2022-09-20 10:02:30.129242 91.40% [DEBUG] mod_sofia.c:462 sofia/default/240709@13.127.15.161:5078 Overriding SIP cause 486 with 486 from the other leg
2022-09-20 10:02:30.129242 91.40% [DEBUG] mod_sofia.c:468 Channel sofia/default/240709@13.127.15.161:5078 hanging up, cause: USER_BUSY
2022-09-20 10:02:30.129242 91.40% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 486
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/240709@13.127.15.161:5078 Standard HANGUP, cause: USER_BUSY
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/240709@13.127.15.161:5078) State HANGUP going to sleep
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/240709@13.127.15.161:5078) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_REPORTING (Cur 2 Tot 49)
2022-09-20 10:02:30.129242 91.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/240709@13.127.15.161:5078) State REPORTING
2022-09-20 10:02:30.129242 91.40% [INFO] mod_json_cdr.c:271 Process [1ec4be6e-2bbb-4d8b-9ded-cf16bdcf2b92.cdr.json]
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/5113911718@103.240.35.46:41122 Standard REPORTING, cause: USER_BUSY
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5113911718@103.240.35.46:41122) State REPORTING going to sleep
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5113911718@103.240.35.46:41122) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_session.c:1753 Session 49 (sofia/default/5113911718@103.240.35.46:41122) Locked, Waiting on external entities
2022-09-20 10:02:30.149256 91.30% [NOTICE] switch_core_session.c:1771 Session 49 (sofia/default/5113911718@103.240.35.46:41122) Ended
2022-09-20 10:02:30.149256 91.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5113911718@103.240.35.46:41122 [CS_DESTROY]
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5113911718@103.240.35.46:41122) Running State Change CS_DESTROY (Cur 1 Tot 49)
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5113911718@103.240.35.46:41122) State DESTROY
2022-09-20 10:02:30.149256 91.30% [DEBUG] mod_sofia.c:379 sofia/default/5113911718@103.240.35.46:41122 SOFIA DESTROY
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/5113911718@103.240.35.46:41122 Standard DESTROY
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5113911718@103.240.35.46:41122) State DESTROY going to sleep
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/240709@13.127.15.161:5078 Standard REPORTING, cause: USER_BUSY
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/240709@13.127.15.161:5078) State REPORTING going to sleep
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/240709@13.127.15.161:5078) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_session.c:1753 Session 48 (sofia/default/240709@13.127.15.161:5078) Locked, Waiting on external entities
2022-09-20 10:02:30.149256 91.30% [NOTICE] switch_core_session.c:1771 Session 48 (sofia/default/240709@13.127.15.161:5078) Ended
2022-09-20 10:02:30.149256 91.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/240709@13.127.15.161:5078 [CS_DESTROY]
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/240709@13.127.15.161:5078) Running State Change CS_DESTROY (Cur 0 Tot 49)
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/240709@13.127.15.161:5078) State DESTROY
2022-09-20 10:02:30.149256 91.30% [DEBUG] mod_sofia.c:379 sofia/default/240709@13.127.15.161:5078 SOFIA DESTROY
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/240709@13.127.15.161:5078 Standard DESTROY
2022-09-20 10:02:30.149256 91.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/240709@13.127.15.161:5078) State DESTROY going to sleep
2022-09-20 10:02:56.129256 97.07% [NOTICE] sofia_reg.c:459 Registering 4598450814
2022-09-20 10:02:56.129256 97.07% [NOTICE] sofia_reg.c:459 Registering 1876077626