2022-07-04 11:19:03.553232 [NOTICE] sofia.c:7419 Pre-Answer sofia/default/38670626218!
2022-07-04 11:19:03.553232 [DEBUG] switch_channel.c:3565 (sofia/default/38670626218) Callstate Change DOWN -> EARLY
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38670626218 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:03.553232 [DEBUG] switch_core_codec.c:111 sofia/default/38670626218 Original read codec set to PCMA:8
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5918 sofia/default/38670626218 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38670626218] 82.214.92.3 port 19554 -> 91.208.225.227 port 15246 codec: 8 ms: 20
2022-07-04 11:19:03.553232 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2022-07-04 11:19:03.553232 [NOTICE] switch_channel.c:1118 New Channel sofia/default/sky001@skytel011.tdsltd.rs [8b3a4a3c-d818-44e0-abcf-6f4f39f55221]
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:8989 sofia/default/38670626218 Set 2833 dtmf send payload to 101
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:8996 sofia/default/38670626218 Set 2833 dtmf receive payload to 101
2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:9019 sofia/default/38670626218 Set rtp dtmf delay to 40
2022-07-04 11:19:03.553232 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_NEW (Cur 63 Tot 2864644)
2022-07-04 11:19:03.553232 [INFO] sofia.c:10362 sofia/default/sky001@skytel011.tdsltd.rs receiving invite from 103.240.35.46:38688 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: MjU4ZDMzYmRhNjFmZDkzM2M4YmI4NTI4Mjg3NjFhNmI.
2022-07-04 11:19:03.553232 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 103.240.35.46:0.
2022-07-04 11:19:03.553232 [WARNING] sofia_reg.c:1795 SIP auth challenge (INVITE) on sofia profile 'default' for [12125551212@skytel011.tdsltd.rs] from ip 103.240.35.46
2022-07-04 11:19:03.553232 [DEBUG] switch_core_state_machine.c:604 (sofia/default/sky001@skytel011.tdsltd.rs) State NEW
2022-07-04 11:19:03.553232 [DEBUG] sofia.c:2447 detaching session 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
2022-07-04 11:19:03.573246 [INFO] switch_ivr_originate.c:3832 Sending early media
2022-07-04 11:19:03.573246 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38617775044@148.251.195.149] 82.214.92.3 port 18588 -> 95.216.40.232 port 28278 codec: 8 ms: 20
2022-07-04 11:19:03.573246 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2022-07-04 11:19:03.573246 [DEBUG] switch_core_media.c:8989 sofia/default/38617775044@148.251.195.149 Set 2833 dtmf send payload to 101
2022-07-04 11:19:03.573246 [DEBUG] switch_core_media.c:8996 sofia/default/38617775044@148.251.195.149 Set 2833 dtmf receive payload to 101
2022-07-04 11:19:03.573246 [DEBUG] switch_core_media.c:9019 sofia/default/38617775044@148.251.195.149 Set rtp dtmf delay to 40
2022-07-04 11:19:03.573246 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1656907755 1656907756 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 18588 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:03.573246 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/38617775044@148.251.195.149!
2022-07-04 11:19:03.573246 [DEBUG] switch_channel.c:3565 (sofia/default/38617775044@148.251.195.149) Callstate Change RINGING -> EARLY
2022-07-04 11:19:03.573246 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/38670626218]
2022-07-04 11:19:03.573246 [DEBUG] sofia.c:7406 Channel sofia/default/38617775044@148.251.195.149 entering state [early][183]
2022-07-04 11:19:03.573246 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/38670626218) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-07-04 11:19:03.573246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38670626218) Running State Change CS_EXCHANGE_MEDIA (Cur 63 Tot 2864644)
2022-07-04 11:19:03.573246 [DEBUG] switch_core_state_machine.c:654 (sofia/default/38670626218) State EXCHANGE_MEDIA
2022-07-04 11:19:03.573246 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-07-04 11:19:03.713226 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
2022-07-04 11:19:03.733227 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
2022-07-04 11:19:03.753225 [DEBUG] switch_ivr_bridge.c:655 sofia/default/38670626218 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-07-04 11:19:03.773228 [DEBUG] switch_ivr.c:632 sofia/default/38670626218 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/38670626218 sched_hangup(+6000 normal_clearing)
2022-07-04 11:19:03.773228 [DEBUG] switch_scheduler.c:263 Added task 960251 switch_ivr_schedule_hangup (51f7f81e-a619-42b6-8bd1-eafa0ec805f5) to run at 1656932343
2022-07-04 11:19:03.953242 [DEBUG] sofia.c:2562 Re-attaching to session 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
2022-07-04 11:19:03.953242 [INFO] sofia.c:10362 sofia/default/sky001@skytel011.tdsltd.rs receiving invite from 103.240.35.46:38688 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: MjU4ZDMzYmRhNjFmZDkzM2M4YmI4NTI4Mjg3NjFhNmI.
2022-07-04 11:19:03.953242 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 103.240.35.46:0.
2022-07-04 11:19:03.973231 [DEBUG] sofia.c:11564 Setting NAT mode based on via received
2022-07-04 11:19:03.973231 [DEBUG] sofia.c:7406 Channel sofia/default/sky001@skytel011.tdsltd.rs entering state [received][100]
2022-07-04 11:19:03.973231 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=Z 0 0 IN IP4 103.240.35.46
s=Z
c=IN IP4 103.240.35.46
t=0 0
m=audio 8000 RTP/AVP 3 110 8 0 98 101
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/sky001@skytel011.tdsltd.rs PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:03.973231 [DEBUG] switch_core_codec.c:111 sofia/default/sky001@skytel011.tdsltd.rs Original read codec set to PCMA:8
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5918 sofia/default/sky001@skytel011.tdsltd.rs Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:03.973231 [DEBUG] sofia.c:7840 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_INIT (Cur 63 Tot 2864644)
2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/sky001@skytel011.tdsltd.rs) State INIT
2022-07-04 11:19:03.973231 [DEBUG] mod_sofia.c:93 sofia/default/sky001@skytel011.tdsltd.rs SOFIA INIT
2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:40 sofia/default/sky001@skytel011.tdsltd.rs Standard INIT
2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:48 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/sky001@skytel011.tdsltd.rs) State INIT going to sleep
2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_ROUTING (Cur 63 Tot 2864644)
2022-07-04 11:19:03.973231 [DEBUG] switch_channel.c:2332 (sofia/default/sky001@skytel011.tdsltd.rs) Callstate Change DOWN -> RINGING
2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/sky001@skytel011.tdsltd.rs) State ROUTING
2022-07-04 11:19:03.973231 [DEBUG] mod_sofia.c:154 sofia/default/sky001@skytel011.tdsltd.rs SOFIA ROUTING
2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:236 sofia/default/sky001@skytel011.tdsltd.rs Standard ROUTING
2022-07-04 11:19:03.973231 [INFO] mod_dialplan_xml.c:637 Processing sky001 <sky001>->12125551212 in context default
2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:03.973231 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
FreeSWITCH-Hostname: ASTPP5
FreeSWITCH-Switchname: ASTPP5
FreeSWITCH-IPv4: 82.214.92.3
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-07-04%2011%3A19%3A03
Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A03%20GMT
Event-Date-Timestamp: 1656926343973231
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 150866899
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
Unique-ID: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: sky001%40skytel011.tdsltd.rs
Channel-Call-UUID: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
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: sky001
Caller-Dialplan: XML
Caller-Caller-ID-Name: sky001
Caller-Caller-ID-Number: sky001
Caller-Orig-Caller-ID-Name: sky001
Caller-Orig-Caller-ID-Number: sky001
Caller-Network-Addr: 103.240.35.46
Caller-ANI: sky001
Caller-Destination-Number: 12125551212
Caller-Unique-ID: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1656926343973231
Caller-Channel-Created-Time: 1656926343973231
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: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
variable_session_id: 2864644
variable_sip_from_params: transport%3DTCP
variable_sip_from_user: sky001
variable_sip_from_uri: sky001%40skytel011.tdsltd.rs
variable_sip_from_host: skytel011.tdsltd.rs
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/sky001%40skytel011.tdsltd.rs
variable_sip_call_id: MjU4ZDMzYmRhNjFmZDkzM2M4YmI4NTI4Mjg3NjFhNmI.
variable_sip_local_network_addr: 82.214.92.3
variable_sip_network_ip: 103.240.35.46
variable_sip_network_port: 38688
variable_sip_invite_stamp: 1656926343953242
variable_sip_received_ip: 103.240.35.46
variable_sip_received_port: 38688
variable_sip_via_protocol: tcp
variable_sip_authorized: true
variable_Event-Name: REQUEST_PARAMS
variable_Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
variable_FreeSWITCH-Hostname: ASTPP5
variable_FreeSWITCH-Switchname: ASTPP5
variable_FreeSWITCH-IPv4: 82.214.92.3
variable_FreeSWITCH-IPv6: %3A%3A1
variable_Event-Date-Local: 2022-07-04%2011%3A19%3A03
variable_Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A03%20GMT
variable_Event-Date-Timestamp: 1656926343953242
variable_Event-Calling-File: sofia.c
variable_Event-Calling-Function: sofia_handle_sip_i_invite
variable_Event-Calling-Line-Number: 10624
variable_Event-Sequence: 150866890
variable_sip_number_alias: sky001
variable_sip_auth_username: sky001
variable_sip_auth_realm: skytel011.tdsltd.rs
variable_number_alias: sky001
variable_requested_user_name: sky001
variable_requested_domain_name: skytel011.tdsltd.rs
variable_sipcall: true
variable_sip_user: sky001
variable_accountcode: 4307873302
variable_user_name: sky001
variable_domain_name: skytel011.tdsltd.rs
variable_sip_from_user_stripped: sky001
variable_sip_from_tag: af31631b
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/TCP%20192.168.1.62%3A62282%3Bbranch%3Dz9hG4bK-d8754z-58d8e5e9873bc04a-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D38688
variable_sip_recover_via: SIP/2.0/TCP%20192.168.1.62%3A62282%3Bbranch%3Dz9hG4bK-d8754z-58d8e5e9873bc04a-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D38688
variable_sip_full_from: %3Csip%3Asky001%40skytel011.tdsltd.rs%3Btransport%3DTCP%3E%3Btag%3Daf31631b
variable_sip_full_to: %3Csip%3A12125551212%40skytel011.tdsltd.rs%3Btransport%3DTCP%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
variable_sip_req_params: transport%3DTCP
variable_sip_req_user: 12125551212
variable_sip_req_uri: 12125551212%40skytel011.tdsltd.rs
variable_sip_req_host: skytel011.tdsltd.rs
variable_sip_to_params: transport%3DTCP
variable_sip_to_user: 12125551212
variable_sip_to_uri: 12125551212%40skytel011.tdsltd.rs
variable_sip_to_host: skytel011.tdsltd.rs
variable_sip_contact_params: transport%3DTCP
variable_sip_contact_user: sky001
variable_sip_contact_port: 62282
variable_sip_contact_uri: sky001%40103.240.35.46%3A62282
variable_sip_contact_host: 103.240.35.46
variable_sip_user_agent: Z%203.3.25608%20r25552
variable_sip_via_host: 192.168.1.62
variable_sip_via_port: 62282
variable_sip_via_rport: 38688
variable_max_forwards: 70
variable_presence_id: sky001%40skytel011.tdsltd.rs
variable_sip_nat_detected: true
variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20103.240.35.46%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20103.240.35.46%0D%0At%3D0%200%0D%0Am%3Daudio%208000%20RTP/AVP%203%20110%208%200%2098%20101%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A98%20iLBC/8000%0D%0Aa%3Dfmtp%3A98%20mode%3D20%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%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: 103.240.35.46
variable_remote_media_port: 8000
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: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: sky001
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: sky001
Hunt-Caller-ID-Number: sky001
Hunt-Orig-Caller-ID-Name: sky001
Hunt-Orig-Caller-ID-Number: sky001
Hunt-Network-Addr: 103.240.35.46
Hunt-ANI: sky001
Hunt-Destination-Number: 12125551212
Hunt-Unique-ID: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1656926343973231
Hunt-Channel-Created-Time: 1656926343973231
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
2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 12125551212
2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '12125551212' limit 1
2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '12125551212' AND status=0 limit 1
2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '12125551212' and status=0 LIMIT 1
2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : sky001 / sky001
2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12125551212" LIMIT 1
2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="12125551212" AND domains.domain="skytel011.tdsltd.rs" limit 1
2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4307873302]
2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4307873302" AND deleted = 0 limit 1
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^12125551212.*' OR blocked_patterns = '^1212555121.*' OR blocked_patterns = '^121255512.*' OR blocked_patterns = '^12125551.*' OR blocked_patterns = '^1212555.*' OR blocked_patterns = '^121255.*' OR blocked_patterns = '^12125.*' OR blocked_patterns = '^1212.*' OR blocked_patterns = '^121.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="12125551212" AND (accountid = 0 OR status = 1) LIMIT 1
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 43
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/".....12125551212
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....sky001DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky001DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : sky001DBCLI12125551212
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....sky001DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky001DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....11111111#12125551212DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....11111111#12125551212DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....11111111#12125551212DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#12125551212
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Ash............ sky001
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^12125551212.*' OR patterns = '^1212555121.*' OR patterns = '^121255512.*' OR patterns = '^12125551.*' OR patterns = '^1212555.*' OR patterns = '^121255.*' OR patterns = '^12125.*' OR patterns = '^1212.*' OR patterns = '^121.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-07-04 11:19:03.993233 [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 ="12125551212" AND A.accountid = '7' limit 1
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 12125551212
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12125551212" LIMIT 1
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="12125551212" AND domains.domain="skytel011.tdsltd.rs" limit 1
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '12125551212' OR number = '1212555121' OR number = '121255512' OR number = '12125551' OR number = '1212555' OR number = '121255' OR number = '12125' OR number = '1212' OR number = '121' OR number = '12' OR number = '1' OR number ='--') OR (number = '12125551212*' OR number = '1212555121*' OR number = '121255512*' OR number = '12125551*' OR number = '1212555*' OR number = '121255*' OR number = '12125*' OR number = '1212*' OR number = '121*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = 'sky001' OR number = 'sky00' OR number = 'sky0' OR number = 'sky' OR number = 'sk' OR number = 's' OR number ='--') OR (number = 'sky001*' OR number = 'sky00*' OR number = 'sky0*' OR number = 'sky*' OR number = 'sk*' OR number = 's*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : sky001
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='sky001' and status=0
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='7' order by RAND() limit 1
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: +38220690266
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '12125551212' OR routing_prefix = '1212555121' OR routing_prefix = '121255512' OR routing_prefix = '12125551' OR routing_prefix = '1212555' OR routing_prefix = '121255' OR routing_prefix = '12125' OR routing_prefix = '1212' OR routing_prefix = '121' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4307873302
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 167.13248
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^12125551212.*' OR pattern = '^1212555121.*' OR pattern = '^121255512.*' OR pattern = '^12125551.*' OR pattern = '^1212555.*' OR pattern = '^121255.*' OR pattern = '^12125.*' OR pattern = '^1212.*' OR pattern = '^121.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=7) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3358
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.03000
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : United States
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 203
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your167.13248 balance Accountid 7 !!!
2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 3358
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^12125551212.*' OR pattern = '^1212555121.*' OR pattern = '^121255512.*' OR pattern = '^12125551.*' OR pattern = '^1212555.*' OR pattern = '^121255.*' OR pattern = '^12125.*' OR pattern = '^1212.*' OR pattern = '^121.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (5,6,8,9,10,13,16,18) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 387405
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : United States-Landline
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 5
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : DIDWW-INT
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 6
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : DID-INTERNATIONAL
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 357752
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1212.*
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA - Fixed
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1212.*
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-07-04 11:19:03.993233 [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 = 7 AND status=0 LIMIT 1
2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 11111111#12125551212
2022-07-04 11:19:04.013244 [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 = 6) AND status=0 limit 1
2022-07-04 11:19:04.013244 [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 = 5) AND status=0 limit 1
2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 11111111#12125551212
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12125551212" LIMIT 1
2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 12125551212
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 12125551212
2022-07-04 11:19:04.013244 [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 = 9) AND status=0 limit 1
2022-07-04 11:19:04.013244 [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 = 10) AND status=0 limit 1
2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 12125551212
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 12125551212
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='12125551212' and status=0
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='7' order by RAND() limit 1
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: +38220690267
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12125551212" LIMIT 1
2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number +38220690267
2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="12125551212">
<condition field="destination_number" expression="12125551212">
<action application="set" data="effective_destination_number=12125551212"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-07-04 09:19:03"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=7"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:3358|CODE:^1212.*|DESTINATION:United States|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7"/>
<action application="set" data="original_caller_id_name=+38220690266"/>
<action application="set" data="original_caller_id_number=12125551212"/>
<action application="limit" data="db 4307873302 user_4307873302 5 "/>
<action application="limit" data="hash CPS_4307873302 CPS_user_4307873302 2/1 "/>
<action application="set" data="effective_caller_id_name=+38220690266"/>
<action application="set" data="effective_caller_id_number=12125551212"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:387405|CODE:^1.*|DESTINATION:United States-Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00515|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:6"/>
<action application="set" data="trunk_id=5"/>
<action application="set" data="provider_id=6"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=3358"/>
<action application="export" data="presence_data=trunk_id=5"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=12125551212"/>
<action application="export" data="presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46"/>
<action application="limit" data="hash CPS_5 CPS_trunk_5 10/1 "/>
<action application="limit" data="db DIDWW-INT gw_DIDWW-INT 20 "/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-INT/12125551212"/>
<action application="set" data="effective_caller_id_name=+38220690267"/>
<action application="set" data="effective_caller_id_number=+38220690267"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:357752|CODE:^1212.*|DESTINATION:USA - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01875|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9"/>
<action application="set" data="trunk_id=10"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=3358"/>
<action application="export" data="presence_data=trunk_id=10"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=12125551212"/>
<action application="export" data="presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/12125551212"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/12125551212"/>
</condition>
</extension>
</context>
</document>
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs parsing [default->12125551212] continue=false
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Regex (PASS) [12125551212] destination_number(12125551212) =~ /12125551212/ break=on-false
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_destination_number=12125551212)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(callstart=2022-07-04 09:19:03)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(hangup_after_bridge=true)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(account_id=7)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(parent_id=0)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(entity_id=0)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(call_processed=internal)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(call_direction=outbound)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(accountname=default)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(origination_rates=ID:3358|CODE:^1212.*|DESTINATION:United States|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(original_caller_id_name=+38220690266)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(original_caller_id_number=12125551212)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(db 4307873302 user_4307873302 5 )
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(hash CPS_4307873302 CPS_user_4307873302 2/1 )
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_name=+38220690266)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_number=12125551212)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(calltype=STANDARD)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(termination_rates=ID:387405|CODE:^1.*|DESTINATION:United States-Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00515|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:6)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(trunk_id=5)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(provider_id=6)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(rate_flag=0)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(force_trunk_flag=3358)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=trunk_id=5)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(intcall=0)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_id=12125551212)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(hash CPS_5 CPS_trunk_5 10/1 )
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(db DIDWW-INT gw_DIDWW-INT 20 )
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-INT/12125551212)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_name=+38220690267)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_number=+38220690267)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(calltype=STANDARD)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(termination_rates=ID:357752|CODE:^1212.*|DESTINATION:USA - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01875|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(trunk_id=10)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(provider_id=9)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(rate_flag=0)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(force_trunk_flag=3358)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=trunk_id=10)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(intcall=0)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_id=12125551212)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/12125551212)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/12125551212)
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:287 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_ROUTING -> CS_EXECUTE
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/sky001@skytel011.tdsltd.rs) State ROUTING going to sleep
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_EXECUTE (Cur 63 Tot 2864644)
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:651 (sofia/default/sky001@skytel011.tdsltd.rs) State EXECUTE
2022-07-04 11:19:04.013244 [DEBUG] mod_sofia.c:209 sofia/default/sky001@skytel011.tdsltd.rs SOFIA EXECUTE
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:329 sofia/default/sky001@skytel011.tdsltd.rs Standard EXECUTE
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_destination_number=12125551212)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_destination_number]=[12125551212]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(bridge_pre_execute_bleg_app=sched_hangup)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(callstart=2022-07-04 09:19:03)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [callstart]=[2022-07-04 09:19:03]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(hangup_after_bridge=true)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(continue_on_fail=TRUE)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(account_id=7)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [account_id]=[7]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(parent_id=0)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [parent_id]=[0]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(entity_id=0)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [entity_id]=[0]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(call_processed=internal)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(call_direction=outbound)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(accountname=default)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [accountname]=[default]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(origination_rates=ID:3358|CODE:^1212.*|DESTINATION:United States|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [origination_rates]=[ID:3358|CODE:^1212.*|DESTINATION:United States|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(original_caller_id_name=+38220690266)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [original_caller_id_name]=[+38220690266]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(original_caller_id_number=12125551212)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [original_caller_id_number]=[12125551212]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(db 4307873302 user_4307873302 5 )
2022-07-04 11:19:04.013244 [DEBUG] switch_limit.c:124 incr called: 4307873302_user_4307873302 max:5, interval:0
2022-07-04 11:19:04.013244 [DEBUG] mod_db.c:194 Usage for 4307873302_user_4307873302 is now 1/5
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(hash CPS_4307873302 CPS_user_4307873302 2/1 )
2022-07-04 11:19:04.013244 [DEBUG] switch_limit.c:124 incr called: CPS_4307873302_CPS_user_4307873302 max:2, interval:1
2022-07-04 11:19:04.013244 [DEBUG] mod_hash.c:198 Usage for CPS_4307873302_CPS_user_4307873302 is now 1/2 for the last 1 seconds
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_name=+38220690266)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_name]=[+38220690266]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_number=12125551212)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_number]=[12125551212]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(calltype=STANDARD)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(termination_rates=ID:387405|CODE:^1.*|DESTINATION:United States-Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00515|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:6)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [termination_rates]=[ID:387405|CODE:^1.*|DESTINATION:United States-Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00515|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:6]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(trunk_id=5)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [trunk_id]=[5]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(provider_id=6)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [provider_id]=[6]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(rate_flag=0)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(force_trunk_flag=3358)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [force_trunk_flag]=[3358]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=trunk_id=5)
2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=5]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(intcall=0)
2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [intcall]=[0]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_id=12125551212)
2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[12125551212]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46)
2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(hash CPS_5 CPS_trunk_5 10/1 )
2022-07-04 11:19:04.013244 [DEBUG] switch_limit.c:124 incr called: CPS_5_CPS_trunk_5 max:10, interval:1
2022-07-04 11:19:04.013244 [DEBUG] mod_hash.c:198 Usage for CPS_5_CPS_trunk_5 is now 1/10 for the last 1 seconds
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(db DIDWW-INT gw_DIDWW-INT 20 )
2022-07-04 11:19:04.013244 [DEBUG] switch_limit.c:124 incr called: DIDWW-INT_gw_DIDWW-INT max:20, interval:0
2022-07-04 11:19:04.013244 [DEBUG] mod_db.c:194 Usage for DIDWW-INT_gw_DIDWW-INT is now 1/20
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-INT/12125551212)
2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46] to event
2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46] to event
2022-07-04 11:19:04.013244 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-07-04 11:19:04.013244 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-07-04 11:19:04.013244 [NOTICE] switch_channel.c:1118 New Channel sofia/default/12125551212 [273ebbbd-3c76-4c91-a53a-9e8e9d0b1107]
2022-07-04 11:19:04.013244 [DEBUG] mod_sofia.c:5102 (sofia/default/12125551212) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:04.013244 [DEBUG] switch_ivr_originate.c:3142 sofia/default/12125551212 Setting leg timeout to 45
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_INIT (Cur 64 Tot 2864645)
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT
2022-07-04 11:19:04.013244 [DEBUG] mod_sofia.c:93 sofia/default/12125551212 SOFIA INIT
2022-07-04 11:19:04.013244 [INFO] sofia_glue.c:1621 sofia/default/12125551212 sending invite call-id: (null)
2022-07-04 11:19:04.013244 [DEBUG] sofia_glue.c:1624 sofia/default/12125551212 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656903974 1656903975 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 22370 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:40 sofia/default/12125551212 Standard INIT
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:48 (sofia/default/12125551212) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT going to sleep
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_ROUTING (Cur 64 Tot 2864645)
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING
2022-07-04 11:19:04.013244 [DEBUG] mod_sofia.c:154 sofia/default/12125551212 SOFIA ROUTING
2022-07-04 11:19:04.013244 [DEBUG] switch_ivr_originate.c:67 (sofia/default/12125551212) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING going to sleep
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_CONSUME_MEDIA (Cur 64 Tot 2864645)
2022-07-04 11:19:04.013244 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [calling][0]
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA
2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA going to sleep
2022-07-04 11:19:04.053241 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [calling][0]
2022-07-04 11:19:04.473243 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38618282990@148.251.195.149 [527d437c-3d6b-42da-9cc4-b4aefc2ff958]
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_NEW (Cur 65 Tot 2864646)
2022-07-04 11:19:04.473243 [INFO] sofia.c:10362 sofia/default/38618282990@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0846290433a3c10f1e57c61d2f0e7114@148.251.195.149:5060
2022-07-04 11:19:04.473243 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
2022-07-04 11:19:04.473243 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
2022-07-04 11:19:04.473243 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [received][100]
2022-07-04 11:19:04.473243 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=root 2013592538 2013592538 IN IP4 95.216.40.232
s=SIP.IO
c=IN IP4 95.216.40.232
t=0 0
m=audio 30454 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38618282990@148.251.195.149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:04.473243 [DEBUG] switch_core_codec.c:111 sofia/default/38618282990@148.251.195.149 Original read codec set to PCMA:8
2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5918 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:04.473243 [DEBUG] sofia.c:7840 (sofia/default/38618282990@148.251.195.149) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:604 (sofia/default/38618282990@148.251.195.149) State NEW
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_INIT (Cur 65 Tot 2864646)
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT
2022-07-04 11:19:04.473243 [DEBUG] mod_sofia.c:93 sofia/default/38618282990@148.251.195.149 SOFIA INIT
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:40 sofia/default/38618282990@148.251.195.149 Standard INIT
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38618282990@148.251.195.149) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT going to sleep
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_ROUTING (Cur 65 Tot 2864646)
2022-07-04 11:19:04.473243 [DEBUG] switch_channel.c:2332 (sofia/default/38618282990@148.251.195.149) Callstate Change DOWN -> RINGING
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING
2022-07-04 11:19:04.473243 [DEBUG] mod_sofia.c:154 sofia/default/38618282990@148.251.195.149 SOFIA ROUTING
2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:236 sofia/default/38618282990@148.251.195.149 Standard ROUTING
2022-07-04 11:19:04.473243 [INFO] mod_dialplan_xml.c:637 Processing 38618282990 <38618282990>->385914185113 in context default
2022-07-04 11:19:04.473243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-07-04 11:19:04.473243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:04.473243 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
FreeSWITCH-Hostname: ASTPP5
FreeSWITCH-Switchname: ASTPP5
FreeSWITCH-IPv4: 82.214.92.3
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-07-04%2011%3A19%3A04
Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A04%20GMT
Event-Date-Timestamp: 1656926344473243
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 150866984
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/38618282990%40148.251.195.149
Unique-ID: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 38618282990%40148.251.195.149
Channel-Call-UUID: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
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: 38618282990
Caller-Dialplan: XML
Caller-Caller-ID-Name: 38618282990
Caller-Caller-ID-Number: 38618282990
Caller-Orig-Caller-ID-Name: 38618282990
Caller-Orig-Caller-ID-Number: 38618282990
Caller-Network-Addr: 148.251.195.149
Caller-ANI: 38618282990
Caller-Destination-Number: 385914185113
Caller-Unique-ID: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/38618282990%40148.251.195.149
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1656926344473243
Caller-Channel-Created-Time: 1656926344473243
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: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
variable_session_id: 2864646
variable_sip_from_user: 38618282990
variable_sip_from_uri: 38618282990%40148.251.195.149
variable_sip_from_host: 148.251.195.149
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/38618282990%40148.251.195.149
variable_sip_call_id: 0846290433a3c10f1e57c61d2f0e7114%40148.251.195.149%3A5060
variable_sip_local_network_addr: 82.214.92.3
variable_sip_network_ip: 148.251.195.149
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1656926344473243
variable_sip_received_ip: 148.251.195.149
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 38618282990
variable_sip_from_tag: as1adcf9f3
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/UDP%20148.251.195.149%3A5060%3Bbranch%3Dz9hG4bK563c640e
variable_sip_full_from: %3Csip%3A38618282990%40148.251.195.149%3E%3Btag%3Das1adcf9f3
variable_sip_full_to: %3Csip%3A385914185113%40sipp.skytel.rs%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
variable_sip_req_user: 385914185113
variable_sip_req_port: 5060
variable_sip_req_uri: 385914185113%40sipp.skytel.rs%3A5060
variable_sip_req_host: sipp.skytel.rs
variable_sip_to_user: 385914185113
variable_sip_to_port: 5060
variable_sip_to_uri: 385914185113%40sipp.skytel.rs%3A5060
variable_sip_to_host: sipp.skytel.rs
variable_sip_contact_user: 38618282990
variable_sip_contact_port: 5060
variable_sip_contact_uri: 38618282990%40148.251.195.149%3A5060
variable_sip_contact_host: 148.251.195.149
variable_sip_user_agent: SIP.IO
variable_sip_via_host: 148.251.195.149
variable_sip_via_port: 5060
variable_max_forwards: 70
variable_presence_id: 38618282990%40148.251.195.149
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202013592538%202013592538%20IN%20IP4%2095.216.40.232%0D%0As%3DSIP.IO%0D%0Ac%3DIN%20IP4%2095.216.40.232%0D%0At%3D0%200%0D%0Am%3Daudio%2030454%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%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: 95.216.40.232
variable_remote_media_port: 30454
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: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 38618282990
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 38618282990
Hunt-Caller-ID-Number: 38618282990
Hunt-Orig-Caller-ID-Name: 38618282990
Hunt-Orig-Caller-ID-Number: 38618282990
Hunt-Network-Addr: 148.251.195.149
Hunt-ANI: 38618282990
Hunt-Destination-Number: 385914185113
Hunt-Unique-ID: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/38618282990%40148.251.195.149
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1656926344473243
Hunt-Channel-Created-Time: 1656926344473243
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
2022-07-04 11:19:04.473243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2022-07-04 11:19:04.473243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2022-07-04 11:19:04.473243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2022-07-04 11:19:04.473243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 385914185113
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '385914185113' limit 1
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '385914185113' AND status=0 limit 1
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '385914185113' and status=0 LIMIT 1
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 38618282990 / 38618282990
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385914185113" LIMIT 1
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="385914185113" AND domains.domain="sipp.skytel.rs" limit 1
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("148.251.195.149") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "385914185113" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3611165659]
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3611165659" AND deleted = 0 limit 1
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^385914185113.*' OR blocked_patterns = '^38591418511.*' OR blocked_patterns = '^3859141851.*' OR blocked_patterns = '^385914185.*' OR blocked_patterns = '^38591418.*' OR blocked_patterns = '^3859141.*' OR blocked_patterns = '^385914.*' OR blocked_patterns = '^38591.*' OR blocked_patterns = '^3859.*' OR blocked_patterns = '^385.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 37 limit 1
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="385914185113" AND (accountid = 0 OR status = 1) LIMIT 1
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^385914185113.*' OR patterns = '^38591418511.*' OR patterns = '^3859141851.*' OR patterns = '^385914185.*' OR patterns = '^38591418.*' OR patterns = '^3859141.*' OR patterns = '^385914.*' OR patterns = '^38591.*' OR patterns = '^3859.*' OR patterns = '^385.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 37 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-07-04 11:19:04.493243 [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 ="385914185113" AND A.accountid = '37' limit 1
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 385914185113
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385914185113" LIMIT 1
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="385914185113" AND domains.domain="sipp.skytel.rs" limit 1
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '385914185113' OR number = '38591418511' OR number = '3859141851' OR number = '385914185' OR number = '38591418' OR number = '3859141' OR number = '385914' OR number = '38591' OR number = '3859' OR number = '385' OR number = '38' OR number = '3' OR number ='--') OR (number = '385914185113*' OR number = '38591418511*' OR number = '3859141851*' OR number = '385914185*' OR number = '38591418*' OR number = '3859141*' OR number = '385914*' OR number = '38591*' OR number = '3859*' OR number = '385*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '38618282990' OR number = '3861828299' OR number = '386182829' OR number = '38618282' OR number = '3861828' OR number = '386182' OR number = '38618' OR number = '3861' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38618282990*' OR number = '3861828299*' OR number = '386182829*' OR number = '38618282*' OR number = '3861828*' OR number = '386182*' OR number = '38618*' OR number = '3861*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38618282990
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38618282990' and status=0
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='37' order by RAND() limit 1
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: 38515790637
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '385914185113' OR routing_prefix = '38591418511' OR routing_prefix = '3859141851' OR routing_prefix = '385914185' OR routing_prefix = '38591418' OR routing_prefix = '3859141' OR routing_prefix = '385914' OR routing_prefix = '38591' OR routing_prefix = '3859' OR routing_prefix = '385' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 37
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3611165659
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 6069.04588
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 10
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^385914185113.*' OR pattern = '^38591418511.*' OR pattern = '^3859141851.*' OR pattern = '^385914185.*' OR pattern = '^38591418.*' OR pattern = '^3859141.*' OR pattern = '^385914.*' OR pattern = '^38591.*' OR pattern = '^3859.*' OR pattern = '^385.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=37) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4305
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.02450
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Croatia-Mobile
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 47
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 37
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your6069.04588 balance Accountid 37 !!!
2022-07-04 11:19:04.493243 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=10 ORDER by id asc
2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^385914185113.*' OR pattern = '^38591418511.*' OR pattern = '^3859141851.*' OR pattern = '^385914185.*' OR pattern = '^38591418.*' OR pattern = '^3859141.*' OR pattern = '^385914.*' OR pattern = '^38591.*' OR pattern = '^3859.*' OR pattern = '^385.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (10,18) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 339651
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^38591.*
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Croatia - Mobile ViP
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^38591.*
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 372062
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3859.*
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Croatia-Mobile
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3859.*
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 18
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : IT1
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 16
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : IT1
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-07-04 11:19:04.513229 [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 = 37 AND status=0 LIMIT 1
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38515790637
2022-07-04 11:19:04.513229 [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 = 9) AND status=0 limit 1
2022-07-04 11:19:04.513229 [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 = 10) AND status=0 limit 1
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38515790637
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38515790637
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38515790637' and status=0
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385914185113" LIMIT 1
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38515790637
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38515790637
2022-07-04 11:19:04.513229 [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 = 16) AND status=0 limit 1
2022-07-04 11:19:04.513229 [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 = 18) AND status=0 limit 1
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38515790637
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38515790637
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38515790637' and status=0
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385914185113" LIMIT 1
2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38515790637
2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="385914185113">
<condition field="destination_number" expression="385914185113">
<action application="set" data="effective_destination_number=385914185113"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-07-04 09:19:03"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=37"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=OIM Croatia"/>
<action application="set" data="origination_rates=ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37"/>
<action application="set" data="original_caller_id_name=38515790637"/>
<action application="set" data="original_caller_id_number=38515790637"/>
<action application="set" data="effective_caller_id_name=38515790637"/>
<action application="set" data="effective_caller_id_number=38515790637"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:339651|CODE:^38591.*|DESTINATION:Croatia - Mobile ViP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9"/>
<action application="set" data="trunk_id=10"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=10"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=385914185113"/>
<action application="export" data="presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/385914185113"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/385914185113"/>
<action application="set" data="effective_caller_id_name=38515790637"/>
<action application="set" data="effective_caller_id_number=38515790637"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:372062|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00926|INC:1|INITIALBLOCK:1|TRUNK:18|PROVIDER:16"/>
<action application="set" data="trunk_id=18"/>
<action application="set" data="provider_id=16"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=18"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=385914185113"/>
<action application="export" data="presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||IT1 // ^3859.* // Croatia-Mobile // 0.00926 // trunk_id=18|||STD|||148.251.195.149"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IT1/385914185113"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/38618282990@148.251.195.149 parsing [default->385914185113] continue=false
Dialplan: sofia/default/38618282990@148.251.195.149 Regex (PASS) [385914185113] destination_number(385914185113) =~ /385914185113/ break=on-false
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_destination_number=385914185113)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(callstart=2022-07-04 09:19:03)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(account_id=37)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(parent_id=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(entity_id=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_processed=internal)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_direction=outbound)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(accountname=OIM Croatia)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(origination_rates=ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_name=38515790637)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_number=38515790637)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38515790637)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38515790637)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(calltype=STANDARD)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(termination_rates=ID:339651|CODE:^38591.*|DESTINATION:Croatia - Mobile ViP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(trunk_id=10)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(provider_id=9)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(rate_flag=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(force_trunk_flag=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=trunk_id=10)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(intcall=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_id=385914185113)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149)
Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/385914185113)
Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/385914185113)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38515790637)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38515790637)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(calltype=STANDARD)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(termination_rates=ID:372062|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00926|INC:1|INITIALBLOCK:1|TRUNK:18|PROVIDER:16)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(trunk_id=18)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(provider_id=16)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(rate_flag=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(force_trunk_flag=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=trunk_id=18)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(intcall=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_id=385914185113)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||IT1 // ^3859.* // Croatia-Mobile // 0.00926 // trunk_id=18|||STD|||148.251.195.149)
Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IT1/385914185113)
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:287 (sofia/default/38618282990@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING going to sleep
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_EXECUTE (Cur 65 Tot 2864646)
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:651 (sofia/default/38618282990@148.251.195.149) State EXECUTE
2022-07-04 11:19:04.513229 [DEBUG] mod_sofia.c:209 sofia/default/38618282990@148.251.195.149 SOFIA EXECUTE
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:329 sofia/default/38618282990@148.251.195.149 Standard EXECUTE
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_destination_number=385914185113)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_destination_number]=[385914185113]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(callstart=2022-07-04 09:19:03)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [callstart]=[2022-07-04 09:19:03]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(hangup_after_bridge=true)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(continue_on_fail=TRUE)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(account_id=37)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [account_id]=[37]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(parent_id=0)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(entity_id=0)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_processed=internal)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_direction=outbound)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(accountname=OIM Croatia)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [accountname]=[OIM Croatia]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(origination_rates=ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [origination_rates]=[ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_name=38515790637)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_name]=[38515790637]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_number=38515790637)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_number]=[38515790637]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_name=38515790637)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_name]=[38515790637]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_number=38515790637)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_number]=[38515790637]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(calltype=STANDARD)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(termination_rates=ID:339651|CODE:^38591.*|DESTINATION:Croatia - Mobile ViP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [termination_rates]=[ID:339651|CODE:^38591.*|DESTINATION:Croatia - Mobile ViP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(trunk_id=10)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [trunk_id]=[10]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(provider_id=9)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [provider_id]=[9]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(rate_flag=0)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(force_trunk_flag=0)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=trunk_id=10)
2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=10]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(intcall=0)
2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [intcall]=[0]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_id=385914185113)
2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[385914185113]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149)
2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/385914185113)
2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149] to event
2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_id]=[385914185113] to event
2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149] to event
2022-07-04 11:19:04.513229 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-07-04 11:19:04.513229 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-07-04 11:19:04.513229 [NOTICE] switch_channel.c:1118 New Channel sofia/default/385914185113 [96610160-0077-4306-9f2d-3aa154544593]
2022-07-04 11:19:04.513229 [DEBUG] mod_sofia.c:5102 (sofia/default/385914185113) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:04.513229 [DEBUG] switch_ivr_originate.c:3142 sofia/default/385914185113 Setting leg timeout to 45
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385914185113) Running State Change CS_INIT (Cur 66 Tot 2864647)
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:628 (sofia/default/385914185113) State INIT
2022-07-04 11:19:04.513229 [DEBUG] mod_sofia.c:93 sofia/default/385914185113 SOFIA INIT
2022-07-04 11:19:04.513229 [INFO] sofia_glue.c:1621 sofia/default/385914185113 sending invite call-id: (null)
2022-07-04 11:19:04.513229 [DEBUG] sofia_glue.c:1624 sofia/default/385914185113 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656904538 1656904539 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 21806 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:40 sofia/default/385914185113 Standard INIT
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:48 (sofia/default/385914185113) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:628 (sofia/default/385914185113) State INIT going to sleep
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385914185113) Running State Change CS_ROUTING (Cur 66 Tot 2864647)
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:644 (sofia/default/385914185113) State ROUTING
2022-07-04 11:19:04.513229 [DEBUG] mod_sofia.c:154 sofia/default/385914185113 SOFIA ROUTING
2022-07-04 11:19:04.513229 [DEBUG] switch_ivr_originate.c:67 (sofia/default/385914185113) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:644 (sofia/default/385914185113) State ROUTING going to sleep
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385914185113) Running State Change CS_CONSUME_MEDIA (Cur 66 Tot 2864647)
2022-07-04 11:19:04.513229 [DEBUG] sofia.c:7406 Channel sofia/default/385914185113 entering state [calling][0]
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:663 (sofia/default/385914185113) State CONSUME_MEDIA
2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:663 (sofia/default/385914185113) State CONSUME_MEDIA going to sleep
2022-07-04 11:19:04.593242 [NOTICE] sofia.c:1090 Hangup sofia/default/905414323481 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-07-04 11:19:04.593242 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/905414323481]
2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:654 (sofia/default/905414323481) State EXCHANGE_MEDIA going to sleep
2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414323481) Running State Change CS_HANGUP (Cur 66 Tot 2864647)
2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:848 (sofia/default/905414323481) Callstate Change ACTIVE -> HANGUP
2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/905414323481) State HANGUP
2022-07-04 11:19:04.593242 [DEBUG] mod_sofia.c:453 Channel sofia/default/905414323481 hanging up, cause: NORMAL_CLEARING
2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:60 sofia/default/905414323481 Standard HANGUP, cause: NORMAL_CLEARING
2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/905414323481) State HANGUP going to sleep
2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:620 (sofia/default/905414323481) State Change CS_HANGUP -> CS_REPORTING
2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414323481) Running State Change CS_REPORTING (Cur 66 Tot 2864647)
2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:936 (sofia/default/905414323481) State REPORTING
2022-07-04 11:19:04.593242 [INFO] mod_json_cdr.c:271 Process [415e2bf3-ab55-4e85-bba7-2fcb6fa95d0b.cdr.json]
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:174 sofia/default/905414323481 Standard REPORTING, cause: NORMAL_CLEARING
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:936 (sofia/default/905414323481) State REPORTING going to sleep
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:611 (sofia/default/905414323481) State Change CS_REPORTING -> CS_DESTROY
2022-07-04 11:19:04.613233 [DEBUG] switch_core_session.c:1736 Session 2864634 (sofia/default/905414323481) Locked, Waiting on external entities
2022-07-04 11:19:04.613233 [DEBUG] switch_ivr_bridge.c:820 sofia/default/905414323481 ending bridge by request from write function
2022-07-04 11:19:04.613233 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/902128240166@148.251.195.149]
2022-07-04 11:19:04.613233 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/902128240166@148.251.195.149 [CS_EXECUTE] [NORMAL_CLEARING]
2022-07-04 11:19:04.613233 [DEBUG] mod_hash.c:296 Usage for CPS_6936562454_CPS_user_6936562454 is now 4
2022-07-04 11:19:04.613233 [DEBUG] mod_hash.c:296 Usage for CPS_11_CPS_trunk_11 is now 3
2022-07-04 11:19:04.613233 [NOTICE] switch_core_session.c:1754 Session 2864634 (sofia/default/905414323481) Ended
2022-07-04 11:19:04.613233 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/905414323481 [CS_DESTROY]
2022-07-04 11:19:04.613233 [DEBUG] switch_core_session.c:2914 sofia/default/902128240166@148.251.195.149 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:651 (sofia/default/902128240166@148.251.195.149) State EXECUTE going to sleep
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_HANGUP (Cur 65 Tot 2864647)
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:739 (sofia/default/905414323481) Running State Change CS_DESTROY (Cur 65 Tot 2864647)
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:749 (sofia/default/905414323481) State DESTROY
2022-07-04 11:19:04.613233 [DEBUG] mod_sofia.c:364 sofia/default/905414323481 SOFIA DESTROY
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:848 (sofia/default/902128240166@148.251.195.149) Callstate Change ACTIVE -> HANGUP
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:181 sofia/default/905414323481 Standard DESTROY
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:749 (sofia/default/905414323481) State DESTROY going to sleep
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:850 (sofia/default/902128240166@148.251.195.149) State HANGUP
2022-07-04 11:19:04.613233 [DEBUG] mod_sofia.c:447 sofia/default/902128240166@148.251.195.149 Overriding SIP cause 480 with 200 from the other leg
2022-07-04 11:19:04.613233 [DEBUG] mod_sofia.c:453 Channel sofia/default/902128240166@148.251.195.149 hanging up, cause: NORMAL_CLEARING
2022-07-04 11:19:04.613233 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/902128240166@148.251.195.149
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:60 sofia/default/902128240166@148.251.195.149 Standard HANGUP, cause: NORMAL_CLEARING
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:850 (sofia/default/902128240166@148.251.195.149) State HANGUP going to sleep
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:620 (sofia/default/902128240166@148.251.195.149) State Change CS_HANGUP -> CS_REPORTING
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_REPORTING (Cur 65 Tot 2864647)
2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:936 (sofia/default/902128240166@148.251.195.149) State REPORTING
2022-07-04 11:19:04.613233 [INFO] mod_json_cdr.c:271 Process [027f3fa1-9c1e-4cb2-9385-5fe09069ca1f.cdr.json]
2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:174 sofia/default/902128240166@148.251.195.149 Standard REPORTING, cause: NORMAL_CLEARING
2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:936 (sofia/default/902128240166@148.251.195.149) State REPORTING going to sleep
2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:611 (sofia/default/902128240166@148.251.195.149) State Change CS_REPORTING -> CS_DESTROY
2022-07-04 11:19:04.693233 [DEBUG] switch_core_session.c:1736 Session 2864633 (sofia/default/902128240166@148.251.195.149) Locked, Waiting on external entities
2022-07-04 11:19:04.693233 [NOTICE] switch_core_session.c:1754 Session 2864633 (sofia/default/902128240166@148.251.195.149) Ended
2022-07-04 11:19:04.693233 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/902128240166@148.251.195.149 [CS_DESTROY]
2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:739 (sofia/default/902128240166@148.251.195.149) Running State Change CS_DESTROY (Cur 64 Tot 2864647)
2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:749 (sofia/default/902128240166@148.251.195.149) State DESTROY
2022-07-04 11:19:04.693233 [DEBUG] mod_sofia.c:364 sofia/default/902128240166@148.251.195.149 SOFIA DESTROY
2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:181 sofia/default/902128240166@148.251.195.149 Standard DESTROY
2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:749 (sofia/default/902128240166@148.251.195.149) State DESTROY going to sleep
2022-07-04 11:19:04.773229 [DEBUG] switch_scheduler.c:147 Deleting task 960250 switch_ivr_schedule_hangup (415e2bf3-ab55-4e85-bba7-2fcb6fa95d0b)
2022-07-04 11:19:05.173231 [NOTICE] switch_channel.c:1118 New Channel sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [e1fe24be-73c9-436d-bd2c-4ab18904feb3]
2022-07-04 11:19:05.173231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Running State Change CS_NEW (Cur 65 Tot 2864648)
2022-07-04 11:19:05.173231 [INFO] sofia.c:10362 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs receiving invite from 82.214.92.8:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: N9vIEQLcVh5lelqmLp7a3Q..
2022-07-04 11:19:05.173231 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 82.214.92.8:0.
2022-07-04 11:19:05.173231 [WARNING] sofia_reg.c:1795 SIP auth challenge (INVITE) on sofia profile 'default' for [00447450020004@globalbook17.tdsltd.rs] from ip 82.214.92.8
2022-07-04 11:19:05.173231 [DEBUG] switch_core_state_machine.c:604 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State NEW
2022-07-04 11:19:05.173231 [DEBUG] sofia.c:2447 detaching session e1fe24be-73c9-436d-bd2c-4ab18904feb3
2022-07-04 11:19:05.193243 [DEBUG] sofia.c:2562 Re-attaching to session e1fe24be-73c9-436d-bd2c-4ab18904feb3
2022-07-04 11:19:05.193243 [INFO] sofia.c:10362 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs receiving invite from 82.214.92.8:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: N9vIEQLcVh5lelqmLp7a3Q..
2022-07-04 11:19:05.193243 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 82.214.92.8:0.
2022-07-04 11:19:05.213231 [DEBUG] sofia.c:7406 Channel sofia/default/globalbookasttp5@globalbook17.tdsltd.rs entering state [received][100]
2022-07-04 11:19:05.213231 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=- 1656926343 1 IN IP4 82.214.92.8
s=ps
c=IN IP4 82.214.92.8
t=0 0
m=audio 64720 RTP/AVP 18 8 0 105 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:105 opus/48000/2
a=fmtp:105 useinbandfec=1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=mid:audio
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:105:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:105:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/globalbookasttp5@globalbook17.tdsltd.rs PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:05.213231 [DEBUG] switch_core_codec.c:111 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Original read codec set to PCMA:8
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5918 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:05.213231 [DEBUG] sofia.c:7840 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Running State Change CS_INIT (Cur 65 Tot 2864648)
2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State INIT
2022-07-04 11:19:05.213231 [DEBUG] mod_sofia.c:93 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs SOFIA INIT
2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:40 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Standard INIT
2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:48 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State INIT going to sleep
2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Running State Change CS_ROUTING (Cur 65 Tot 2864648)
2022-07-04 11:19:05.213231 [DEBUG] switch_channel.c:2332 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Callstate Change DOWN -> RINGING
2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State ROUTING
2022-07-04 11:19:05.213231 [DEBUG] mod_sofia.c:154 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs SOFIA ROUTING
2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:236 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Standard ROUTING
2022-07-04 11:19:05.213231 [INFO] mod_dialplan_xml.c:637 Processing Kosta Stojanović <globalbookasttp5>->00447450020004 in context default
2022-07-04 11:19:05.213231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-07-04 11:19:05.213231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
FreeSWITCH-Hostname: ASTPP5
FreeSWITCH-Switchname: ASTPP5
FreeSWITCH-IPv4: 82.214.92.3
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-07-04%2011%3A19%3A05
Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A05%20GMT
Event-Date-Timestamp: 1656926345213231
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 150867081
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/globalbookasttp5%40globalbook17.tdsltd.rs
Unique-ID: e1fe24be-73c9-436d-bd2c-4ab18904feb3
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: globalbookasttp5%40globalbook17.tdsltd.rs
Channel-Call-UUID: e1fe24be-73c9-436d-bd2c-4ab18904feb3
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: globalbookasttp5
Caller-Dialplan: XML
Caller-Caller-ID-Name: Kosta%20Stojanovi%C4%87
Caller-Caller-ID-Number: globalbookasttp5
Caller-Orig-Caller-ID-Name: Kosta%20Stojanovi%C4%87
Caller-Orig-Caller-ID-Number: globalbookasttp5
Caller-Network-Addr: 82.214.92.8
Caller-ANI: globalbookasttp5
Caller-Destination-Number: 00447450020004
Caller-Unique-ID: e1fe24be-73c9-436d-bd2c-4ab18904feb3
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/globalbookasttp5%40globalbook17.tdsltd.rs
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1656926345213231
Caller-Channel-Created-Time: 1656926345213231
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: e1fe24be-73c9-436d-bd2c-4ab18904feb3
variable_session_id: 2864648
variable_sip_from_params: transport%3Dudp
variable_sip_from_user: globalbookasttp5
variable_sip_from_uri: globalbookasttp5%40globalbook17.tdsltd.rs
variable_sip_from_host: globalbook17.tdsltd.rs
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/globalbookasttp5%40globalbook17.tdsltd.rs
variable_sip_call_id: N9vIEQLcVh5lelqmLp7a3Q..
variable_sip_local_network_addr: 82.214.92.3
variable_sip_network_ip: 82.214.92.8
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1656926345193243
variable_sip_received_ip: 82.214.92.8
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_Event-Name: REQUEST_PARAMS
variable_Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
variable_FreeSWITCH-Hostname: ASTPP5
variable_FreeSWITCH-Switchname: ASTPP5
variable_FreeSWITCH-IPv4: 82.214.92.3
variable_FreeSWITCH-IPv6: %3A%3A1
variable_Event-Date-Local: 2022-07-04%2011%3A19%3A05
variable_Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A05%20GMT
variable_Event-Date-Timestamp: 1656926345193243
variable_Event-Calling-File: sofia.c
variable_Event-Calling-Function: sofia_handle_sip_i_invite
variable_Event-Calling-Line-Number: 10624
variable_Event-Sequence: 150867072
variable_sip_number_alias: globalbookasttp5
variable_sip_auth_username: globalbookasttp5
variable_sip_auth_realm: globalbook17.tdsltd.rs
variable_number_alias: globalbookasttp5
variable_requested_user_name: globalbookasttp5
variable_requested_domain_name: globalbook17.tdsltd.rs
variable_effective_caller_id_number: 4986519042119
variable_sipcall: true
variable_sip_user: globalbookasttp5
variable_accountcode: 1794047368
variable_user_name: globalbookasttp5
variable_domain_name: globalbook17.tdsltd.rs
variable_sip_from_user_stripped: globalbookasttp5
variable_sip_from_tag: b78b5349
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/UDP%2082.214.92.8%3A5060%3Bbranch%3Dz9hG4bK-524287-1---11421a16ebd13a6a%3Brport%3D5060
variable_sip_from_display: Kosta%20Stojanovi%C4%87
variable_sip_full_from: %22Kosta%20Stojanovi%C4%87%22%20%3Csip%3Aglobalbookasttp5%40globalbook17.tdsltd.rs%3Btransport%3Dudp%3E%3Btag%3Db78b5349
variable_sip_full_to: %3Csip%3A00447450020004%40globalbook17.tdsltd.rs%3E
variable_sip_allow: REGISTER,%20INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20NOTIFY,%20SUBSCRIBE,%20UPDATE,%20INFO,%20MESSAGE,%20PUBLISH
variable_sip_req_user: 00447450020004
variable_sip_req_uri: 00447450020004%40globalbook17.tdsltd.rs
variable_sip_req_host: globalbook17.tdsltd.rs
variable_sip_to_user: 00447450020004
variable_sip_to_uri: 00447450020004%40globalbook17.tdsltd.rs
variable_sip_to_host: globalbook17.tdsltd.rs
variable_sip_contact_user: globalbookasttp5
variable_sip_contact_port: 5060
variable_sip_contact_uri: globalbookasttp5%4082.214.92.8%3A5060
variable_sip_contact_host: 82.214.92.8
variable_sip_user_agent: SkyTel%20UC%20-%20Call%20Manager%2012.6.3.76
variable_sip_accept_language: en
variable_sip_accept_language_0_value: en
variable_sip_accept_language_count: 1
variable_sip_via_host: 82.214.92.8
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 19
variable_presence_id: globalbookasttp5%40globalbook17.tdsltd.rs
variable_sip_h_X-Trunk-Name: Global%20Booking%20v5_1794047368
variable_sip_h_X-CID: jERvosKIxLJXpMb993jYRw..
variable_sip_h_X-Session-Id: 596268733438103552
variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%201656926343%201%20IN%20IP4%2082.214.92.8%0D%0As%3Dps%0D%0Ac%3DIN%20IP4%2082.214.92.8%0D%0At%3D0%200%0D%0Am%3Daudio%2064720%20RTP/AVP%2018%208%200%20105%20101%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dyes%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A105%20opus/48000/2%0D%0Aa%3Dfmtp%3A105%20useinbandfec%3D1%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dmid%3Aaudio%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: 82.214.92.8
variable_remote_media_port: 64720
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: e1fe24be-73c9-436d-bd2c-4ab18904feb3
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: globalbookasttp5
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: Kosta%20Stojanovi%C4%87
Hunt-Caller-ID-Number: globalbookasttp5
Hunt-Orig-Caller-ID-Name: Kosta%20Stojanovi%C4%87
Hunt-Orig-Caller-ID-Number: globalbookasttp5
Hunt-Network-Addr: 82.214.92.8
Hunt-ANI: globalbookasttp5
Hunt-Destination-Number: 00447450020004
Hunt-Unique-ID: e1fe24be-73c9-436d-bd2c-4ab18904feb3
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/globalbookasttp5%40globalbook17.tdsltd.rs
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1656926345213231
Hunt-Channel-Created-Time: 1656926345213231
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
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 00447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '00447450020004' limit 1
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '00447450020004' AND status=0 limit 1
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '00447450020004' and status=0 LIMIT 1
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : / 4986519042119
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00447450020004" LIMIT 1
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00447450020004" AND domains.domain="globalbook17.tdsltd.rs" limit 1
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1794047368]
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1794047368" AND deleted = 0 limit 1
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^00447450020004.*' OR blocked_patterns = '^0044745002000.*' OR blocked_patterns = '^004474500200.*' OR blocked_patterns = '^00447450020.*' OR blocked_patterns = '^0044745002.*' OR blocked_patterns = '^004474500.*' OR blocked_patterns = '^00447450.*' OR blocked_patterns = '^0044745.*' OR blocked_patterns = '^004474.*' OR blocked_patterns = '^00447.*' OR blocked_patterns = '^0044.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 33 limit 1
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00447450020004" AND (accountid = 0 OR status = 1) LIMIT 1
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 8
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 8 AND status=0 limit 1
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/,+/,0/381".....00447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 00447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/,+/,0/381".....447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/,+/,0/381".....447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#442037693004DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....11111111#442037693004DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#442037693004DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#442037693004DBCLI447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....11111111#442037693004DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#442037693004DBCLI447450020004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#442037693004
2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Ash............ 4986519042119
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^447450020004.*' OR patterns = '^44745002000.*' OR patterns = '^4474500200.*' OR patterns = '^447450020.*' OR patterns = '^44745002.*' OR patterns = '^4474500.*' OR patterns = '^447450.*' OR patterns = '^44745.*' OR patterns = '^4474.*' OR patterns = '^447.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 33 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-07-04 11:19:05.233233 [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 ="447450020004" AND A.accountid = '33' limit 1
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 447450020004
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447450020004" LIMIT 1
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="447450020004" AND domains.domain="globalbook17.tdsltd.rs" limit 1
2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '447450020004' OR number = '44745002000' OR number = '4474500200' OR number = '447450020' OR number = '44745002' OR number = '4474500' OR number = '447450' OR number = '44745' OR number = '4474' OR number = '447' OR number = '44' OR number = '4' OR number ='--') OR (number = '447450020004*' OR number = '44745002000*' OR number = '4474500200*' OR number = '447450020*' OR number = '44745002*' OR number = '4474500*' OR number = '447450*' OR number = '44745*' OR number = '4474*' OR number = '447*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '4986519042119' OR number = '498651904211' OR number = '49865190421' OR number = '4986519042' OR number = '498651904' OR number = '49865190' OR number = '4986519' OR number = '498651' OR number = '49865' OR number = '4986' OR number = '498' OR number = '49' OR number = '4' OR number ='--') OR (number = '4986519042119*' OR number = '498651904211*' OR number = '49865190421*' OR number = '4986519042*' OR number = '498651904*' OR number = '49865190*' OR number = '4986519*' OR number = '498651*' OR number = '49865*' OR number = '4986*' OR number = '498*' OR number = '49*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '447450020004' OR routing_prefix = '44745002000' OR routing_prefix = '4474500200' OR routing_prefix = '447450020' OR routing_prefix = '44745002' OR routing_prefix = '4474500' OR routing_prefix = '447450' OR routing_prefix = '44745' OR routing_prefix = '4474' OR routing_prefix = '447' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 33
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1794047368
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 551.132
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^447450020004.*' OR pattern = '^44745002000.*' OR pattern = '^4474500200.*' OR pattern = '^447450020.*' OR pattern = '^44745002.*' OR pattern = '^4474500.*' OR pattern = '^447450.*' OR pattern = '^44745.*' OR pattern = '^4474.*' OR pattern = '^447.*' OR pattern = '^44.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=33) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3348
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.05000
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : United Kingdom-Mobile
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 200
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 33
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your551.132 balance Accountid 33 !!!
2022-07-04 11:19:05.253233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 3348
2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^447450020004.*' OR pattern = '^44745002000.*' OR pattern = '^4474500200.*' OR pattern = '^447450020.*' OR pattern = '^44745002.*' OR pattern = '^4474500.*' OR pattern = '^447450.*' OR pattern = '^44745.*' OR pattern = '^4474.*' OR pattern = '^447.*' OR pattern = '^44.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (5,6,8,9,10,13,16,18) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 375176
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^447450.*
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : United Kingdom-3 Mobile
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^447450.*
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 6
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : DIDWW-ORIGIN
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 6
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : DID-ORIGIN
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-07-04 11:19:05.253233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] DIDWW-INT: 0.36103 > 0.05000, skipping for loss less routing
2022-07-04 11:19:05.253233 [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 = 33 AND status=0 LIMIT 1
2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-07-04 11:19:05.273231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 11111111#442037693004
2022-07-04 11:19:05.273231 [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 = 6) AND status=0 limit 1
2022-07-04 11:19:05.273231 [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 = 6) AND status=0 limit 1
2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 11111111#442037693004
2022-07-04 11:19:05.273231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00447450020004" LIMIT 1
2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 442037693004
2022-07-04 11:19:05.273231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="447450020004">
<condition field="destination_number" expression="00447450020004">
<action application="set" data="effective_destination_number=447450020004"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-07-04 09:19:04"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=33"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates=ID:3348|CODE:^447.*|DESTINATION:United Kingdom-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:33"/>
<action application="set" data="original_caller_id_number=442037693004"/>
<action application="limit" data="db 1794047368 user_1794047368 5 "/>
<action application="limit" data="hash CPS_1794047368 CPS_user_1794047368 2/1 "/>
<action application="set" data="effective_caller_id_number=442037693004"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:375176|CODE:^447450.*|DESTINATION:United Kingdom-3 Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01075|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6"/>
<action application="set" data="trunk_id=6"/>
<action application="set" data="provider_id=6"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=3348"/>
<action application="export" data="presence_data=trunk_id=6"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=447450020004"/>
<action application="export" data="presence_data=x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8"/>
<action application="limit" data="hash CPS_6 CPS_trunk_6 10/1 "/>
<action application="limit" data="db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 "/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/447450020004"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs parsing [default->447450020004] continue=false
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Regex (PASS) [447450020004] destination_number(00447450020004) =~ /00447450020004/ break=on-false
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(effective_destination_number=447450020004)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(callstart=2022-07-04 09:19:04)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(hangup_after_bridge=true)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(account_id=33)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(parent_id=0)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(entity_id=0)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(call_processed=internal)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(call_direction=outbound)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(accountname=default)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(origination_rates=ID:3348|CODE:^447.*|DESTINATION:United Kingdom-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:33)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(original_caller_id_number=442037693004)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action limit(db 1794047368 user_1794047368 5 )
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action limit(hash CPS_1794047368 CPS_user_1794047368 2/1 )
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(effective_caller_id_number=442037693004)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(calltype=STANDARD)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(termination_rates=ID:375176|CODE:^447450.*|DESTINATION:United Kingdom-3 Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01075|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(trunk_id=6)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(provider_id=6)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(rate_flag=0)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(force_trunk_flag=3348)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action export(presence_data=trunk_id=6)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(intcall=0)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action export(presence_id=447450020004)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action export(presence_data=x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8)
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action limit(hash CPS_6 CPS_trunk_6 10/1 )
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action limit(db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 )
Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/447450020004)
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:287 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State Change CS_ROUTING -> CS_EXECUTE
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State ROUTING going to sleep
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Running State Change CS_EXECUTE (Cur 65 Tot 2864648)
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:651 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State EXECUTE
2022-07-04 11:19:05.273231 [DEBUG] mod_sofia.c:209 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs SOFIA EXECUTE
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:329 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Standard EXECUTE
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(effective_destination_number=447450020004)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [effective_destination_number]=[447450020004]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(bridge_pre_execute_bleg_app=sched_hangup)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(callstart=2022-07-04 09:19:04)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [callstart]=[2022-07-04 09:19:04]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(hangup_after_bridge=true)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(continue_on_fail=TRUE)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(account_id=33)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [account_id]=[33]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(parent_id=0)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [parent_id]=[0]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(entity_id=0)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [entity_id]=[0]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(call_processed=internal)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(call_direction=outbound)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(accountname=default)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [accountname]=[default]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(origination_rates=ID:3348|CODE:^447.*|DESTINATION:United Kingdom-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:33)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [origination_rates]=[ID:3348|CODE:^447.*|DESTINATION:United Kingdom-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:33]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(original_caller_id_number=442037693004)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [original_caller_id_number]=[442037693004]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs limit(db 1794047368 user_1794047368 5 )
2022-07-04 11:19:05.273231 [DEBUG] switch_limit.c:124 incr called: 1794047368_user_1794047368 max:5, interval:0
2022-07-04 11:19:05.273231 [DEBUG] mod_db.c:194 Usage for 1794047368_user_1794047368 is now 1/5
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs limit(hash CPS_1794047368 CPS_user_1794047368 2/1 )
2022-07-04 11:19:05.273231 [DEBUG] switch_limit.c:124 incr called: CPS_1794047368_CPS_user_1794047368 max:2, interval:1
2022-07-04 11:19:05.273231 [DEBUG] mod_hash.c:198 Usage for CPS_1794047368_CPS_user_1794047368 is now 1/2 for the last 1 seconds
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(effective_caller_id_number=442037693004)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [effective_caller_id_number]=[442037693004]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(calltype=STANDARD)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(termination_rates=ID:375176|CODE:^447450.*|DESTINATION:United Kingdom-3 Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01075|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [termination_rates]=[ID:375176|CODE:^447450.*|DESTINATION:United Kingdom-3 Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01075|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(trunk_id=6)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [trunk_id]=[6]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(provider_id=6)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [provider_id]=[6]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(rate_flag=0)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(force_trunk_flag=3348)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [force_trunk_flag]=[3348]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs export(presence_data=trunk_id=6)
2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=6]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(intcall=0)
2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [intcall]=[0]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs export(presence_id=447450020004)
2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[447450020004]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs export(presence_data=x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8)
2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8]
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs limit(hash CPS_6 CPS_trunk_6 10/1 )
2022-07-04 11:19:05.273231 [DEBUG] switch_limit.c:124 incr called: CPS_6_CPS_trunk_6 max:10, interval:1
2022-07-04 11:19:05.273231 [DEBUG] mod_hash.c:198 Usage for CPS_6_CPS_trunk_6 is now 1/10 for the last 1 seconds
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs limit(db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 )
2022-07-04 11:19:05.273231 [DEBUG] switch_limit.c:124 incr called: DIDWW-ORIGIN_gw_DIDWW-ORIGIN max:20, interval:0
2022-07-04 11:19:05.273231 [DEBUG] mod_db.c:194 Usage for DIDWW-ORIGIN_gw_DIDWW-ORIGIN is now 2/20
EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/447450020004)
2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1264 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8] to event
2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1264 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs EXPORTING[export_vars] [presence_id]=[447450020004] to event
2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1264 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8] to event
2022-07-04 11:19:05.273231 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-07-04 11:19:05.273231 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-07-04 11:19:05.273231 [NOTICE] switch_channel.c:1118 New Channel sofia/default/447450020004 [8a7cbac7-a07d-418b-8368-8bcbde3761da]
2022-07-04 11:19:05.273231 [DEBUG] mod_sofia.c:5102 (sofia/default/447450020004) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:05.273231 [DEBUG] switch_ivr_originate.c:3142 sofia/default/447450020004 Setting leg timeout to 45
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447450020004) Running State Change CS_INIT (Cur 66 Tot 2864649)
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447450020004) State INIT
2022-07-04 11:19:05.273231 [DEBUG] mod_sofia.c:93 sofia/default/447450020004 SOFIA INIT
2022-07-04 11:19:05.273231 [INFO] sofia_glue.c:1621 sofia/default/447450020004 sending invite call-id: (null)
2022-07-04 11:19:05.273231 [DEBUG] sofia_glue.c:1624 sofia/default/447450020004 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656901523 1656901524 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 24822 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:40 sofia/default/447450020004 Standard INIT
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:48 (sofia/default/447450020004) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447450020004) State INIT going to sleep
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447450020004) Running State Change CS_ROUTING (Cur 66 Tot 2864649)
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447450020004) State ROUTING
2022-07-04 11:19:05.273231 [DEBUG] mod_sofia.c:154 sofia/default/447450020004 SOFIA ROUTING
2022-07-04 11:19:05.273231 [DEBUG] switch_ivr_originate.c:67 (sofia/default/447450020004) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447450020004) State ROUTING going to sleep
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447450020004) Running State Change CS_CONSUME_MEDIA (Cur 66 Tot 2864649)
2022-07-04 11:19:05.273231 [DEBUG] sofia.c:7406 Channel sofia/default/447450020004 entering state [calling][0]
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:663 (sofia/default/447450020004) State CONSUME_MEDIA
2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:663 (sofia/default/447450020004) State CONSUME_MEDIA going to sleep
2022-07-04 11:19:05.313240 [DEBUG] sofia.c:7406 Channel sofia/default/447450020004 entering state [calling][0]
2022-07-04 11:19:05.593232 [DEBUG] sofia.c:7406 Channel sofia/default/385914185113 entering state [proceeding][180]
2022-07-04 11:19:05.593232 [NOTICE] sofia.c:7517 Ring-Ready sofia/default/385914185113!
2022-07-04 11:19:05.593232 [DEBUG] switch_channel.c:3437 (sofia/default/385914185113) Callstate Change DOWN -> RINGING
2022-07-04 11:19:05.593232 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/38618282990@148.251.195.149!
2022-07-04 11:19:05.593232 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [early][180]
2022-07-04 11:19:05.593232 [NOTICE] switch_ivr_originate.c:564 Ring Ready sofia/default/38618282990@148.251.195.149!
2022-07-04 11:19:05.933232 [DEBUG] sofia.c:7406 Channel sofia/default/385914185113 entering state [proceeding][183]
2022-07-04 11:19:05.933232 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=- 1656904538 1656904541 IN IP4 91.208.225.227
s=Novatel
c=IN IP4 91.208.225.227
t=0 0
m=audio 15460 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
2022-07-04 11:19:05.933232 [NOTICE] sofia.c:7419 Pre-Answer sofia/default/385914185113!
2022-07-04 11:19:05.933232 [DEBUG] switch_channel.c:3565 (sofia/default/385914185113) Callstate Change RINGING -> EARLY
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/385914185113 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:05.933232 [DEBUG] switch_core_codec.c:111 sofia/default/385914185113 Original read codec set to PCMA:8
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5918 sofia/default/385914185113 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/385914185113] 82.214.92.3 port 21806 -> 91.208.225.227 port 15460 codec: 8 ms: 20
2022-07-04 11:19:05.933232 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:8989 sofia/default/385914185113 Set 2833 dtmf send payload to 101
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:8996 sofia/default/385914185113 Set 2833 dtmf receive payload to 101
2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:9019 sofia/default/385914185113 Set rtp dtmf delay to 40
2022-07-04 11:19:05.953227 [INFO] switch_ivr_originate.c:3832 Sending early media
2022-07-04 11:19:05.953227 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38618282990@148.251.195.149] 82.214.92.3 port 20632 -> 95.216.40.232 port 30454 codec: 8 ms: 20
2022-07-04 11:19:05.953227 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2022-07-04 11:19:05.953227 [DEBUG] switch_core_media.c:8989 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf send payload to 101
2022-07-04 11:19:05.953227 [DEBUG] switch_core_media.c:8996 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf receive payload to 101
2022-07-04 11:19:05.953227 [DEBUG] switch_core_media.c:9019 sofia/default/38618282990@148.251.195.149 Set rtp dtmf delay to 40
2022-07-04 11:19:05.953227 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1656905713 1656905714 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 20632 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:05.953227 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/38618282990@148.251.195.149!
2022-07-04 11:19:05.953227 [DEBUG] switch_channel.c:3565 (sofia/default/38618282990@148.251.195.149) Callstate Change RINGING -> EARLY
2022-07-04 11:19:05.953227 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/385914185113]
2022-07-04 11:19:05.953227 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [early][183]
2022-07-04 11:19:05.953227 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/385914185113) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-07-04 11:19:05.953227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385914185113) Running State Change CS_EXCHANGE_MEDIA (Cur 66 Tot 2864649)
2022-07-04 11:19:05.953227 [DEBUG] switch_core_state_machine.c:654 (sofia/default/385914185113) State EXCHANGE_MEDIA
2022-07-04 11:19:05.953227 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-07-04 11:19:06.113230 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
2022-07-04 11:19:06.133231 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
2022-07-04 11:19:06.133231 [DEBUG] switch_ivr_bridge.c:655 sofia/default/385914185113 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-07-04 11:19:06.153234 [DEBUG] switch_ivr.c:632 sofia/default/385914185113 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/385914185113 sched_hangup(+6000 normal_clearing)
2022-07-04 11:19:06.153234 [DEBUG] switch_scheduler.c:263 Added task 960252 switch_ivr_schedule_hangup (96610160-0077-4306-9f2d-3aa154544593) to run at 1656932346
2022-07-04 11:19:06.493244 [DEBUG] sofia.c:7406 Channel sofia/default/447450020004 entering state [proceeding][183]
2022-07-04 11:19:06.493244 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=didww-y 1656926345 1656926345 IN IP4 46.19.210.21
s=didww-y
t=0 0
m=audio 19654 RTP/AVP 8 0 101
c=IN IP4 46.19.210.21
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=cdsc:1 image udptl t38
a=maxptime:30
a=silenceSupp:off - - - -
a=sqn: 0
2022-07-04 11:19:06.493244 [NOTICE] sofia.c:7419 Pre-Answer sofia/default/447450020004!
2022-07-04 11:19:06.493244 [DEBUG] switch_channel.c:3565 (sofia/default/447450020004) Callstate Change DOWN -> EARLY
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/447450020004 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:06.493244 [DEBUG] switch_core_codec.c:111 sofia/default/447450020004 Original read codec set to PCMA:8
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5918 sofia/default/447450020004 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/447450020004] 82.214.92.3 port 24822 -> 46.19.210.21 port 19654 codec: 8 ms: 20
2022-07-04 11:19:06.493244 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:8989 sofia/default/447450020004 Set 2833 dtmf send payload to 101
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:8996 sofia/default/447450020004 Set 2833 dtmf receive payload to 101
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:9019 sofia/default/447450020004 Set rtp dtmf delay to 40
2022-07-04 11:19:06.493244 [INFO] switch_ivr_originate.c:3832 Sending early media
2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/globalbookasttp5@globalbook17.tdsltd.rs] 82.214.92.3 port 30548 -> 82.214.92.8 port 64720 codec: 8 ms: 20
2022-07-04 11:19:06.493244 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2022-07-04 11:19:06.513249 [DEBUG] switch_core_media.c:8989 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Set 2833 dtmf send payload to 101
2022-07-04 11:19:06.513249 [DEBUG] switch_core_media.c:8996 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Set 2833 dtmf receive payload to 101
2022-07-04 11:19:06.513249 [DEBUG] switch_core_media.c:9019 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Set rtp dtmf delay to 40
2022-07-04 11:19:06.513249 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1656895798 1656895799 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 30548 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:06.513249 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/globalbookasttp5@globalbook17.tdsltd.rs!
2022-07-04 11:19:06.513249 [DEBUG] switch_channel.c:3565 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Callstate Change RINGING -> EARLY
2022-07-04 11:19:06.513249 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/447450020004]
2022-07-04 11:19:06.513249 [DEBUG] sofia.c:7406 Channel sofia/default/globalbookasttp5@globalbook17.tdsltd.rs entering state [early][183]
2022-07-04 11:19:06.513249 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/447450020004) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-07-04 11:19:06.513249 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447450020004) Running State Change CS_EXCHANGE_MEDIA (Cur 66 Tot 2864649)
2022-07-04 11:19:06.513249 [DEBUG] switch_core_state_machine.c:654 (sofia/default/447450020004) State EXCHANGE_MEDIA
2022-07-04 11:19:06.513249 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-07-04 11:19:06.533246 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
2022-07-04 11:19:06.693243 [DEBUG] switch_ivr_bridge.c:655 sofia/default/447450020004 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-07-04 11:19:06.713244 [DEBUG] switch_ivr.c:632 sofia/default/447450020004 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/447450020004 sched_hangup(+6000 normal_clearing)
2022-07-04 11:19:06.713244 [DEBUG] switch_scheduler.c:263 Added task 960253 switch_ivr_schedule_hangup (8a7cbac7-a07d-418b-8368-8bcbde3761da) to run at 1656932346
2022-07-04 11:19:06.913253 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
2022-07-04 11:19:07.013242 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38618282990@148.251.195.149 [b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd]
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_NEW (Cur 67 Tot 2864650)
2022-07-04 11:19:07.013242 [INFO] sofia.c:10362 sofia/default/38618282990@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0eea11820c435c9f761195e7475fa766@148.251.195.149:5060
2022-07-04 11:19:07.013242 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
2022-07-04 11:19:07.013242 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
2022-07-04 11:19:07.013242 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [received][100]
2022-07-04 11:19:07.013242 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=root 187423355 187423355 IN IP4 95.216.40.232
s=SIP.IO
c=IN IP4 95.216.40.232
t=0 0
m=audio 25120 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38618282990@148.251.195.149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:07.013242 [DEBUG] switch_core_codec.c:111 sofia/default/38618282990@148.251.195.149 Original read codec set to PCMA:8
2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5918 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:07.013242 [DEBUG] sofia.c:7840 (sofia/default/38618282990@148.251.195.149) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:604 (sofia/default/38618282990@148.251.195.149) State NEW
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_INIT (Cur 67 Tot 2864650)
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT
2022-07-04 11:19:07.013242 [DEBUG] mod_sofia.c:93 sofia/default/38618282990@148.251.195.149 SOFIA INIT
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:40 sofia/default/38618282990@148.251.195.149 Standard INIT
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38618282990@148.251.195.149) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT going to sleep
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_ROUTING (Cur 67 Tot 2864650)
2022-07-04 11:19:07.013242 [DEBUG] switch_channel.c:2332 (sofia/default/38618282990@148.251.195.149) Callstate Change DOWN -> RINGING
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING
2022-07-04 11:19:07.013242 [DEBUG] mod_sofia.c:154 sofia/default/38618282990@148.251.195.149 SOFIA ROUTING
2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:236 sofia/default/38618282990@148.251.195.149 Standard ROUTING
2022-07-04 11:19:07.013242 [INFO] mod_dialplan_xml.c:637 Processing 38618282990 <38618282990>->118638631890254 in context default
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:07.013242 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
FreeSWITCH-Hostname: ASTPP5
FreeSWITCH-Switchname: ASTPP5
FreeSWITCH-IPv4: 82.214.92.3
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-07-04%2011%3A19%3A07
Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A07%20GMT
Event-Date-Timestamp: 1656926347013242
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 150867190
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/38618282990%40148.251.195.149
Unique-ID: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 38618282990%40148.251.195.149
Channel-Call-UUID: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
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: 38618282990
Caller-Dialplan: XML
Caller-Caller-ID-Name: 38618282990
Caller-Caller-ID-Number: 38618282990
Caller-Orig-Caller-ID-Name: 38618282990
Caller-Orig-Caller-ID-Number: 38618282990
Caller-Network-Addr: 148.251.195.149
Caller-ANI: 38618282990
Caller-Destination-Number: 118638631890254
Caller-Unique-ID: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/38618282990%40148.251.195.149
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1656926347013242
Caller-Channel-Created-Time: 1656926347013242
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: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
variable_session_id: 2864650
variable_sip_from_user: 38618282990
variable_sip_from_uri: 38618282990%40148.251.195.149
variable_sip_from_host: 148.251.195.149
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/38618282990%40148.251.195.149
variable_sip_call_id: 0eea11820c435c9f761195e7475fa766%40148.251.195.149%3A5060
variable_sip_local_network_addr: 82.214.92.3
variable_sip_network_ip: 148.251.195.149
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1656926347013242
variable_sip_received_ip: 148.251.195.149
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 38618282990
variable_sip_from_tag: as3d67e615
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/UDP%20148.251.195.149%3A5060%3Bbranch%3Dz9hG4bK33148682
variable_sip_full_from: %3Csip%3A38618282990%40148.251.195.149%3E%3Btag%3Das3d67e615
variable_sip_full_to: %3Csip%3A118638631890254%40sipp.skytel.rs%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
variable_sip_req_user: 118638631890254
variable_sip_req_port: 5060
variable_sip_req_uri: 118638631890254%40sipp.skytel.rs%3A5060
variable_sip_req_host: sipp.skytel.rs
variable_sip_to_user: 118638631890254
variable_sip_to_port: 5060
variable_sip_to_uri: 118638631890254%40sipp.skytel.rs%3A5060
variable_sip_to_host: sipp.skytel.rs
variable_sip_contact_user: 38618282990
variable_sip_contact_port: 5060
variable_sip_contact_uri: 38618282990%40148.251.195.149%3A5060
variable_sip_contact_host: 148.251.195.149
variable_sip_user_agent: SIP.IO
variable_sip_via_host: 148.251.195.149
variable_sip_via_port: 5060
variable_max_forwards: 70
variable_presence_id: 38618282990%40148.251.195.149
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20187423355%20187423355%20IN%20IP4%2095.216.40.232%0D%0As%3DSIP.IO%0D%0Ac%3DIN%20IP4%2095.216.40.232%0D%0At%3D0%200%0D%0Am%3Daudio%2025120%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%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: 95.216.40.232
variable_remote_media_port: 25120
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: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 38618282990
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 38618282990
Hunt-Caller-ID-Number: 38618282990
Hunt-Orig-Caller-ID-Name: 38618282990
Hunt-Orig-Caller-ID-Number: 38618282990
Hunt-Network-Addr: 148.251.195.149
Hunt-ANI: 38618282990
Hunt-Destination-Number: 118638631890254
Hunt-Unique-ID: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/38618282990%40148.251.195.149
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1656926347013242
Hunt-Channel-Created-Time: 1656926347013242
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
2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 118638631890254
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '118638631890254' limit 1
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '118638631890254' AND status=0 limit 1
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '118638631890254' and status=0 LIMIT 1
2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 38618282990 / 38618282990
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="118638631890254" LIMIT 1
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="118638631890254" AND domains.domain="sipp.skytel.rs" limit 1
2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("148.251.195.149") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "118638631890254" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :1186/*.....118638631890254
2022-07-04 11:19:07.013242 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 118638631890254
2022-07-04 11:19:07.013242 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 38631890254
2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3301514710]
2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3301514710" AND deleted = 0 limit 1
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^38631890254.*' OR blocked_patterns = '^3863189025.*' OR blocked_patterns = '^386318902.*' OR blocked_patterns = '^38631890.*' OR blocked_patterns = '^3863189.*' OR blocked_patterns = '^386318.*' OR blocked_patterns = '^38631.*' OR blocked_patterns = '^3863.*' OR blocked_patterns = '^386.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 41 limit 1
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="38631890254" AND (accountid = 0 OR status = 1) LIMIT 1
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^38631890254.*' OR patterns = '^3863189025.*' OR patterns = '^386318902.*' OR patterns = '^38631890.*' OR patterns = '^3863189.*' OR patterns = '^386318.*' OR patterns = '^38631.*' OR patterns = '^3863.*' OR patterns = '^386.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 41 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-07-04 11:19:07.033255 [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 ="38631890254" AND A.accountid = '41' limit 1
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 38631890254
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="38631890254" LIMIT 1
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="38631890254" AND domains.domain="sipp.skytel.rs" limit 1
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '38631890254' OR number = '3863189025' OR number = '386318902' OR number = '38631890' OR number = '3863189' OR number = '386318' OR number = '38631' OR number = '3863' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38631890254*' OR number = '3863189025*' OR number = '386318902*' OR number = '38631890*' OR number = '3863189*' OR number = '386318*' OR number = '38631*' OR number = '3863*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '38618282990' OR number = '3861828299' OR number = '386182829' OR number = '38618282' OR number = '3861828' OR number = '386182' OR number = '38618' OR number = '3861' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38618282990*' OR number = '3861828299*' OR number = '386182829*' OR number = '38618282*' OR number = '3861828*' OR number = '386182*' OR number = '38618*' OR number = '3861*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38618282990
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38618282990' and status=0
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='41' order by RAND() limit 1
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: 38617775036
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '38631890254' OR routing_prefix = '3863189025' OR routing_prefix = '386318902' OR routing_prefix = '38631890' OR routing_prefix = '3863189' OR routing_prefix = '386318' OR routing_prefix = '38631' OR routing_prefix = '3863' OR routing_prefix = '386' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 41
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3301514710
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4517.84464
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^38631890254.*' OR pattern = '^3863189025.*' OR pattern = '^386318902.*' OR pattern = '^38631890.*' OR pattern = '^3863189.*' OR pattern = '^386318.*' OR pattern = '^38631.*' OR pattern = '^3863.*' OR pattern = '^386.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 11 OR accountid=41) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4308
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.05450
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Slovenia-Telekom Slovenije Mobile
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 169
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 41
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4517.84464 balance Accountid 41 !!!
2022-07-04 11:19:07.033255 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 4308
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=11 ORDER by id asc
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^38631890254.*' OR pattern = '^3863189025.*' OR pattern = '^386318902.*' OR pattern = '^38631890.*' OR pattern = '^3863189.*' OR pattern = '^386318.*' OR pattern = '^38631.*' OR pattern = '^3863.*' OR pattern = '^386.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (5,10) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 366986
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^38631.*
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Slovenia - Mobitel
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^38631.*
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-07-04 11:19:07.033255 [NOTICE] switch_cpp.cpp:1465 [ASTPP] DIDWW-INT: 0.66561 > 0.05450, skipping for loss less routing
2022-07-04 11:19:07.033255 [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 = 41 AND status=0 LIMIT 1
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38617775036
2022-07-04 11:19:07.033255 [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 = 9) AND status=0 limit 1
2022-07-04 11:19:07.053246 [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 = 10) AND status=0 limit 1
2022-07-04 11:19:07.053246 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38617775036
2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38617775036
2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38617775036' and status=0
2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="118638631890254" LIMIT 1
2022-07-04 11:19:07.053246 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38617775036
2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="38631890254">
<condition field="destination_number" expression="118638631890254">
<action application="set" data="effective_destination_number=38631890254"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-07-04 09:19:06"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=41"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=OIM Slovenia"/>
<action application="set" data="origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41"/>
<action application="set" data="original_caller_id_name=38617775036"/>
<action application="set" data="original_caller_id_number=38617775036"/>
<action application="set" data="effective_caller_id_name=38617775036"/>
<action application="set" data="effective_caller_id_number=38617775036"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9"/>
<action application="set" data="trunk_id=10"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=4308"/>
<action application="export" data="presence_data=trunk_id=10"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=38631890254"/>
<action application="export" data="presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631890254"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/38631890254"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/38618282990@148.251.195.149 parsing [default->38631890254] continue=false
Dialplan: sofia/default/38618282990@148.251.195.149 Regex (PASS) [38631890254] destination_number(118638631890254) =~ /118638631890254/ break=on-false
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_destination_number=38631890254)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(callstart=2022-07-04 09:19:06)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(account_id=41)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(parent_id=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(entity_id=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_processed=internal)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_direction=outbound)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(accountname=OIM Slovenia)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_name=38617775036)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_number=38617775036)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38617775036)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38617775036)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(calltype=STANDARD)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(trunk_id=10)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(provider_id=9)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(rate_flag=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(force_trunk_flag=4308)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=trunk_id=10)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(intcall=0)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_id=38631890254)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149)
Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631890254)
Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/38631890254)
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:287 (sofia/default/38618282990@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING going to sleep
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_EXECUTE (Cur 67 Tot 2864650)
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:651 (sofia/default/38618282990@148.251.195.149) State EXECUTE
2022-07-04 11:19:07.053246 [DEBUG] mod_sofia.c:209 sofia/default/38618282990@148.251.195.149 SOFIA EXECUTE
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:329 sofia/default/38618282990@148.251.195.149 Standard EXECUTE
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_destination_number=38631890254)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_destination_number]=[38631890254]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(callstart=2022-07-04 09:19:06)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [callstart]=[2022-07-04 09:19:06]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(hangup_after_bridge=true)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(continue_on_fail=TRUE)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(account_id=41)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [account_id]=[41]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(parent_id=0)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(entity_id=0)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_processed=internal)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_direction=outbound)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(accountname=OIM Slovenia)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [accountname]=[OIM Slovenia]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [origination_rates]=[ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_name=38617775036)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_name]=[38617775036]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_number=38617775036)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_number]=[38617775036]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_name=38617775036)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_name]=[38617775036]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_number=38617775036)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_number]=[38617775036]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(calltype=STANDARD)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [termination_rates]=[ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(trunk_id=10)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [trunk_id]=[10]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(provider_id=9)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [provider_id]=[9]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(rate_flag=0)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(force_trunk_flag=4308)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [force_trunk_flag]=[4308]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=trunk_id=10)
2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=10]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(intcall=0)
2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [intcall]=[0]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_id=38631890254)
2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[38631890254]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149)
2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631890254)
2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149] to event
2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_id]=[38631890254] to event
2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149] to event
2022-07-04 11:19:07.053246 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-07-04 11:19:07.053246 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-07-04 11:19:07.053246 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38631890254 [56b9b871-a70d-4a15-bb06-07cade58e43f]
2022-07-04 11:19:07.053246 [DEBUG] mod_sofia.c:5102 (sofia/default/38631890254) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:07.053246 [DEBUG] switch_ivr_originate.c:3142 sofia/default/38631890254 Setting leg timeout to 45
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631890254) Running State Change CS_INIT (Cur 68 Tot 2864651)
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38631890254) State INIT
2022-07-04 11:19:07.053246 [DEBUG] mod_sofia.c:93 sofia/default/38631890254 SOFIA INIT
2022-07-04 11:19:07.053246 [INFO] sofia_glue.c:1621 sofia/default/38631890254 sending invite call-id: (null)
2022-07-04 11:19:07.053246 [DEBUG] sofia_glue.c:1624 sofia/default/38631890254 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656908831 1656908832 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 17516 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:40 sofia/default/38631890254 Standard INIT
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38631890254) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38631890254) State INIT going to sleep
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631890254) Running State Change CS_ROUTING (Cur 68 Tot 2864651)
2022-07-04 11:19:07.053246 [DEBUG] sofia.c:7406 Channel sofia/default/38631890254 entering state [calling][0]
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38631890254) State ROUTING
2022-07-04 11:19:07.053246 [DEBUG] mod_sofia.c:154 sofia/default/38631890254 SOFIA ROUTING
2022-07-04 11:19:07.053246 [DEBUG] switch_ivr_originate.c:67 (sofia/default/38631890254) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38631890254) State ROUTING going to sleep
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631890254) Running State Change CS_CONSUME_MEDIA (Cur 68 Tot 2864651)
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:663 (sofia/default/38631890254) State CONSUME_MEDIA
2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:663 (sofia/default/38631890254) State CONSUME_MEDIA going to sleep
2022-07-04 11:19:07.173243 [NOTICE] switch_channel.c:1118 New Channel sofia/default/902128240166@148.251.195.149 [fe83c1cb-93c5-4174-a45c-ba676f66f957]
2022-07-04 11:19:07.173243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_NEW (Cur 69 Tot 2864652)
2022-07-04 11:19:07.173243 [INFO] sofia.c:10362 sofia/default/902128240166@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 04f0f516112a5ba63bcee8ef4bfa2d0c@148.251.195.149:5060
2022-07-04 11:19:07.173243 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
2022-07-04 11:19:07.173243 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
2022-07-04 11:19:07.173243 [DEBUG] sofia.c:7406 Channel sofia/default/902128240166@148.251.195.149 entering state [received][100]
2022-07-04 11:19:07.173243 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=root 2092694556 2092694556 IN IP4 95.216.40.232
s=SIP.IO
c=IN IP4 95.216.40.232
t=0 0
m=audio 32186 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/902128240166@148.251.195.149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:07.193244 [DEBUG] switch_core_codec.c:111 sofia/default/902128240166@148.251.195.149 Original read codec set to PCMA:8
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5918 sofia/default/902128240166@148.251.195.149 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:07.193244 [DEBUG] sofia.c:7840 (sofia/default/902128240166@148.251.195.149) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:604 (sofia/default/902128240166@148.251.195.149) State NEW
2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_INIT (Cur 69 Tot 2864652)
2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:628 (sofia/default/902128240166@148.251.195.149) State INIT
2022-07-04 11:19:07.193244 [DEBUG] mod_sofia.c:93 sofia/default/902128240166@148.251.195.149 SOFIA INIT
2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:40 sofia/default/902128240166@148.251.195.149 Standard INIT
2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:48 (sofia/default/902128240166@148.251.195.149) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:628 (sofia/default/902128240166@148.251.195.149) State INIT going to sleep
2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_ROUTING (Cur 69 Tot 2864652)
2022-07-04 11:19:07.193244 [DEBUG] switch_channel.c:2332 (sofia/default/902128240166@148.251.195.149) Callstate Change DOWN -> RINGING
2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/902128240166@148.251.195.149) State ROUTING
2022-07-04 11:19:07.193244 [DEBUG] mod_sofia.c:154 sofia/default/902128240166@148.251.195.149 SOFIA ROUTING
2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:236 sofia/default/902128240166@148.251.195.149 Standard ROUTING
2022-07-04 11:19:07.193244 [INFO] mod_dialplan_xml.c:637 Processing 902128240166 <902128240166>->3526905414358116 in context default
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:07.193244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
FreeSWITCH-Hostname: ASTPP5
FreeSWITCH-Switchname: ASTPP5
FreeSWITCH-IPv4: 82.214.92.3
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-07-04%2011%3A19%3A07
Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A07%20GMT
Event-Date-Timestamp: 1656926347193244
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 150867262
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/902128240166%40148.251.195.149
Unique-ID: fe83c1cb-93c5-4174-a45c-ba676f66f957
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 902128240166%40148.251.195.149
Channel-Call-UUID: fe83c1cb-93c5-4174-a45c-ba676f66f957
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: 902128240166
Caller-Dialplan: XML
Caller-Caller-ID-Name: 902128240166
Caller-Caller-ID-Number: 902128240166
Caller-Orig-Caller-ID-Name: 902128240166
Caller-Orig-Caller-ID-Number: 902128240166
Caller-Network-Addr: 148.251.195.149
Caller-ANI: 902128240166
Caller-Destination-Number: 3526905414358116
Caller-Unique-ID: fe83c1cb-93c5-4174-a45c-ba676f66f957
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/902128240166%40148.251.195.149
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1656926347173243
Caller-Channel-Created-Time: 1656926347173243
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: fe83c1cb-93c5-4174-a45c-ba676f66f957
variable_session_id: 2864652
variable_sip_from_user: 902128240166
variable_sip_from_uri: 902128240166%40148.251.195.149
variable_sip_from_host: 148.251.195.149
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/902128240166%40148.251.195.149
variable_sip_call_id: 04f0f516112a5ba63bcee8ef4bfa2d0c%40148.251.195.149%3A5060
variable_sip_local_network_addr: 82.214.92.3
variable_sip_network_ip: 148.251.195.149
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1656926347173243
variable_sip_received_ip: 148.251.195.149
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 902128240166
variable_sip_from_tag: as67103867
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/UDP%20148.251.195.149%3A5060%3Bbranch%3Dz9hG4bK731ad86a
variable_sip_full_from: %3Csip%3A902128240166%40148.251.195.149%3E%3Btag%3Das67103867
variable_sip_full_to: %3Csip%3A3526905414358116%40sipp.skytel.rs%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
variable_sip_req_user: 3526905414358116
variable_sip_req_port: 5060
variable_sip_req_uri: 3526905414358116%40sipp.skytel.rs%3A5060
variable_sip_req_host: sipp.skytel.rs
variable_sip_to_user: 3526905414358116
variable_sip_to_port: 5060
variable_sip_to_uri: 3526905414358116%40sipp.skytel.rs%3A5060
variable_sip_to_host: sipp.skytel.rs
variable_sip_contact_user: 902128240166
variable_sip_contact_port: 5060
variable_sip_contact_uri: 902128240166%40148.251.195.149%3A5060
variable_sip_contact_host: 148.251.195.149
variable_sip_user_agent: SIP.IO
variable_sip_via_host: 148.251.195.149
variable_sip_via_port: 5060
variable_max_forwards: 70
variable_presence_id: 902128240166%40148.251.195.149
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202092694556%202092694556%20IN%20IP4%2095.216.40.232%0D%0As%3DSIP.IO%0D%0Ac%3DIN%20IP4%2095.216.40.232%0D%0At%3D0%200%0D%0Am%3Daudio%2032186%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%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: 95.216.40.232
variable_remote_media_port: 32186
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: fe83c1cb-93c5-4174-a45c-ba676f66f957
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 902128240166
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 902128240166
Hunt-Caller-ID-Number: 902128240166
Hunt-Orig-Caller-ID-Name: 902128240166
Hunt-Orig-Caller-ID-Number: 902128240166
Hunt-Network-Addr: 148.251.195.149
Hunt-ANI: 902128240166
Hunt-Destination-Number: 3526905414358116
Hunt-Unique-ID: fe83c1cb-93c5-4174-a45c-ba676f66f957
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/902128240166%40148.251.195.149
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1656926347173243
Hunt-Channel-Created-Time: 1656926347173243
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
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 3526905414358116
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '3526905414358116' limit 1
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3526905414358116' AND status=0 limit 1
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '3526905414358116' and status=0 LIMIT 1
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 902128240166 / 902128240166
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3526905414358116" LIMIT 1
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3526905414358116" AND domains.domain="sipp.skytel.rs" limit 1
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("148.251.195.149") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "3526905414358116" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :3526/*.....3526905414358116
2022-07-04 11:19:07.193244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3526905414358116
2022-07-04 11:19:07.193244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 905414358116
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6936562454]
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6936562454" AND deleted = 0 limit 1
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^905414358116.*' OR blocked_patterns = '^90541435811.*' OR blocked_patterns = '^9054143581.*' OR blocked_patterns = '^905414358.*' OR blocked_patterns = '^90541435.*' OR blocked_patterns = '^9054143.*' OR blocked_patterns = '^905414.*' OR blocked_patterns = '^90541.*' OR blocked_patterns = '^9054.*' OR blocked_patterns = '^905.*' OR blocked_patterns = '^90.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 44 limit 1
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="905414358116" AND (accountid = 0 OR status = 1) LIMIT 1
2022-07-04 11:19:07.193244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 25
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 25 AND status=0 limit 1
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^905414358116.*' OR patterns = '^90541435811.*' OR patterns = '^9054143581.*' OR patterns = '^905414358.*' OR patterns = '^90541435.*' OR patterns = '^9054143.*' OR patterns = '^905414.*' OR patterns = '^90541.*' OR patterns = '^9054.*' OR patterns = '^905.*' OR patterns = '^90.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 44 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-07-04 11:19:07.193244 [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 ="905414358116" AND A.accountid = '44' limit 1
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 905414358116
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="905414358116" LIMIT 1
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="905414358116" AND domains.domain="sipp.skytel.rs" limit 1
2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '905414358116' OR number = '90541435811' OR number = '9054143581' OR number = '905414358' OR number = '90541435' OR number = '9054143' OR number = '905414' OR number = '90541' OR number = '9054' OR number = '905' OR number = '90' OR number = '9' OR number ='--') OR (number = '905414358116*' OR number = '90541435811*' OR number = '9054143581*' OR number = '905414358*' OR number = '90541435*' OR number = '9054143*' OR number = '905414*' OR number = '90541*' OR number = '9054*' OR number = '905*' OR number = '90*' OR number = '9*' OR number ='--') OR (number = '902128240166' OR number = '90212824016' OR number = '9021282401' OR number = '902128240' OR number = '90212824' OR number = '9021282' OR number = '902128' OR number = '90212' OR number = '9021' OR number = '902' OR number = '90' OR number = '9' OR number ='--') OR (number = '902128240166*' OR number = '90212824016*' OR number = '9021282401*' OR number = '902128240*' OR number = '90212824*' OR number = '9021282*' OR number = '902128*' OR number = '90212*' OR number = '9021*' OR number = '902*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 4
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from ani_map where number='902128240166' and status=0
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] COUNT :1
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '905414358116' OR routing_prefix = '90541435811' OR routing_prefix = '9054143581' OR routing_prefix = '905414358' OR routing_prefix = '90541435' OR routing_prefix = '9054143' OR routing_prefix = '905414' OR routing_prefix = '90541' OR routing_prefix = '9054' OR routing_prefix = '905' OR routing_prefix = '90' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 44
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6936562454
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4160.333
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 12
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 4
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 902128240166
2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 902128240166
2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 902128240166
2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 902128240166
2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 12 AND status = 0
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 12 AND status = 0
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^905414358116.*' OR pattern = '^90541435811.*' OR pattern = '^9054143581.*' OR pattern = '^905414358.*' OR pattern = '^90541435.*' OR pattern = '^9054143.*' OR pattern = '^905414.*' OR pattern = '^90541.*' OR pattern = '^9054.*' OR pattern = '^905.*' OR pattern = '^90.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 12 OR accountid=44) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4356
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.14400
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Turkey - Mobile Vodafone
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 194
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 44
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4160.333 balance Accountid 44 !!!
2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 4356
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=12 ORDER by id asc
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^905414358116.*' OR pattern = '^90541435811.*' OR pattern = '^9054143581.*' OR pattern = '^905414358.*' OR pattern = '^90541435.*' OR pattern = '^9054143.*' OR pattern = '^905414.*' OR pattern = '^90541.*' OR pattern = '^9054.*' OR pattern = '^905.*' OR pattern = '^90.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (11) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 367091
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^9054.*
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Turkey - Mobile Vodafone
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^9054.*
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 11
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 12
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel-TURKEY
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-07-04 11:19:07.213236 [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 = 44 AND status=0 LIMIT 1
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 12 AND status = 0
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 902128240459
2022-07-04 11:19:07.213236 [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 = 9) AND status=0 limit 1
2022-07-04 11:19:07.213236 [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 = 11) AND status=0 limit 1
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 4
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from ani_map where number='902128240459' and status=0
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] COUNT :1
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3526905414358116" LIMIT 1
2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 902128240459
2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="905414358116">
<condition field="destination_number" expression="3526905414358116">
<action application="set" data="effective_destination_number=905414358116"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-07-04 09:19:06"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=44"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=OIM-Turkey"/>
<action application="set" data="origination_rates=ID:4356|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.14400|INC:2|INITIALBLOCK:2|RATEGROUP:12|MARKUP:0|CI:194|ACCID:44"/>
<action application="set" data="original_caller_id_name=902128240459"/>
<action application="set" data="original_caller_id_number=902128240459"/>
<action application="limit" data="db 6936562454 user_6936562454 100 "/>
<action application="limit" data="hash CPS_6936562454 CPS_user_6936562454 50/1 "/>
<action application="set" data="effective_caller_id_name=902128240459"/>
<action application="set" data="effective_caller_id_number=902128240459"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:367091|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:9"/>
<action application="set" data="trunk_id=11"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=4356"/>
<action application="export" data="presence_data=trunk_id=11"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=905414358116"/>
<action application="export" data="presence_data=x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149"/>
<action application="ring_ready"/>
<action application="limit" data="hash CPS_11 CPS_trunk_11 6/1 "/>
<action application="limit" data="db NovaTel212 gw_NovaTel212 12 "/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/905414358116"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/905414358116"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/902128240166@148.251.195.149 parsing [default->905414358116] continue=false
Dialplan: sofia/default/902128240166@148.251.195.149 Regex (PASS) [905414358116] destination_number(3526905414358116) =~ /3526905414358116/ break=on-false
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(effective_destination_number=905414358116)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(callstart=2022-07-04 09:19:06)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(account_id=44)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(parent_id=0)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(entity_id=0)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(call_processed=internal)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(call_direction=outbound)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(accountname=OIM-Turkey)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(origination_rates=ID:4356|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.14400|INC:2|INITIALBLOCK:2|RATEGROUP:12|MARKUP:0|CI:194|ACCID:44)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(original_caller_id_name=902128240459)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(original_caller_id_number=902128240459)
Dialplan: sofia/default/902128240166@148.251.195.149 Action limit(db 6936562454 user_6936562454 100 )
Dialplan: sofia/default/902128240166@148.251.195.149 Action limit(hash CPS_6936562454 CPS_user_6936562454 50/1 )
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(effective_caller_id_name=902128240459)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(effective_caller_id_number=902128240459)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(calltype=STANDARD)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(termination_rates=ID:367091|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:9)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(trunk_id=11)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(provider_id=9)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(rate_flag=0)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(force_trunk_flag=4356)
Dialplan: sofia/default/902128240166@148.251.195.149 Action export(presence_data=trunk_id=11)
Dialplan: sofia/default/902128240166@148.251.195.149 Action set(intcall=0)
Dialplan: sofia/default/902128240166@148.251.195.149 Action export(presence_id=905414358116)
Dialplan: sofia/default/902128240166@148.251.195.149 Action export(presence_data=x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149)
Dialplan: sofia/default/902128240166@148.251.195.149 Action ring_ready()
Dialplan: sofia/default/902128240166@148.251.195.149 Action limit(hash CPS_11 CPS_trunk_11 6/1 )
Dialplan: sofia/default/902128240166@148.251.195.149 Action limit(db NovaTel212 gw_NovaTel212 12 )
Dialplan: sofia/default/902128240166@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/905414358116)
Dialplan: sofia/default/902128240166@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/905414358116)
2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:287 (sofia/default/902128240166@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:644 (sofia/default/902128240166@148.251.195.149) State ROUTING going to sleep
2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_EXECUTE (Cur 69 Tot 2864652)
2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:651 (sofia/default/902128240166@148.251.195.149) State EXECUTE
2022-07-04 11:19:07.213236 [DEBUG] mod_sofia.c:209 sofia/default/902128240166@148.251.195.149 SOFIA EXECUTE
2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:329 sofia/default/902128240166@148.251.195.149 Standard EXECUTE
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(effective_destination_number=905414358116)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [effective_destination_number]=[905414358116]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(callstart=2022-07-04 09:19:06)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [callstart]=[2022-07-04 09:19:06]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(hangup_after_bridge=true)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(continue_on_fail=TRUE)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(account_id=44)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [account_id]=[44]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(parent_id=0)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(entity_id=0)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(call_processed=internal)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(call_direction=outbound)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(accountname=OIM-Turkey)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [accountname]=[OIM-Turkey]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(origination_rates=ID:4356|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.14400|INC:2|INITIALBLOCK:2|RATEGROUP:12|MARKUP:0|CI:194|ACCID:44)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [origination_rates]=[ID:4356|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.14400|INC:2|INITIALBLOCK:2|RATEGROUP:12|MARKUP:0|CI:194|ACCID:44]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(original_caller_id_name=902128240459)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [original_caller_id_name]=[902128240459]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(original_caller_id_number=902128240459)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [original_caller_id_number]=[902128240459]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 limit(db 6936562454 user_6936562454 100 )
2022-07-04 11:19:07.213236 [DEBUG] switch_limit.c:124 incr called: 6936562454_user_6936562454 max:100, interval:0
2022-07-04 11:19:07.213236 [DEBUG] mod_db.c:194 Usage for 6936562454_user_6936562454 is now 5/100
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 limit(hash CPS_6936562454 CPS_user_6936562454 50/1 )
2022-07-04 11:19:07.213236 [DEBUG] switch_limit.c:124 incr called: CPS_6936562454_CPS_user_6936562454 max:50, interval:1
2022-07-04 11:19:07.213236 [DEBUG] mod_hash.c:198 Usage for CPS_6936562454_CPS_user_6936562454 is now 1/50 for the last 1 seconds
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(effective_caller_id_name=902128240459)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [effective_caller_id_name]=[902128240459]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(effective_caller_id_number=902128240459)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [effective_caller_id_number]=[902128240459]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(calltype=STANDARD)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(termination_rates=ID:367091|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:9)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [termination_rates]=[ID:367091|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:9]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(trunk_id=11)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [trunk_id]=[11]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(provider_id=9)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [provider_id]=[9]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(rate_flag=0)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(force_trunk_flag=4356)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [force_trunk_flag]=[4356]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 export(presence_data=trunk_id=11)
2022-07-04 11:19:07.213236 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=11]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(intcall=0)
2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [intcall]=[0]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 export(presence_id=905414358116)
2022-07-04 11:19:07.213236 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[905414358116]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 export(presence_data=x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149)
2022-07-04 11:19:07.213236 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149]
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 ring_ready()
2022-07-04 11:19:07.233242 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/902128240166@148.251.195.149!
2022-07-04 11:19:07.233242 [DEBUG] sofia.c:7406 Channel sofia/default/902128240166@148.251.195.149 entering state [early][180]
2022-07-04 11:19:07.233242 [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/902128240166@148.251.195.149!
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 limit(hash CPS_11 CPS_trunk_11 6/1 )
2022-07-04 11:19:07.233242 [DEBUG] switch_limit.c:124 incr called: CPS_11_CPS_trunk_11 max:6, interval:1
2022-07-04 11:19:07.233242 [DEBUG] mod_hash.c:198 Usage for CPS_11_CPS_trunk_11 is now 1/6 for the last 1 seconds
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 limit(db NovaTel212 gw_NovaTel212 12 )
2022-07-04 11:19:07.233242 [DEBUG] switch_limit.c:124 incr called: NovaTel212_gw_NovaTel212 max:12, interval:0
2022-07-04 11:19:07.233242 [DEBUG] mod_db.c:194 Usage for NovaTel212_gw_NovaTel212 is now 4/12
EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/905414358116)
2022-07-04 11:19:07.233242 [DEBUG] switch_channel.c:1264 sofia/default/902128240166@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149] to event
2022-07-04 11:19:07.233242 [DEBUG] switch_channel.c:1264 sofia/default/902128240166@148.251.195.149 EXPORTING[export_vars] [presence_id]=[905414358116] to event
2022-07-04 11:19:07.233242 [DEBUG] switch_channel.c:1264 sofia/default/902128240166@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149] to event
2022-07-04 11:19:07.233242 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-07-04 11:19:07.233242 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-07-04 11:19:07.233242 [NOTICE] switch_channel.c:1118 New Channel sofia/default/905414358116 [cca231d9-7429-436d-9acf-7b4dacc0dbe6]
2022-07-04 11:19:07.233242 [DEBUG] mod_sofia.c:5102 (sofia/default/905414358116) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:07.233242 [DEBUG] switch_ivr_originate.c:3142 sofia/default/905414358116 Setting leg timeout to 45
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414358116) Running State Change CS_INIT (Cur 70 Tot 2864653)
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:628 (sofia/default/905414358116) State INIT
2022-07-04 11:19:07.233242 [DEBUG] mod_sofia.c:93 sofia/default/905414358116 SOFIA INIT
2022-07-04 11:19:07.233242 [INFO] sofia_glue.c:1621 sofia/default/905414358116 sending invite call-id: (null)
2022-07-04 11:19:07.233242 [DEBUG] sofia_glue.c:1624 sofia/default/905414358116 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656903817 1656903818 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 22530 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:40 sofia/default/905414358116 Standard INIT
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:48 (sofia/default/905414358116) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:628 (sofia/default/905414358116) State INIT going to sleep
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414358116) Running State Change CS_ROUTING (Cur 70 Tot 2864653)
2022-07-04 11:19:07.233242 [DEBUG] sofia.c:7406 Channel sofia/default/905414358116 entering state [calling][0]
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:644 (sofia/default/905414358116) State ROUTING
2022-07-04 11:19:07.233242 [DEBUG] mod_sofia.c:154 sofia/default/905414358116 SOFIA ROUTING
2022-07-04 11:19:07.233242 [DEBUG] switch_ivr_originate.c:67 (sofia/default/905414358116) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:644 (sofia/default/905414358116) State ROUTING going to sleep
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414358116) Running State Change CS_CONSUME_MEDIA (Cur 70 Tot 2864653)
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:663 (sofia/default/905414358116) State CONSUME_MEDIA
2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:663 (sofia/default/905414358116) State CONSUME_MEDIA going to sleep
2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7406 Channel sofia/default/38631890254 entering state [proceeding][183]
2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=- 1656908831 1656908834 IN IP4 91.208.225.236
s=Novatel
c=IN IP4 91.208.225.236
t=0 0
m=audio 15658 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
2022-07-04 11:19:07.973239 [NOTICE] sofia.c:7419 Pre-Answer sofia/default/38631890254!
2022-07-04 11:19:07.973239 [DEBUG] switch_channel.c:3565 (sofia/default/38631890254) Callstate Change DOWN -> EARLY
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38631890254 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:07.973239 [DEBUG] switch_core_codec.c:111 sofia/default/38631890254 Original read codec set to PCMA:8
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5918 sofia/default/38631890254 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38631890254] 82.214.92.3 port 17516 -> 91.208.225.236 port 15658 codec: 8 ms: 20
2022-07-04 11:19:07.973239 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8989 sofia/default/38631890254 Set 2833 dtmf send payload to 101
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8996 sofia/default/38631890254 Set 2833 dtmf receive payload to 101
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:9019 sofia/default/38631890254 Set rtp dtmf delay to 40
2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7406 Channel sofia/default/38631890254 entering state [proceeding][183]
2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7413 Duplicate SDP
v=0
o=- 1656908831 1656908834 IN IP4 91.208.225.236
s=Novatel
c=IN IP4 91.208.225.236
t=0 0
m=audio 15658 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5918 sofia/default/38631890254 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8657 Audio params are unchanged for sofia/default/38631890254.
2022-07-04 11:19:07.973239 [INFO] switch_ivr_originate.c:3832 Sending early media
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38618282990@148.251.195.149] 82.214.92.3 port 25638 -> 95.216.40.232 port 25120 codec: 8 ms: 20
2022-07-04 11:19:07.973239 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8989 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf send payload to 101
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8996 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf receive payload to 101
2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:9019 sofia/default/38618282990@148.251.195.149 Set rtp dtmf delay to 40
2022-07-04 11:19:07.973239 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1656900709 1656900710 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 25638 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:07.973239 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/38618282990@148.251.195.149!
2022-07-04 11:19:07.973239 [DEBUG] switch_channel.c:3565 (sofia/default/38618282990@148.251.195.149) Callstate Change RINGING -> EARLY
2022-07-04 11:19:07.973239 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/38631890254]
2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [early][183]
2022-07-04 11:19:07.973239 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/38631890254) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-07-04 11:19:07.973239 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631890254) Running State Change CS_EXCHANGE_MEDIA (Cur 70 Tot 2864653)
2022-07-04 11:19:07.973239 [DEBUG] switch_core_state_machine.c:654 (sofia/default/38631890254) State EXCHANGE_MEDIA
2022-07-04 11:19:07.973239 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-07-04 11:19:08.133242 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
2022-07-04 11:19:08.153230 [DEBUG] sofia.c:7406 Channel sofia/default/38631890254 entering state [proceeding][183]
2022-07-04 11:19:08.153230 [DEBUG] sofia.c:7413 Duplicate SDP
v=0
o=- 1656908831 1656908834 IN IP4 91.208.225.236
s=Novatel
c=IN IP4 91.208.225.236
t=0 0
m=audio 15658 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5918 sofia/default/38631890254 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:8657 Audio params are unchanged for sofia/default/38631890254.
2022-07-04 11:19:08.173230 [DEBUG] switch_ivr_bridge.c:655 sofia/default/38631890254 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-07-04 11:19:08.193231 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
2022-07-04 11:19:08.193231 [DEBUG] switch_ivr.c:632 sofia/default/38631890254 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/38631890254 sched_hangup(+6000 normal_clearing)
2022-07-04 11:19:08.193231 [DEBUG] switch_scheduler.c:263 Added task 960254 switch_ivr_schedule_hangup (56b9b871-a70d-4a15-bb06-07cade58e43f) to run at 1656932348
2022-07-04 11:19:08.433241 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38617775044@148.251.195.149 [10513930-fe0b-4201-97f3-ea87d90f3606]
2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_NEW (Cur 71 Tot 2864654)
2022-07-04 11:19:08.433241 [INFO] sofia.c:10362 sofia/default/38617775044@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 692490c22dac6f156906746379d0a923@148.251.195.149:5060
2022-07-04 11:19:08.433241 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
2022-07-04 11:19:08.433241 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
2022-07-04 11:19:08.433241 [DEBUG] sofia.c:7406 Channel sofia/default/38617775044@148.251.195.149 entering state [received][100]
2022-07-04 11:19:08.433241 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=root 1896847229 1896847229 IN IP4 95.216.40.232
s=SIP.IO
c=IN IP4 95.216.40.232
t=0 0
m=audio 26858 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38617775044@148.251.195.149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-07-04 11:19:08.433241 [DEBUG] switch_core_codec.c:111 sofia/default/38617775044@148.251.195.149 Original read codec set to PCMA:8
2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5918 sofia/default/38617775044@148.251.195.149 Set 2833 dtmf send payload to 101 recv payload to 101
2022-07-04 11:19:08.433241 [DEBUG] sofia.c:7840 (sofia/default/38617775044@148.251.195.149) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:604 (sofia/default/38617775044@148.251.195.149) State NEW
2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_INIT (Cur 71 Tot 2864654)
2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38617775044@148.251.195.149) State INIT
2022-07-04 11:19:08.433241 [DEBUG] mod_sofia.c:93 sofia/default/38617775044@148.251.195.149 SOFIA INIT
2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:40 sofia/default/38617775044@148.251.195.149 Standard INIT
2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38617775044@148.251.195.149) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38617775044@148.251.195.149) State INIT going to sleep
2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_ROUTING (Cur 71 Tot 2864654)
2022-07-04 11:19:08.433241 [DEBUG] switch_channel.c:2332 (sofia/default/38617775044@148.251.195.149) Callstate Change DOWN -> RINGING
2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38617775044@148.251.195.149) State ROUTING
2022-07-04 11:19:08.433241 [DEBUG] mod_sofia.c:154 sofia/default/38617775044@148.251.195.149 SOFIA ROUTING
2022-07-04 11:19:08.453247 [DEBUG] switch_core_state_machine.c:236 sofia/default/38617775044@148.251.195.149 Standard ROUTING
2022-07-04 11:19:08.453247 [INFO] mod_dialplan_xml.c:637 Processing 38617775044 <38617775044>->118638631209560 in context default
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:08.453247 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
FreeSWITCH-Hostname: ASTPP5
FreeSWITCH-Switchname: ASTPP5
FreeSWITCH-IPv4: 82.214.92.3
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-07-04%2011%3A19%3A08
Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A08%20GMT
Event-Date-Timestamp: 1656926348453247
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 150867364
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/38617775044%40148.251.195.149
Unique-ID: 10513930-fe0b-4201-97f3-ea87d90f3606
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 38617775044%40148.251.195.149
Channel-Call-UUID: 10513930-fe0b-4201-97f3-ea87d90f3606
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: 38617775044
Caller-Dialplan: XML
Caller-Caller-ID-Name: 38617775044
Caller-Caller-ID-Number: 38617775044
Caller-Orig-Caller-ID-Name: 38617775044
Caller-Orig-Caller-ID-Number: 38617775044
Caller-Network-Addr: 148.251.195.149
Caller-ANI: 38617775044
Caller-Destination-Number: 118638631209560
Caller-Unique-ID: 10513930-fe0b-4201-97f3-ea87d90f3606
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/38617775044%40148.251.195.149
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1656926348433241
Caller-Channel-Created-Time: 1656926348433241
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: 10513930-fe0b-4201-97f3-ea87d90f3606
variable_session_id: 2864654
variable_sip_from_user: 38617775044
variable_sip_from_uri: 38617775044%40148.251.195.149
variable_sip_from_host: 148.251.195.149
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/38617775044%40148.251.195.149
variable_sip_call_id: 692490c22dac6f156906746379d0a923%40148.251.195.149%3A5060
variable_sip_local_network_addr: 82.214.92.3
variable_sip_network_ip: 148.251.195.149
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1656926348433241
variable_sip_received_ip: 148.251.195.149
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 38617775044
variable_sip_from_tag: as5316669a
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
variable_recovery_profile_name: default
variable_sip_full_via: SIP/2.0/UDP%20148.251.195.149%3A5060%3Bbranch%3Dz9hG4bK1f33a369
variable_sip_full_from: %3Csip%3A38617775044%40148.251.195.149%3E%3Btag%3Das5316669a
variable_sip_full_to: %3Csip%3A118638631209560%40sipp.skytel.rs%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
variable_sip_req_user: 118638631209560
variable_sip_req_port: 5060
variable_sip_req_uri: 118638631209560%40sipp.skytel.rs%3A5060
variable_sip_req_host: sipp.skytel.rs
variable_sip_to_user: 118638631209560
variable_sip_to_port: 5060
variable_sip_to_uri: 118638631209560%40sipp.skytel.rs%3A5060
variable_sip_to_host: sipp.skytel.rs
variable_sip_contact_user: 38617775044
variable_sip_contact_port: 5060
variable_sip_contact_uri: 38617775044%40148.251.195.149%3A5060
variable_sip_contact_host: 148.251.195.149
variable_sip_user_agent: SIP.IO
variable_sip_via_host: 148.251.195.149
variable_sip_via_port: 5060
variable_max_forwards: 70
variable_presence_id: 38617775044%40148.251.195.149
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201896847229%201896847229%20IN%20IP4%2095.216.40.232%0D%0As%3DSIP.IO%0D%0Ac%3DIN%20IP4%2095.216.40.232%0D%0At%3D0%200%0D%0Am%3Daudio%2026858%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%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: 95.216.40.232
variable_remote_media_port: 26858
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: 10513930-fe0b-4201-97f3-ea87d90f3606
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 38617775044
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 38617775044
Hunt-Caller-ID-Number: 38617775044
Hunt-Orig-Caller-ID-Name: 38617775044
Hunt-Orig-Caller-ID-Number: 38617775044
Hunt-Network-Addr: 148.251.195.149
Hunt-ANI: 38617775044
Hunt-Destination-Number: 118638631209560
Hunt-Unique-ID: 10513930-fe0b-4201-97f3-ea87d90f3606
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/38617775044%40148.251.195.149
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1656926348433241
Hunt-Channel-Created-Time: 1656926348433241
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
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 118638631209560
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '118638631209560' limit 1
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '118638631209560' AND status=0 limit 1
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '118638631209560' and status=0 LIMIT 1
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 38617775044 / 38617775044
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="118638631209560" LIMIT 1
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="118638631209560" AND domains.domain="sipp.skytel.rs" limit 1
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("148.251.195.149") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "118638631209560" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :1186/*.....118638631209560
2022-07-04 11:19:08.453247 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 118638631209560
2022-07-04 11:19:08.453247 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 38631209560
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3301514710]
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3301514710" AND deleted = 0 limit 1
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^38631209560.*' OR blocked_patterns = '^3863120956.*' OR blocked_patterns = '^386312095.*' OR blocked_patterns = '^38631209.*' OR blocked_patterns = '^3863120.*' OR blocked_patterns = '^386312.*' OR blocked_patterns = '^38631.*' OR blocked_patterns = '^3863.*' OR blocked_patterns = '^386.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 41 limit 1
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="38631209560" AND (accountid = 0 OR status = 1) LIMIT 1
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^38631209560.*' OR patterns = '^3863120956.*' OR patterns = '^386312095.*' OR patterns = '^38631209.*' OR patterns = '^3863120.*' OR patterns = '^386312.*' OR patterns = '^38631.*' OR patterns = '^3863.*' OR patterns = '^386.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 41 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-07-04 11:19:08.453247 [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 ="38631209560" AND A.accountid = '41' limit 1
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 38631209560
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="38631209560" LIMIT 1
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="38631209560" AND domains.domain="sipp.skytel.rs" limit 1
2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '38631209560' OR number = '3863120956' OR number = '386312095' OR number = '38631209' OR number = '3863120' OR number = '386312' OR number = '38631' OR number = '3863' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38631209560*' OR number = '3863120956*' OR number = '386312095*' OR number = '38631209*' OR number = '3863120*' OR number = '386312*' OR number = '38631*' OR number = '3863*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '38617775044' OR number = '3861777504' OR number = '386177750' OR number = '38617775' OR number = '3861777' OR number = '386177' OR number = '38617' OR number = '3861' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38617775044*' OR number = '3861777504*' OR number = '386177750*' OR number = '38617775*' OR number = '3861777*' OR number = '386177*' OR number = '38617*' OR number = '3861*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38617775044
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38617775044' and status=0
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='41' order by RAND() limit 1
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: 38617775046
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '38631209560' OR routing_prefix = '3863120956' OR routing_prefix = '386312095' OR routing_prefix = '38631209' OR routing_prefix = '3863120' OR routing_prefix = '386312' OR routing_prefix = '38631' OR routing_prefix = '3863' OR routing_prefix = '386' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 41
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3301514710
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4517.84464
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^38631209560.*' OR pattern = '^3863120956.*' OR pattern = '^386312095.*' OR pattern = '^38631209.*' OR pattern = '^3863120.*' OR pattern = '^386312.*' OR pattern = '^38631.*' OR pattern = '^3863.*' OR pattern = '^386.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 11 OR accountid=41) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4308
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.05450
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Slovenia-Telekom Slovenije Mobile
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 169
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 41
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4517.84464 balance Accountid 41 !!!
2022-07-04 11:19:08.473232 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 4308
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=11 ORDER by id asc
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^38631209560.*' OR pattern = '^3863120956.*' OR pattern = '^386312095.*' OR pattern = '^38631209.*' OR pattern = '^3863120.*' OR pattern = '^386312.*' OR pattern = '^38631.*' OR pattern = '^3863.*' OR pattern = '^386.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (5,10) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 366986
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^38631.*
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Slovenia - Mobitel
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^38631.*
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-07-04 11:19:08.473232 [NOTICE] switch_cpp.cpp:1465 [ASTPP] DIDWW-INT: 0.66561 > 0.05450, skipping for loss less routing
2022-07-04 11:19:08.473232 [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 = 41 AND status=0 LIMIT 1
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38617775046
2022-07-04 11:19:08.473232 [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 = 9) AND status=0 limit 1
2022-07-04 11:19:08.473232 [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 = 10) AND status=0 limit 1
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38617775046
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38617775046
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38617775046' and status=0
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="118638631209560" LIMIT 1
2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38617775046
2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="38631209560">
<condition field="destination_number" expression="118638631209560">
<action application="set" data="effective_destination_number=38631209560"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2022-07-04 09:19:07"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=41"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=OIM Slovenia"/>
<action application="set" data="origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41"/>
<action application="set" data="original_caller_id_name=38617775046"/>
<action application="set" data="original_caller_id_number=38617775046"/>
<action application="set" data="effective_caller_id_name=38617775046"/>
<action application="set" data="effective_caller_id_number=38617775046"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9"/>
<action application="set" data="trunk_id=10"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=4308"/>
<action application="export" data="presence_data=trunk_id=10"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=38631209560"/>
<action application="export" data="presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631209560"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/38631209560"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/38617775044@148.251.195.149 parsing [default->38631209560] continue=false
Dialplan: sofia/default/38617775044@148.251.195.149 Regex (PASS) [38631209560] destination_number(118638631209560) =~ /118638631209560/ break=on-false
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(effective_destination_number=38631209560)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(callstart=2022-07-04 09:19:07)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(account_id=41)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(parent_id=0)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(entity_id=0)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(call_processed=internal)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(call_direction=outbound)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(accountname=OIM Slovenia)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(original_caller_id_name=38617775046)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(original_caller_id_number=38617775046)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(effective_caller_id_name=38617775046)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(effective_caller_id_number=38617775046)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(calltype=STANDARD)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(trunk_id=10)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(provider_id=9)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(rate_flag=0)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(force_trunk_flag=4308)
Dialplan: sofia/default/38617775044@148.251.195.149 Action export(presence_data=trunk_id=10)
Dialplan: sofia/default/38617775044@148.251.195.149 Action set(intcall=0)
Dialplan: sofia/default/38617775044@148.251.195.149 Action export(presence_id=38631209560)
Dialplan: sofia/default/38617775044@148.251.195.149 Action export(presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149)
Dialplan: sofia/default/38617775044@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631209560)
Dialplan: sofia/default/38617775044@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/38631209560)
2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:287 (sofia/default/38617775044@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38617775044@148.251.195.149) State ROUTING going to sleep
2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_EXECUTE (Cur 71 Tot 2864654)
2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:651 (sofia/default/38617775044@148.251.195.149) State EXECUTE
2022-07-04 11:19:08.473232 [DEBUG] mod_sofia.c:209 sofia/default/38617775044@148.251.195.149 SOFIA EXECUTE
2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:329 sofia/default/38617775044@148.251.195.149 Standard EXECUTE
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(effective_destination_number=38631209560)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [effective_destination_number]=[38631209560]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(callstart=2022-07-04 09:19:07)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [callstart]=[2022-07-04 09:19:07]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(hangup_after_bridge=true)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(continue_on_fail=TRUE)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(account_id=41)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [account_id]=[41]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(parent_id=0)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(entity_id=0)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(call_processed=internal)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(call_direction=outbound)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(accountname=OIM Slovenia)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [accountname]=[OIM Slovenia]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [origination_rates]=[ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(original_caller_id_name=38617775046)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [original_caller_id_name]=[38617775046]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(original_caller_id_number=38617775046)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [original_caller_id_number]=[38617775046]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(effective_caller_id_name=38617775046)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [effective_caller_id_name]=[38617775046]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(effective_caller_id_number=38617775046)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [effective_caller_id_number]=[38617775046]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(calltype=STANDARD)
2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [termination_rates]=[ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(trunk_id=10)
2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [trunk_id]=[10]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(provider_id=9)
2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [provider_id]=[9]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(rate_flag=0)
2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(force_trunk_flag=4308)
2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [force_trunk_flag]=[4308]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 export(presence_data=trunk_id=10)
2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=10]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(intcall=0)
2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [intcall]=[0]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 export(presence_id=38631209560)
2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[38631209560]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 export(presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149)
2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149]
EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631209560)
2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1264 sofia/default/38617775044@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149] to event
2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1264 sofia/default/38617775044@148.251.195.149 EXPORTING[export_vars] [presence_id]=[38631209560] to event
2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1264 sofia/default/38617775044@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149] to event
2022-07-04 11:19:08.493228 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-07-04 11:19:08.493228 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-07-04 11:19:08.493228 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38631209560 [702acfa6-976c-447b-8020-bee279bc7909]
2022-07-04 11:19:08.493228 [DEBUG] mod_sofia.c:5102 (sofia/default/38631209560) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:08.493228 [DEBUG] switch_ivr_originate.c:3142 sofia/default/38631209560 Setting leg timeout to 45
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631209560) Running State Change CS_INIT (Cur 72 Tot 2864655)
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38631209560) State INIT
2022-07-04 11:19:08.493228 [DEBUG] mod_sofia.c:93 sofia/default/38631209560 SOFIA INIT
2022-07-04 11:19:08.493228 [INFO] sofia_glue.c:1621 sofia/default/38631209560 sending invite call-id: (null)
2022-07-04 11:19:08.493228 [DEBUG] sofia_glue.c:1624 sofia/default/38631209560 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656905246 1656905247 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 21102 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:40 sofia/default/38631209560 Standard INIT
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38631209560) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38631209560) State INIT going to sleep
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631209560) Running State Change CS_ROUTING (Cur 72 Tot 2864655)
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38631209560) State ROUTING
2022-07-04 11:19:08.493228 [DEBUG] mod_sofia.c:154 sofia/default/38631209560 SOFIA ROUTING
2022-07-04 11:19:08.493228 [DEBUG] switch_ivr_originate.c:67 (sofia/default/38631209560) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38631209560) State ROUTING going to sleep
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631209560) Running State Change CS_CONSUME_MEDIA (Cur 72 Tot 2864655)
2022-07-04 11:19:08.493228 [DEBUG] sofia.c:7406 Channel sofia/default/38631209560 entering state [calling][0]
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/38631209560) State CONSUME_MEDIA
2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/38631209560) State CONSUME_MEDIA going to sleep
2022-07-04 11:19:08.653228 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [terminated][503]
2022-07-04 11:19:08.653228 [NOTICE] sofia.c:8641 Hangup sofia/default/12125551212 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_HANGUP (Cur 72 Tot 2864655)
2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:848 (sofia/default/12125551212) Callstate Change DOWN -> HANGUP
2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP
2022-07-04 11:19:08.653228 [DEBUG] mod_sofia.c:453 Channel sofia/default/12125551212 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:60 sofia/default/12125551212 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP going to sleep
2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:620 (sofia/default/12125551212) State Change CS_HANGUP -> CS_REPORTING
2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_REPORTING (Cur 72 Tot 2864655)
2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING
2022-07-04 11:19:08.653228 [INFO] mod_json_cdr.c:271 Process [273ebbbd-3c76-4c91-a53a-9e8e9d0b1107.cdr.json]
2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-07-04 11:19:08.673227 [INFO] mod_dptools.c:3643 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_name=+38220690267)
2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_name]=[+38220690267]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_number=+38220690267)
2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_number]=[+38220690267]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(calltype=STANDARD)
2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(termination_rates=ID:357752|CODE:^1212.*|DESTINATION:USA - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01875|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [termination_rates]=[ID:357752|CODE:^1212.*|DESTINATION:USA - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01875|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(trunk_id=10)
2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [trunk_id]=[10]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(provider_id=9)
2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [provider_id]=[9]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(rate_flag=0)
2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(force_trunk_flag=3358)
2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [force_trunk_flag]=[3358]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=trunk_id=10)
2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=10]
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:174 sofia/default/12125551212 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING going to sleep
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:611 (sofia/default/12125551212) State Change CS_REPORTING -> CS_DESTROY
2022-07-04 11:19:08.673227 [DEBUG] switch_core_session.c:1736 Session 2864645 (sofia/default/12125551212) Locked, Waiting on external entities
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(intcall=0)
2022-07-04 11:19:08.673227 [NOTICE] switch_core_session.c:1754 Session 2864645 (sofia/default/12125551212) Ended
2022-07-04 11:19:08.673227 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/12125551212 [CS_DESTROY]
2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [intcall]=[0]
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:739 (sofia/default/12125551212) Running State Change CS_DESTROY (Cur 71 Tot 2864655)
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY
2022-07-04 11:19:08.673227 [DEBUG] mod_sofia.c:364 sofia/default/12125551212 SOFIA DESTROY
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:181 sofia/default/12125551212 Standard DESTROY
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY going to sleep
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_id=12125551212)
2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[12125551212]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46)
2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/12125551212)
2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-07-04 11:19:08.673227 [NOTICE] switch_channel.c:1118 New Channel sofia/default/12125551212 [ba3d17a9-99d2-49ae-92a9-ab836c59cf31]
2022-07-04 11:19:08.673227 [DEBUG] mod_sofia.c:5102 (sofia/default/12125551212) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:3142 sofia/default/12125551212 Setting leg timeout to 45
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_INIT (Cur 72 Tot 2864656)
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT
2022-07-04 11:19:08.673227 [DEBUG] mod_sofia.c:93 sofia/default/12125551212 SOFIA INIT
2022-07-04 11:19:08.673227 [INFO] sofia_glue.c:1621 sofia/default/12125551212 sending invite call-id: (null)
2022-07-04 11:19:08.673227 [DEBUG] sofia_glue.c:1624 sofia/default/12125551212 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656902614 1656902615 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 23734 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:40 sofia/default/12125551212 Standard INIT
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:48 (sofia/default/12125551212) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT going to sleep
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_ROUTING (Cur 72 Tot 2864656)
2022-07-04 11:19:08.673227 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [calling][0]
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING
2022-07-04 11:19:08.673227 [DEBUG] mod_sofia.c:154 sofia/default/12125551212 SOFIA ROUTING
2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:67 (sofia/default/12125551212) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING going to sleep
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_CONSUME_MEDIA (Cur 72 Tot 2864656)
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA
2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA going to sleep
2022-07-04 11:19:08.813228 [DEBUG] sofia.c:6576 Remote Reason: 1
2022-07-04 11:19:08.813228 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [terminated][404]
2022-07-04 11:19:08.813228 [NOTICE] sofia.c:8641 Hangup sofia/default/12125551212 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_HANGUP (Cur 72 Tot 2864656)
2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:848 (sofia/default/12125551212) Callstate Change DOWN -> HANGUP
2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP
2022-07-04 11:19:08.813228 [DEBUG] mod_sofia.c:453 Channel sofia/default/12125551212 hanging up, cause: UNALLOCATED_NUMBER
2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:60 sofia/default/12125551212 Standard HANGUP, cause: UNALLOCATED_NUMBER
2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP going to sleep
2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:620 (sofia/default/12125551212) State Change CS_HANGUP -> CS_REPORTING
2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_REPORTING (Cur 72 Tot 2864656)
2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING
2022-07-04 11:19:08.813228 [INFO] mod_json_cdr.c:271 Process [ba3d17a9-99d2-49ae-92a9-ab836c59cf31.cdr.json]
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:174 sofia/default/12125551212 Standard REPORTING, cause: UNALLOCATED_NUMBER
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING going to sleep
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:611 (sofia/default/12125551212) State Change CS_REPORTING -> CS_DESTROY
2022-07-04 11:19:08.833228 [DEBUG] switch_core_session.c:1736 Session 2864656 (sofia/default/12125551212) Locked, Waiting on external entities
2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
2022-07-04 11:19:08.833228 [NOTICE] switch_core_session.c:1754 Session 2864656 (sofia/default/12125551212) Ended
2022-07-04 11:19:08.833228 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/12125551212 [CS_DESTROY]
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:739 (sofia/default/12125551212) Running State Change CS_DESTROY (Cur 71 Tot 2864656)
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY
2022-07-04 11:19:08.833228 [DEBUG] mod_sofia.c:364 sofia/default/12125551212 SOFIA DESTROY
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:181 sofia/default/12125551212 Standard DESTROY
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY going to sleep
2022-07-04 11:19:08.833228 [INFO] mod_dptools.c:3643 Originate Failed. Cause: UNALLOCATED_NUMBER
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/12125551212)
2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-07-04 11:19:08.833228 [NOTICE] switch_channel.c:1118 New Channel sofia/default/12125551212 [363d74d4-2320-4c45-a359-ad5be31752f3]
2022-07-04 11:19:08.833228 [DEBUG] mod_sofia.c:5102 (sofia/default/12125551212) State Change CS_NEW -> CS_INIT
2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:3142 sofia/default/12125551212 Setting leg timeout to 45
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_INIT (Cur 72 Tot 2864657)
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT
2022-07-04 11:19:08.833228 [DEBUG] mod_sofia.c:93 sofia/default/12125551212 SOFIA INIT
2022-07-04 11:19:08.833228 [INFO] sofia_glue.c:1621 sofia/default/12125551212 sending invite call-id: (null)
2022-07-04 11:19:08.833228 [DEBUG] sofia_glue.c:1624 sofia/default/12125551212 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656897584 1656897585 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 28764 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:40 sofia/default/12125551212 Standard INIT
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:48 (sofia/default/12125551212) State Change CS_INIT -> CS_ROUTING
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT going to sleep
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_ROUTING (Cur 72 Tot 2864657)
2022-07-04 11:19:08.833228 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [calling][0]
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING
2022-07-04 11:19:08.833228 [DEBUG] mod_sofia.c:154 sofia/default/12125551212 SOFIA ROUTING
2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:67 (sofia/default/12125551212) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING going to sleep
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_CONSUME_MEDIA (Cur 72 Tot 2864657)
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA
2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA going to sleep
2022-07-04 11:19:08.853228 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [terminated][503]
2022-07-04 11:19:08.853228 [NOTICE] sofia.c:8641 Hangup sofia/default/12125551212 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_HANGUP (Cur 72 Tot 2864657)
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:848 (sofia/default/12125551212) Callstate Change DOWN -> HANGUP
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP
2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:453 Channel sofia/default/12125551212 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:60 sofia/default/12125551212 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP going to sleep
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:620 (sofia/default/12125551212) State Change CS_HANGUP -> CS_REPORTING
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_REPORTING (Cur 72 Tot 2864657)
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING
2022-07-04 11:19:08.853228 [INFO] mod_json_cdr.c:271 Process [363d74d4-2320-4c45-a359-ad5be31752f3.cdr.json]
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:174 sofia/default/12125551212 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING going to sleep
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:611 (sofia/default/12125551212) State Change CS_REPORTING -> CS_DESTROY
2022-07-04 11:19:08.853228 [DEBUG] switch_core_session.c:1736 Session 2864657 (sofia/default/12125551212) Locked, Waiting on external entities
2022-07-04 11:19:08.853228 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-07-04 11:19:08.853228 [NOTICE] switch_core_session.c:1754 Session 2864657 (sofia/default/12125551212) Ended
2022-07-04 11:19:08.853228 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/12125551212 [CS_DESTROY]
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:739 (sofia/default/12125551212) Running State Change CS_DESTROY (Cur 71 Tot 2864657)
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY
2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:364 sofia/default/12125551212 SOFIA DESTROY
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:181 sofia/default/12125551212 Standard DESTROY
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY going to sleep
2022-07-04 11:19:08.853228 [INFO] mod_dptools.c:3643 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
2022-07-04 11:19:08.853228 [NOTICE] switch_core_state_machine.c:386 sofia/default/sky001@skytel011.tdsltd.rs has executed the last dialplan instruction, hanging up.
2022-07-04 11:19:08.853228 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/sky001@skytel011.tdsltd.rs [CS_EXECUTE] [NORMAL_CLEARING]
2022-07-04 11:19:08.853228 [DEBUG] mod_hash.c:296 Usage for CPS_4307873302_CPS_user_4307873302 is now 0
2022-07-04 11:19:08.853228 [DEBUG] mod_hash.c:296 Usage for CPS_5_CPS_trunk_5 is now 0
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:651 (sofia/default/sky001@skytel011.tdsltd.rs) State EXECUTE going to sleep
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_HANGUP (Cur 71 Tot 2864657)
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:848 (sofia/default/sky001@skytel011.tdsltd.rs) Callstate Change RINGING -> HANGUP
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/sky001@skytel011.tdsltd.rs) State HANGUP
2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:447 sofia/default/sky001@skytel011.tdsltd.rs Overriding SIP cause 480 with 503 from the other leg
2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:453 Channel sofia/default/sky001@skytel011.tdsltd.rs hanging up, cause: NORMAL_CLEARING
2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 503
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:60 sofia/default/sky001@skytel011.tdsltd.rs Standard HANGUP, cause: NORMAL_CLEARING
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/sky001@skytel011.tdsltd.rs) State HANGUP going to sleep
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:620 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_HANGUP -> CS_REPORTING
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_REPORTING (Cur 71 Tot 2864657)
2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/sky001@skytel011.tdsltd.rs) State REPORTING
2022-07-04 11:19:08.853228 [INFO] mod_json_cdr.c:271 Process [8b3a4a3c-d818-44e0-abcf-6f4f39f55221.cdr.json]
2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:174 sofia/default/sky001@skytel011.tdsltd.rs Standard REPORTING, cause: NORMAL_CLEARING
2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:936 (sofia/default/sky001@skytel011.tdsltd.rs) State REPORTING going to sleep
2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:611 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_REPORTING -> CS_DESTROY
2022-07-04 11:19:08.873229 [DEBUG] switch_core_session.c:1736 Session 2864644 (sofia/default/sky001@skytel011.tdsltd.rs) Locked, Waiting on external entities
2022-07-04 11:19:08.873229 [NOTICE] switch_core_session.c:1754 Session 2864644 (sofia/default/sky001@skytel011.tdsltd.rs) Ended
2022-07-04 11:19:08.873229 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/sky001@skytel011.tdsltd.rs [CS_DESTROY]
2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:739 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_DESTROY (Cur 70 Tot 2864657)
2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:749 (sofia/default/sky001@skytel011.tdsltd.rs) State DESTROY
2022-07-04 11:19:08.873229 [DEBUG] mod_sofia.c:364 sofia/default/sky001@skytel011.tdsltd.rs SOFIA DESTROY
2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:181 sofia/default/sky001@skytel011.tdsltd.rs Standard DESTROY
2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:749 (sofia/default/sky001@skytel011.tdsltd.rs) State DESTROY going to sleep
2022-07-04 11:19:09.273229 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38617775044@148.251.195.149 [c12b0168-7183-4678-b055-fab0ae1234f1]
2022-07-04 11:19:09.273229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_NEW (Cur 71 Tot 2864658)
2022-07-04 11:19:09.273229 [INFO] sofia.c:10362 sofia/default/38617775044@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0ad179c151e0e7e87b2843d85e737f8e@148.251.195.149:5060
2022-07-04 11:19:09.273229 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
2022-07-04 11:19:09.273229 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
2022-07-04 11:19:09.273229 [DEBUG] sofia.c:7406 Channel sofia/default/38617775044@148.251.195.149 entering state [received][100]
2022-07-04 11:19:09.273229 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=root 1223863196 1223863196 IN IP4 95.216.40.232
s=SIP.IO
c=IN IP4 95.216.40.232
t=0 0
m=audio 18882 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20