freeswitch@ip-172-31-8-199>
freeswitch@ip-172-31-8-199>
2021-09-21 11:22:07.843840 [NOTICE] switch_channel.c:1118 New Channel sofia/default/3348757062@46.101.114.158 [98d3607e-4ef8-49d7-a729-3a5479dcee3d]
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 684)
2021-09-21 11:22:07.843840 [INFO] sofia.c:10362 sofia/default/3348757062@46.101.114.158 receiving invite from 46.101.114.158:5077 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ff58e3a8-9570-123a-12a3-ba05d31eb9f9
2021-09-21 11:22:07.843840 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 46.101.114.158:0.
2021-09-21 11:22:07.843840 [DEBUG] sofia.c:10485 IP 46.101.114.158 Approved by acl "default[]". Access Granted.
2021-09-21 11:22:07.843840 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [received][100]
2021-09-21 11:22:07.843840 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=FreeSWITCH 1632204389 1632204390 IN IP4 46.101.114.158
s=FreeSWITCH
c=IN IP4 46.101.114.158
t=0 0
m=audio 18938 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/3348757062@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-09-21 11:22:07.843840 [DEBUG] switch_core_codec.c:111 sofia/default/3348757062@46.101.114.158 Original read codec set to PCMA:8
2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2021-09-21 11:22:07.843840 [DEBUG] switch_core_media.c:5918 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
2021-09-21 11:22:07.843840 [DEBUG] sofia.c:7840 (sofia/default/3348757062@46.101.114.158) State Change CS_NEW -> CS_INIT
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:604 (sofia/default/3348757062@46.101.114.158) State NEW
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 684)
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3348757062@46.101.114.158) State INIT
2021-09-21 11:22:07.843840 [DEBUG] mod_sofia.c:93 sofia/default/3348757062@46.101.114.158 SOFIA INIT
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:40 sofia/default/3348757062@46.101.114.158 Standard INIT
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3348757062@46.101.114.158) State Change CS_INIT -> CS_ROUTING
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3348757062@46.101.114.158) State INIT going to sleep
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 684)
2021-09-21 11:22:07.843840 [DEBUG] switch_channel.c:2332 (sofia/default/3348757062@46.101.114.158) Callstate Change DOWN -> RINGING
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3348757062@46.101.114.158) State ROUTING
2021-09-21 11:22:07.843840 [DEBUG] mod_sofia.c:154 sofia/default/3348757062@46.101.114.158 SOFIA ROUTING
2021-09-21 11:22:07.843840 [DEBUG] switch_core_state_machine.c:236 sofia/default/3348757062@46.101.114.158 Standard ROUTING
2021-09-21 11:22:07.843840 [INFO] mod_dialplan_xml.c:637 Processing 3348757062 <3348757062>->990666 in context default
2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 990666
2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '990666' limit 1
2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '990666' AND status=0 limit 1
2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '990666' and status=0 LIMIT 1
2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 3348757062 / 3348757062
2021-09-21 11:22:07.903812 [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 ="990666" LIMIT 1
2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "990666" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2021-09-21 11:22:07.903812 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7858606680]
2021-09-21 11:22:07.903812 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7858606680" AND deleted = 0 limit 1
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="990666" AND (accountid = 0 OR status = 1) LIMIT 1
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 9
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^990666.*' OR patterns = '^99066.*' OR patterns = '^9906.*' OR patterns = '^990.*' OR patterns = '^99.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 9 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-09-21 11:22:07.923816 [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 ="990666" AND A.accountid = '9' limit 1
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 990666
2021-09-21 11:22:07.923816 [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 ="990666" LIMIT 1
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '990666' OR number = '99066' OR number = '9906' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990666*' OR number = '99066*' OR number = '9906*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--') OR (number = '3348757062' OR number = '334875706' OR number = '33487570' OR number = '3348757' OR number = '334875' OR number = '33487' OR number = '3348' OR number = '334' OR number = '33' OR number = '3' OR number ='--') OR (number = '3348757062*' OR number = '334875706*' OR number = '33487570*' OR number = '3348757*' OR number = '334875*' OR number = '33487*' OR number = '3348*' OR number = '334*' OR number = '33*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '990666' OR routing_prefix = '99066' OR routing_prefix = '9906' OR routing_prefix = '990' OR routing_prefix = '99' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7858606680
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1233433
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2021-09-21 11:22:07.923816 [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 ="990666" LIMIT 1
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 990666
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1233433 balance Accountid 9 !!!
2021-09-21 11:22:07.923816 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2021-09-21 11:22:07.923816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2021-09-21 11:22:07.923816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "9" AND deleted = 0 limit 1
2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 9 limit 1
2021-09-21 11:22:07.943816 [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 18.220.27.122
2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2021-09-21 11:22:07.943816 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "6131665250" AND accounts.status = 0
2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 9 limit 1
2021-09-21 11:22:07.943816 [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 18.220.27.122
2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 9 and status = 0 limit 1
2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
2021-09-21 11:22:07.943816 [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 FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250" AND domains.domain="18.220.27.122" limit 1
2021-09-21 11:22:07.943816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
2021-09-21 11:22:07.963816 [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 FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250" AND domains.domain="18.220.27.122" limit 1
2021-09-21 11:22:07.963816 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 6
2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-09-21 11:22:07.963816 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
2021-09-21 11:22:07.963816 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
2021-09-21 11:22:07.963816 [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 FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250" AND domains.domain="18.220.27.122" limit 1
2021-09-21 11:22:07.963816 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
2021-09-21 11:22:07.983824 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/3348757062@46.101.114.158 parsing [default->990666] continue=false
Dialplan: sofia/default/3348757062@46.101.114.158 Regex (PASS) [990666] destination_number(990666) =~ /990666/ break=on-false
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_destination_number=990666)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(callstart=2021-09-21 11:22:07)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(account_id=9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(parent_id=0)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(entity_id=0)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(call_processed=internal)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(call_direction=inbound)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(accountname=entdemo)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(origination_rates=0)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(original_caller_id_name=3348757062)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(original_caller_id_number=3348757062)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_caller_id_name=3348757062)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_caller_id_number=3348757062)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(receiver_accid=9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(domain_name=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(sip_to_host=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(call_type=0)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/3348757062@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6131665250/${uuid})
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(did_user_domain=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6131665250/${uuid})
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(transfer_ringback=$${hold_music})
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(variable_sip_to_host=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(leg_timeout=60)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(userinfo_id=9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(sip_destination_number=6131665250)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(did_number=6131665250)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(user_domain=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(variable_sip_to_host=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(leg_timeout=60)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(userinfo_id=9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(sip_destination_number=6131665250)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(destination_number=990666)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(did_number=990666)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(user_domain=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [990666_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/3348757062@46.101.114.158 Regex (FAIL) [990666_recur_1] ${cond(${user_data 6131665250@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/3348757062@46.101.114.158 ANTI-Action hangup(${originate_disposition})
2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:287 (sofia/default/3348757062@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3348757062@46.101.114.158) State ROUTING going to sleep
2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 684)
2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:651 (sofia/default/3348757062@46.101.114.158) State EXECUTE
2021-09-21 11:22:08.023817 [DEBUG] mod_sofia.c:209 sofia/default/3348757062@46.101.114.158 SOFIA EXECUTE
2021-09-21 11:22:08.023817 [DEBUG] switch_core_state_machine.c:329 sofia/default/3348757062@46.101.114.158 Standard EXECUTE
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_destination_number=990666)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_destination_number]=[990666]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(callstart=2021-09-21 11:22:07)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [callstart]=[2021-09-21 11:22:07]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(continue_on_fail=TRUE)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(account_id=9)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [account_id]=[9]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(parent_id=0)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(entity_id=0)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(call_processed=internal)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(call_direction=inbound)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(accountname=entdemo)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [accountname]=[entdemo]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [origination_rates_did]=[ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(origination_rates=0)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(original_caller_id_name=3348757062)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [original_caller_id_name]=[3348757062]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(original_caller_id_number=3348757062)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [original_caller_id_number]=[3348757062]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_caller_id_name=3348757062)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_caller_id_name]=[3348757062]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_caller_id_number=3348757062)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_caller_id_number]=[3348757062]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(receiver_accid=9)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [receiver_accid]=[9]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(domain_name=18.220.27.122)
2021-09-21 11:22:08.023817 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[18.220.27.122]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(sip_to_host=18.220.27.122)
2021-09-21 11:22:08.023817 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[18.220.27.122]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158)
2021-09-21 11:22:08.023817 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(call_type=0)
2021-09-21 11:22:08.023817 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(calltype=DID-LOCAL)
2021-09-21 11:22:08.023817 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [calltype]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 db(insert/pickup_any_group_/6131665250/98d3607e-4ef8-49d7-a729-3a5479dcee3d)
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(dialed_extension=transfer_call)
2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(dialed_extension=transfer_call)
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-09-21 11:22:08.043811 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-09-21 11:22:08.043811 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(did_user_domain=18.220.27.122)
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[18.220.27.122]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 db(insert/pickup_any_group_/6131665250/98d3607e-4ef8-49d7-a729-3a5479dcee3d)
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(dialed_extension=transfer_call)
2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(dialed_extension=transfer_call)
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-09-21 11:22:08.043811 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-09-21 11:22:08.043811 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(transfer_ringback=local_stream://moh)
2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [transfer_ringback]=[local_stream://moh]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
2021-09-21 11:22:08.043811 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122)
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [domain_name]=[18.220.27.122] to event
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[18.220.27.122] to event
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158] to event
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[18.220.27.122] to event
2021-09-21 11:22:08.043811 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-21 11:22:08.043811 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2021-09-21 11:22:08.043811 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [domain_name]=[18.220.27.122] to event
2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[18.220.27.122] to event
2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158] to event
2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[18.220.27.122] to event
2021-09-21 11:22:08.063816 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-21 11:22:08.063816 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2021-09-21 11:22:08.063816 [NOTICE] switch_channel.c:1118 New Channel sofia/default/6131665250@192.168.1.13:39549 [60ff65f5-1e97-4361-89d6-577a5b6d5caf]
2021-09-21 11:22:08.063816 [DEBUG] mod_sofia.c:5102 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_NEW -> CS_INIT
2021-09-21 11:22:08.063816 [DEBUG] switch_ivr_originate.c:3142 sofia/default/6131665250@192.168.1.13:39549 Setting leg timeout to 60
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_INIT (Cur 2 Tot 685)
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:628 (sofia/default/6131665250@192.168.1.13:39549) State INIT
2021-09-21 11:22:08.063816 [DEBUG] mod_sofia.c:93 sofia/default/6131665250@192.168.1.13:39549 SOFIA INIT
2021-09-21 11:22:08.063816 [DEBUG] sofia_glue.c:1590 sip:6131665250@117.247.91.162:59033;rinstance=24df7c8bec0d5a33;transport=tcp Setting proxy route to sofia/default/6131665250@192.168.1.13:39549
2021-09-21 11:22:08.063816 [INFO] sofia_glue.c:1621 sofia/default/6131665250@192.168.1.13:39549 sending invite call-id: (null)
2021-09-21 11:22:08.063816 [DEBUG] sofia_glue.c:1624 sofia/default/6131665250@192.168.1.13:39549 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1632194012 1632194013 IN IP4 18.220.27.122
s=FreeSWITCH
c=IN IP4 18.220.27.122
t=0 0
m=audio 29316 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:40 sofia/default/6131665250@192.168.1.13:39549 Standard INIT
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_INIT -> CS_ROUTING
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:628 (sofia/default/6131665250@192.168.1.13:39549) State INIT going to sleep
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_ROUTING (Cur 2 Tot 685)
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:644 (sofia/default/6131665250@192.168.1.13:39549) State ROUTING
2021-09-21 11:22:08.063816 [DEBUG] mod_sofia.c:154 sofia/default/6131665250@192.168.1.13:39549 SOFIA ROUTING
2021-09-21 11:22:08.063816 [DEBUG] switch_ivr_originate.c:67 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:644 (sofia/default/6131665250@192.168.1.13:39549) State ROUTING going to sleep
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 685)
2021-09-21 11:22:08.063816 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [calling][0]
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:663 (sofia/default/6131665250@192.168.1.13:39549) State CONSUME_MEDIA
2021-09-21 11:22:08.063816 [DEBUG] switch_core_state_machine.c:663 (sofia/default/6131665250@192.168.1.13:39549) State CONSUME_MEDIA going to sleep
2021-09-21 11:22:08.723841 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [proceeding][180]
2021-09-21 11:22:08.723841 [NOTICE] sofia.c:7517 Ring-Ready sofia/default/6131665250@192.168.1.13:39549!
2021-09-21 11:22:08.723841 [DEBUG] switch_channel.c:3437 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change DOWN -> RINGING
2021-09-21 11:22:08.723841 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/3348757062@46.101.114.158!
2021-09-21 11:22:08.723841 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [early][180]
2021-09-21 11:22:08.723841 [NOTICE] switch_ivr_originate.c:564 Ring Ready sofia/default/3348757062@46.101.114.158!
2021-09-21 11:22:12.383833 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [terminated][486]
2021-09-21 11:22:12.383833 [NOTICE] sofia.c:8641 Hangup sofia/default/6131665250@192.168.1.13:39549 [CS_CONSUME_MEDIA] [USER_BUSY]
2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_HANGUP (Cur 2 Tot 685)
2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:848 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change RINGING -> HANGUP
2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6131665250@192.168.1.13:39549) State HANGUP
2021-09-21 11:22:12.383833 [DEBUG] mod_sofia.c:453 Channel sofia/default/6131665250@192.168.1.13:39549 hanging up, cause: USER_BUSY
2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:60 sofia/default/6131665250@192.168.1.13:39549 Standard HANGUP, cause: USER_BUSY
2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6131665250@192.168.1.13:39549) State HANGUP going to sleep
2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:620 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_HANGUP -> CS_REPORTING
2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_REPORTING (Cur 2 Tot 685)
2021-09-21 11:22:12.383833 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6131665250@192.168.1.13:39549) State REPORTING
2021-09-21 11:22:12.383833 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 17 [USER_BUSY]
2021-09-21 11:22:12.383833 [NOTICE] switch_ivr_originate.c:3030 Cannot create outgoing channel of type [user] cause: [USER_BUSY]
2021-09-21 11:22:12.383833 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 17 [USER_BUSY]
2021-09-21 11:22:12.383833 [INFO] mod_dptools.c:3643 Originate Failed. Cause: USER_BUSY
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(on_busy_flag=1)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [on_busy_flag]=[1]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(on_busy_destination=)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [on_busy_destination]=[UNDEF]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(no_answer_flag=1)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [no_answer_flag]=[1]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(no_answer_destination=)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [no_answer_destination]=[UNDEF]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(not_register_flag=1)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [not_register_flag]=[1]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(not_register_destination=)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [not_register_destination]=[UNDEF]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(opensips_flag=1)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [opensips_flag]=[1]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(variable_sip_to_host=18.220.27.122)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [variable_sip_to_host]=[18.220.27.122]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(opensips_domain=127.0.0.1)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [opensips_domain]=[127.0.0.1]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(leg_timeout=60)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [leg_timeout]=[60]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(userinfo_id=9)
2021-09-21 11:22:12.383833 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [userinfo_id]=[9]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(sip_destination_number=6131665250)
2021-09-21 11:22:12.403810 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [sip_destination_number]=[6131665250]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(did_number=6131665250)
2021-09-21 11:22:12.403810 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [did_number]=[6131665250]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(user_domain=18.220.27.122)
2021-09-21 11:22:12.403810 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [user_domain]=[18.220.27.122]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
2021-09-21 11:22:12.403810 [INFO] mod_json_cdr.c:271 Process [60ff65f5-1e97-4361-89d6-577a5b6d5caf.cdr.json]
2021-09-21 11:22:12.403810 [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions USER_BUSY This Is SIP Number : 6131665250
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 answer()
2021-09-21 11:22:12.403810 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/3348757062@46.101.114.158] 172.31.8.199 port 17458 -> 46.101.114.158 port 18938 codec: 8 ms: 20
2021-09-21 11:22:12.403810 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2021-09-21 11:22:12.403810 [DEBUG] switch_core_media.c:8989 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf send payload to 101
2021-09-21 11:22:12.403810 [DEBUG] switch_core_media.c:8996 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf receive payload to 101
2021-09-21 11:22:12.403810 [DEBUG] switch_core_media.c:9019 sofia/default/3348757062@46.101.114.158 Set rtp dtmf delay to 40
2021-09-21 11:22:12.403810 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/3348757062@46.101.114.158:
v=0
o=FreeSWITCH 1632205874 1632205875 IN IP4 18.220.27.122
s=FreeSWITCH
c=IN IP4 18.220.27.122
t=0 0
m=audio 17458 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-09-21 11:22:12.403810 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [completed][200]
2021-09-21 11:22:12.403810 [NOTICE] mod_dptools.c:1419 Channel [sofia/default/3348757062@46.101.114.158] has been answered
2021-09-21 11:22:12.403810 [DEBUG] switch_channel.c:3865 (sofia/default/3348757062@46.101.114.158) Callstate Change RINGING -> ACTIVE
2021-09-21 11:22:12.403810 [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :6131665250
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 voicemail(default 18.220.27.122 6131665250)
2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:174 sofia/default/6131665250@192.168.1.13:39549 Standard REPORTING, cause: USER_BUSY
2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6131665250@192.168.1.13:39549) State REPORTING going to sleep
2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:611 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_REPORTING -> CS_DESTROY
2021-09-21 11:22:12.423816 [DEBUG] switch_core_session.c:1736 Session 685 (sofia/default/6131665250@192.168.1.13:39549) Locked, Waiting on external entities
2021-09-21 11:22:12.423816 [NOTICE] switch_core_session.c:1754 Session 685 (sofia/default/6131665250@192.168.1.13:39549) Ended
2021-09-21 11:22:12.423816 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/6131665250@192.168.1.13:39549 [CS_DESTROY]
2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:739 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_DESTROY (Cur 1 Tot 685)
2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6131665250@192.168.1.13:39549) State DESTROY
2021-09-21 11:22:12.423816 [DEBUG] mod_sofia.c:364 sofia/default/6131665250@192.168.1.13:39549 SOFIA DESTROY
2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:181 sofia/default/6131665250@192.168.1.13:39549 Standard DESTROY
2021-09-21 11:22:12.423816 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6131665250@192.168.1.13:39549) State DESTROY going to sleep
2021-09-21 11:22:12.523832 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2021-09-21 11:22:12.523832 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
2021-09-21 11:22:12.523832 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [ready][200]
2021-09-21 11:22:12.543818 [DEBUG] switch_ivr_play_say.c:1486 Codec Activated L16@8000hz 1 channels 20ms
2021-09-21 11:22:12.743815 [NOTICE] sofia.c:1090 Hangup sofia/default/3348757062@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
2021-09-21 11:22:12.743815 [DEBUG] switch_ivr_play_say.c:1931 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
2021-09-21 11:22:12.743815 [DEBUG] switch_core_session.c:2914 sofia/default/3348757062@46.101.114.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-09-21 11:22:12.743815 [DEBUG] switch_cpp.cpp:1209 sofia/default/3348757062@46.101.114.158 destroy/unlink session from object
2021-09-21 11:22:12.743815 [DEBUG] switch_core_session.c:2914 sofia/default/3348757062@46.101.114.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:651 (sofia/default/3348757062@46.101.114.158) State EXECUTE going to sleep
2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_HANGUP (Cur 1 Tot 685)
2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:848 (sofia/default/3348757062@46.101.114.158) Callstate Change ACTIVE -> HANGUP
2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3348757062@46.101.114.158) State HANGUP
2021-09-21 11:22:12.743815 [DEBUG] mod_sofia.c:447 sofia/default/3348757062@46.101.114.158 Overriding SIP cause 480 with 486 from the other leg
2021-09-21 11:22:12.743815 [DEBUG] mod_sofia.c:453 Channel sofia/default/3348757062@46.101.114.158 hanging up, cause: NORMAL_CLEARING
2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:60 sofia/default/3348757062@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3348757062@46.101.114.158) State HANGUP going to sleep
2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:620 (sofia/default/3348757062@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_REPORTING (Cur 1 Tot 685)
2021-09-21 11:22:12.743815 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3348757062@46.101.114.158) State REPORTING
2021-09-21 11:22:12.743815 [INFO] mod_json_cdr.c:271 Process [98d3607e-4ef8-49d7-a729-3a5479dcee3d.cdr.json]
2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:174 sofia/default/3348757062@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3348757062@46.101.114.158) State REPORTING going to sleep
2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:611 (sofia/default/3348757062@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
2021-09-21 11:22:12.783817 [DEBUG] switch_core_session.c:1736 Session 684 (sofia/default/3348757062@46.101.114.158) Locked, Waiting on external entities
2021-09-21 11:22:12.783817 [NOTICE] switch_core_session.c:1754 Session 684 (sofia/default/3348757062@46.101.114.158) Ended
2021-09-21 11:22:12.783817 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/3348757062@46.101.114.158 [CS_DESTROY]
2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:739 (sofia/default/3348757062@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 685)
2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3348757062@46.101.114.158) State DESTROY
2021-09-21 11:22:12.783817 [DEBUG] mod_sofia.c:364 sofia/default/3348757062@46.101.114.158 SOFIA DESTROY
2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:181 sofia/default/3348757062@46.101.114.158 Standard DESTROY
2021-09-21 11:22:12.783817 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3348757062@46.101.114.158) State DESTROY going to sleep
2021-09-21 11:22:28.143871 [NOTICE] switch_channel.c:1118 New Channel sofia/default/3348757062@46.101.114.158 [52145985-392f-423d-babc-b8ec5f05020e]
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_NEW (Cur 1 Tot 686)
2021-09-21 11:22:28.143871 [INFO] sofia.c:10362 sofia/default/3348757062@46.101.114.158 receiving invite from 46.101.114.158:5077 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0b725146-9571-123a-12a3-ba05d31eb9f9
2021-09-21 11:22:28.143871 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 46.101.114.158:0.
2021-09-21 11:22:28.143871 [DEBUG] sofia.c:10485 IP 46.101.114.158 Approved by acl "default[]". Access Granted.
2021-09-21 11:22:28.143871 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [received][100]
2021-09-21 11:22:28.143871 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=FreeSWITCH 1632212790 1632212791 IN IP4 46.101.114.158
s=FreeSWITCH
c=IN IP4 46.101.114.158
t=0 0
m=audio 10558 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/3348757062@46.101.114.158 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-09-21 11:22:28.143871 [DEBUG] switch_core_codec.c:111 sofia/default/3348757062@46.101.114.158 Original read codec set to PCMA:8
2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2021-09-21 11:22:28.143871 [DEBUG] switch_core_media.c:5918 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf send payload to 101 recv payload to 101
2021-09-21 11:22:28.143871 [DEBUG] sofia.c:7840 (sofia/default/3348757062@46.101.114.158) State Change CS_NEW -> CS_INIT
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:604 (sofia/default/3348757062@46.101.114.158) State NEW
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_INIT (Cur 1 Tot 686)
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3348757062@46.101.114.158) State INIT
2021-09-21 11:22:28.143871 [DEBUG] mod_sofia.c:93 sofia/default/3348757062@46.101.114.158 SOFIA INIT
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:40 sofia/default/3348757062@46.101.114.158 Standard INIT
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3348757062@46.101.114.158) State Change CS_INIT -> CS_ROUTING
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3348757062@46.101.114.158) State INIT going to sleep
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_ROUTING (Cur 1 Tot 686)
2021-09-21 11:22:28.143871 [DEBUG] switch_channel.c:2332 (sofia/default/3348757062@46.101.114.158) Callstate Change DOWN -> RINGING
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3348757062@46.101.114.158) State ROUTING
2021-09-21 11:22:28.143871 [DEBUG] mod_sofia.c:154 sofia/default/3348757062@46.101.114.158 SOFIA ROUTING
2021-09-21 11:22:28.143871 [DEBUG] switch_core_state_machine.c:236 sofia/default/3348757062@46.101.114.158 Standard ROUTING
2021-09-21 11:22:28.143871 [INFO] mod_dialplan_xml.c:637 Processing 3348757062 <3348757062>->990666 in context default
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 990666
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '990666' limit 1
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '990666' AND status=0 limit 1
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '990666' and status=0 LIMIT 1
2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 3348757062 / 3348757062
2021-09-21 11:22:28.143871 [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 ="990666" LIMIT 1
2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("46.101.114.158") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "990666" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7858606680]
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7858606680" AND deleted = 0 limit 1
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="990666" AND (accountid = 0 OR status = 1) LIMIT 1
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 9
2021-09-21 11:22:28.143871 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^990666.*' OR patterns = '^99066.*' OR patterns = '^9906.*' OR patterns = '^990.*' OR patterns = '^99.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 9 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-09-21 11:22:28.143871 [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 ="990666" AND A.accountid = '9' limit 1
2021-09-21 11:22:28.143871 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 990666
2021-09-21 11:22:28.143871 [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 ="990666" LIMIT 1
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '990666' OR number = '99066' OR number = '9906' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990666*' OR number = '99066*' OR number = '9906*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--') OR (number = '3348757062' OR number = '334875706' OR number = '33487570' OR number = '3348757' OR number = '334875' OR number = '33487' OR number = '3348' OR number = '334' OR number = '33' OR number = '3' OR number ='--') OR (number = '3348757062*' OR number = '334875706*' OR number = '33487570*' OR number = '3348757*' OR number = '334875*' OR number = '33487*' OR number = '3348*' OR number = '334*' OR number = '33*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '990666' OR routing_prefix = '99066' OR routing_prefix = '9906' OR routing_prefix = '990' OR routing_prefix = '99' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7858606680
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1233433
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2021-09-21 11:22:28.183815 [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 ="990666" LIMIT 1
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 990666
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 85
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1233433 balance Accountid 9 !!!
2021-09-21 11:22:28.183815 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "9" AND deleted = 0 limit 1
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 9 limit 1
2021-09-21 11:22:28.183815 [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 18.220.27.122
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2021-09-21 11:22:28.183815 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
2021-09-21 11:22:28.183815 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "6131665250" AND accounts.status = 0
2021-09-21 11:22:28.203814 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 9 limit 1
2021-09-21 11:22:28.203814 [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 18.220.27.122
2021-09-21 11:22:28.203814 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 9 and status = 0 limit 1
2021-09-21 11:22:28.203814 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
2021-09-21 11:22:28.203814 [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 FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250" AND domains.domain="18.220.27.122" limit 1
2021-09-21 11:22:28.203814 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
2021-09-21 11:22:28.223817 [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 FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250" AND domains.domain="18.220.27.122" limit 1
2021-09-21 11:22:28.223817 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 6
2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-09-21 11:22:28.223817 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
2021-09-21 11:22:28.223817 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
2021-09-21 11:22:28.223817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
2021-09-21 11:22:28.223817 [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 FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6131665250" AND domains.domain="18.220.27.122" limit 1
2021-09-21 11:22:28.243817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 6 limit 1
2021-09-21 11:22:28.243817 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/3348757062@46.101.114.158 parsing [default->990666] continue=false
Dialplan: sofia/default/3348757062@46.101.114.158 Regex (PASS) [990666] destination_number(990666) =~ /990666/ break=on-false
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_destination_number=990666)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(callstart=2021-09-21 11:22:28)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(account_id=9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(parent_id=0)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(entity_id=0)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(call_processed=internal)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(call_direction=inbound)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(accountname=entdemo)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(origination_rates=0)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(original_caller_id_name=3348757062)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(original_caller_id_number=3348757062)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_caller_id_name=3348757062)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(effective_caller_id_number=3348757062)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(receiver_accid=9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(domain_name=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(sip_to_host=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(call_type=0)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/3348757062@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6131665250/${uuid})
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(did_user_domain=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action db(insert/pickup_any_group_${callgroup}/6131665250/${uuid})
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/3348757062@46.101.114.158 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(transfer_ringback=$${hold_music})
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/3348757062@46.101.114.158 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(variable_sip_to_host=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(leg_timeout=60)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(userinfo_id=9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(sip_destination_number=6131665250)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(did_number=6131665250)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(user_domain=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(on_busy_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(no_answer_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(not_register_destination=)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_flag=1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(variable_sip_to_host=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(leg_timeout=60)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(userinfo_id=9)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(sip_destination_number=6131665250)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(destination_number=990666)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(did_number=990666)
Dialplan: sofia/default/3348757062@46.101.114.158 Action set(user_domain=18.220.27.122)
Dialplan: sofia/default/3348757062@46.101.114.158 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [990666_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/3348757062@46.101.114.158 Regex (FAIL) [990666_recur_1] ${cond(${user_data 6131665250@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/3348757062@46.101.114.158 ANTI-Action hangup(${originate_disposition})
2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:287 (sofia/default/3348757062@46.101.114.158) State Change CS_ROUTING -> CS_EXECUTE
2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3348757062@46.101.114.158) State ROUTING going to sleep
2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_EXECUTE (Cur 1 Tot 686)
2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:651 (sofia/default/3348757062@46.101.114.158) State EXECUTE
2021-09-21 11:22:28.263816 [DEBUG] mod_sofia.c:209 sofia/default/3348757062@46.101.114.158 SOFIA EXECUTE
2021-09-21 11:22:28.263816 [DEBUG] switch_core_state_machine.c:329 sofia/default/3348757062@46.101.114.158 Standard EXECUTE
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_destination_number=990666)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_destination_number]=[990666]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(callstart=2021-09-21 11:22:28)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [callstart]=[2021-09-21 11:22:28]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(continue_on_fail=TRUE)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(account_id=9)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [account_id]=[9]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(parent_id=0)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(entity_id=0)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(call_processed=internal)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(call_direction=inbound)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(accountname=entdemo)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [accountname]=[entdemo]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(origination_rates_did=ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [origination_rates_did]=[ID:2|CODE:^990666.*|DESTINATION:990666|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:9]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(origination_rates=0)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(original_caller_id_name=3348757062)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [original_caller_id_name]=[3348757062]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(original_caller_id_number=3348757062)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [original_caller_id_number]=[3348757062]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_caller_id_name=3348757062)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_caller_id_name]=[3348757062]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(effective_caller_id_number=3348757062)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [effective_caller_id_number]=[3348757062]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(receiver_accid=9)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [receiver_accid]=[9]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(domain_name=18.220.27.122)
2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[18.220.27.122]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(sip_to_host=18.220.27.122)
2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[18.220.27.122]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(presence_data=x|||CallServices(7858606680)|||||||||DID|||46.101.114.158)
2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(call_type=0)
2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(calltype=DID-LOCAL)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [calltype]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 db(insert/pickup_any_group_/6131665250/52145985-392f-423d-babc-b8ec5f05020e)
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(dialed_extension=transfer_call)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(dialed_extension=transfer_call)
2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-09-21 11:22:28.263816 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-09-21 11:22:28.263816 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(did_user_domain=18.220.27.122)
2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[18.220.27.122]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 db(insert/pickup_any_group_/6131665250/52145985-392f-423d-babc-b8ec5f05020e)
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(dialed_extension=transfer_call)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 export(dialed_extension=transfer_call)
2021-09-21 11:22:28.263816 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-09-21 11:22:28.263816 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-09-21 11:22:28.263816 [INFO] switch_ivr_async.c:4678 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(transfer_ringback=local_stream://moh)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [transfer_ringback]=[local_stream://moh]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 set(hangup_after_bridge=true)
2021-09-21 11:22:28.263816 [DEBUG] mod_dptools.c:1685 SET sofia/default/3348757062@46.101.114.158 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/3348757062@46.101.114.158 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=9}[leg_timeout=60 ] user/6131665250@18.220.27.122)
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [domain_name]=[18.220.27.122] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[18.220.27.122] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[18.220.27.122] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [domain_name]=[18.220.27.122] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [sip_to_host]=[18.220.27.122] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [presence_data]=[x|||CallServices(7858606680)|||||||||DID|||46.101.114.158] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [call_type]=[0] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [did_user_domain]=[18.220.27.122] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_channel.c:1264 sofia/default/3348757062@46.101.114.158 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2021-09-21 11:22:28.283812 [NOTICE] switch_channel.c:1118 New Channel sofia/default/6131665250@192.168.1.13:39549 [c31e5bff-3943-4747-9fe3-6b73c375dd1d]
2021-09-21 11:22:28.283812 [DEBUG] mod_sofia.c:5102 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_NEW -> CS_INIT
2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:3142 sofia/default/6131665250@192.168.1.13:39549 Setting leg timeout to 60
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_INIT (Cur 2 Tot 687)
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:628 (sofia/default/6131665250@192.168.1.13:39549) State INIT
2021-09-21 11:22:28.283812 [DEBUG] mod_sofia.c:93 sofia/default/6131665250@192.168.1.13:39549 SOFIA INIT
2021-09-21 11:22:28.283812 [DEBUG] sofia_glue.c:1590 sip:6131665250@117.247.91.162:59033;rinstance=24df7c8bec0d5a33;transport=tcp Setting proxy route to sofia/default/6131665250@192.168.1.13:39549
2021-09-21 11:22:28.283812 [INFO] sofia_glue.c:1621 sofia/default/6131665250@192.168.1.13:39549 sending invite call-id: (null)
2021-09-21 11:22:28.283812 [DEBUG] sofia_glue.c:1624 sofia/default/6131665250@192.168.1.13:39549 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1632196098 1632196099 IN IP4 18.220.27.122
s=FreeSWITCH
c=IN IP4 18.220.27.122
t=0 0
m=audio 27250 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:40 sofia/default/6131665250@192.168.1.13:39549 Standard INIT
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_INIT -> CS_ROUTING
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:628 (sofia/default/6131665250@192.168.1.13:39549) State INIT going to sleep
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_ROUTING (Cur 2 Tot 687)
2021-09-21 11:22:28.283812 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [calling][0]
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:644 (sofia/default/6131665250@192.168.1.13:39549) State ROUTING
2021-09-21 11:22:28.283812 [DEBUG] mod_sofia.c:154 sofia/default/6131665250@192.168.1.13:39549 SOFIA ROUTING
2021-09-21 11:22:28.283812 [DEBUG] switch_ivr_originate.c:67 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:644 (sofia/default/6131665250@192.168.1.13:39549) State ROUTING going to sleep
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 687)
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:663 (sofia/default/6131665250@192.168.1.13:39549) State CONSUME_MEDIA
2021-09-21 11:22:28.283812 [DEBUG] switch_core_state_machine.c:663 (sofia/default/6131665250@192.168.1.13:39549) State CONSUME_MEDIA going to sleep
2021-09-21 11:22:28.943832 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [proceeding][180]
2021-09-21 11:22:28.943832 [NOTICE] sofia.c:7517 Ring-Ready sofia/default/6131665250@192.168.1.13:39549!
2021-09-21 11:22:28.943832 [DEBUG] switch_channel.c:3437 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change DOWN -> RINGING
2021-09-21 11:22:28.943832 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/3348757062@46.101.114.158!
2021-09-21 11:22:28.963811 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [early][180]
2021-09-21 11:22:28.963811 [NOTICE] switch_ivr_originate.c:564 Ring Ready sofia/default/3348757062@46.101.114.158!
2021-09-21 11:22:31.303835 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [completing][200]
2021-09-21 11:22:31.303835 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=Z 0 2 IN IP4 117.247.91.162
s=Z
c=IN IP4 117.247.91.162
t=0 0
m=audio 8002 RTP/AVP 8 3 110 0 97 101
a=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
2021-09-21 11:22:31.303835 [DEBUG] sofia.c:7406 Channel sofia/default/6131665250@192.168.1.13:39549 entering state [ready][200]
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/6131665250@192.168.1.13:39549 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-09-21 11:22:31.303835 [DEBUG] switch_core_codec.c:111 sofia/default/6131665250@192.168.1.13:39549 Original read codec set to PCMA:8
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:5918 sofia/default/6131665250@192.168.1.13:39549 Set 2833 dtmf send payload to 101 recv payload to 101
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/6131665250@192.168.1.13:39549] 172.31.8.199 port 27250 -> 117.247.91.162 port 8002 codec: 8 ms: 20
2021-09-21 11:22:31.303835 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:8989 sofia/default/6131665250@192.168.1.13:39549 Set 2833 dtmf send payload to 101
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:8996 sofia/default/6131665250@192.168.1.13:39549 Set 2833 dtmf receive payload to 101
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:9019 sofia/default/6131665250@192.168.1.13:39549 Set rtp dtmf delay to 40
2021-09-21 11:22:31.303835 [NOTICE] sofia.c:8586 Channel [sofia/default/6131665250@192.168.1.13:39549] has been answered
2021-09-21 11:22:31.303835 [DEBUG] switch_channel.c:3865 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change RINGING -> ACTIVE
2021-09-21 11:22:31.303835 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/3348757062@46.101.114.158] 172.31.8.199 port 25362 -> 46.101.114.158 port 10558 codec: 8 ms: 20
2021-09-21 11:22:31.303835 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2021-09-21 11:22:31.323814 [DEBUG] switch_core_media.c:8989 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf send payload to 101
2021-09-21 11:22:31.323814 [DEBUG] switch_core_media.c:8996 sofia/default/3348757062@46.101.114.158 Set 2833 dtmf receive payload to 101
2021-09-21 11:22:31.323814 [DEBUG] switch_core_media.c:9019 sofia/default/3348757062@46.101.114.158 Set rtp dtmf delay to 40
2021-09-21 11:22:31.323814 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/3348757062@46.101.114.158:
v=0
o=FreeSWITCH 1632197989 1632197990 IN IP4 18.220.27.122
s=FreeSWITCH
c=IN IP4 18.220.27.122
t=0 0
m=audio 25362 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-09-21 11:22:31.323814 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [completed][200]
2021-09-21 11:22:31.323814 [NOTICE] switch_ivr_originate.c:3825 Channel [sofia/default/3348757062@46.101.114.158] has been answered
2021-09-21 11:22:31.323814 [DEBUG] switch_channel.c:3865 (sofia/default/3348757062@46.101.114.158) Callstate Change RINGING -> ACTIVE
2021-09-21 11:22:31.323814 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/6131665250@192.168.1.13:39549]
2021-09-21 11:22:31.323814 [DEBUG] switch_ivr_originate.c:3142 sofia/default/6131665250@192.168.1.13:39549 Setting leg timeout to 60
2021-09-21 11:22:31.323814 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/6131665250@192.168.1.13:39549]
2021-09-21 11:22:31.323814 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2021-09-21 11:22:31.323814 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 687)
2021-09-21 11:22:31.323814 [DEBUG] switch_core_state_machine.c:654 (sofia/default/6131665250@192.168.1.13:39549) State EXCHANGE_MEDIA
2021-09-21 11:22:31.323814 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2021-09-21 11:22:31.363813 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
2021-09-21 11:22:31.423833 [DEBUG] sofia.c:7406 Channel sofia/default/3348757062@46.101.114.158 entering state [ready][200]
2021-09-21 11:22:31.503818 [DEBUG] switch_ivr_bridge.c:655 sofia/default/6131665250@192.168.1.13:39549 Bridge execute app sched_hangup(+6000 normal_clearing)
2021-09-21 11:22:31.523816 [DEBUG] switch_ivr.c:632 sofia/default/6131665250@192.168.1.13:39549 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/6131665250@192.168.1.13:39549 sched_hangup(+6000 normal_clearing)
2021-09-21 11:22:31.523816 [DEBUG] switch_scheduler.c:263 Added task 21 switch_ivr_schedule_hangup (c31e5bff-3943-4747-9fe3-6b73c375dd1d) to run at 1632229351
2021-09-21 11:22:31.663810 [NOTICE] sofia.c:1090 Hangup sofia/default/3348757062@46.101.114.158 [CS_EXECUTE] [NORMAL_CLEARING]
2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/3348757062@46.101.114.158]
2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:820 sofia/default/3348757062@46.101.114.158 ending bridge by request from write function
2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/6131665250@192.168.1.13:39549]
2021-09-21 11:22:31.663810 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/6131665250@192.168.1.13:39549 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:654 (sofia/default/6131665250@192.168.1.13:39549) State EXCHANGE_MEDIA going to sleep
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_HANGUP (Cur 2 Tot 687)
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:848 (sofia/default/6131665250@192.168.1.13:39549) Callstate Change ACTIVE -> HANGUP
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6131665250@192.168.1.13:39549) State HANGUP
2021-09-21 11:22:31.663810 [DEBUG] mod_sofia.c:447 sofia/default/6131665250@192.168.1.13:39549 Overriding SIP cause 480 with 200 from the other leg
2021-09-21 11:22:31.663810 [DEBUG] mod_sofia.c:453 Channel sofia/default/6131665250@192.168.1.13:39549 hanging up, cause: NORMAL_CLEARING
2021-09-21 11:22:31.663810 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/6131665250@192.168.1.13:39549
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:60 sofia/default/6131665250@192.168.1.13:39549 Standard HANGUP, cause: NORMAL_CLEARING
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6131665250@192.168.1.13:39549) State HANGUP going to sleep
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:620 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_HANGUP -> CS_REPORTING
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_REPORTING (Cur 2 Tot 687)
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6131665250@192.168.1.13:39549) State REPORTING
2021-09-21 11:22:31.663810 [INFO] mod_json_cdr.c:271 Process [c31e5bff-3943-4747-9fe3-6b73c375dd1d.cdr.json]
2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/6131665250@192.168.1.13:39549 skip receive message [UNBRIDGE] (channel is hungup already)
2021-09-21 11:22:31.663810 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/3348757062@46.101.114.158 skip receive message [UNBRIDGE] (channel is hungup already)
2021-09-21 11:22:31.663810 [DEBUG] switch_core_session.c:2914 sofia/default/3348757062@46.101.114.158 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:651 (sofia/default/3348757062@46.101.114.158) State EXECUTE going to sleep
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_HANGUP (Cur 2 Tot 687)
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:848 (sofia/default/3348757062@46.101.114.158) Callstate Change ACTIVE -> HANGUP
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3348757062@46.101.114.158) State HANGUP
2021-09-21 11:22:31.663810 [DEBUG] mod_sofia.c:453 Channel sofia/default/3348757062@46.101.114.158 hanging up, cause: NORMAL_CLEARING
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:60 sofia/default/3348757062@46.101.114.158 Standard HANGUP, cause: NORMAL_CLEARING
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:850 (sofia/default/3348757062@46.101.114.158) State HANGUP going to sleep
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:620 (sofia/default/3348757062@46.101.114.158) State Change CS_HANGUP -> CS_REPORTING
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3348757062@46.101.114.158) Running State Change CS_REPORTING (Cur 2 Tot 687)
2021-09-21 11:22:31.663810 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3348757062@46.101.114.158) State REPORTING
2021-09-21 11:22:31.663810 [INFO] mod_json_cdr.c:271 Process [52145985-392f-423d-babc-b8ec5f05020e.cdr.json]
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:174 sofia/default/6131665250@192.168.1.13:39549 Standard REPORTING, cause: NORMAL_CLEARING
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:936 (sofia/default/6131665250@192.168.1.13:39549) State REPORTING going to sleep
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:611 (sofia/default/6131665250@192.168.1.13:39549) State Change CS_REPORTING -> CS_DESTROY
2021-09-21 11:22:31.683872 [DEBUG] switch_core_session.c:1736 Session 687 (sofia/default/6131665250@192.168.1.13:39549) Locked, Waiting on external entities
2021-09-21 11:22:31.683872 [NOTICE] switch_core_session.c:1754 Session 687 (sofia/default/6131665250@192.168.1.13:39549) Ended
2021-09-21 11:22:31.683872 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/6131665250@192.168.1.13:39549 [CS_DESTROY]
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:739 (sofia/default/6131665250@192.168.1.13:39549) Running State Change CS_DESTROY (Cur 1 Tot 687)
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6131665250@192.168.1.13:39549) State DESTROY
2021-09-21 11:22:31.683872 [DEBUG] mod_sofia.c:364 sofia/default/6131665250@192.168.1.13:39549 SOFIA DESTROY
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:181 sofia/default/6131665250@192.168.1.13:39549 Standard DESTROY
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:749 (sofia/default/6131665250@192.168.1.13:39549) State DESTROY going to sleep
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:174 sofia/default/3348757062@46.101.114.158 Standard REPORTING, cause: NORMAL_CLEARING
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:936 (sofia/default/3348757062@46.101.114.158) State REPORTING going to sleep
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:611 (sofia/default/3348757062@46.101.114.158) State Change CS_REPORTING -> CS_DESTROY
2021-09-21 11:22:31.683872 [DEBUG] switch_core_session.c:1736 Session 686 (sofia/default/3348757062@46.101.114.158) Locked, Waiting on external entities
2021-09-21 11:22:31.683872 [NOTICE] switch_core_session.c:1754 Session 686 (sofia/default/3348757062@46.101.114.158) Ended
2021-09-21 11:22:31.683872 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/3348757062@46.101.114.158 [CS_DESTROY]
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:739 (sofia/default/3348757062@46.101.114.158) Running State Change CS_DESTROY (Cur 0 Tot 687)
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3348757062@46.101.114.158) State DESTROY
2021-09-21 11:22:31.683872 [DEBUG] mod_sofia.c:364 sofia/default/3348757062@46.101.114.158 SOFIA DESTROY
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:181 sofia/default/3348757062@46.101.114.158 Standard DESTROY
2021-09-21 11:22:31.683872 [DEBUG] switch_core_state_machine.c:749 (sofia/default/3348757062@46.101.114.158) State DESTROY going to sleep
2021-09-21 11:22:32.003851 [DEBUG] switch_scheduler.c:147 Deleting task 21 switch_ivr_schedule_hangup (c31e5bff-3943-4747-9fe3-6b73c375dd1d)
freeswitch@ip-172-31-8-199>