freeswitch@ip-172-31-23-227>
freeswitch@ip-172-31-23-227>
freeswitch@ip-172-31-23-227>
2021-02-23 05:06:37.146673 [NOTICE] switch_channel.c:1118 New Channel sofia/default/4001@13.127.159.248 [fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb]
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_NEW (Cur 1 Tot 45)
2021-02-23 05:06:37.146673 [DEBUG] sofia.c:10280 sofia/default/4001@13.127.159.248 receiving invite from 13.127.159.248:5060 version: 1.10.5 -release-17-25569c1631 64bit
2021-02-23 05:06:37.146673 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 13.127.159.248:0.
2021-02-23 05:06:37.146673 [DEBUG] sofia.c:10403 IP 13.127.159.248 Approved by acl "default[]". Access Granted.
2021-02-23 05:06:37.146673 [DEBUG] sofia.c:7326 Channel sofia/default/4001@13.127.159.248 entering state [received][100]
2021-02-23 05:06:37.146673 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=FreeSWITCH 1614031080 1614031081 IN IP4 13.127.159.248
s=FreeSWITCH
c=IN IP4 13.127.159.248
t=0 0
m=audio 25716 RTP/AVP 8 0 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/4001@13.127.159.248 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-02-23 05:06:37.146673 [DEBUG] switch_core_codec.c:111 sofia/default/4001@13.127.159.248 Original read codec set to PCMA:8
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-02-23 05:06:37.146673 [DEBUG] switch_core_media.c:5911 sofia/default/4001@13.127.159.248 Set 2833 dtmf send payload to 101 recv payload to 101
2021-02-23 05:06:37.146673 [DEBUG] sofia.c:7760 (sofia/default/4001@13.127.159.248) State Change CS_NEW -> CS_INIT
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:604 (sofia/default/4001@13.127.159.248) State NEW
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_INIT (Cur 1 Tot 45)
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4001@13.127.159.248) State INIT
2021-02-23 05:06:37.146673 [DEBUG] mod_sofia.c:93 sofia/default/4001@13.127.159.248 SOFIA INIT
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:40 sofia/default/4001@13.127.159.248 Standard INIT
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4001@13.127.159.248) State Change CS_INIT -> CS_ROUTING
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4001@13.127.159.248) State INIT going to sleep
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_ROUTING (Cur 1 Tot 45)
2021-02-23 05:06:37.146673 [DEBUG] switch_channel.c:2332 (sofia/default/4001@13.127.159.248) Callstate Change DOWN -> RINGING
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4001@13.127.159.248) State ROUTING
2021-02-23 05:06:37.146673 [DEBUG] mod_sofia.c:154 sofia/default/4001@13.127.159.248 SOFIA ROUTING
2021-02-23 05:06:37.146673 [DEBUG] switch_core_state_machine.c:236 sofia/default/4001@13.127.159.248 Standard ROUTING
2021-02-23 05:06:37.146673 [INFO] mod_dialplan_xml.c:637 Processing 4001 <4001>->123 in context default
2021-02-23 05:06:37.166654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-02-23 05:06:37.166654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-02-23 05:06:37.166654 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: a2342a31-d21d-430a-9dfc-f4dad9d852d1
FreeSWITCH-Hostname: ip-172-31-23-227
FreeSWITCH-Switchname: ip-172-31-23-227
FreeSWITCH-IPv4: 172.31.23.227
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2021-02-23%2005%3A06%3A37
Event-Date-GMT: Tue,%2023%20Feb%202021%2005%3A06%3A37%20GMT
Event-Date-Timestamp: 1614056797146673
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 98247
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/4001%4013.127.159.248
Unique-ID: fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 4001%4013.127.159.248
Channel-Call-UUID: fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 4001
Caller-Dialplan: XML
Caller-Caller-ID-Name: 4001
Caller-Caller-ID-Number: 4001
Caller-Orig-Caller-ID-Name: 4001
Caller-Orig-Caller-ID-Number: 4001
Caller-Network-Addr: 13.127.159.248
Caller-ANI: 4001
Caller-Destination-Number: 123
Caller-Unique-ID: fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/4001%4013.127.159.248
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1614056797146673
Caller-Channel-Created-Time: 1614056797146673
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb
variable_session_id: 45
variable_sip_from_user: 4001
variable_sip_from_uri: 4001%4013.127.159.248
variable_sip_from_host: 13.127.159.248
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/4001%4013.127.159.248
variable_sip_call_id: bf04696e-f037-1239-f6ab-029485f1bd1c
variable_sip_local_network_addr: 18.221.51.90
variable_sip_network_ip: 13.127.159.248
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1614056797146673
variable_sip_received_ip: 13.127.159.248
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 4001
variable_sip_from_tag: p1Q7FtBeNvQHg
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4018.221.51.90%3A7777
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %224001%22%20%3Csip%3A4001%4013.127.159.248%3E%3Bparty%3Dcalling%3Bscreen%3Dyes%3Bprivacy%3Doff
variable_sip_cid_type: rpid
variable_sip_full_via: SIP/2.0/UDP%2013.127.159.248%3Brport%3D5060%3Bbranch%3Dz9hG4bKgX098pBr29vSj
variable_sip_from_display: 4001
variable_sip_full_from: %224001%22%20%3Csip%3A4001%4013.127.159.248%3E%3Btag%3Dp1Q7FtBeNvQHg
variable_sip_full_to: %3Csip%3A123%4018.221.51.90%3A7777%3E
variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20REFER,%20NOTIFY,%20PUBLISH,%20SUBSCRIBE
variable_sip_req_user: 123
variable_sip_req_port: 7777
variable_sip_req_uri: 123%4018.221.51.90%3A7777
variable_sip_req_host: 18.221.51.90
variable_sip_to_user: 123
variable_sip_to_port: 7777
variable_sip_to_uri: 123%4018.221.51.90%3A7777
variable_sip_to_host: 18.221.51.90
variable_sip_contact_params: transport%3Dudp%3Bgw%3DDhaval_gt
variable_sip_contact_user: gw%2BDhaval_gt
variable_sip_contact_port: 5060
variable_sip_contact_uri: gw%2BDhaval_gt%4013.127.159.248%3A5060
variable_sip_contact_host: 13.127.159.248
variable_sip_user_agent: ASTPP
variable_sip_via_host: 13.127.159.248
variable_sip_via_rport: 5060
variable_max_forwards: 69
variable_presence_id: 4001%4013.127.159.248
variable_switch_r_sdp: v%3D0%0D%0Ao%3DFreeSWITCH%201614031080%201614031081%20IN%20IP4%2013.127.159.248%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2013.127.159.248%0D%0At%3D0%200%0D%0Am%3Daudio%2025716%20RTP/AVP%208%200%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 13.127.159.248
variable_remote_media_port: 25716
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 4001
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 4001
Hunt-Caller-ID-Number: 4001
Hunt-Orig-Caller-ID-Name: 4001
Hunt-Orig-Caller-ID-Number: 4001
Hunt-Network-Addr: 13.127.159.248
Hunt-ANI: 4001
Hunt-Destination-Number: 123
Hunt-Unique-ID: fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/4001%4013.127.159.248
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1614056797146673
Hunt-Channel-Created-Time: 1614056797146673
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2021-02-23 05:06:37.166654 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2021-02-23 05:06:37.166654 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2021-02-23 05:06:37.166654 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2021-02-23 05:06:37.166654 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2021-02-23 05:06:37.166654 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
2021-02-23 05:06:37.166654 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 123
2021-02-23 05:06:37.166654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '123' limit 1
2021-02-23 05:06:37.166654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '123' AND status=0 limit 1
2021-02-23 05:06:37.166654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '123' and status=0 LIMIT 1
2021-02-23 05:06:37.166654 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 4001 / 4001
2021-02-23 05:06:37.166654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="123" LIMIT 1
2021-02-23 05:06:37.166654 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
2021-02-23 05:06:37.166654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("13.127.159.248") 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 "123" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2021-02-23 05:06:37.166654 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3673942894]
2021-02-23 05:06:37.166654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
2021-02-23 05:06:37.186655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="123" AND A.accountid = '3' limit 1
2021-02-23 05:06:37.186655 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 123
2021-02-23 05:06:37.186655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="123" LIMIT 1
2021-02-23 05:06:37.186655 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
2021-02-23 05:06:37.186655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="123" AND (accountid = 0 OR status = 1) LIMIT 1
2021-02-23 05:06:37.186655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2021-02-23 05:06:37.186655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :4
2021-02-23 05:06:37.186655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^123.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '123' OR number = '12' OR number = '1' OR number ='--') OR (number = '123*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '4001' OR number = '400' OR number = '40' OR number = '4' OR number ='--') OR (number = '4001*' OR number = '400*' OR number = '40*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '123' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 3
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3673942894
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="123" LIMIT 1
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 1.00000
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 123
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 85
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 3
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
2021-02-23 05:06:37.206654 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:3
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:3
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
2021-02-23 05:06:37.206654 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaindhaval.dhaval.astppbilling.org
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] customer_userinfo['is_recording'] : 1
2021-02-23 05:06:37.206654 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : inbound
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [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 = "1100" AND accounts.status = 0
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 4 limit 1
2021-02-23 05:06:37.206654 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaindhaval.dhaval.astppbilling.org
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
2021-02-23 05:06:37.206654 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1100" AND domains.domain="dhaval.dhaval.astppbilling.org" limit 1
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 3 limit 1
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-02-23 05:06:37.226651 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain beforedhaval.dhaval.astppbilling.org
2021-02-23 05:06:37.226651 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] pickup_group_permission pickup_str
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1100" AND domains.domain="dhaval.dhaval.astppbilling.org" limit 1
2021-02-23 05:06:37.226651 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 3
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 3 limit 1
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-02-23 05:06:37.226651 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] call_forwarding_flag : 1
2021-02-23 05:06:37.226651 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP Call forwarding Disable
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-02-23 05:06:37.226651 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1100" AND domains.domain="dhaval.dhaval.astppbilling.org" limit 1
2021-02-23 05:06:37.246650 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 3 limit 1
2021-02-23 05:06:37.246650 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="123">
<condition field="destination_number" expression="123">
<action application="set" data="effective_destination_number=123"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2021-02-23 05:06:36"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=3"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=Tinku bhai"/>
<action application="set" data="origination_rates_did=ID:1|CODE:^123.*|DESTINATION:123|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:4"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=4001"/>
<action application="set" data="original_caller_id_number=4001"/>
<action application="set" data="effective_caller_id_name=4001"/>
<action application="set" data="effective_caller_id_number=4001"/>
<action application="set" data="receiver_accid=4"/>
<action application="export" data="domain_name=dhaval.dhaval.astppbilling.org"/>
<action application="export" data="sip_to_host=dhaval.dhaval.astppbilling.org"/>
<action application="export" data="presence_data=x|||default(3673942894)|||^123.* // 123 // 1.00000||||||DID|||13.127.159.248"/>
<action application="export" data="call_type=0"/>
<action application="set" data="calltype=DID-LOCAL"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/1100/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="export" data="did_user_domain=dhaval.dhaval.astppbilling.org"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/1100/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="set" data="transfer_ringback=$${hold_music}"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[leg_timeout=60 ] user/1100@dhaval.dhaval.astppbilling.org"/>
<action application="set" data="on_busy_flag=1"/>
<action application="set" data="on_busy_destination=0"/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination=0"/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination=0"/>
<action application="set" data="opensips_flag=1"/>
<action application="set" data="variable_sip_to_host=dhaval.dhaval.astppbilling.org"/>
<action application="set" data="opensips_domain=127.0.0.1"/>
<action application="set" data="leg_timeout=60"/>
<action application="set" data="userinfo_id=4"/>
<action application="set" data="sip_destination_number=1100"/>
<action application="set" data="did_number=1100"/>
<action application="set" data="user_domain=dhaval.dhaval.astppbilling.org"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<action application="set" data="on_busy_flag=1"/>
<action application="set" data="on_busy_destination=0"/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination=0"/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination=0"/>
<action application="set" data="opensips_flag=1"/>
<action application="set" data="variable_sip_to_host=dhaval.dhaval.astppbilling.org"/>
<action application="set" data="opensips_domain=127.0.0.1"/>
<action application="set" data="leg_timeout=60"/>
<action application="set" data="userinfo_id=4"/>
<action application="set" data="sip_destination_number=1100"/>
<action application="set" data="destination_number=123"/>
<action application="set" data="did_number=123"/>
<action application="set" data="user_domain=dhaval.dhaval.astppbilling.org"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 1100@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=123"/>
<action application="voicemail" data="default $${domain_name} 1100"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/4001@13.127.159.248 parsing [default->123] continue=false
Dialplan: sofia/default/4001@13.127.159.248 Regex (PASS) [123] destination_number(123) =~ /123/ break=on-false
Dialplan: sofia/default/4001@13.127.159.248 Action set(effective_destination_number=123)
Dialplan: sofia/default/4001@13.127.159.248 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/4001@13.127.159.248 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/4001@13.127.159.248 Action set(callstart=2021-02-23 05:06:36)
Dialplan: sofia/default/4001@13.127.159.248 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/4001@13.127.159.248 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/4001@13.127.159.248 Action set(account_id=3)
Dialplan: sofia/default/4001@13.127.159.248 Action set(parent_id=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(entity_id=3)
Dialplan: sofia/default/4001@13.127.159.248 Action set(call_processed=internal)
Dialplan: sofia/default/4001@13.127.159.248 Action set(call_direction=inbound)
Dialplan: sofia/default/4001@13.127.159.248 Action set(accountname=Tinku bhai)
Dialplan: sofia/default/4001@13.127.159.248 Action set(origination_rates_did=ID:1|CODE:^123.*|DESTINATION:123|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:4)
Dialplan: sofia/default/4001@13.127.159.248 Action set(origination_rates=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(original_caller_id_name=4001)
Dialplan: sofia/default/4001@13.127.159.248 Action set(original_caller_id_number=4001)
Dialplan: sofia/default/4001@13.127.159.248 Action set(effective_caller_id_name=4001)
Dialplan: sofia/default/4001@13.127.159.248 Action set(effective_caller_id_number=4001)
Dialplan: sofia/default/4001@13.127.159.248 Action set(receiver_accid=4)
Dialplan: sofia/default/4001@13.127.159.248 Action export(domain_name=dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action export(sip_to_host=dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action export(presence_data=x|||default(3673942894)|||^123.* // 123 // 1.00000||||||DID|||13.127.159.248)
Dialplan: sofia/default/4001@13.127.159.248 Action export(call_type=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/4001@13.127.159.248 Action db(insert/pickup_any_group_${callgroup}/1100/${uuid})
Dialplan: sofia/default/4001@13.127.159.248 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/4001@13.127.159.248 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/4001@13.127.159.248 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/4001@13.127.159.248 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/4001@13.127.159.248 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/4001@13.127.159.248 Action export(did_user_domain=dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action db(insert/pickup_any_group_${callgroup}/1100/${uuid})
Dialplan: sofia/default/4001@13.127.159.248 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/4001@13.127.159.248 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/4001@13.127.159.248 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/4001@13.127.159.248 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/4001@13.127.159.248 Action set(transfer_ringback=$${hold_music})
Dialplan: sofia/default/4001@13.127.159.248 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/4001@13.127.159.248 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[leg_timeout=60 ] user/1100@dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action set(on_busy_flag=1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(on_busy_destination=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(no_answer_flag=1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(no_answer_destination=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(not_register_flag=1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(not_register_destination=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(opensips_flag=1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(variable_sip_to_host=dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(leg_timeout=60)
Dialplan: sofia/default/4001@13.127.159.248 Action set(userinfo_id=4)
Dialplan: sofia/default/4001@13.127.159.248 Action set(sip_destination_number=1100)
Dialplan: sofia/default/4001@13.127.159.248 Action set(did_number=1100)
Dialplan: sofia/default/4001@13.127.159.248 Action set(user_domain=dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
Dialplan: sofia/default/4001@13.127.159.248 Action set(on_busy_flag=1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(on_busy_destination=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(no_answer_flag=1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(no_answer_destination=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(not_register_flag=1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(not_register_destination=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(opensips_flag=1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(variable_sip_to_host=dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/4001@13.127.159.248 Action set(leg_timeout=60)
Dialplan: sofia/default/4001@13.127.159.248 Action set(userinfo_id=4)
Dialplan: sofia/default/4001@13.127.159.248 Action set(sip_destination_number=1100)
Dialplan: sofia/default/4001@13.127.159.248 Action set(destination_number=123)
Dialplan: sofia/default/4001@13.127.159.248 Action set(did_number=123)
Dialplan: sofia/default/4001@13.127.159.248 Action set(user_domain=dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [123_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/4001@13.127.159.248 Regex (FAIL) [123_recur_1] ${cond(${user_data 1100@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/4001@13.127.159.248 ANTI-Action hangup(${originate_disposition})
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:287 (sofia/default/4001@13.127.159.248) State Change CS_ROUTING -> CS_EXECUTE
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4001@13.127.159.248) State ROUTING going to sleep
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_EXECUTE (Cur 1 Tot 45)
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:651 (sofia/default/4001@13.127.159.248) State EXECUTE
2021-02-23 05:06:37.266654 [DEBUG] mod_sofia.c:209 sofia/default/4001@13.127.159.248 SOFIA EXECUTE
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:329 sofia/default/4001@13.127.159.248 Standard EXECUTE
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(effective_destination_number=123)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [effective_destination_number]=[123]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(callstart=2021-02-23 05:06:36)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [callstart]=[2021-02-23 05:06:36]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(hangup_after_bridge=true)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(continue_on_fail=TRUE)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(account_id=3)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [account_id]=[3]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(parent_id=0)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(entity_id=3)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(call_processed=internal)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(call_direction=inbound)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(accountname=Tinku bhai)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [accountname]=[Tinku bhai]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(origination_rates_did=ID:1|CODE:^123.*|DESTINATION:123|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:4)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [origination_rates_did]=[ID:1|CODE:^123.*|DESTINATION:123|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:4]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(origination_rates=0)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(original_caller_id_name=4001)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [original_caller_id_name]=[4001]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(original_caller_id_number=4001)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [original_caller_id_number]=[4001]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(effective_caller_id_name=4001)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [effective_caller_id_name]=[4001]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(effective_caller_id_number=4001)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [effective_caller_id_number]=[4001]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(receiver_accid=4)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [receiver_accid]=[4]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(domain_name=dhaval.dhaval.astppbilling.org)
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[dhaval.dhaval.astppbilling.org]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(sip_to_host=dhaval.dhaval.astppbilling.org)
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[dhaval.dhaval.astppbilling.org]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(presence_data=x|||default(3673942894)|||^123.* // 123 // 1.00000||||||DID|||13.127.159.248)
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^123.* // 123 // 1.00000||||||DID|||13.127.159.248]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(call_type=0)
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[0]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(calltype=DID-LOCAL)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [calltype]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 db(insert/pickup_any_group_/1100/fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb)
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(dialed_extension=transfer_call)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(dialed_extension=transfer_call)
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-02-23 05:06:37.266654 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-02-23 05:06:37.266654 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(hangup_after_bridge=true)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(did_user_domain=dhaval.dhaval.astppbilling.org)
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [did_user_domain]=[dhaval.dhaval.astppbilling.org]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 db(insert/pickup_any_group_/1100/fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb)
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(dialed_extension=transfer_call)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(dialed_extension=transfer_call)
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-02-23 05:06:37.266654 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-02-23 05:06:37.266654 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(transfer_ringback=local_stream://moh)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [transfer_ringback]=[local_stream://moh]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(hangup_after_bridge=true)
2021-02-23 05:06:37.266654 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=4}[leg_timeout=60 ] user/1100@dhaval.dhaval.astppbilling.org)
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [domain_name]=[dhaval.dhaval.astppbilling.org] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [sip_to_host]=[dhaval.dhaval.astppbilling.org] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^123.* // 123 // 1.00000||||||DID|||13.127.159.248] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [call_type]=[0] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [did_user_domain]=[dhaval.dhaval.astppbilling.org] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-02-23 05:06:37.266654 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [domain_name]=[dhaval.dhaval.astppbilling.org] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [sip_to_host]=[dhaval.dhaval.astppbilling.org] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^123.* // 123 // 1.00000||||||DID|||13.127.159.248] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [call_type]=[0] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [did_user_domain]=[dhaval.dhaval.astppbilling.org] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-02-23 05:06:37.266654 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-02-23 05:06:37.266654 [NOTICE] switch_channel.c:1118 New Channel sofia/default/1100@117.247.91.162 [2065a2d7-bb32-420c-8eb4-c052d29c2bdc]
2021-02-23 05:06:37.266654 [DEBUG] mod_sofia.c:5089 (sofia/default/1100@117.247.91.162) State Change CS_NEW -> CS_INIT
2021-02-23 05:06:37.266654 [DEBUG] switch_ivr_originate.c:3111 sofia/default/1100@117.247.91.162 Setting leg timeout to 60
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1100@117.247.91.162) Running State Change CS_INIT (Cur 2 Tot 46)
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:628 (sofia/default/1100@117.247.91.162) State INIT
2021-02-23 05:06:37.266654 [DEBUG] mod_sofia.c:93 sofia/default/1100@117.247.91.162 SOFIA INIT
2021-02-23 05:06:37.266654 [DEBUG] sofia_glue.c:1587 sip:1100@117.247.91.162:5060;transport=udp Setting proxy route to sofia/default/1100@117.247.91.162
2021-02-23 05:06:37.266654 [DEBUG] sofia_glue.c:1618 sofia/default/1100@117.247.91.162 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1614025697 1614025698 IN IP4 18.221.51.90
s=FreeSWITCH
c=IN IP4 18.221.51.90
t=0 0
m=audio 31100 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:40 sofia/default/1100@117.247.91.162 Standard INIT
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1100@117.247.91.162) State Change CS_INIT -> CS_ROUTING
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:628 (sofia/default/1100@117.247.91.162) State INIT going to sleep
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1100@117.247.91.162) Running State Change CS_ROUTING (Cur 2 Tot 46)
2021-02-23 05:06:37.266654 [DEBUG] sofia.c:7326 Channel sofia/default/1100@117.247.91.162 entering state [calling][0]
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:644 (sofia/default/1100@117.247.91.162) State ROUTING
2021-02-23 05:06:37.266654 [DEBUG] mod_sofia.c:154 sofia/default/1100@117.247.91.162 SOFIA ROUTING
2021-02-23 05:06:37.266654 [DEBUG] switch_ivr_originate.c:67 (sofia/default/1100@117.247.91.162) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-02-23 05:06:37.266654 [DEBUG] switch_core_state_machine.c:644 (sofia/default/1100@117.247.91.162) State ROUTING going to sleep
2021-02-23 05:06:37.286656 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1100@117.247.91.162) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 46)
2021-02-23 05:06:37.286656 [DEBUG] switch_core_state_machine.c:663 (sofia/default/1100@117.247.91.162) State CONSUME_MEDIA
2021-02-23 05:06:37.286656 [DEBUG] switch_core_state_machine.c:663 (sofia/default/1100@117.247.91.162) State CONSUME_MEDIA going to sleep
2021-02-23 05:06:37.646677 [DEBUG] sofia.c:7326 Channel sofia/default/1100@117.247.91.162 entering state [proceeding][180]
2021-02-23 05:06:37.646677 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/1100@117.247.91.162!
2021-02-23 05:06:37.646677 [DEBUG] switch_channel.c:3437 (sofia/default/1100@117.247.91.162) Callstate Change DOWN -> RINGING
2021-02-23 05:06:37.666681 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/4001@13.127.159.248!
2021-02-23 05:06:37.666681 [DEBUG] sofia.c:7326 Channel sofia/default/4001@13.127.159.248 entering state [early][180]
2021-02-23 05:06:37.666681 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/4001@13.127.159.248!
2021-02-23 05:06:39.126691 [DEBUG] sofia.c:7326 Channel sofia/default/1100@117.247.91.162 entering state [completing][200]
2021-02-23 05:06:39.126691 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=1100 3152 2131 IN IP4 192.168.1.46
s=Talk
c=IN IP4 192.168.1.46
t=0 0
m=audio 7078 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
2021-02-23 05:06:39.146804 [DEBUG] sofia.c:7326 Channel sofia/default/1100@117.247.91.162 entering state [ready][200]
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/1100@117.247.91.162 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-02-23 05:06:39.146804 [DEBUG] switch_core_codec.c:111 sofia/default/1100@117.247.91.162 Original read codec set to PCMA:8
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:5911 sofia/default/1100@117.247.91.162 Set 2833 dtmf send payload to 101 recv payload to 101
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/1100@117.247.91.162] 172.31.23.227 port 31100 -> 192.168.1.46 port 7078 codec: 8 ms: 20
2021-02-23 05:06:39.146804 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:8977 sofia/default/1100@117.247.91.162 Set 2833 dtmf send payload to 101
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:8984 sofia/default/1100@117.247.91.162 Set 2833 dtmf receive payload to 101
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:9007 sofia/default/1100@117.247.91.162 Set rtp dtmf delay to 40
2021-02-23 05:06:39.146804 [NOTICE] sofia.c:8504 Channel [sofia/default/1100@117.247.91.162] has been answered
2021-02-23 05:06:39.146804 [DEBUG] switch_channel.c:3865 (sofia/default/1100@117.247.91.162) Callstate Change RINGING -> ACTIVE
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/4001@13.127.159.248] 172.31.23.227 port 29518 -> 13.127.159.248 port 25716 codec: 8 ms: 20
2021-02-23 05:06:39.146804 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:8977 sofia/default/4001@13.127.159.248 Set 2833 dtmf send payload to 101
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:8984 sofia/default/4001@13.127.159.248 Set 2833 dtmf receive payload to 101
2021-02-23 05:06:39.146804 [DEBUG] switch_core_media.c:9007 sofia/default/4001@13.127.159.248 Set rtp dtmf delay to 40
2021-02-23 05:06:39.146804 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/4001@13.127.159.248:
v=0
o=FreeSWITCH 1614027281 1614027282 IN IP4 18.221.51.90
s=FreeSWITCH
c=IN IP4 18.221.51.90
t=0 0
m=audio 29518 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-02-23 05:06:39.146804 [DEBUG] sofia.c:7326 Channel sofia/default/4001@13.127.159.248 entering state [completed][200]
2021-02-23 05:06:39.146804 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/4001@13.127.159.248] has been answered
2021-02-23 05:06:39.146804 [DEBUG] switch_channel.c:3865 (sofia/default/4001@13.127.159.248) Callstate Change RINGING -> ACTIVE
2021-02-23 05:06:39.146804 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/1100@117.247.91.162]
2021-02-23 05:06:39.146804 [DEBUG] switch_ivr_originate.c:3111 sofia/default/1100@117.247.91.162 Setting leg timeout to 60
2021-02-23 05:06:39.146804 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/1100@117.247.91.162]
2021-02-23 05:06:39.146804 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/1100@117.247.91.162) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2021-02-23 05:06:39.146804 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1100@117.247.91.162) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 46)
2021-02-23 05:06:39.146804 [DEBUG] switch_core_state_machine.c:654 (sofia/default/1100@117.247.91.162) State EXCHANGE_MEDIA
2021-02-23 05:06:39.146804 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2021-02-23 05:06:39.326684 [DEBUG] switch_ivr_bridge.c:655 sofia/default/1100@117.247.91.162 Bridge execute app sched_hangup(+6000 normal_clearing)
2021-02-23 05:06:39.326684 [DEBUG] sofia.c:7326 Channel sofia/default/4001@13.127.159.248 entering state [ready][200]
2021-02-23 05:06:39.366681 [DEBUG] switch_ivr.c:632 sofia/default/1100@117.247.91.162 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/1100@117.247.91.162 sched_hangup(+6000 normal_clearing)
2021-02-23 05:06:39.366681 [DEBUG] switch_scheduler.c:252 Added task 15 switch_ivr_schedule_hangup (2065a2d7-bb32-420c-8eb4-c052d29c2bdc) to run at 1614062799
2021-02-23 05:06:39.426681 [INFO] switch_rtp.c:7719 Auto Changing audio port from 192.168.1.46:7078 to 117.247.91.162:7078
2021-02-23 05:06:39.446681 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-02-23 05:06:41.646676 [NOTICE] sofia.c:1089 Hangup sofia/default/1100@117.247.91.162 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2021-02-23 05:06:41.646676 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/1100@117.247.91.162]
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:654 (sofia/default/1100@117.247.91.162) State EXCHANGE_MEDIA going to sleep
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1100@117.247.91.162) Running State Change CS_HANGUP (Cur 2 Tot 46)
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:848 (sofia/default/1100@117.247.91.162) Callstate Change ACTIVE -> HANGUP
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1100@117.247.91.162) State HANGUP
2021-02-23 05:06:41.646676 [DEBUG] mod_sofia.c:453 Channel sofia/default/1100@117.247.91.162 hanging up, cause: NORMAL_CLEARING
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:60 sofia/default/1100@117.247.91.162 Standard HANGUP, cause: NORMAL_CLEARING
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1100@117.247.91.162) State HANGUP going to sleep
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:620 (sofia/default/1100@117.247.91.162) State Change CS_HANGUP -> CS_REPORTING
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1100@117.247.91.162) Running State Change CS_REPORTING (Cur 2 Tot 46)
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:936 (sofia/default/1100@117.247.91.162) State REPORTING
2021-02-23 05:06:41.646676 [INFO] mod_json_cdr.c:271 Process [2065a2d7-bb32-420c-8eb4-c052d29c2bdc.cdr.json]
2021-02-23 05:06:41.646676 [DEBUG] switch_ivr_bridge.c:820 sofia/default/1100@117.247.91.162 ending bridge by request from write function
2021-02-23 05:06:41.646676 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/4001@13.127.159.248]
2021-02-23 05:06:41.646676 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/1100@117.247.91.162 skip receive message [UNBRIDGE] (channel is hungup already)
2021-02-23 05:06:41.646676 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/4001@13.127.159.248 [CS_EXECUTE] [NORMAL_CLEARING]
2021-02-23 05:06:41.646676 [DEBUG] switch_core_session.c:2905 sofia/default/4001@13.127.159.248 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:651 (sofia/default/4001@13.127.159.248) State EXECUTE going to sleep
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_HANGUP (Cur 2 Tot 46)
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:848 (sofia/default/4001@13.127.159.248) Callstate Change ACTIVE -> HANGUP
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4001@13.127.159.248) State HANGUP
2021-02-23 05:06:41.646676 [DEBUG] mod_sofia.c:447 sofia/default/4001@13.127.159.248 Overriding SIP cause 480 with 200 from the other leg
2021-02-23 05:06:41.646676 [DEBUG] mod_sofia.c:453 Channel sofia/default/4001@13.127.159.248 hanging up, cause: NORMAL_CLEARING
2021-02-23 05:06:41.646676 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/4001@13.127.159.248
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:60 sofia/default/4001@13.127.159.248 Standard HANGUP, cause: NORMAL_CLEARING
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4001@13.127.159.248) State HANGUP going to sleep
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:620 (sofia/default/4001@13.127.159.248) State Change CS_HANGUP -> CS_REPORTING
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_REPORTING (Cur 2 Tot 46)
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4001@13.127.159.248) State REPORTING
2021-02-23 05:06:41.646676 [INFO] mod_json_cdr.c:271 Process [fcb7d2de-098a-4d7e-a9c0-98a58d2a08fb.cdr.json]
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:174 sofia/default/1100@117.247.91.162 Standard REPORTING, cause: NORMAL_CLEARING
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:936 (sofia/default/1100@117.247.91.162) State REPORTING going to sleep
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:611 (sofia/default/1100@117.247.91.162) State Change CS_REPORTING -> CS_DESTROY
2021-02-23 05:06:41.646676 [DEBUG] switch_core_session.c:1726 Session 46 (sofia/default/1100@117.247.91.162) Locked, Waiting on external entities
2021-02-23 05:06:41.646676 [NOTICE] switch_core_session.c:1744 Session 46 (sofia/default/1100@117.247.91.162) Ended
2021-02-23 05:06:41.646676 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/1100@117.247.91.162 [CS_DESTROY]
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:739 (sofia/default/1100@117.247.91.162) Running State Change CS_DESTROY (Cur 1 Tot 46)
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:749 (sofia/default/1100@117.247.91.162) State DESTROY
2021-02-23 05:06:41.646676 [DEBUG] mod_sofia.c:364 sofia/default/1100@117.247.91.162 SOFIA DESTROY
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:181 sofia/default/1100@117.247.91.162 Standard DESTROY
2021-02-23 05:06:41.646676 [DEBUG] switch_core_state_machine.c:749 (sofia/default/1100@117.247.91.162) State DESTROY going to sleep
2021-02-23 05:06:41.666650 [DEBUG] switch_core_state_machine.c:174 sofia/default/4001@13.127.159.248 Standard REPORTING, cause: NORMAL_CLEARING
2021-02-23 05:06:41.666650 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4001@13.127.159.248) State REPORTING going to sleep
2021-02-23 05:06:41.686658 [DEBUG] switch_core_state_machine.c:611 (sofia/default/4001@13.127.159.248) State Change CS_REPORTING -> CS_DESTROY
2021-02-23 05:06:41.686658 [DEBUG] switch_core_session.c:1726 Session 45 (sofia/default/4001@13.127.159.248) Locked, Waiting on external entities
2021-02-23 05:06:41.686658 [NOTICE] switch_core_session.c:1744 Session 45 (sofia/default/4001@13.127.159.248) Ended
2021-02-23 05:06:41.686658 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/4001@13.127.159.248 [CS_DESTROY]
2021-02-23 05:06:41.686658 [DEBUG] switch_core_state_machine.c:739 (sofia/default/4001@13.127.159.248) Running State Change CS_DESTROY (Cur 0 Tot 46)
2021-02-23 05:06:41.686658 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4001@13.127.159.248) State DESTROY
2021-02-23 05:06:41.686658 [DEBUG] mod_sofia.c:364 sofia/default/4001@13.127.159.248 SOFIA DESTROY
2021-02-23 05:06:41.686658 [DEBUG] switch_core_state_machine.c:181 sofia/default/4001@13.127.159.248 Standard DESTROY
2021-02-23 05:06:41.686658 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4001@13.127.159.248) State DESTROY going to sleep
2021-02-23 05:06:41.866679 [DEBUG] switch_scheduler.c:147 Deleting task 15 switch_ivr_schedule_hangup (2065a2d7-bb32-420c-8eb4-c052d29c2bdc)
2021-02-23 05:07:56.266680 [WARNING] switch_core_db.c:92 SQLite is BUSY, sane=299 [BEGIN EXCLUSIVE]