2023-12-19 09:08:41.892746 97.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/911111@kp.astppbilling.org [400af3c9-2e13-4b7e-9d59-ce449d221a3c]
2023-12-19 09:08:41.892746 97.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911111@kp.astppbilling.org) Running State Change CS_NEW (Cur 1 Tot 1)
2023-12-19 09:08:41.892746 97.17% [INFO] sofia.c:10453 sofia/default/911111@kp.astppbilling.org receiving invite from 152.58.35.207:5060 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: ynylfattpigqxuo@inextrix-Latitude-E5470
2023-12-19 09:08:41.892746 97.17% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 152.58.35.207:0.
2023-12-19 09:08:41.892746 97.17% [DEBUG] sofia.c:2419 detaching session 400af3c9-2e13-4b7e-9d59-ce449d221a3c
2023-12-19 09:08:41.892746 97.17% [WARNING] sofia_reg.c:1846 SIP auth challenge (INVITE) on sofia profile 'default' for [9165454@kp.astppbilling.org] from ip 152.58.35.207
2023-12-19 09:08:41.892746 97.17% [DEBUG] switch_core_state_machine.c:600 (sofia/default/911111@kp.astppbilling.org) State NEW
2023-12-19 09:08:41.912743 97.17% [DEBUG] sofia.c:2532 Re-attaching to session 400af3c9-2e13-4b7e-9d59-ce449d221a3c
2023-12-19 09:08:41.932767 97.17% [INFO] sofia.c:10453 sofia/default/911111@kp.astppbilling.org receiving invite from 152.58.35.207:5060 version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit call-id: ynylfattpigqxuo@inextrix-Latitude-E5470
2023-12-19 09:08:41.932767 97.17% [DEBUG] sofia.c:10547 verifying acl "default" for ip/port 152.58.35.207:0.
2023-12-19 09:08:41.952762 97.17% [DEBUG] sofia.c:7487 Channel sofia/default/911111@kp.astppbilling.org entering state [received][100]
2023-12-19 09:08:41.952762 97.17% [DEBUG] sofia.c:7497 Remote SDP:
v=0
o=twinkle 86241303 790711571 IN IP4 152.58.35.207
s=-
c=IN IP4 152.58.35.207
t=0 0
m=audio 42270 RTP/AVP 98 97 8 0 3 101
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:98:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [speex:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/911111@kp.astppbilling.org PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_codec.c:111 sofia/default/911111@kp.astppbilling.org Original read codec set to PCMA:8
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_media.c:5850 sofia/default/911111@kp.astppbilling.org Set 2833 dtmf send payload to 101 recv payload to 101
2023-12-19 09:08:41.952762 97.17% [DEBUG] sofia.c:7921 (sofia/default/911111@kp.astppbilling.org) State Change CS_NEW -> CS_INIT
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911111@kp.astppbilling.org) Running State Change CS_INIT (Cur 1 Tot 1)
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/911111@kp.astppbilling.org) State INIT
2023-12-19 09:08:41.952762 97.17% [DEBUG] mod_sofia.c:97 sofia/default/911111@kp.astppbilling.org SOFIA INIT
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/911111@kp.astppbilling.org Standard INIT
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/911111@kp.astppbilling.org) State Change CS_INIT -> CS_ROUTING
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/911111@kp.astppbilling.org) State INIT going to sleep
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911111@kp.astppbilling.org) Running State Change CS_ROUTING (Cur 1 Tot 1)
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_channel.c:2380 (sofia/default/911111@kp.astppbilling.org) Callstate Change DOWN -> RINGING
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/911111@kp.astppbilling.org) State ROUTING
2023-12-19 09:08:41.952762 97.17% [DEBUG] mod_sofia.c:158 sofia/default/911111@kp.astppbilling.org SOFIA ROUTING
2023-12-19 09:08:41.952762 97.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/911111@kp.astppbilling.org Standard ROUTING
2023-12-19 09:08:41.952762 97.17% [INFO] mod_dialplan_xml.c:639 Processing 911111 <911111>->9165454 in context default
2023-12-19 09:08:41.992739 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2023-12-19 09:08:42.012749 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-12-19 09:08:42.012749 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-12-19 09:08:42.012749 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-12-19 09:08:42.012749 97.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: a36e4374-0712-4d14-8634-8a61844f7d98
FreeSWITCH-Hostname: ip-172-31-0-11
FreeSWITCH-Switchname: ip-172-31-0-11
FreeSWITCH-IPv4: 172.31.0.11
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-12-19%2009%3A08%3A41
Event-Date-GMT: Tue,%2019%20Dec%202023%2009%3A08%3A41%20GMT
Event-Date-Timestamp: 1702976921952762
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 695
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/911111%40kp.astppbilling.org
Unique-ID: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 911111%40kp.astppbilling.org
Channel-Call-UUID: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
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: 911111
Caller-Dialplan: XML
Caller-Caller-ID-Name: 911111
Caller-Caller-ID-Number: 911111
Caller-Orig-Caller-ID-Name: 911111
Caller-Orig-Caller-ID-Number: 911111
Caller-Network-Addr: 152.58.35.207
Caller-ANI: 911111
Caller-Destination-Number: 9165454
Caller-Unique-ID: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/911111%40kp.astppbilling.org
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1702976921932767
Caller-Channel-Created-Time: 1702976921932767
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: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
variable_session_id: 1
variable_sip_from_user: 911111
variable_sip_from_uri: 911111%40kp.astppbilling.org
variable_sip_from_host: kp.astppbilling.org
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/911111%40kp.astppbilling.org
variable_sip_call_id: ynylfattpigqxuo%40inextrix-Latitude-E5470
variable_sip_local_network_addr: 13.233.24.142
variable_sip_network_ip: 152.58.35.207
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1702976921932767
variable_sip_received_ip: 152.58.35.207
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_Event-Name: REQUEST_PARAMS
variable_Core-UUID: a36e4374-0712-4d14-8634-8a61844f7d98
variable_FreeSWITCH-Hostname: ip-172-31-0-11
variable_FreeSWITCH-Switchname: ip-172-31-0-11
variable_FreeSWITCH-IPv4: 172.31.0.11
variable_FreeSWITCH-IPv6: %3A%3A1
variable_Event-Date-Local: 2023-12-19%2009%3A08%3A41
variable_Event-Date-GMT: Tue,%2019%20Dec%202023%2009%3A08%3A41%20GMT
variable_Event-Date-Timestamp: 1702976921932767
variable_Event-Calling-File: sofia.c
variable_Event-Calling-Function: sofia_handle_sip_i_invite
variable_Event-Calling-Line-Number: 10716
variable_Event-Sequence: 686
variable_sip_number_alias: 911111
variable_sip_auth_username: 911111
variable_sip_auth_realm: kp.astppbilling.org
variable_number_alias: 911111
variable_requested_user_name: 911111
variable_requested_domain_name: kp.astppbilling.org
variable_effective_caller_id_name: 12345
variable_effective_caller_id_number: 12345
variable_sip-force-expires: 1800
variable_sipcall: true
variable_sip_user: 911111
variable_accountcode: 1444477894
variable_reseller_id: 0
variable_accountid: 4
variable_sipStatus: 1
variable_user_name: 911111
variable_domain_name: kp.astppbilling.org
variable_sip_from_user_stripped: 911111
variable_sip_from_tag: fvplg
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4013.233.24.142%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/UDP%20152.58.35.207%3A5060%3Brport%3D5060%3Bbranch%3Dz9hG4bKqsfircwx
variable_sip_from_display: 911111
variable_sip_full_from: %22911111%22%20%3Csip%3A911111%40kp.astppbilling.org%3E%3Btag%3Dfvplg
variable_sip_full_to: %3Csip%3A9165454%40kp.astppbilling.org%3E
variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20PRACK,%20REFER,%20NOTIFY,%20SUBSCRIBE,%20INFO,%20MESSAGE
variable_sip_req_user: 9165454
variable_sip_req_uri: 9165454%40kp.astppbilling.org
variable_sip_req_host: kp.astppbilling.org
variable_sip_to_user: 9165454
variable_sip_to_uri: 9165454%40kp.astppbilling.org
variable_sip_to_host: kp.astppbilling.org
variable_sip_contact_user: 911111
variable_sip_contact_port: 5060
variable_sip_contact_uri: 911111%40152.58.35.207%3A5060
variable_sip_contact_host: 152.58.35.207
variable_sip_user_agent: Twinkle/1.10.1
variable_sip_via_host: 152.58.35.207
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 70
variable_presence_id: 911111%40kp.astppbilling.org
variable_switch_r_sdp: v%3D0%0D%0Ao%3Dtwinkle%2086241303%20790711571%20IN%20IP4%20152.58.35.207%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20152.58.35.207%0D%0At%3D0%200%0D%0Am%3Daudio%2042270%20RTP/AVP%2098%2097%208%200%203%20101%0D%0Aa%3Drtpmap%3A98%20speex/16000%0D%0Aa%3Drtpmap%3A97%20speex/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%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: 152.58.35.207
variable_remote_media_port: 42270
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: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 911111
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 911111
Hunt-Caller-ID-Number: 911111
Hunt-Orig-Caller-ID-Name: 911111
Hunt-Orig-Caller-ID-Number: 911111
Hunt-Network-Addr: 152.58.35.207
Hunt-ANI: 911111
Hunt-Destination-Number: 9165454
Hunt-Unique-ID: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/911111%40kp.astppbilling.org
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1702976921932767
Hunt-Channel-Created-Time: 1702976921932767
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
2023-12-19 09:08:42.012749 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-12-19 09:08:42.012749 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-12-19 09:08:42.012749 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-12-19 09:08:42.012749 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-12-19 09:08:42.032741 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9165454
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2023-12-19 09:08:42.032741 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER911111
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'kp.astppbilling.org' limit 1
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '4' and username = '9165454' limit 1
2023-12-19 09:08:42.032741 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 12345 / 12345
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9165454" LIMIT 1
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.use_did_as_cid_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9165454" LIMIT 1
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="4" and did_id ="3" and number ="12345" and status = '0' LIMIT 1
2023-12-19 09:08:42.032741 97.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [use_did_as_cid_flag] Query :0
2023-12-19 09:08:42.032741 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2023-12-19 09:08:42.032741 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1444477894]
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "1444477894" OR id = "1444477894") AND deleted = 0 limit 1
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =4
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2023-12-19 09:08:42.032741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 4
2023-12-19 09:08:42.032741 97.17% [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 = '^9165454.*' OR patterns = '^916545.*' OR patterns = '^91654.*' OR patterns = '^9165.*' OR patterns = '^916.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-12-19 09:08:42.052784 97.17% [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 ="9165454" AND A.accountid = '4' limit 1
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9165454
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9165454" LIMIT 1
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.use_did_as_cid_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9165454" LIMIT 1
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="4" and did_id ="3" and number ="12345" and status = '0' LIMIT 1
2023-12-19 09:08:42.052784 97.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [use_did_as_cid_flag] Query :0
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '9165454' OR number = '916545' OR number = '91654' OR number = '9165' OR number = '916' OR number = '91' OR number = '9' OR number ='--') OR (number = '9165454*' OR number = '916545*' OR number = '91654*' OR number = '9165*' OR number = '916*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '12345' OR number = '1234' OR number = '123' OR number = '12' OR number = '1' OR number ='--') OR (number = '12345*' OR number = '1234*' OR number = '123*' OR number = '12*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9165454' OR routing_prefix = '916545' OR routing_prefix = '91654' OR routing_prefix = '9165' OR routing_prefix = '916' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1444477894
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =4
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9165454" LIMIT 1
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.use_did_as_cid_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9165454" LIMIT 1
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="4" and did_id ="3" and number ="12345" and status = '0' LIMIT 1
2023-12-19 09:08:42.052784 97.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] [use_did_as_cid_flag] Query :0
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 9165454
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
2023-12-19 09:08:42.052784 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-12-19 09:08:42.052784 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =4
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000 balance Accountid 4 !!!
2023-12-19 09:08:42.072742 97.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2023-12-19 09:08:42.072742 97.17% [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 = 4 AND status=0 LIMIT 1
2023-12-19 09:08:42.072742 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "4" OR number = "4") AND deleted = 0 limit 1
2023-12-19 09:08:42.072742 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =4
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:4
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:4
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 4
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] condition working
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-12-19 09:08:42.072742 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '911111' and status = 0 limit 1
2023-12-19 09:08:42.072742 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-12-19 09:08:42.072742 97.17% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-12-19 09:08:42.072742 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
2023-12-19 09:08:42.072742 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
2023-12-19 09:08:42.072742 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="922222" limit 1
2023-12-19 09:08:42.072742 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/911111@kp.astppbilling.org parsing [default->9165454] continue=false
Dialplan: sofia/default/911111@kp.astppbilling.org Regex (PASS) [9165454] destination_number(9165454) =~ /9165454/ break=on-false
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(effective_destination_number=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(notify_flag=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(type=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(callstart=2023-12-19 09:08:42)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(hangup_after_bridge=true)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(account_id=4)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(parent_id=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(entity_id=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(call_processed=internal)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(call_direction=inbound)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(accountname=default)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(origination_rates_did=ID:3|CODE:^9165454.*|DESTINATION:9165454|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(origination_rates=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(original_caller_id_name=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(original_caller_id_number=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(is_recording=1)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(media_bug_answer_req=true)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(record_sample_rate=8000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_4.wav)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(effective_caller_id_name=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(effective_caller_id_number=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(receiver_accid=4)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(did_id=3)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(transfer_call_type=4)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(transfer_extensions=)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(busy_status=1)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(no_answer_status=1)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(always_status=1)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(transfer_status=1)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(variable_sip_to_host=${domain_name})
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(variable_sip_network_ip=152.58.35.207)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(variable_sip_network_port=5060)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(domain_name=)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(sip_to_host=)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(presence_data=x|||Ash(1444477894)|||^9165454.* // 9165454 // 0.00000|||||||||DID|||152.58.35.207)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(call_type=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(calltype=DID-LOCAL)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action bridge([leg_timeout=0]user/922222@${domain_name})
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(did_id=3)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(destination_number=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(leg_timeout=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(call_type_vm_flag=1)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(is_local_extension=1)
Dialplan: sofia/default/911111@kp.astppbilling.org Action lua(did_call_forwarding.lua)
|--- Dialplan: Processing recursive conditions level:1 [9165454_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/911111@kp.astppbilling.org Regex (FAIL) [9165454_recur_1] ${cond(${user_data 922222@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/911111@kp.astppbilling.org ANTI-Action hangup(${originate_disposition})
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_core_state_machine.c:281 (sofia/default/911111@kp.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/911111@kp.astppbilling.org) State ROUTING going to sleep
2023-12-19 09:08:42.092747 97.17% [CONSOLE] sofia_presence.c:1620 Event Thread Started
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911111@kp.astppbilling.org) Running State Change CS_EXECUTE (Cur 1 Tot 1)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/911111@kp.astppbilling.org) State EXECUTE
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_sofia.c:213 sofia/default/911111@kp.astppbilling.org SOFIA EXECUTE
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_core_state_machine.c:323 sofia/default/911111@kp.astppbilling.org Standard EXECUTE
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(effective_destination_number=9165454)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [effective_destination_number]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(bridge_pre_execute_bleg_app=sched_hangup)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(notify_flag=0)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(notify_credit_limit=5.00000)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(type=0)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [type]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(callstart=2023-12-19 09:08:42)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [callstart]=[2023-12-19 09:08:42]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(hangup_after_bridge=true)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(continue_on_fail=TRUE)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(account_id=4)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [account_id]=[4]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(parent_id=0)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [parent_id]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(entity_id=0)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [entity_id]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(call_processed=internal)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(call_direction=inbound)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(accountname=default)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [accountname]=[default]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(origination_rates_did=ID:3|CODE:^9165454.*|DESTINATION:9165454|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [origination_rates_did]=[ID:3|CODE:^9165454.*|DESTINATION:9165454|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:4]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(origination_rates=0)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(original_caller_id_name=9165454)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [original_caller_id_name]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(original_caller_id_number=9165454)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [original_caller_id_number]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(is_recording=1)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(media_bug_answer_req=true)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(record_sample_rate=8000)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(execute_on_answer=record_session /usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3cDID-LOCAL_4.wav)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3cDID-LOCAL_4.wav]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(effective_caller_id_name=9165454)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [effective_caller_id_name]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(effective_caller_id_number=9165454)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [effective_caller_id_number]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(receiver_accid=4)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [receiver_accid]=[4]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(did_id=3)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [did_id]=[3]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(transfer_call_type=4)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [transfer_call_type]=[4]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(transfer_extensions=)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [transfer_extensions]=[UNDEF]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(busy_status=1)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [busy_status]=[1]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(no_answer_status=1)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [no_answer_status]=[1]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(always_status=1)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [always_status]=[1]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(transfer_status=1)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [transfer_status]=[1]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(variable_sip_to_host=kp.astppbilling.org)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [variable_sip_to_host]=[kp.astppbilling.org]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(variable_sip_network_ip=152.58.35.207)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [variable_sip_network_ip]=[152.58.35.207]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(variable_sip_network_port=5060)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [variable_sip_network_port]=[5060]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(domain_name=)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(sip_to_host=)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(presence_data=x|||Ash(1444477894)|||^9165454.* // 9165454 // 0.00000|||||||||DID|||152.58.35.207)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Ash(1444477894)|||^9165454.* // 9165454 // 0.00000|||||||||DID|||152.58.35.207]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(call_type=0)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(calltype=DID-LOCAL)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [calltype]=[DID-LOCAL]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(daily_call_credit_limit=0.00000)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(monthly_call_credit_limit=0.00000)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(daily_call_used_limit=0.00000)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(monthly_call_used_limit=0.00000)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org bridge([leg_timeout=0]user/922222@172.31.0.11)
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [is_recording]=[1] to event
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3cDID-LOCAL_4.wav] to event
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||Ash(1444477894)|||^9165454.* // 9165454 // 0.00000|||||||||DID|||152.58.35.207] to event
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [call_type]=[0] to event
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
2023-12-19 09:08:42.092747 97.17% [WARNING] mod_dptools.c:4385 Can't find user [922222@172.31.0.11]
2023-12-19 09:08:42.092747 97.17% [NOTICE] switch_ivr_originate.c:3049 Cannot create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]
2023-12-19 09:08:42.092747 97.17% [DEBUG] switch_ivr_originate.c:4045 Originate Resulted in Error Cause: 20 [SUBSCRIBER_ABSENT]
2023-12-19 09:08:42.092747 97.17% [INFO] mod_dptools.c:3637 Originate Failed. Cause: SUBSCRIBER_ABSENT
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(did_id=3)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [did_id]=[3]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(destination_number=9165454)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [destination_number]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(leg_timeout=0)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [leg_timeout]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(call_type_vm_flag=1)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [call_type_vm_flag]=[1]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(is_local_extension=1)
2023-12-19 09:08:42.092747 97.17% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [is_local_extension]=[1]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org lua(did_call_forwarding.lua)
2023-12-19 09:08:42.112741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-12-19 09:08:42.112741 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
2023-12-19 09:08:42.132743 97.17% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
2023-12-19 09:08:42.132743 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 1 This Is DiD Id :
2023-12-19 09:08:42.132743 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Dispositions SUBSCRIBER_ABSENT This Is DiD Id : 3
2023-12-19 09:08:42.132743 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] SQL : select number,extensions,always,always_destination,always_vm_flag,user_not_registered,user_not_registered_destination,user_not_registered_vm_flag from dids where id='3' and status='0'
2023-12-19 09:08:42.132743 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] last_disposition : USER_NOT_REGISTERED
2023-12-19 09:08:42.132743 97.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] calltype : 4
2023-12-19 09:08:42.132743 97.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] destination : 9187767565
2023-12-19 09:08:42.132743 97.17% [WARNING] switch_cpp.cpp:1465 [ASTPP] always_destination : --Select--
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org sleep(500)
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_cpp.cpp:1465 [ASTPP] This Is Calltype : 4And Destination : 9187767565
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('DID_NUMBER', '(null)')
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('call_forwarding', 'true')
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('last_did_rates', '(null)')
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('calltype', 'STANDARD')
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org transfer(9187767565 XML default)
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_ivr.c:2288 (sofia/default/911111@kp.astppbilling.org) State Change CS_EXECUTE -> CS_ROUTING
2023-12-19 09:08:42.632745 97.17% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/911111@kp.astppbilling.org to XML[9187767565@default]
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_cpp.cpp:1209 sofia/default/911111@kp.astppbilling.org destroy/unlink session from object
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_core_state_machine.c:647 (sofia/default/911111@kp.astppbilling.org) State EXECUTE going to sleep
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911111@kp.astppbilling.org) Running State Change CS_ROUTING (Cur 1 Tot 1)
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/911111@kp.astppbilling.org) State ROUTING
2023-12-19 09:08:42.632745 97.17% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2023-12-19 09:08:42.632745 97.17% [DEBUG] mod_sofia.c:158 sofia/default/911111@kp.astppbilling.org SOFIA ROUTING
2023-12-19 09:08:42.632745 97.17% [DEBUG] switch_core_state_machine.c:230 sofia/default/911111@kp.astppbilling.org Standard ROUTING
2023-12-19 09:08:42.632745 97.17% [INFO] mod_dialplan_xml.c:639 Processing 911111 <911111>->9187767565 in context default
2023-12-19 09:08:42.652743 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-12-19 09:08:42.652743 96.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: a36e4374-0712-4d14-8634-8a61844f7d98
FreeSWITCH-Hostname: ip-172-31-0-11
FreeSWITCH-Switchname: ip-172-31-0-11
FreeSWITCH-IPv4: 172.31.0.11
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-12-19%2009%3A08%3A42
Event-Date-GMT: Tue,%2019%20Dec%202023%2009%3A08%3A42%20GMT
Event-Date-Timestamp: 1702976922632745
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 811
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/911111%40kp.astppbilling.org
Unique-ID: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 911111%40kp.astppbilling.org
Channel-Presence-Data: x%7C%7C%7CAsh(1444477894)%7C%7C%7C%5E9165454.*%20//%209165454%20//%200.00000%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C152.58.35.207
Channel-Call-UUID: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
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: 911111
Caller-Dialplan: XML
Caller-Caller-ID-Name: 911111
Caller-Caller-ID-Number: 911111
Caller-Orig-Caller-ID-Name: 911111
Caller-Orig-Caller-ID-Number: 911111
Caller-Network-Addr: 152.58.35.207
Caller-ANI: 911111
Caller-Destination-Number: 9187767565
Caller-Unique-ID: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
Caller-Source: mod_sofia
Caller-Transfer-Source: 1702976922%3A96a30943-54e0-4115-9c6d-a17b27028802%3Abl_xfer%3A9187767565/default/XML
Caller-Context: default
Caller-RDNIS: 9165454
Caller-Channel-Name: sofia/default/911111%40kp.astppbilling.org
Caller-Profile-Index: 2
Caller-Profile-Created-Time: 1702976922632745
Caller-Channel-Created-Time: 1702976921932767
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: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
variable_session_id: 1
variable_sip_from_user: 911111
variable_sip_from_uri: 911111%40kp.astppbilling.org
variable_sip_from_host: kp.astppbilling.org
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/911111%40kp.astppbilling.org
variable_sip_call_id: ynylfattpigqxuo%40inextrix-Latitude-E5470
variable_sip_local_network_addr: 13.233.24.142
variable_sip_network_ip: 152.58.35.207
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1702976921932767
variable_sip_received_ip: 152.58.35.207
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_Event-Name: REQUEST_PARAMS
variable_Core-UUID: a36e4374-0712-4d14-8634-8a61844f7d98
variable_FreeSWITCH-Hostname: ip-172-31-0-11
variable_FreeSWITCH-Switchname: ip-172-31-0-11
variable_FreeSWITCH-IPv4: 172.31.0.11
variable_FreeSWITCH-IPv6: %3A%3A1
variable_Event-Date-Local: 2023-12-19%2009%3A08%3A41
variable_Event-Date-GMT: Tue,%2019%20Dec%202023%2009%3A08%3A41%20GMT
variable_Event-Date-Timestamp: 1702976921932767
variable_Event-Calling-File: sofia.c
variable_Event-Calling-Function: sofia_handle_sip_i_invite
variable_Event-Calling-Line-Number: 10716
variable_Event-Sequence: 686
variable_sip_number_alias: 911111
variable_sip_auth_username: 911111
variable_sip_auth_realm: kp.astppbilling.org
variable_number_alias: 911111
variable_requested_user_name: 911111
variable_requested_domain_name: kp.astppbilling.org
variable_sip-force-expires: 1800
variable_sipcall: true
variable_sip_user: 911111
variable_accountcode: 1444477894
variable_reseller_id: 0
variable_accountid: 4
variable_sipStatus: 1
variable_user_name: 911111
variable_sip_from_user_stripped: 911111
variable_sip_from_tag: fvplg
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4013.233.24.142%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/UDP%20152.58.35.207%3A5060%3Brport%3D5060%3Bbranch%3Dz9hG4bKqsfircwx
variable_sip_from_display: 911111
variable_sip_full_from: %22911111%22%20%3Csip%3A911111%40kp.astppbilling.org%3E%3Btag%3Dfvplg
variable_sip_full_to: %3Csip%3A9165454%40kp.astppbilling.org%3E
variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20PRACK,%20REFER,%20NOTIFY,%20SUBSCRIBE,%20INFO,%20MESSAGE
variable_sip_req_user: 9165454
variable_sip_req_uri: 9165454%40kp.astppbilling.org
variable_sip_req_host: kp.astppbilling.org
variable_sip_to_user: 9165454
variable_sip_to_uri: 9165454%40kp.astppbilling.org
variable_sip_contact_user: 911111
variable_sip_contact_port: 5060
variable_sip_contact_uri: 911111%40152.58.35.207%3A5060
variable_sip_contact_host: 152.58.35.207
variable_sip_user_agent: Twinkle/1.10.1
variable_sip_via_host: 152.58.35.207
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_presence_id: 911111%40kp.astppbilling.org
variable_switch_r_sdp: v%3D0%0D%0Ao%3Dtwinkle%2086241303%20790711571%20IN%20IP4%20152.58.35.207%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20152.58.35.207%0D%0At%3D0%200%0D%0Am%3Daudio%2042270%20RTP/AVP%2098%2097%208%200%203%20101%0D%0Aa%3Drtpmap%3A98%20speex/16000%0D%0Aa%3Drtpmap%3A97%20speex/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%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: 152.58.35.207
variable_remote_media_port: 42270
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_effective_destination_number: 9165454
variable_bridge_pre_execute_bleg_app: sched_hangup
variable_bridge_pre_execute_bleg_data: %2B6000%20normal_clearing
variable_notify_flag: 0
variable_notify_credit_limit: 5.00000
variable_type: 0
variable_callstart: 2023-12-19%2009%3A08%3A42
variable_hangup_after_bridge: true
variable_continue_on_fail: TRUE
variable_account_id: 4
variable_parent_id: 0
variable_entity_id: 0
variable_call_processed: internal
variable_call_direction: inbound
variable_accountname: default
variable_origination_rates_did: ID%3A3%7CCODE%3A%5E9165454.*%7CDESTINATION%3A9165454%7CCONNECTIONCOST%3A0.00000%7CINCLUDEDSECONDS%3A0%7CCT%3A0%7CCOST%3A0.00000%7CINC%3A0%7CINITIALBLOCK%3A0%7CRATEGROUP%3A0%7CMARKUP%3A0%7CCI%3A88%7CACCID%3A4
variable_origination_rates: 0
variable_original_caller_id_name: 9165454
variable_original_caller_id_number: 9165454
variable_is_recording: 1
variable_media_bug_answer_req: true
variable_record_sample_rate: 8000
variable_execute_on_answer: record_session%20/usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3cDID-LOCAL_4.wav
variable_effective_caller_id_name: 9165454
variable_effective_caller_id_number: 9165454
variable_receiver_accid: 4
variable_transfer_call_type: 4
variable_busy_status: 1
variable_no_answer_status: 1
variable_always_status: 1
variable_transfer_status: 1
variable_variable_sip_to_host: kp.astppbilling.org
variable_variable_sip_network_ip: 152.58.35.207
variable_variable_sip_network_port: 5060
variable_presence_data: x%7C%7C%7CAsh(1444477894)%7C%7C%7C%5E9165454.*%20//%209165454%20//%200.00000%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C152.58.35.207
variable_call_type: 0
variable_export_vars: is_recording,media_bug_answer_req,record_sample_rate,execute_on_answer,presence_data,call_type
variable_daily_call_credit_limit: 0.00000
variable_monthly_call_credit_limit: 0.00000
variable_daily_call_used_limit: 0.00000
variable_monthly_call_used_limit: 0.00000
variable_originate_disposition: SUBSCRIBER_ABSENT
variable_DIALSTATUS: SUBSCRIBER_ABSENT
variable_originate_failed_cause: SUBSCRIBER_ABSENT
variable_did_id: 3
variable_destination_number: 9165454
variable_leg_timeout: 0
variable_call_type_vm_flag: 1
variable_is_local_extension: 1
variable_call_forwarding: true
variable_calltype: STANDARD
variable_current_application_data: 9187767565%20XML%20default
variable_current_application: transfer
variable_max_forwards: 69
variable_transfer_history: 1702976922%3A96a30943-54e0-4115-9c6d-a17b27028802%3Abl_xfer%3A9187767565/default/XML
variable_transfer_source: 1702976922%3A96a30943-54e0-4115-9c6d-a17b27028802%3Abl_xfer%3A9187767565/default/XML
variable_call_uuid: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 911111
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 911111
Hunt-Caller-ID-Number: 911111
Hunt-Orig-Caller-ID-Name: 911111
Hunt-Orig-Caller-ID-Number: 911111
Hunt-Network-Addr: 152.58.35.207
Hunt-ANI: 911111
Hunt-Destination-Number: 9187767565
Hunt-Unique-ID: 400af3c9-2e13-4b7e-9d59-ce449d221a3c
Hunt-Source: mod_sofia
Hunt-Transfer-Source: 1702976922%3A96a30943-54e0-4115-9c6d-a17b27028802%3Abl_xfer%3A9187767565/default/XML
Hunt-Context: default
Hunt-RDNIS: 9165454
Hunt-Channel-Name: sofia/default/911111%40kp.astppbilling.org
Hunt-Profile-Index: 2
Hunt-Profile-Created-Time: 1702976922632745
Hunt-Channel-Created-Time: 1702976921932767
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
2023-12-19 09:08:42.652743 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-12-19 09:08:42.652743 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-12-19 09:08:42.652743 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-12-19 09:08:42.652743 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-12-19 09:08:42.652743 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 9187767565
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2023-12-19 09:08:42.652743 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9165454 / 9165454
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9187767565" limit 1
2023-12-19 09:08:42.652743 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-12-19 09:08:42.652743 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1444477894]
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "1444477894" OR id = "1444477894") AND deleted = 0 limit 1
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^9187767565.*' OR blocked_patterns = '^918776756.*' OR blocked_patterns = '^91877675.*' OR blocked_patterns = '^9187767.*' OR blocked_patterns = '^918776.*' OR blocked_patterns = '^91877.*' OR blocked_patterns = '^9187.*' OR blocked_patterns = '^918.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 4 limit 1
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2023-12-19 09:08:42.652743 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^9187767565.*' OR patterns = '^918776756.*' OR patterns = '^91877675.*' OR patterns = '^9187767.*' OR patterns = '^918776.*' OR patterns = '^91877.*' OR patterns = '^9187.*' OR patterns = '^918.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="9187767565" AND A.accountid = '4' limit 1
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 9187767565
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9187767565" limit 1
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '9187767565' OR number = '918776756' OR number = '91877675' OR number = '9187767' OR number = '918776' OR number = '91877' OR number = '9187' OR number = '918' OR number = '91' OR number = '9' OR number ='--') OR (number = '9187767565*' OR number = '918776756*' OR number = '91877675*' OR number = '9187767*' OR number = '918776*' OR number = '91877*' OR number = '9187*' OR number = '918*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '9165454' OR number = '916545' OR number = '91654' OR number = '9165' OR number = '916' OR number = '91' OR number = '9' OR number ='--') OR (number = '9165454*' OR number = '916545*' OR number = '91654*' OR number = '9165*' OR number = '916*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '9187767565' OR routing_prefix = '918776756' OR routing_prefix = '91877675' OR routing_prefix = '9187767' OR routing_prefix = '918776' OR routing_prefix = '91877' OR routing_prefix = '9187' OR routing_prefix = '918' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1444477894
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^9187767565.*' OR pattern = '^918776756.*' OR pattern = '^91877675.*' OR pattern = '^9187767.*' OR pattern = '^918776.*' OR pattern = '^91877.*' OR pattern = '^9187.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND (caller_id_pattern = '^9165454.*' OR caller_id_pattern = '^916545.*' OR caller_id_pattern = '^91654.*' OR caller_id_pattern = '^9165.*' OR caller_id_pattern = '^916.*' OR caller_id_pattern = '^91.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=4) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : india
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000 balance Accountid 4 !!!
2023-12-19 09:08:42.672742 96.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^9187767565.*' OR pattern = '^918776756.*' OR pattern = '^91877675.*' OR pattern = '^9187767.*' OR pattern = '^918776.*' OR pattern = '^91877.*' OR pattern = '^9187.*' OR pattern = '^918.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^91.*
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : india
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^91.*
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : sendonclick
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-12-19 09:08:42.672742 96.23% [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 = 4 AND status=0 LIMIT 1
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '911111' and status = 0 limit 1
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-12-19 09:08:42.672742 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
2023-12-19 09:08:42.672742 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="911111" limit 1
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.use_did_as_cid_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9165454" LIMIT 1
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag,A.use_did_as_cid_flag,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9165454" LIMIT 1
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="4" and did_id ="3" and number ="9165454" and status = '0' LIMIT 1
2023-12-19 09:08:42.692746 96.23% [WARNING] switch_cpp.cpp:1465 [ASTPP] [use_did_as_cid_flag] Query :0
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DIDQUERY] Query :SELECT * FROM dids WHERE id ="3" and status = 0 limit 1
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/911111@kp.astppbilling.org parsing [default->9187767565] continue=false
Dialplan: sofia/default/911111@kp.astppbilling.org Regex (PASS) [9187767565] destination_number(9187767565) =~ /9187767565/ break=on-false
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(effective_destination_number=9187767565)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(notify_flag=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(type=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(callstart=2023-12-19 09:08:42)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(hangup_after_bridge=true)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(account_id=4)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(parent_id=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(entity_id=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(call_processed=internal)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(call_direction=outbound)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(accountname=default)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(origination_rates=ID:2|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:88|ACCID:4)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(original_caller_id_name=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(original_caller_id_number=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(is_recording=1)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(media_bug_answer_req=true)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(record_sample_rate=8000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(effective_caller_id_name=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(effective_caller_id_number=9165454)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(calltype=STANDARD)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(termination_rates=ID:2|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:3)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(trunk_id=3)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(provider_id=3)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(rate_flag=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(quality_trunk_seq=3)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(force_trunk_flag=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(intcall=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(presence_id=9187767565)
Dialplan: sofia/default/911111@kp.astppbilling.org Action export(presence_data=x|||Ash(1444477894)|||^91.* // india // 0.00000 |||sendonclick // ^91.* // india // 0.00000 // trunk_id=3|||STD|||152.58.35.207)
Dialplan: sofia/default/911111@kp.astppbilling.org Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/sendonclick/9187767565)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(did_id=3)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(destination_number=9187767565)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(leg_timeout=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(call_type_vm_flag=1)
Dialplan: sofia/default/911111@kp.astppbilling.org Action set(is_local_extension=0)
Dialplan: sofia/default/911111@kp.astppbilling.org Action lua(did_call_forwarding.lua)
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_core_state_machine.c:281 (sofia/default/911111@kp.astppbilling.org) State Change CS_ROUTING -> CS_EXECUTE
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/911111@kp.astppbilling.org) State ROUTING going to sleep
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911111@kp.astppbilling.org) Running State Change CS_EXECUTE (Cur 1 Tot 1)
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/911111@kp.astppbilling.org) State EXECUTE
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_sofia.c:213 sofia/default/911111@kp.astppbilling.org SOFIA EXECUTE
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_core_state_machine.c:323 sofia/default/911111@kp.astppbilling.org Standard EXECUTE
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(effective_destination_number=9187767565)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [effective_destination_number]=[9187767565]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(bridge_pre_execute_bleg_app=sched_hangup)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(notify_flag=0)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(notify_credit_limit=5.00000)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(type=0)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [type]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(callstart=2023-12-19 09:08:42)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [callstart]=[2023-12-19 09:08:42]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(hangup_after_bridge=true)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(continue_on_fail=TRUE)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(account_id=4)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [account_id]=[4]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(parent_id=0)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [parent_id]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(entity_id=0)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [entity_id]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(call_processed=internal)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(call_direction=outbound)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(accountname=default)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [accountname]=[default]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(origination_rates=ID:2|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:88|ACCID:4)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [origination_rates]=[ID:2|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:88|ACCID:4]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(original_caller_id_name=9165454)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [original_caller_id_name]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(original_caller_id_number=9165454)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [original_caller_id_number]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(is_recording=1)
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(media_bug_answer_req=true)
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(record_sample_rate=8000)
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(execute_on_answer=record_session /usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3c.wav)
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3c.wav]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(effective_caller_id_name=9165454)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [effective_caller_id_name]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(effective_caller_id_number=9165454)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [effective_caller_id_number]=[9165454]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(calltype=STANDARD)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(termination_rates=ID:2|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:3)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [termination_rates]=[ID:2|CODE:^91.*|DESTINATION:india|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:3]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(trunk_id=3)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(provider_id=3)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [provider_id]=[3]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(rate_flag=0)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(daily_call_credit_limit=0.00000)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(monthly_call_credit_limit=0.00000)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(daily_call_used_limit=0.00000)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(monthly_call_used_limit=0.00000)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(quality_trunk_seq=3)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [quality_trunk_seq]=[3]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(force_trunk_flag=0)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(presence_data=trunk_id=3)
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org set(intcall=0)
2023-12-19 09:08:42.692746 96.23% [DEBUG] mod_dptools.c:1673 SET sofia/default/911111@kp.astppbilling.org [intcall]=[0]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(presence_id=9187767565)
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[9187767565]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org export(presence_data=x|||Ash(1444477894)|||^91.* // india // 0.00000 |||sendonclick // ^91.* // india // 0.00000 // trunk_id=3|||STD|||152.58.35.207)
2023-12-19 09:08:42.692746 96.23% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Ash(1444477894)|||^91.* // india // 0.00000 |||sendonclick // ^91.* // india // 0.00000 // trunk_id=3|||STD|||152.58.35.207]
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/sendonclick/9187767565)
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [is_recording]=[1] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3c.wav] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||Ash(1444477894)|||^91.* // india // 0.00000 |||sendonclick // ^91.* // india // 0.00000 // trunk_id=3|||STD|||152.58.35.207] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [call_type]=[0] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [is_recording]=[1] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3c.wav] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||Ash(1444477894)|||^91.* // india // 0.00000 |||sendonclick // ^91.* // india // 0.00000 // trunk_id=3|||STD|||152.58.35.207] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [presence_id]=[9187767565] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:1269 sofia/default/911111@kp.astppbilling.org EXPORTING[export_vars] [presence_data]=[x|||Ash(1444477894)|||^91.* // india // 0.00000 |||sendonclick // ^91.* // india // 0.00000 // trunk_id=3|||STD|||152.58.35.207] to event
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_ivr_originate.c:2291 Parsing global variables
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_ivr_originate.c:2853 Parsing session specific variables
2023-12-19 09:08:42.712781 96.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9187767565 [1d73e409-ae19-410d-8978-10834bfb3a4a]
2023-12-19 09:08:42.712781 96.23% [DEBUG] mod_sofia.c:5117 (sofia/default/9187767565) State Change CS_NEW -> CS_INIT
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9187767565) Running State Change CS_INIT (Cur 2 Tot 2)
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9187767565) State INIT
2023-12-19 09:08:42.712781 96.23% [DEBUG] mod_sofia.c:97 sofia/default/9187767565 SOFIA INIT
2023-12-19 09:08:42.712781 96.23% [INFO] sofia_glue.c:1654 sofia/default/9187767565 sending invite call-id: (null)
2023-12-19 09:08:42.712781 96.23% [DEBUG] sofia_glue.c:1657 sofia/default/9187767565 sending invite version: 1.10.9-release git a615e85 2023-02-03 20:07:30Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1702958644 1702958645 IN IP4 13.233.24.142
s=FreeSWITCH
c=IN IP4 13.233.24.142
t=0 0
m=audio 18278 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/9187767565 Standard INIT
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9187767565) State Change CS_INIT -> CS_ROUTING
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9187767565) State INIT going to sleep
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9187767565) Running State Change CS_ROUTING (Cur 2 Tot 2)
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9187767565) State ROUTING
2023-12-19 09:08:42.712781 96.23% [DEBUG] mod_sofia.c:158 sofia/default/9187767565 SOFIA ROUTING
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9187767565) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9187767565) State ROUTING going to sleep
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9187767565) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2)
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9187767565) State CONSUME_MEDIA
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9187767565) State CONSUME_MEDIA going to sleep
2023-12-19 09:08:42.712781 96.23% [DEBUG] sofia.c:7487 Channel sofia/default/9187767565 entering state [calling][0]
2023-12-19 09:08:42.712781 96.23% [DEBUG] sofia.c:7487 Channel sofia/default/9187767565 entering state [proceeding][180]
2023-12-19 09:08:42.712781 96.23% [NOTICE] sofia.c:7598 Ring-Ready sofia/default/9187767565!
2023-12-19 09:08:42.712781 96.23% [DEBUG] switch_channel.c:3494 (sofia/default/9187767565) Callstate Change DOWN -> RINGING
2023-12-19 09:08:42.732744 96.23% [NOTICE] mod_sofia.c:2516 Ring-Ready sofia/default/911111@kp.astppbilling.org!
2023-12-19 09:08:42.732744 96.23% [DEBUG] sofia.c:7487 Channel sofia/default/911111@kp.astppbilling.org entering state [early][180]
2023-12-19 09:08:42.732744 96.23% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/911111@kp.astppbilling.org!
2023-12-19 09:08:47.712774 96.27% [DEBUG] sofia.c:7487 Channel sofia/default/9187767565 entering state [completing][200]
2023-12-19 09:08:47.712774 96.27% [DEBUG] sofia.c:7497 Remote SDP:
v=0
o=root 1072527621 1072527621 IN IP4 43.204.238.223
s=Asterisk PBX 18.20.0
c=IN IP4 43.204.238.223
t=0 0
m=audio 11782 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2023-12-19 09:08:47.712774 96.27% [DEBUG] sofia.c:7487 Channel sofia/default/9187767565 entering state [ready][200]
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:5527 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:5582 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:5443 Set telephone-event payload to 101@8000
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:3750 Set Codec sofia/default/9187767565 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_codec.c:111 sofia/default/9187767565 Original read codec set to PCMA:8
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:5792 Set telephone-event payload to 101@8000
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:5850 sofia/default/9187767565 Set 2833 dtmf send payload to 101 recv payload to 101
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/9187767565] 172.31.0.11 port 18278 -> 43.204.238.223 port 11782 codec: 8 ms: 20
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:8963 sofia/default/9187767565 Set 2833 dtmf send payload to 101
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:8970 sofia/default/9187767565 Set 2833 dtmf receive payload to 101
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:8993 sofia/default/9187767565 Set rtp dtmf delay to 40
2023-12-19 09:08:47.712774 96.27% [NOTICE] sofia.c:8674 Channel [sofia/default/9187767565] has been answered
EXECUTE [depth=1] sofia/default/9187767565 record_session(/usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3c.wav)
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:8651 AUDIO RTP [sofia/default/911111@kp.astppbilling.org] 172.31.0.11 port 28896 -> 152.58.35.207 port 42270 codec: 8 ms: 20
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_rtp.c:4377 Starting timer [soft] 160 bytes per 20ms
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:8963 sofia/default/911111@kp.astppbilling.org Set 2833 dtmf send payload to 101
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:8970 sofia/default/911111@kp.astppbilling.org Set 2833 dtmf receive payload to 101
2023-12-19 09:08:47.712774 96.27% [DEBUG] switch_core_media.c:8993 sofia/default/911111@kp.astppbilling.org Set rtp dtmf delay to 40
2023-12-19 09:08:47.712774 96.27% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/911111@kp.astppbilling.org:
v=0
o=FreeSWITCH 1702948031 1702948032 IN IP4 13.233.24.142
s=FreeSWITCH
c=IN IP4 13.233.24.142
t=0 0
m=audio 28896 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-12-19 09:08:47.712774 96.27% [DEBUG] sofia.c:7487 Channel sofia/default/911111@kp.astppbilling.org entering state [completed][200]
2023-12-19 09:08:47.712774 96.27% [NOTICE] switch_ivr_originate.c:3844 Channel [sofia/default/911111@kp.astppbilling.org] has been answered
EXECUTE [depth=0] sofia/default/911111@kp.astppbilling.org record_session(/usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3c.wav)
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/911111@kp.astppbilling.org
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_channel.c:3893 (sofia/default/911111@kp.astppbilling.org) Callstate Change RINGING -> ACTIVE
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_ivr_originate.c:3902 Originate Resulted in Success: [sofia/default/9187767565] Peer UUID: 1d73e409-ae19-410d-8978-10834bfb3a4a
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/9187767565
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_channel.c:3893 (sofia/default/9187767565) Callstate Change RINGING -> ACTIVE
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/9187767565) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9187767565) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 2)
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9187767565) State EXCHANGE_MEDIA
2023-12-19 09:08:47.732741 96.27% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
2023-12-19 09:08:47.732741 96.27% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
2023-12-19 09:08:47.832761 96.27% [DEBUG] sofia.c:7487 Channel sofia/default/911111@kp.astppbilling.org entering state [ready][200]
2023-12-19 09:08:47.872783 96.27% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
2023-12-19 09:08:47.872783 96.27% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2023-12-19 09:08:47.912742 96.27% [DEBUG] switch_ivr_bridge.c:654 sofia/default/9187767565 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-12-19 09:08:47.932775 96.27% [DEBUG] switch_rtp.c:7511 Correct audio ip/port confirmed.
2023-12-19 09:08:47.932775 96.27% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2023-12-19 09:08:47.932775 96.27% [DEBUG] switch_ivr.c:632 sofia/default/9187767565 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/9187767565 sched_hangup(+6000 normal_clearing)
2023-12-19 09:08:47.932775 96.27% [DEBUG] switch_scheduler.c:263 Added task 4 switch_ivr_schedule_hangup (1d73e409-ae19-410d-8978-10834bfb3a4a) to run at 1702982927
2023-12-19 09:08:56.792765 96.67% [NOTICE] sofia.c:1065 Hangup sofia/default/911111@kp.astppbilling.org [CS_EXECUTE] [NORMAL_CLEARING]
2023-12-19 09:08:56.792765 96.67% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/911111@kp.astppbilling.org]
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_ivr_bridge.c:819 sofia/default/911111@kp.astppbilling.org ending bridge by request from write function
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/9187767565]
2023-12-19 09:08:56.812744 96.67% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/9187767565 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9187767565) State EXCHANGE_MEDIA going to sleep
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9187767565) Running State Change CS_HANGUP (Cur 2 Tot 2)
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3c.wav
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/9187767565 skip receive message [UNBRIDGE] (channel is hungup already)
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/911111@kp.astppbilling.org skip receive message [UNBRIDGE] (channel is hungup already)
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_session.c:2973 sofia/default/911111@kp.astppbilling.org skip receive message [PHONE_EVENT] (channel is hungup already)
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/911111@kp.astppbilling.org) State EXECUTE going to sleep
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911111@kp.astppbilling.org) Running State Change CS_HANGUP (Cur 2 Tot 2)
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/400af3c9-2e13-4b7e-9d59-ce449d221a3c.wav
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/911111@kp.astppbilling.org
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/911111@kp.astppbilling.org) Callstate Change ACTIVE -> HANGUP
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/911111@kp.astppbilling.org) State HANGUP
2023-12-19 09:08:56.812744 96.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/911111@kp.astppbilling.org hanging up, cause: NORMAL_CLEARING
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/911111@kp.astppbilling.org Standard HANGUP, cause: NORMAL_CLEARING
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/911111@kp.astppbilling.org) State HANGUP going to sleep
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/911111@kp.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911111@kp.astppbilling.org) Running State Change CS_REPORTING (Cur 2 Tot 2)
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/911111@kp.astppbilling.org) State REPORTING
2023-12-19 09:08:56.812744 96.67% [INFO] mod_json_cdr.c:272 Process [400af3c9-2e13-4b7e-9d59-ce449d221a3c.cdr.json]
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/9187767565
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9187767565) Callstate Change ACTIVE -> HANGUP
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9187767565) State HANGUP
2023-12-19 09:08:56.812744 96.67% [DEBUG] mod_sofia.c:462 sofia/default/9187767565 Overriding SIP cause 480 with 200 from the other leg
2023-12-19 09:08:56.812744 96.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/9187767565 hanging up, cause: NORMAL_CLEARING
2023-12-19 09:08:56.812744 96.67% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/9187767565
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/9187767565 Standard HANGUP, cause: NORMAL_CLEARING
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9187767565) State HANGUP going to sleep
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9187767565) State Change CS_HANGUP -> CS_REPORTING
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9187767565) Running State Change CS_REPORTING (Cur 2 Tot 2)
2023-12-19 09:08:56.812744 96.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9187767565) State REPORTING
2023-12-19 09:08:56.812744 96.67% [INFO] mod_json_cdr.c:272 Process [1d73e409-ae19-410d-8978-10834bfb3a4a.cdr.json]
2023-12-19 09:08:56.832744 96.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/9187767565 Standard REPORTING, cause: NORMAL_CLEARING
2023-12-19 09:08:56.832744 96.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9187767565) State REPORTING going to sleep
2023-12-19 09:08:56.832744 96.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9187767565) State Change CS_REPORTING -> CS_DESTROY
2023-12-19 09:08:56.832744 96.67% [DEBUG] switch_core_session.c:1743 Session 2 (sofia/default/9187767565) Locked, Waiting on external entities
2023-12-19 09:08:56.832744 96.67% [NOTICE] switch_core_session.c:1761 Session 2 (sofia/default/9187767565) Ended
2023-12-19 09:08:56.832744 96.67% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/9187767565 [CS_DESTROY]
2023-12-19 09:08:56.832744 96.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9187767565) Running State Change CS_DESTROY (Cur 1 Tot 2)
2023-12-19 09:08:56.832744 96.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9187767565) State DESTROY
2023-12-19 09:08:56.832744 96.67% [DEBUG] mod_sofia.c:379 sofia/default/9187767565 SOFIA DESTROY
2023-12-19 09:08:56.832744 96.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/9187767565 Standard DESTROY
2023-12-19 09:08:56.832744 96.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9187767565) State DESTROY going to sleep
2023-12-19 09:08:56.892773 96.67% [DEBUG] switch_core_state_machine.c:168 sofia/default/911111@kp.astppbilling.org Standard REPORTING, cause: NORMAL_CLEARING
2023-12-19 09:08:56.892773 96.67% [DEBUG] switch_core_state_machine.c:932 (sofia/default/911111@kp.astppbilling.org) State REPORTING going to sleep
2023-12-19 09:08:56.892773 96.67% [DEBUG] switch_core_state_machine.c:607 (sofia/default/911111@kp.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
2023-12-19 09:08:56.892773 96.67% [DEBUG] switch_core_session.c:1743 Session 1 (sofia/default/911111@kp.astppbilling.org) Locked, Waiting on external entities
2023-12-19 09:08:56.892773 96.67% [NOTICE] switch_core_session.c:1761 Session 1 (sofia/default/911111@kp.astppbilling.org) Ended
2023-12-19 09:08:56.892773 96.67% [NOTICE] switch_core_session.c:1765 Close Channel sofia/default/911111@kp.astppbilling.org [CS_DESTROY]
2023-12-19 09:08:56.892773 96.67% [DEBUG] switch_core_state_machine.c:735 (sofia/default/911111@kp.astppbilling.org) Running State Change CS_DESTROY (Cur 0 Tot 2)
2023-12-19 09:08:56.892773 96.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/911111@kp.astppbilling.org) State DESTROY
2023-12-19 09:08:56.892773 96.67% [DEBUG] mod_sofia.c:379 sofia/default/911111@kp.astppbilling.org SOFIA DESTROY
2023-12-19 09:08:56.892773 96.67% [DEBUG] switch_core_state_machine.c:175 sofia/default/911111@kp.astppbilling.org Standard DESTROY
2023-12-19 09:08:56.892773 96.67% [DEBUG] switch_core_state_machine.c:745 (sofia/default/911111@kp.astppbilling.org) State DESTROY going to sleep
2023-12-19 09:08:56.932747 96.67% [DEBUG] switch_scheduler.c:147 Deleting task 4 switch_ivr_schedule_hangup (1d73e409-ae19-410d-8978-10834bfb3a4a)