2022-06-28 13:32:22.833242 [DEBUG] switch_scheduler.c:263 Added task 922444 switch_ivr_schedule_hangup (9aa8a844-5f70-411a-aa19-db9edbcc7dd4) to run at 1656421942
2022-06-28 13:32:23.393245 [NOTICE] switch_channel.c:1118 New Channel sofia/default/sky001@skytel011.tdsltd.rs [39e76f75-21f0-4577-91b8-b5a0b884f384]
2022-06-28 13:32:23.393245 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_NEW (Cur 51 Tot 2758981)
2022-06-28 13:32:23.393245 [INFO] sofia.c:10362 sofia/default/sky001@skytel011.tdsltd.rs receiving invite from 117.247.91.162:37492 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ZmMzNmY4NmM3ZWZkMmM0NzdkZTM5Y2E4Yzc2M2YxZDM.
2022-06-28 13:32:23.393245 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 117.247.91.162:0.
2022-06-28 13:32:23.393245 [WARNING] sofia_reg.c:1795 SIP auth challenge (INVITE) on sofia profile 'default' for [4420123456@skytel011.tdsltd.rs] from ip 117.247.91.162
2022-06-28 13:32:23.393245 [DEBUG] switch_core_state_machine.c:604 (sofia/default/sky001@skytel011.tdsltd.rs) State NEW
2022-06-28 13:32:23.393245 [DEBUG] sofia.c:2447 detaching session 39e76f75-21f0-4577-91b8-b5a0b884f384
2022-06-28 13:32:23.773252 [DEBUG] sofia.c:2562 Re-attaching to session 39e76f75-21f0-4577-91b8-b5a0b884f384
2022-06-28 13:32:23.773252 [INFO] sofia.c:10362 sofia/default/sky001@skytel011.tdsltd.rs receiving invite from 117.247.91.162:37492 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ZmMzNmY4NmM3ZWZkMmM0NzdkZTM5Y2E4Yzc2M2YxZDM.
2022-06-28 13:32:23.773252 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 117.247.91.162:0.
2022-06-28 13:32:23.793229 [DEBUG] sofia.c:11564 Setting NAT mode based on via received
2022-06-28 13:32:23.793229 [DEBUG] sofia.c:7406 Channel sofia/default/sky001@skytel011.tdsltd.rs entering state [received][100]
2022-06-28 13:32:23.793229 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=Z 0 0 IN IP4 117.247.91.162
s=Z
c=IN IP4 117.247.91.162
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-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-06-28 13:32:23.793229 [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-06-28 13:32:23.793229 [DEBUG] switch_core_codec.c:111 sofia/default/sky001@skytel011.tdsltd.rs Original read codec set to PCMA:8
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5918 sofia/default/sky001@skytel011.tdsltd.rs Set 2833 dtmf send payload to 101 recv payload to 101
2022-06-28 13:32:23.793229 [DEBUG] sofia.c:7840 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_NEW -> CS_INIT
2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_INIT (Cur 51 Tot 2758981)
2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:628 (sofia/default/sky001@skytel011.tdsltd.rs) State INIT
2022-06-28 13:32:23.793229 [DEBUG] mod_sofia.c:93 sofia/default/sky001@skytel011.tdsltd.rs SOFIA INIT
2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:40 sofia/default/sky001@skytel011.tdsltd.rs Standard INIT
2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:48 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_INIT -> CS_ROUTING
2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:628 (sofia/default/sky001@skytel011.tdsltd.rs) State INIT going to sleep
2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_ROUTING (Cur 51 Tot 2758981)
2022-06-28 13:32:23.793229 [DEBUG] switch_channel.c:2332 (sofia/default/sky001@skytel011.tdsltd.rs) Callstate Change DOWN -> RINGING
2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:644 (sofia/default/sky001@skytel011.tdsltd.rs) State ROUTING
2022-06-28 13:32:23.793229 [DEBUG] mod_sofia.c:154 sofia/default/sky001@skytel011.tdsltd.rs SOFIA ROUTING
2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:236 sofia/default/sky001@skytel011.tdsltd.rs Standard ROUTING
2022-06-28 13:32:23.793229 [INFO] mod_dialplan_xml.c:637 Processing sky001 <sky001>->4420123456 in context default
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-28 13:32:23.793229 [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-06-28%2013%3A32%3A23
Event-Date-GMT: Tue,%2028%20Jun%202022%2011%3A32%3A23%20GMT
Event-Date-Timestamp: 1656415943793229
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 145309118
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
Unique-ID: 39e76f75-21f0-4577-91b8-b5a0b884f384
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: sky001%40skytel011.tdsltd.rs
Channel-Call-UUID: 39e76f75-21f0-4577-91b8-b5a0b884f384
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: 117.247.91.162
Caller-ANI: sky001
Caller-Destination-Number: 4420123456
Caller-Unique-ID: 39e76f75-21f0-4577-91b8-b5a0b884f384
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1656415943793229
Caller-Channel-Created-Time: 1656415943793229
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: 39e76f75-21f0-4577-91b8-b5a0b884f384
variable_session_id: 2758981
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: ZmMzNmY4NmM3ZWZkMmM0NzdkZTM5Y2E4Yzc2M2YxZDM.
variable_sip_local_network_addr: 82.214.92.3
variable_sip_network_ip: 117.247.91.162
variable_sip_network_port: 37492
variable_sip_invite_stamp: 1656415943773252
variable_sip_received_ip: 117.247.91.162
variable_sip_received_port: 37492
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-06-28%2013%3A32%3A23
variable_Event-Date-GMT: Tue,%2028%20Jun%202022%2011%3A32%3A23%20GMT
variable_Event-Date-Timestamp: 1656415943773252
variable_Event-Calling-File: sofia.c
variable_Event-Calling-Function: sofia_handle_sip_i_invite
variable_Event-Calling-Line-Number: 10624
variable_Event-Sequence: 145309109
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: a79a3405
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%3A34087%3Bbranch%3Dz9hG4bK-d8754z-c3493e7a3ea61f9f-1---d8754z-%3Breceived%3D117.247.91.162%3Brport%3D37492
variable_sip_recover_via: SIP/2.0/TCP%20192.168.1.62%3A34087%3Bbranch%3Dz9hG4bK-d8754z-c3493e7a3ea61f9f-1---d8754z-%3Breceived%3D117.247.91.162%3Brport%3D37492
variable_sip_full_from: %3Csip%3Asky001%40skytel011.tdsltd.rs%3Btransport%3DTCP%3E%3Btag%3Da79a3405
variable_sip_full_to: %3Csip%3A4420123456%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: 4420123456
variable_sip_req_uri: 4420123456%40skytel011.tdsltd.rs
variable_sip_req_host: skytel011.tdsltd.rs
variable_sip_to_params: transport%3DTCP
variable_sip_to_user: 4420123456
variable_sip_to_uri: 4420123456%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: 34087
variable_sip_contact_uri: sky001%40103.240.35.46%3A34087
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: 34087
variable_sip_via_rport: 37492
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%20117.247.91.162%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20117.247.91.162%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: 117.247.91.162
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: 39e76f75-21f0-4577-91b8-b5a0b884f384
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: 117.247.91.162
Hunt-ANI: sky001
Hunt-Destination-Number: 4420123456
Hunt-Unique-ID: 39e76f75-21f0-4577-91b8-b5a0b884f384
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1656415943793229
Hunt-Channel-Created-Time: 1656415943793229
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-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 4420123456
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '4420123456' limit 1
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '4420123456' AND status=0 limit 1
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '4420123456' and status=0 LIMIT 1
2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : sky001 / sky001
2022-06-28 13:32:23.793229 [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 ="4420123456" LIMIT 1
2022-06-28 13:32:23.793229 [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="4420123456" AND domains.domain="skytel011.tdsltd.rs" limit 1
2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4307873302]
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4307873302" AND deleted = 0 limit 1
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^4420123456.*' OR blocked_patterns = '^442012345.*' OR blocked_patterns = '^44201234.*' OR blocked_patterns = '^4420123.*' OR blocked_patterns = '^442012.*' OR blocked_patterns = '^44201.*' OR blocked_patterns = '^4420.*' OR blocked_patterns = '^442.*' OR blocked_patterns = '^44.*' OR blocked_patterns = '^4.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="4420123456" AND (accountid = 0 OR status = 1) LIMIT 1
2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 41
2022-06-28 13:32:23.793229 [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 = 41 AND status=0 limit 1
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/".....4420123456
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/14802407386".....sky001DBCLI4420123456
2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky001DBCLI4420123456
2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4420123456DBCLI4420123456
2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/14802407386".....4420123456DBCLI4420123456
2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4420123456DBCLI4420123456
2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4420123456
2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Ash............ sky001
2022-06-28 13:32:23.793229 [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 = '^4420123456.*' OR patterns = '^442012345.*' OR patterns = '^44201234.*' OR patterns = '^4420123.*' OR patterns = '^442012.*' OR patterns = '^44201.*' OR patterns = '^4420.*' OR patterns = '^442.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-06-28 13:32:23.813244 [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 ="4420123456" AND A.accountid = '7' limit 1
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 4420123456
2022-06-28 13:32:23.813244 [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 ="4420123456" LIMIT 1
2022-06-28 13:32:23.813244 [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="4420123456" AND domains.domain="skytel011.tdsltd.rs" limit 1
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-06-28 13:32:23.813244 [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 = '4420123456' OR number = '442012345' OR number = '44201234' OR number = '4420123' OR number = '442012' OR number = '44201' OR number = '4420' OR number = '442' OR number = '44' OR number = '4' OR number ='--') OR (number = '4420123456*' OR number = '442012345*' OR number = '44201234*' OR number = '4420123*' OR number = '442012*' OR number = '44201*' OR number = '4420*' OR number = '442*' OR number = '44*' OR number = '4*' 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-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : sky001
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='sky001' and status=0
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
2022-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: +38220690266
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4420123456' OR routing_prefix = '442012345' OR routing_prefix = '44201234' OR routing_prefix = '4420123' OR routing_prefix = '442012' OR routing_prefix = '44201' OR routing_prefix = '4420' OR routing_prefix = '442' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4307873302
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 173.93048
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^4420123456.*' OR pattern = '^442012345.*' OR pattern = '^44201234.*' OR pattern = '^4420123.*' OR pattern = '^442012.*' OR pattern = '^44201.*' OR pattern = '^4420.*' OR pattern = '^442.*' OR pattern = '^44.*' OR pattern = '^4.*' 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-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3347
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.03000
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : United Kingdom
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 200
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your173.93048 balance Accountid 7 !!!
2022-06-28 13:32:23.813244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 3347
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
2022-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [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 = '^4420123456.*' OR pattern = '^442012345.*' OR pattern = '^44201234.*' OR pattern = '^4420123.*' OR pattern = '^442012.*' OR pattern = '^44201.*' OR pattern = '^4420.*' OR pattern = '^442.*' 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-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 375067
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^442.*
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : United Kingdom-UK National
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^442.*
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 6
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : DIDWW-ORIGIN
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 6
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : DID-ORIGIN
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-28 13:32:23.813244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] DIDWW-INT: 0.51103 > 0.03000, skipping for loss less routing
2022-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 4420123456
2022-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 4420123456
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 4420123456
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='4420123456' and status=0
2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
2022-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: +38220690266
2022-06-28 13:32:23.813244 [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 ="4420123456" LIMIT 1
2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number +38220690266
2022-06-28 13:32:23.813244 [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="4420123456">
<condition field="destination_number" expression="4420123456">
<action application="set" data="effective_destination_number=4420123456"/>
<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-06-28 11:32:22"/>
<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:3347|CODE:^44.*|DESTINATION:United Kingdom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:7"/>
<action application="set" data="original_caller_id_name=+38220690266"/>
<action application="set" data="original_caller_id_number=4420123456"/>
<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=+38220690266"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:375067|CODE:^442.*|DESTINATION:United Kingdom-UK National|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00281|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=3347"/>
<action application="export" data="presence_data=trunk_id=6"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=4420123456"/>
<action application="export" data="presence_data=x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162"/>
<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/4420123456"/>
</condition>
</extension>
</context>
</document>
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs parsing [default->4420123456] continue=false
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Regex (PASS) [4420123456] destination_number(4420123456) =~ /4420123456/ break=on-false
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_destination_number=4420123456)
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-06-28 11:32:22)
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:3347|CODE:^44.*|DESTINATION:United Kingdom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|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=4420123456)
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=+38220690266)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(calltype=STANDARD)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(termination_rates=ID:375067|CODE:^442.*|DESTINATION:United Kingdom-UK National|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00281|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(trunk_id=6)
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=3347)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=trunk_id=6)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(intcall=0)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_id=4420123456)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162)
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(hash CPS_6 CPS_trunk_6 10/1 )
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 )
Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/4420123456)
2022-06-28 13:32:23.813244 [DEBUG] switch_core_state_machine.c:287 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_ROUTING -> CS_EXECUTE
2022-06-28 13:32:23.813244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/sky001@skytel011.tdsltd.rs) State ROUTING going to sleep
2022-06-28 13:32:23.813244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_EXECUTE (Cur 51 Tot 2758981)
2022-06-28 13:32:23.813244 [DEBUG] switch_core_state_machine.c:651 (sofia/default/sky001@skytel011.tdsltd.rs) State EXECUTE
2022-06-28 13:32:23.813244 [DEBUG] mod_sofia.c:209 sofia/default/sky001@skytel011.tdsltd.rs SOFIA EXECUTE
2022-06-28 13:32:23.813244 [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=4420123456)
2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_destination_number]=[4420123456]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(bridge_pre_execute_bleg_app=sched_hangup)
2022-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [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-06-28 11:32:22)
2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [callstart]=[2022-06-28 11:32:22]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(hangup_after_bridge=true)
2022-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [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-06-28 13:32:23.813244 [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-06-28 13:32:23.833235 [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:3347|CODE:^44.*|DESTINATION:United Kingdom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:7)
2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [origination_rates]=[ID:3347|CODE:^44.*|DESTINATION:United Kingdom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:7]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(original_caller_id_name=+38220690266)
2022-06-28 13:32:23.833235 [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=4420123456)
2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [original_caller_id_number]=[4420123456]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(db 4307873302 user_4307873302 5 )
2022-06-28 13:32:23.833235 [DEBUG] switch_limit.c:124 incr called: 4307873302_user_4307873302 max:5, interval:0
2022-06-28 13:32:23.833235 [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-06-28 13:32:23.833235 [DEBUG] switch_limit.c:124 incr called: CPS_4307873302_CPS_user_4307873302 max:2, interval:1
2022-06-28 13:32:23.833235 [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-06-28 13:32:23.833235 [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=+38220690266)
2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_number]=[+38220690266]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(calltype=STANDARD)
2022-06-28 13:32:23.833235 [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:375067|CODE:^442.*|DESTINATION:United Kingdom-UK National|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00281|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6)
2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [termination_rates]=[ID:375067|CODE:^442.*|DESTINATION:United Kingdom-UK National|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00281|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(trunk_id=6)
2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [trunk_id]=[6]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(provider_id=6)
2022-06-28 13:32:23.833235 [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-06-28 13:32:23.833235 [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=3347)
2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [force_trunk_flag]=[3347]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=trunk_id=6)
2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=6]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(intcall=0)
2022-06-28 13:32:23.833235 [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=4420123456)
2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[4420123456]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162)
2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162]
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(hash CPS_6 CPS_trunk_6 10/1 )
2022-06-28 13:32:23.833235 [DEBUG] switch_limit.c:124 incr called: CPS_6_CPS_trunk_6 max:10, interval:1
2022-06-28 13:32:23.833235 [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/sky001@skytel011.tdsltd.rs limit(db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 )
2022-06-28 13:32:23.833235 [DEBUG] switch_limit.c:124 incr called: DIDWW-ORIGIN_gw_DIDWW-ORIGIN max:20, interval:0
2022-06-28 13:32:23.833235 [DEBUG] mod_db.c:194 Usage for DIDWW-ORIGIN_gw_DIDWW-ORIGIN is now 2/20
EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/4420123456)
2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162] to event
2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[4420123456] to event
2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162] to event
2022-06-28 13:32:23.833235 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-06-28 13:32:23.833235 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-06-28 13:32:23.833235 [NOTICE] switch_channel.c:1118 New Channel sofia/default/4420123456 [40949682-b6d2-4a43-a3da-8b0346691674]
2022-06-28 13:32:23.833235 [DEBUG] mod_sofia.c:5102 (sofia/default/4420123456) State Change CS_NEW -> CS_INIT
2022-06-28 13:32:23.833235 [DEBUG] switch_ivr_originate.c:3142 sofia/default/4420123456 Setting leg timeout to 45
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_INIT (Cur 52 Tot 2758982)
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4420123456) State INIT
2022-06-28 13:32:23.833235 [DEBUG] mod_sofia.c:93 sofia/default/4420123456 SOFIA INIT
2022-06-28 13:32:23.833235 [INFO] sofia_glue.c:1621 sofia/default/4420123456 sending invite call-id: (null)
2022-06-28 13:32:23.833235 [DEBUG] sofia_glue.c:1624 sofia/default/4420123456 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656383977 1656383978 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 31966 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-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:40 sofia/default/4420123456 Standard INIT
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4420123456) State Change CS_INIT -> CS_ROUTING
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4420123456) State INIT going to sleep
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_ROUTING (Cur 52 Tot 2758982)
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4420123456) State ROUTING
2022-06-28 13:32:23.833235 [DEBUG] mod_sofia.c:154 sofia/default/4420123456 SOFIA ROUTING
2022-06-28 13:32:23.833235 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4420123456) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4420123456) State ROUTING going to sleep
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_CONSUME_MEDIA (Cur 52 Tot 2758982)
2022-06-28 13:32:23.833235 [DEBUG] sofia.c:7406 Channel sofia/default/4420123456 entering state [calling][0]
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4420123456) State CONSUME_MEDIA
2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4420123456) State CONSUME_MEDIA going to sleep
2022-06-28 13:32:23.853225 [DEBUG] sofia.c:7406 Channel sofia/default/4420123456 entering state [calling][0]
2022-06-28 13:32:24.193242 [DEBUG] sofia.c:7406 Channel sofia/default/4420123456 entering state [terminated][484]
2022-06-28 13:32:24.193242 [NOTICE] sofia.c:8641 Hangup sofia/default/4420123456 [CS_CONSUME_MEDIA] [INVALID_NUMBER_FORMAT]
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_HANGUP (Cur 52 Tot 2758982)
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:848 (sofia/default/4420123456) Callstate Change DOWN -> HANGUP
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4420123456) State HANGUP
2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:453 Channel sofia/default/4420123456 hanging up, cause: INVALID_NUMBER_FORMAT
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:60 sofia/default/4420123456 Standard HANGUP, cause: INVALID_NUMBER_FORMAT
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4420123456) State HANGUP going to sleep
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:620 (sofia/default/4420123456) State Change CS_HANGUP -> CS_REPORTING
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_REPORTING (Cur 52 Tot 2758982)
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4420123456) State REPORTING
2022-06-28 13:32:24.193242 [INFO] mod_json_cdr.c:271 Process [40949682-b6d2-4a43-a3da-8b0346691674.cdr.json]
2022-06-28 13:32:24.193242 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 28 [INVALID_NUMBER_FORMAT]
2022-06-28 13:32:24.193242 [INFO] mod_dptools.c:3643 Originate Failed. Cause: INVALID_NUMBER_FORMAT
2022-06-28 13:32:24.193242 [NOTICE] switch_core_state_machine.c:386 sofia/default/sky001@skytel011.tdsltd.rs has executed the last dialplan instruction, hanging up.
2022-06-28 13:32:24.193242 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/sky001@skytel011.tdsltd.rs [CS_EXECUTE] [NORMAL_CLEARING]
2022-06-28 13:32:24.193242 [DEBUG] mod_hash.c:296 Usage for CPS_4307873302_CPS_user_4307873302 is now 0
2022-06-28 13:32:24.193242 [DEBUG] mod_hash.c:296 Usage for CPS_6_CPS_trunk_6 is now 1
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:651 (sofia/default/sky001@skytel011.tdsltd.rs) State EXECUTE going to sleep
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_HANGUP (Cur 52 Tot 2758982)
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:848 (sofia/default/sky001@skytel011.tdsltd.rs) Callstate Change RINGING -> HANGUP
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/sky001@skytel011.tdsltd.rs) State HANGUP
2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:447 sofia/default/sky001@skytel011.tdsltd.rs Overriding SIP cause 480 with 484 from the other leg
2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:453 Channel sofia/default/sky001@skytel011.tdsltd.rs hanging up, cause: NORMAL_CLEARING
2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 484
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:60 sofia/default/sky001@skytel011.tdsltd.rs Standard HANGUP, cause: NORMAL_CLEARING
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/sky001@skytel011.tdsltd.rs) State HANGUP going to sleep
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:620 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_HANGUP -> CS_REPORTING
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_REPORTING (Cur 52 Tot 2758982)
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:936 (sofia/default/sky001@skytel011.tdsltd.rs) State REPORTING
2022-06-28 13:32:24.193242 [INFO] mod_json_cdr.c:271 Process [39e76f75-21f0-4577-91b8-b5a0b884f384.cdr.json]
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:174 sofia/default/4420123456 Standard REPORTING, cause: INVALID_NUMBER_FORMAT
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4420123456) State REPORTING going to sleep
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:611 (sofia/default/4420123456) State Change CS_REPORTING -> CS_DESTROY
2022-06-28 13:32:24.193242 [DEBUG] switch_core_session.c:1736 Session 2758982 (sofia/default/4420123456) Locked, Waiting on external entities
2022-06-28 13:32:24.193242 [NOTICE] switch_core_session.c:1754 Session 2758982 (sofia/default/4420123456) Ended
2022-06-28 13:32:24.193242 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/4420123456 [CS_DESTROY]
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:739 (sofia/default/4420123456) Running State Change CS_DESTROY (Cur 51 Tot 2758982)
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4420123456) State DESTROY
2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:364 sofia/default/4420123456 SOFIA DESTROY
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:181 sofia/default/4420123456 Standard DESTROY
2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4420123456) State DESTROY going to sleep
2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:174 sofia/default/sky001@skytel011.tdsltd.rs Standard REPORTING, cause: NORMAL_CLEARING
2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/sky001@skytel011.tdsltd.rs) State REPORTING going to sleep
2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:611 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_REPORTING -> CS_DESTROY
2022-06-28 13:32:24.213228 [DEBUG] switch_core_session.c:1736 Session 2758981 (sofia/default/sky001@skytel011.tdsltd.rs) Locked, Waiting on external entities
2022-06-28 13:32:24.213228 [NOTICE] switch_core_session.c:1754 Session 2758981 (sofia/default/sky001@skytel011.tdsltd.rs) Ended
2022-06-28 13:32:24.213228 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/sky001@skytel011.tdsltd.rs [CS_DESTROY]
2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:739 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_DESTROY (Cur 50 Tot 2758982)
2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/sky001@skytel011.tdsltd.rs) State DESTROY
2022-06-28 13:32:24.213228 [DEBUG] mod_sofia.c:364 sofia/default/sky001@skytel011.tdsltd.rs SOFIA DESTROY
2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:181 sofia/default/sky001@skytel011.tdsltd.rs Standard DESTROY
2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/sky001@skytel011.tdsltd.rs) State DESTROY going to sleep
2022-06-28 13:32:26.753243 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38618282990@148.251.195.149 [76124159-b2aa-4492-8210-9e0057faaa4d]
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_NEW (Cur 51 Tot 2758983)
2022-06-28 13:32:26.753243 [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: 089f69fd2f2f7453147965465299a4e0@148.251.195.149:5060
2022-06-28 13:32:26.753243 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
2022-06-28 13:32:26.753243 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
2022-06-28 13:32:26.753243 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [received][100]
2022-06-28 13:32:26.753243 [DEBUG] sofia.c:7416 Remote SDP:
v=0
o=root 2107701625 2107701625 IN IP4 95.216.40.232
s=SIP.IO
c=IN IP4 95.216.40.232
t=0 0
m=audio 16692 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-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
2022-06-28 13:32:26.753243 [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-06-28 13:32:26.753243 [DEBUG] switch_core_codec.c:111 sofia/default/38618282990@148.251.195.149 Original read codec set to PCMA:8
2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
2022-06-28 13:32:26.753243 [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-06-28 13:32:26.753243 [DEBUG] sofia.c:7840 (sofia/default/38618282990@148.251.195.149) State Change CS_NEW -> CS_INIT
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:604 (sofia/default/38618282990@148.251.195.149) State NEW
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_INIT (Cur 51 Tot 2758983)
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT
2022-06-28 13:32:26.753243 [DEBUG] mod_sofia.c:93 sofia/default/38618282990@148.251.195.149 SOFIA INIT
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:40 sofia/default/38618282990@148.251.195.149 Standard INIT
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38618282990@148.251.195.149) State Change CS_INIT -> CS_ROUTING
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT going to sleep
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_ROUTING (Cur 51 Tot 2758983)
2022-06-28 13:32:26.753243 [DEBUG] switch_channel.c:2332 (sofia/default/38618282990@148.251.195.149) Callstate Change DOWN -> RINGING
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING
2022-06-28 13:32:26.753243 [DEBUG] mod_sofia.c:154 sofia/default/38618282990@148.251.195.149 SOFIA ROUTING
2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:236 sofia/default/38618282990@148.251.195.149 Standard ROUTING
2022-06-28 13:32:26.753243 [INFO] mod_dialplan_xml.c:637 Processing 38618282990 <38618282990>->385953943736 in context default
2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-28 13:32:26.753243 [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-06-28%2013%3A32%3A26
Event-Date-GMT: Tue,%2028%20Jun%202022%2011%3A32%3A26%20GMT
Event-Date-Timestamp: 1656415946753243
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 145309221
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/38618282990%40148.251.195.149
Unique-ID: 76124159-b2aa-4492-8210-9e0057faaa4d
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 38618282990%40148.251.195.149
Channel-Call-UUID: 76124159-b2aa-4492-8210-9e0057faaa4d
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: 385953943736
Caller-Unique-ID: 76124159-b2aa-4492-8210-9e0057faaa4d
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: 1656415946753243
Caller-Channel-Created-Time: 1656415946753243
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: 76124159-b2aa-4492-8210-9e0057faaa4d
variable_session_id: 2758983
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: 089f69fd2f2f7453147965465299a4e0%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: 1656415946753243
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: as476722d0
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%3Dz9hG4bK1e080ea2
variable_sip_full_from: %3Csip%3A38618282990%40148.251.195.149%3E%3Btag%3Das476722d0
variable_sip_full_to: %3Csip%3A385953943736%40sipp.skytel.rs%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
variable_sip_req_user: 385953943736
variable_sip_req_port: 5060
variable_sip_req_uri: 385953943736%40sipp.skytel.rs%3A5060
variable_sip_req_host: sipp.skytel.rs
variable_sip_to_user: 385953943736
variable_sip_to_port: 5060
variable_sip_to_uri: 385953943736%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%202107701625%202107701625%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%2016692%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: 16692
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: 76124159-b2aa-4492-8210-9e0057faaa4d
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: 385953943736
Hunt-Unique-ID: 76124159-b2aa-4492-8210-9e0057faaa4d
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: 1656415946753243
Hunt-Channel-Created-Time: 1656415946753243
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-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 385953943736
2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '385953943736' limit 1
2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '385953943736' AND status=0 limit 1
2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '385953943736' and status=0 LIMIT 1
2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 38618282990 / 38618282990
2022-06-28 13:32:26.753243 [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 ="385953943736" LIMIT 1
2022-06-28 13:32:26.773232 [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="385953943736" AND domains.domain="sipp.skytel.rs" limit 1
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-06-28 13:32:26.773232 [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 "385953943736" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3611165659]
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3611165659" AND deleted = 0 limit 1
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^385953943736.*' OR blocked_patterns = '^38595394373.*' OR blocked_patterns = '^3859539437.*' OR blocked_patterns = '^385953943.*' OR blocked_patterns = '^38595394.*' OR blocked_patterns = '^3859539.*' OR blocked_patterns = '^385953.*' OR blocked_patterns = '^38595.*' 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-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="385953943736" AND (accountid = 0 OR status = 1) LIMIT 1
2022-06-28 13:32:26.773232 [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 = '^385953943736.*' OR patterns = '^38595394373.*' OR patterns = '^3859539437.*' OR patterns = '^385953943.*' OR patterns = '^38595394.*' OR patterns = '^3859539.*' OR patterns = '^385953.*' OR patterns = '^38595.*' OR patterns = '^3859.*' OR patterns = '^385.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 37 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-06-28 13:32:26.773232 [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 ="385953943736" AND A.accountid = '37' limit 1
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 385953943736
2022-06-28 13:32:26.773232 [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 ="385953943736" LIMIT 1
2022-06-28 13:32:26.773232 [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="385953943736" AND domains.domain="sipp.skytel.rs" limit 1
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-06-28 13:32:26.773232 [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 = '385953943736' OR number = '38595394373' OR number = '3859539437' OR number = '385953943' OR number = '38595394' OR number = '3859539' OR number = '385953' OR number = '38595' OR number = '3859' OR number = '385' OR number = '38' OR number = '3' OR number ='--') OR (number = '385953943736*' OR number = '38595394373*' OR number = '3859539437*' OR number = '385953943*' OR number = '38595394*' OR number = '3859539*' OR number = '385953*' OR number = '38595*' 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-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38618282990
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38618282990' and status=0
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
2022-06-28 13:32:26.773232 [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-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: 38515790638
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '385953943736' OR routing_prefix = '38595394373' OR routing_prefix = '3859539437' OR routing_prefix = '385953943' OR routing_prefix = '38595394' OR routing_prefix = '3859539' OR routing_prefix = '385953' OR routing_prefix = '38595' 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-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 37
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3611165659
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 6414.57631
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 10
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^385953943736.*' OR pattern = '^38595394373.*' OR pattern = '^3859539437.*' OR pattern = '^385953943.*' OR pattern = '^38595394.*' OR pattern = '^3859539.*' OR pattern = '^385953.*' OR pattern = '^38595.*' 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-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4305
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.02450
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Croatia-Mobile
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 47
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 37
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your6414.57631 balance Accountid 37 !!!
2022-06-28 13:32:26.773232 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2022-06-28 13:32:26.773232 [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-06-28 13:32:26.773232 [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 = '^385953943736.*' OR pattern = '^38595394373.*' OR pattern = '^3859539437.*' OR pattern = '^385953943.*' OR pattern = '^38595394.*' OR pattern = '^3859539.*' OR pattern = '^385953.*' OR pattern = '^38595.*' 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-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 339650
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^38595.*
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Croatia - Mobile Tele2
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^38595.*
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 372062
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3859.*
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Croatia-Mobile
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3859.*
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 18
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : IT1
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 16
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : IT1
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-28 13:32:26.773232 [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-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38515790638
2022-06-28 13:32:26.773232 [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-06-28 13:32:26.773232 [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-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38515790638
2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38515790638
2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38515790638' and status=0
2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
2022-06-28 13:32:26.793228 [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 ="385953943736" LIMIT 1
2022-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38515790638
2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
2022-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38515790638
2022-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38515790638
2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38515790638
2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38515790638' and status=0
2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
2022-06-28 13:32:26.793228 [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 ="385953943736" LIMIT 1
2022-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38515790638
2022-06-28 13:32:26.793228 [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="385953943736">
<condition field="destination_number" expression="385953943736">
<action application="set" data="effective_destination_number=385953943736"/>
<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-06-28 11:32:25"/>
<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=38515790638"/>
<action application="set" data="original_caller_id_number=38515790638"/>
<action application="set" data="effective_caller_id_name=38515790638"/>
<action application="set" data="effective_caller_id_number=38515790638"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:339650|CODE:^38595.*|DESTINATION:Croatia - Mobile Tele2|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=385953943736"/>
<action application="export" data="presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 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/385953943736"/>
<action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/385953943736"/>
<action application="set" data="effective_caller_id_name=38515790638"/>
<action application="set" data="effective_caller_id_number=38515790638"/>
<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=385953943736"/>
<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/385953943736"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/38618282990@148.251.195.149 parsing [default->385953943736] continue=false
Dialplan: sofia/default/38618282990@148.251.195.149 Regex (PASS) [385953943736] destination_number(385953943736) =~ /385953943736/ break=on-false
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_destination_number=385953943736)
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-06-28 11:32:25)
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=38515790638)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_number=38515790638)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38515790638)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38515790638)
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:339650|CODE:^38595.*|DESTINATION:Croatia - Mobile Tele2|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=385953943736)
Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 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/385953943736)
Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/385953943736)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38515790638)
Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38515790638)
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=385953943736)
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/385953943736)
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:287 (sofia/default/38618282990@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING going to sleep
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_EXECUTE (Cur 51 Tot 2758983)
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:651 (sofia/default/38618282990@148.251.195.149) State EXECUTE
2022-06-28 13:32:26.793228 [DEBUG] mod_sofia.c:209 sofia/default/38618282990@148.251.195.149 SOFIA EXECUTE
2022-06-28 13:32:26.793228 [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=385953943736)
2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_destination_number]=[385953943736]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 11:32:25)
2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [callstart]=[2022-06-28 11:32:25]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(hangup_after_bridge=true)
2022-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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=38515790638)
2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_name]=[38515790638]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_number=38515790638)
2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_number]=[38515790638]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_name=38515790638)
2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_name]=[38515790638]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_number=38515790638)
2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_number]=[38515790638]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(calltype=STANDARD)
2022-06-28 13:32:26.793228 [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:339650|CODE:^38595.*|DESTINATION:Croatia - Mobile Tele2|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [termination_rates]=[ID:339650|CODE:^38595.*|DESTINATION:Croatia - Mobile Tele2|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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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-06-28 13:32:26.793228 [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=385953943736)
2022-06-28 13:32:26.793228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[385953943736]
EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 0.00920 // trunk_id=10|||STD|||148.251.195.149)
2022-06-28 13:32:26.793228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 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/385953943736)
2022-06-28 13:32:26.793228 [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 // ^38595.* // Croatia - Mobile Tele2 // 0.00920 // trunk_id=10|||STD|||148.251.195.149] to event
2022-06-28 13:32:26.793228 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_id]=[385953943736] to event
2022-06-28 13:32:26.793228 [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 // ^38595.* // Croatia - Mobile Tele2 // 0.00920 // trunk_id=10|||STD|||148.251.195.149] to event
2022-06-28 13:32:26.793228 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
2022-06-28 13:32:26.793228 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
2022-06-28 13:32:26.793228 [NOTICE] switch_channel.c:1118 New Channel sofia/default/385953943736 [f99dbba9-2cef-4b22-a8a1-aef04f6496b8]
2022-06-28 13:32:26.793228 [DEBUG] mod_sofia.c:5102 (sofia/default/385953943736) State Change CS_NEW -> CS_INIT
2022-06-28 13:32:26.793228 [DEBUG] switch_ivr_originate.c:3142 sofia/default/385953943736 Setting leg timeout to 45
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385953943736) Running State Change CS_INIT (Cur 52 Tot 2758984)
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/385953943736) State INIT
2022-06-28 13:32:26.793228 [DEBUG] mod_sofia.c:93 sofia/default/385953943736 SOFIA INIT
2022-06-28 13:32:26.793228 [INFO] sofia_glue.c:1621 sofia/default/385953943736 sending invite call-id: (null)
2022-06-28 13:32:26.793228 [DEBUG] sofia_glue.c:1624 sofia/default/385953943736 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
Local SDP:
v=0
o=FreeSWITCH 1656389118 1656389119 IN IP4 82.214.92.3
s=FreeSWITCH
c=IN IP4 82.214.92.3
t=0 0
m=audio 26828 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-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:40 sofia/default/385953943736 Standard INIT
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:48 (sofia/default/385953943736) State Change CS_INIT -> CS_ROUTING
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/385953943736) State INIT going to sleep
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385953943736) Running State Change CS_ROUTING (Cur 52 Tot 2758984)
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/385953943736) State ROUTING
2022-06-28 13:32:26.793228 [DEBUG] mod_sofia.c:154 sofia/default/385953943736 SOFIA ROUTING
2022-06-28 13:32:26.793228 [DEBUG] switch_ivr_originate.c:67 (sofia/default/385953943736) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/385953943736) State ROUTING going to sleep
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385953943736) Running State Change CS_CONSUME_MEDIA (Cur 52 Tot 2758984)
2022-06-28 13:32:26.793228 [DEBUG] sofia.c:7406 Channel sofia/default/385953943736 entering state [calling][0]
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/385953943736) State CONSUME_MEDIA
2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/385953943736) State CONSUME_MEDIA going to sleep