span style="color: goldenrod; font-weight: bold;"> 2023-06-27 12:14:57.698652 99.03% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34636628167 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:14:57.718653 99.03% [DEBUG] switch_ivr.c:632 sofia/default/34636628167 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/34636628167 sched_hangup(+6000 normal_clearing)
2023-06-27 12:14:57.718653 99.03% [DEBUG] switch_scheduler.c:263 Added task 3160 switch_ivr_schedule_hangup (93fcdc6b-78fd-44b3-82aa-82f8a33ac2fb) to run at 1687874097
2023-06-27 12:15:02.138651 98.93% [NOTICE] switch_channel.c:1123 New Channel sofia/default/919892479@cloud.masip.es [b47a6275-4b01-4552-a3ca-97cf714d6f8e]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_NEW (Cur 11 Tot 6703)
2023-06-27 12:15:02.138651 98.93% [INFO] sofia.c:10462 sofia/default/919892479@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 6c398952784f21ca0885914e3dcd8b6e@cloud.masip.es
2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:7499 Channel sofia/default/919892479@cloud.masip.es entering state [received][100]
2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 2009377384 2009377384 IN IP4 18.100.96.199
s=Asterisk PBX 13.32.0
c=IN IP4 18.100.96.199
t=0 0
m=audio 18026 RTP/AVP 0 8 18 4 3 111 112 5 10 118 7 110 117 119 97 9 102 115 116 107 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 annexa=no
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:112 AAL2-G726-32/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:10 L16/8000
a=rtpmap:118 L16/16000
a=rtpmap:7 LPC/8000
a=rtpmap:110 speex/8000
a=rtpmap:117 speex/16000
a=rtpmap:119 speex/32000
a=rtpmap:97 iLBC/8000
a=rtpmap:9 G722/8000
a=rtpmap:102 G7221/16000
a=fmtp:102 bitrate=32000
a=rtpmap:115 G7221/32000
a=fmtp:115 bitrate=48000
a=rtpmap:116 G719/48000
a=fmtp:116 bitrate=64000
a=rtpmap:107 opus/48000/2
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:20
a=rtcp-mux
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G723:4:8000:30:6300:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:111:8000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [AAL2-G726-32:112:8000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [AAL2-G726-32:112:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [AAL2-G726-32:112:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [DVI4:5:8000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [DVI4:5:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [DVI4:5:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:10:8000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:10:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:10:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:118:16000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:118:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:118:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [LPC:7:8000:20:2400:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [LPC:7:8000:20:2400:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [LPC:7:8000:20:2400:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:117:16000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:117:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:117:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:119:32000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:119:32000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:119:32000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:13330:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:13330:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:13330:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:102:16000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:102:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:102:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:115:32000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:115:32000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:115:32000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G719:116:48000:20:0:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G719:116:48000:20:0:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G719:116:48000:20:0:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:107:48000:20:0:2]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:107:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:107:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/919892479@cloud.masip.es PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_codec.c:111 sofia/default/919892479@cloud.masip.es Original read codec set to PCMU:0
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5973 sofia/default/919892479@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:7933 (sofia/default/919892479@cloud.masip.es) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:600 (sofia/default/919892479@cloud.masip.es) State NEW
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_INIT (Cur 11 Tot 6703)
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/919892479@cloud.masip.es) State INIT
2023-06-27 12:15:02.138651 98.93% [DEBUG] mod_sofia.c:97 sofia/default/919892479@cloud.masip.es SOFIA INIT
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/919892479@cloud.masip.es Standard INIT
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/919892479@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/919892479@cloud.masip.es) State INIT going to sleep
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_ROUTING (Cur 11 Tot 6703)
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_channel.c:2380 (sofia/default/919892479@cloud.masip.es) Callstate Change DOWN -> RINGING
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/919892479@cloud.masip.es) State ROUTING
2023-06-27 12:15:02.138651 98.93% [DEBUG] mod_sofia.c:158 sofia/default/919892479@cloud.masip.es SOFIA ROUTING
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:230 sofia/default/919892479@cloud.masip.es Standard ROUTING
2023-06-27 12:15:02.138651 98.93% [INFO] mod_dialplan_xml.c:639 Processing 919892479 <919892479>->34653087880 in context default
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:02.138651 98.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
FreeSWITCH-Hostname: ip-10-0-2-92
FreeSWITCH-Switchname: ip-10-0-2-92
FreeSWITCH-IPv4: 10.0.2.92
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-06-27%2012%3A15%3A02
Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A02%20GMT
Event-Date-Timestamp: 1687868102138651
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 380789
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/919892479%40cloud.masip.es
Unique-ID: b47a6275-4b01-4552-a3ca-97cf714d6f8e
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 919892479%40cloud.masip.es
Channel-Call-UUID: b47a6275-4b01-4552-a3ca-97cf714d6f8e
Answer-State: ringing
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 919892479
Caller-Dialplan: XML
Caller-Caller-ID-Name: 919892479
Caller-Caller-ID-Number: 919892479
Caller-Orig-Caller-ID-Name: 919892479
Caller-Orig-Caller-ID-Number: 919892479
Caller-Network-Addr: 34.252.123.120
Caller-ANI: 919892479
Caller-Destination-Number: 34653087880
Caller-Unique-ID: b47a6275-4b01-4552-a3ca-97cf714d6f8e
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/919892479%40cloud.masip.es
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1687868102138651
Caller-Channel-Created-Time: 1687868102138651
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: false
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: b47a6275-4b01-4552-a3ca-97cf714d6f8e
variable_session_id: 6703
variable_sip_from_user: 919892479
variable_sip_from_uri: 919892479%40cloud.masip.es
variable_sip_from_host: cloud.masip.es
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/919892479%40cloud.masip.es
variable_sip_call_id: 6c398952784f21ca0885914e3dcd8b6e%40cloud.masip.es
variable_sip_local_network_addr: 54.220.206.86
variable_sip_network_ip: 34.252.123.120
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1687868102138651
variable_sip_received_ip: 34.252.123.120
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: 919892479
variable_sip_from_tag: as20a38e90
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %22919892479%22%20%3Csip%3A919892479%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
variable_sip_cid_type: rpid
variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das20a38e90%3Bdid%3D22b.599a73c3%3E
variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das20a38e90%3Bdid%3D22b.599a73c3%3E
variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bK2f9b.034296e6.0,SIP/2.0/UDP%2018.100.96.199%3A5060%3Bbranch%3Dz9hG4bK6d6e3ba2
variable_sip_full_from: %3Csip%3A919892479%40cloud.masip.es%3E%3Btag%3Das20a38e90
variable_sip_full_to: %3Csip%3A34653087880%40cloud.masip.es%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
variable_sip_req_user: 34653087880
variable_sip_req_port: 5060
variable_sip_req_uri: 34653087880%40cloud.masip.es%3A5060
variable_sip_req_host: cloud.masip.es
variable_sip_to_user: 34653087880
variable_sip_to_port: 5060
variable_sip_to_uri: 34653087880%40cloud.masip.es%3A5060
variable_sip_to_host: cloud.masip.es
variable_sip_contact_user: 919892479
variable_sip_contact_port: 5060
variable_sip_contact_uri: 919892479%4018.100.96.199%3A5060
variable_sip_contact_host: 18.100.96.199
variable_sip_user_agent: Leontel%20PBX
variable_sip_via_host: 34.252.123.120
variable_sip_via_port: 5060
variable_max_forwards: 69
variable_presence_id: 919892479%40cloud.masip.es
variable_sip_date_epoch_time: 1687868102
variable_sip_h_X-AUTH-IP: 18.100.96.199
variable_sip_h_P-Accountcode: 670663
variable_sip_h_P-effective_caller_id_name: %3Cnull%3E
variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202009377384%202009377384%20IN%20IP4%2018.100.96.199%0D%0As%3DAsterisk%20PBX%2013.32.0%0D%0Ac%3DIN%20IP4%2018.100.96.199%0D%0At%3D0%200%0D%0Am%3Daudio%2018026%20RTP/AVP%200%208%2018%204%203%20111%20112%205%2010%20118%207%20110%20117%20119%2097%209%20102%20115%20116%20107%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Dfmtp%3A4%20annexa%3Dno%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A111%20G726-32/8000%0D%0Aa%3Drtpmap%3A112%20AAL2-G726-32/8000%0D%0Aa%3Drtpmap%3A5%20DVI4/8000%0D%0Aa%3Drtpmap%3A10%20L16/8000%0D%0Aa%3Drtpmap%3A118%20L16/16000%0D%0Aa%3Drtpmap%3A7%20LPC/8000%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A117%20speex/16000%0D%0Aa%3Drtpmap%3A119%20speex/32000%0D%0Aa%3Drtpmap%3A97%20iLBC/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A102%20G7221/16000%0D%0Aa%3Dfmtp%3A102%20bitrate%3D32000%0D%0Aa%3Drtpmap%3A115%20G7221/32000%0D%0Aa%3Dfmtp%3A115%20bitrate%3D48000%0D%0Aa%3Drtpmap%3A116%20G719/48000%0D%0Aa%3Dfmtp%3A116%20bitrate%3D64000%0D%0Aa%3Drtpmap%3A107%20opus/48000/2%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dmaxptime%3A20%0D%0Aa%3Drtcp-mux%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
variable_rtp_use_codec_string: G729,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: 18.100.96.199
variable_remote_media_port: 18026
variable_rtp_audio_recv_pt: 0
variable_rtp_use_codec_name: PCMU
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
variable_read_codec: PCMU
variable_original_read_codec: PCMU
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMU
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: b47a6275-4b01-4552-a3ca-97cf714d6f8e
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 919892479
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 919892479
Hunt-Caller-ID-Number: 919892479
Hunt-Orig-Caller-ID-Name: 919892479
Hunt-Orig-Caller-ID-Number: 919892479
Hunt-Network-Addr: 34.252.123.120
Hunt-ANI: 919892479
Hunt-Destination-Number: 34653087880
Hunt-Unique-ID: b47a6275-4b01-4552-a3ca-97cf714d6f8e
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/919892479%40cloud.masip.es
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1687868102138651
Hunt-Channel-Created-Time: 1687868102138651
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: false
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34653087880
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34653087880' AND status=0 limit 1
2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : <null> / <null>
2023-06-27 12:15:02.138651 98.93% [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 ="34653087880" LIMIT 1
2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34653087880" limit 1
2023-06-27 12:15:02.158648 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-06-27 12:15:02.158648 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 670663]
2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "670663" AND deleted = 0 limit 1
2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34653087880.*' OR blocked_patterns = '^3465308788.*' OR blocked_patterns = '^346530878.*' OR blocked_patterns = '^34653087.*' OR blocked_patterns = '^3465308.*' OR blocked_patterns = '^346530.*' OR blocked_patterns = '^34653.*' OR blocked_patterns = '^3465.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 109 limit 1
2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34653087880" AND (accountid = 0 OR status = 1) LIMIT 1
2023-06-27 12:15:02.158648 98.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 2
2023-06-27 12:15:02.158648 98.93% [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 = 2 AND status=0 limit 1
2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"6/346,7/347,8/348,9/349".....34653087880
2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"6/346,7/347,8/348,9/349".....34653087880
2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"6/346,7/347,8/348,9/349".....34653087880
2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"6/346,7/347,8/348,9/349".....34653087880
2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^34653087880.*' OR patterns = '^3465308788.*' OR patterns = '^346530878.*' OR patterns = '^34653087.*' OR patterns = '^3465308.*' OR patterns = '^346530.*' OR patterns = '^34653.*' OR patterns = '^3465.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 109 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-06-27 12:15:02.158648 98.93% [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 ="34653087880" AND A.accountid = '109' limit 1
2023-06-27 12:15:02.158648 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34653087880
2023-06-27 12:15:02.158648 98.93% [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 ="34653087880" LIMIT 1
2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34653087880" limit 1
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-06-27 12:15:02.178651 98.93% [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 = '34653087880' OR number = '3465308788' OR number = '346530878' OR number = '34653087' OR number = '3465308' OR number = '346530' OR number = '34653' OR number = '3465' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34653087880*' OR number = '3465308788*' OR number = '346530878*' OR number = '34653087*' OR number = '3465308*' OR number = '346530*' OR number = '34653*' OR number = '3465*' OR number = '346*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34653087880' OR routing_prefix = '3465308788' OR routing_prefix = '346530878' OR routing_prefix = '34653087' OR routing_prefix = '3465308' OR routing_prefix = '346530' OR routing_prefix = '34653' OR routing_prefix = '3465' OR routing_prefix = '346' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 109
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 670663
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 45.9371
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34653087880.*' OR pattern = '^3465308788.*' OR pattern = '^346530878.*' OR pattern = '^34653087.*' OR pattern = '^3465308.*' OR pattern = '^346530.*' OR pattern = '^34653.*' OR pattern = '^3465.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=109) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 54889
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.04000
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : SPAIN
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 109
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your45.9371 balance Accountid 109 !!!
2023-06-27 12:15:02.178651 98.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2023-06-27 12:15:02.178651 98.93% [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
2023-06-27 12:15:02.198657 98.93% [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 = '^34653087880.*' OR pattern = '^3465308788.*' OR pattern = '^346530878.*' OR pattern = '^34653087.*' OR pattern = '^3465308.*' OR pattern = '^346530.*' OR pattern = '^34653.*' OR pattern = '^3465.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3,3,4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,3,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:02.198657 98.93% [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 = 109 AND status=0 LIMIT 1
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-06-27 12:15:02.198657 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-06-27 12:15:02.198657 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2023-06-27 12:15:02.198657 98.93% [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
2023-06-27 12:15:02.198657 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
2023-06-27 12:15:02.198657 98.93% [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 ="34653087880" LIMIT 1
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2023-06-27 12:15:02.218651 98.93% [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 = 37) AND status=0 limit 1
2023-06-27 12:15:02.218651 98.93% [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 = 4) AND status=0 limit 1
2023-06-27 12:15:02.218651 98.93% [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 ="34653087880" LIMIT 1
2023-06-27 12:15:02.218651 98.93% [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="34653087880">
<condition field="destination_number" expression="34653087880">
<action application="set" data="effective_destination_number=34653087880"/>
<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=2023-06-27 12:15:02"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=109"/>
<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:54889|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:109"/>
<action application="limit" data="db 670663 user_670663 50 "/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
<action application="set" data="trunk_id=3"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=3"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34653087880"/>
<action application="export" data="presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34653087880;fs_path=sip:34.252.123.120:5060"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34653087880;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=37"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34653087880"/>
<action application="export" data="presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||18.100.96.199"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34653087880;fs_path=sip:34.252.123.120:5060"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/919892479@cloud.masip.es parsing [default->34653087880] continue=false
Dialplan: sofia/default/919892479@cloud.masip.es Regex (PASS) [34653087880] destination_number(34653087880) =~ /34653087880/ break=on-false
Dialplan: sofia/default/919892479@cloud.masip.es Action set(effective_destination_number=34653087880)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(callstart=2023-06-27 12:15:02)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(hangup_after_bridge=true)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(account_id=109)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(parent_id=0)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(entity_id=0)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(call_processed=internal)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(call_direction=outbound)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(accountname=default)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(origination_rates=ID:54889|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:109)
Dialplan: sofia/default/919892479@cloud.masip.es Action limit(db 670663 user_670663 50 )
Dialplan: sofia/default/919892479@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(trunk_id=3)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(provider_id=9)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_id=34653087880)
Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199)
Dialplan: sofia/default/919892479@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34653087880;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/919892479@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34653087880;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(trunk_id=4)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(provider_id=37)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/919892479@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_id=34653087880)
Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||18.100.96.199)
Dialplan: sofia/default/919892479@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34653087880;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:281 (sofia/default/919892479@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/919892479@cloud.masip.es) State ROUTING going to sleep
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_EXECUTE (Cur 11 Tot 6703)
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/919892479@cloud.masip.es) State EXECUTE
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_sofia.c:213 sofia/default/919892479@cloud.masip.es SOFIA EXECUTE
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:323 sofia/default/919892479@cloud.masip.es Standard EXECUTE
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(effective_destination_number=34653087880)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [effective_destination_number]=[34653087880]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(callstart=2023-06-27 12:15:02)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [callstart]=[2023-06-27 12:15:02]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(hangup_after_bridge=true)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(continue_on_fail=TRUE)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(account_id=109)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [account_id]=[109]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(parent_id=0)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [parent_id]=[0]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(entity_id=0)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [entity_id]=[0]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(call_processed=internal)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(call_direction=outbound)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(accountname=default)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [accountname]=[default]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(origination_rates=ID:54889|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:109)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [origination_rates]=[ID:54889|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:109]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es limit(db 670663 user_670663 50 )
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_limit.c:124 incr called: 670663_user_670663 max:50, interval:0
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_db.c:194 Usage for 670663_user_670663 is now 1/50
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(calltype=STANDARD)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [termination_rates]=[ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(trunk_id=3)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(provider_id=9)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [provider_id]=[9]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(rate_flag=2)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(force_trunk_flag=0)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es export(presence_data=trunk_id=3)
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(intcall=0)
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [intcall]=[0]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es export(presence_id=34653087880)
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34653087880]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es export(presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199)
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199]
EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34653087880;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1269 sofia/default/919892479@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199] to event
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1269 sofia/default/919892479@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34653087880] to event
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1269 sofia/default/919892479@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199] to event
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-27 12:15:02.218651 98.93% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34653087880 [e6a31c97-64b0-4301-91f8-91fb079f4dd6]
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_sofia.c:5121 (sofia/default/34653087880) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34653087880 Setting leg timeout to 30
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_INIT (Cur 12 Tot 6704)
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34653087880) State INIT
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_sofia.c:97 sofia/default/34653087880 SOFIA INIT
2023-06-27 12:15:02.218651 98.93% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34653087880
2023-06-27 12:15:02.218651 98.93% [INFO] sofia_glue.c:1651 sofia/default/34653087880 sending invite call-id: (null)
2023-06-27 12:15:02.218651 98.93% [DEBUG] sofia_glue.c:1654 sofia/default/34653087880 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687845296 1687845297 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 22806 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/34653087880 Standard INIT
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34653087880) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34653087880) State INIT going to sleep
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_ROUTING (Cur 12 Tot 6704)
2023-06-27 12:15:02.218651 98.93% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [calling][0]
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34653087880) State ROUTING
2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_sofia.c:158 sofia/default/34653087880 SOFIA ROUTING
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34653087880) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34653087880) State ROUTING going to sleep
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 6704)
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34653087880) State CONSUME_MEDIA
2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34653087880) State CONSUME_MEDIA going to sleep
2023-06-27 12:15:02.578650 98.93% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [proceeding][183]
2023-06-27 12:15:02.578650 98.93% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34653087880!
2023-06-27 12:15:02.578650 98.93% [DEBUG] switch_channel.c:3494 (sofia/default/34653087880) Callstate Change DOWN -> RINGING
2023-06-27 12:15:02.578650 98.93% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/919892479@cloud.masip.es!
2023-06-27 12:15:02.578650 98.93% [DEBUG] sofia.c:7499 Channel sofia/default/919892479@cloud.masip.es entering state [early][180]
2023-06-27 12:15:02.578650 98.93% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/919892479@cloud.masip.es!
2023-06-27 12:15:03.738650 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [proceeding][183]
2023-06-27 12:15:03.738650 98.87% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 864233 801591 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32180 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:03.738650 98.87% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34653087880!
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_channel.c:3622 (sofia/default/34653087880) Callstate Change RINGING -> EARLY
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34653087880 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_codec.c:111 sofia/default/34653087880 Original read codec set to PCMA:8
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5973 sofia/default/34653087880 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34653087880] 10.0.2.92 port 22806 -> 54.170.60.120 port 32180 codec: 8 ms: 20
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:9089 sofia/default/34653087880 Set 2833 dtmf send payload to 101
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:9096 sofia/default/34653087880 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:9119 sofia/default/34653087880 Set rtp dtmf delay to 40
2023-06-27 12:15:03.758650 98.87% [INFO] switch_ivr_originate.c:3841 Sending early media
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/919892479@cloud.masip.es] 10.0.2.92 port 19000 -> 18.100.96.199 port 18026 codec: 0 ms: 20
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 18026
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 18026
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:9089 sofia/default/919892479@cloud.masip.es Set 2833 dtmf send payload to 101
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:9096 sofia/default/919892479@cloud.masip.es Set 2833 dtmf receive payload to 101
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:9119 sofia/default/919892479@cloud.masip.es Set rtp dtmf delay to 40
2023-06-27 12:15:03.758650 98.87% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1687849103 1687849104 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 19000 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
a=rtcp-mux
a=rtcp:19000 IN IP4 54.220.206.86
2023-06-27 12:15:03.758650 98.87% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/919892479@cloud.masip.es!
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_channel.c:3622 (sofia/default/919892479@cloud.masip.es) Callstate Change RINGING -> EARLY
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34653087880] Peer UUID: e6a31c97-64b0-4301-91f8-91fb079f4dd6
2023-06-27 12:15:03.758650 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/919892479@cloud.masip.es entering state [early][183]
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34653087880) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6704)
2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34653087880) State EXCHANGE_MEDIA
2023-06-27 12:15:03.758650 98.87% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-06-27 12:15:03.938650 98.87% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34653087880 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:03.958650 98.87% [DEBUG] switch_ivr.c:632 sofia/default/34653087880 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/34653087880 sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:03.958650 98.87% [DEBUG] switch_scheduler.c:263 Added task 3161 switch_ivr_schedule_hangup (e6a31c97-64b0-4301-91f8-91fb079f4dd6) to run at 1687874103
2023-06-27 12:15:04.058650 98.87% [NOTICE] sofia.c:1065 Hangup sofia/default/737989@cloud.masip.es [CS_EXECUTE] [NORMAL_CLEARING]
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/737989@cloud.masip.es]
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:820 sofia/default/737989@cloud.masip.es ending bridge by request from write function
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34610702571]
2023-06-27 12:15:04.058650 98.87% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/34610702571 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34610702571) State EXCHANGE_MEDIA going to sleep
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34610702571) Running State Change CS_HANGUP (Cur 12 Tot 6704)
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34610702571) Callstate Change ACTIVE -> HANGUP
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34610702571) State HANGUP
2023-06-27 12:15:04.058650 98.87% [DEBUG] mod_sofia.c:462 sofia/default/34610702571 Overriding SIP cause 480 with 200 from the other leg
2023-06-27 12:15:04.058650 98.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/34610702571 hanging up, cause: NORMAL_CLEARING
2023-06-27 12:15:04.058650 98.87% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/34610702571
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/34610702571 Standard HANGUP, cause: NORMAL_CLEARING
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34610702571) State HANGUP going to sleep
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34610702571) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34610702571) Running State Change CS_REPORTING (Cur 12 Tot 6704)
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34610702571) State REPORTING
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/34610702571 skip receive message [UNBRIDGE] (channel is hungup already)
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/737989@cloud.masip.es skip receive message [UNBRIDGE] (channel is hungup already)
2023-06-27 12:15:04.058650 98.87% [INFO] mod_json_cdr.c:271 Process [c80081c4-f5e6-4fd0-b862-96d8cce47aee.cdr.json]
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_session.c:2983 sofia/default/737989@cloud.masip.es skip receive message [PHONE_EVENT] (channel is hungup already)
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/737989@cloud.masip.es) State EXECUTE going to sleep
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/737989@cloud.masip.es) Running State Change CS_HANGUP (Cur 12 Tot 6704)
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/737989@cloud.masip.es) Callstate Change ACTIVE -> HANGUP
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/737989@cloud.masip.es) State HANGUP
2023-06-27 12:15:04.058650 98.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/737989@cloud.masip.es hanging up, cause: NORMAL_CLEARING
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/737989@cloud.masip.es Standard HANGUP, cause: NORMAL_CLEARING
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/737989@cloud.masip.es) State HANGUP going to sleep
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/737989@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/737989@cloud.masip.es) Running State Change CS_REPORTING (Cur 12 Tot 6704)
2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/737989@cloud.masip.es) State REPORTING
2023-06-27 12:15:04.058650 98.87% [INFO] mod_json_cdr.c:271 Process [da9c136b-0378-474c-8ff0-89d4922dd590.cdr.json]
2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/34610702571 Standard REPORTING, cause: NORMAL_CLEARING
2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34610702571) State REPORTING going to sleep
2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34610702571) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_session.c:1753 Session 6633 (sofia/default/34610702571) Locked, Waiting on external entities
2023-06-27 12:15:04.078651 98.87% [NOTICE] switch_core_session.c:1771 Session 6633 (sofia/default/34610702571) Ended
2023-06-27 12:15:04.078651 98.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34610702571 [CS_DESTROY]
2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34610702571) Running State Change CS_DESTROY (Cur 11 Tot 6704)
2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34610702571) State DESTROY
2023-06-27 12:15:04.078651 98.87% [DEBUG] mod_sofia.c:379 sofia/default/34610702571 SOFIA DESTROY
2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/34610702571 Standard DESTROY
2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34610702571) State DESTROY going to sleep
2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/737989@cloud.masip.es Standard REPORTING, cause: NORMAL_CLEARING
2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/737989@cloud.masip.es) State REPORTING going to sleep
2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/737989@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_session.c:1753 Session 6632 (sofia/default/737989@cloud.masip.es) Locked, Waiting on external entities
2023-06-27 12:15:04.098650 98.87% [NOTICE] switch_core_session.c:1771 Session 6632 (sofia/default/737989@cloud.masip.es) Ended
2023-06-27 12:15:04.098650 98.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/737989@cloud.masip.es [CS_DESTROY]
2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/737989@cloud.masip.es) Running State Change CS_DESTROY (Cur 10 Tot 6704)
2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/737989@cloud.masip.es) State DESTROY
2023-06-27 12:15:04.098650 98.87% [DEBUG] mod_sofia.c:379 sofia/default/737989@cloud.masip.es SOFIA DESTROY
2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/737989@cloud.masip.es Standard DESTROY
2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/737989@cloud.masip.es) State DESTROY going to sleep
2023-06-27 12:15:04.458649 98.87% [DEBUG] switch_scheduler.c:147 Deleting task 3129 switch_ivr_schedule_hangup (c80081c4-f5e6-4fd0-b862-96d8cce47aee)
2023-06-27 12:15:05.178648 98.70% [DEBUG] sofia.c:6678 Remote Reason: 17
2023-06-27 12:15:05.178648 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [terminated][486]
2023-06-27 12:15:05.178648 98.70% [NOTICE] sofia.c:8738 Hangup sofia/default/34636628167 [CS_EXCHANGE_MEDIA] [USER_BUSY]
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_ivr_bridge.c:826 sofia/default/34636628167 ending bridge by request from read function
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34636628167]
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA going to sleep
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_HANGUP (Cur 10 Tot 6704)
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34636628167) Callstate Change EARLY -> HANGUP
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP
2023-06-27 12:15:05.178648 98.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/34636628167 hanging up, cause: USER_BUSY
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/34636628167 Standard HANGUP, cause: USER_BUSY
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP going to sleep
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34636628167) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_REPORTING (Cur 10 Tot 6704)
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING
2023-06-27 12:15:05.178648 98.70% [INFO] mod_json_cdr.c:271 Process [93fcdc6b-78fd-44b3-82aa-82f8a33ac2fb.cdr.json]
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/34636628167 Standard REPORTING, cause: USER_BUSY
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING going to sleep
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34636628167) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_session.c:1753 Session 6702 (sofia/default/34636628167) Locked, Waiting on external entities
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_bridge.c:820 sofia/default/34636628167 ending bridge by request from write function
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/621296053@cloud.masip.es]
2023-06-27 12:15:05.198650 98.70% [NOTICE] switch_core_session.c:1771 Session 6702 (sofia/default/34636628167) Ended
2023-06-27 12:15:05.198650 98.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34636628167 [CS_DESTROY]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34636628167;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34636628167) Running State Change CS_DESTROY (Cur 9 Tot 6704)
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY
2023-06-27 12:15:05.198650 98.70% [DEBUG] mod_sofia.c:379 sofia/default/34636628167 SOFIA DESTROY
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/34636628167 Standard DESTROY
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY going to sleep
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55] to event
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34636628167] to event
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55] to event
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-27 12:15:05.198650 98.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34636628167 [357828e4-b0c4-47b7-b432-d08ada7333d1]
2023-06-27 12:15:05.198650 98.70% [DEBUG] mod_sofia.c:5121 (sofia/default/34636628167) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34636628167 Setting leg timeout to 30
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_INIT (Cur 10 Tot 6705)
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34636628167) State INIT
2023-06-27 12:15:05.198650 98.70% [DEBUG] mod_sofia.c:97 sofia/default/34636628167 SOFIA INIT
2023-06-27 12:15:05.198650 98.70% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34636628167
2023-06-27 12:15:05.198650 98.70% [INFO] sofia_glue.c:1651 sofia/default/34636628167 sending invite call-id: (null)
2023-06-27 12:15:05.198650 98.70% [DEBUG] sofia_glue.c:1654 sofia/default/34636628167 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687842129 1687842130 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 25976 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/34636628167 Standard INIT
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34636628167) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34636628167) State INIT going to sleep
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_ROUTING (Cur 10 Tot 6705)
2023-06-27 12:15:05.198650 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [calling][0]
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34636628167) State ROUTING
2023-06-27 12:15:05.198650 98.70% [DEBUG] mod_sofia.c:158 sofia/default/34636628167 SOFIA ROUTING
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34636628167) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34636628167) State ROUTING going to sleep
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 6705)
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34636628167) State CONSUME_MEDIA
2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34636628167) State CONSUME_MEDIA going to sleep
2023-06-27 12:15:05.258648 98.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/621296053@cloud.masip.es [a9fe7359-f0c6-4f23-852f-e108091f0526]
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_NEW (Cur 11 Tot 6706)
2023-06-27 12:15:05.258648 98.70% [INFO] sofia.c:10462 sofia/default/621296053@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 5c2bd0b661322079208fb9140f35b47b@cloud.masip.es
2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [received][100]
2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 15112317 15112317 IN IP4 51.91.247.55
s=DialApplet
c=IN IP4 51.91.247.55
t=0 0
m=audio 17210 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/621296053@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_codec.c:111 sofia/default/621296053@cloud.masip.es Original read codec set to PCMA:8
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5973 sofia/default/621296053@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:7933 (sofia/default/621296053@cloud.masip.es) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:600 (sofia/default/621296053@cloud.masip.es) State NEW
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_INIT (Cur 11 Tot 6706)
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296053@cloud.masip.es) State INIT
2023-06-27 12:15:05.258648 98.70% [DEBUG] mod_sofia.c:97 sofia/default/621296053@cloud.masip.es SOFIA INIT
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/621296053@cloud.masip.es Standard INIT
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/621296053@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296053@cloud.masip.es) State INIT going to sleep
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_ROUTING (Cur 11 Tot 6706)
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_channel.c:2380 (sofia/default/621296053@cloud.masip.es) Callstate Change DOWN -> RINGING
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296053@cloud.masip.es) State ROUTING
2023-06-27 12:15:05.258648 98.70% [DEBUG] mod_sofia.c:158 sofia/default/621296053@cloud.masip.es SOFIA ROUTING
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/621296053@cloud.masip.es Standard ROUTING
2023-06-27 12:15:05.258648 98.70% [INFO] mod_dialplan_xml.c:639 Processing 621296053 <621296053>->34664223774 in context default
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:05.258648 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
FreeSWITCH-Hostname: ip-10-0-2-92
FreeSWITCH-Switchname: ip-10-0-2-92
FreeSWITCH-IPv4: 10.0.2.92
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-06-27%2012%3A15%3A05
Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A05%20GMT
Event-Date-Timestamp: 1687868105258648
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 380909
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/621296053%40cloud.masip.es
Unique-ID: a9fe7359-f0c6-4f23-852f-e108091f0526
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 621296053%40cloud.masip.es
Channel-Call-UUID: a9fe7359-f0c6-4f23-852f-e108091f0526
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: 621296053
Caller-Dialplan: XML
Caller-Caller-ID-Name: 621296053
Caller-Caller-ID-Number: 621296053
Caller-Orig-Caller-ID-Name: 621296053
Caller-Orig-Caller-ID-Number: 621296053
Caller-Network-Addr: 34.252.123.120
Caller-ANI: 621296053
Caller-Destination-Number: 34664223774
Caller-Unique-ID: a9fe7359-f0c6-4f23-852f-e108091f0526
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/621296053%40cloud.masip.es
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1687868105258648
Caller-Channel-Created-Time: 1687868105258648
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: false
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: a9fe7359-f0c6-4f23-852f-e108091f0526
variable_session_id: 6706
variable_sip_from_user: 621296053
variable_sip_from_uri: 621296053%40cloud.masip.es
variable_sip_from_host: cloud.masip.es
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/621296053%40cloud.masip.es
variable_sip_call_id: 5c2bd0b661322079208fb9140f35b47b%40cloud.masip.es
variable_sip_local_network_addr: 54.220.206.86
variable_sip_network_ip: 34.252.123.120
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1687868105258648
variable_sip_received_ip: 34.252.123.120
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: 621296053
variable_sip_from_tag: as007e573b
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %22621296053%22%20%3Csip%3A621296053%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
variable_sip_cid_type: rpid
variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das007e573b%3Bdid%3D8b.f3a85b83%3E
variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das007e573b%3Bdid%3D8b.f3a85b83%3E
variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bK78fc.d7c9b472.0,SIP/2.0/UDP%2051.91.247.55%3A5060%3Bbranch%3Dz9hG4bK0b70ae59
variable_sip_from_display: 621296053
variable_sip_full_from: %22621296053%22%20%3Csip%3A621296053%40cloud.masip.es%3E%3Btag%3Das007e573b
variable_sip_full_to: %3Csip%3A34664223774%40cloud.masip.es%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
variable_sip_req_user: 34664223774
variable_sip_req_uri: 34664223774%40cloud.masip.es
variable_sip_req_host: cloud.masip.es
variable_sip_to_user: 34664223774
variable_sip_to_uri: 34664223774%40cloud.masip.es
variable_sip_to_host: cloud.masip.es
variable_sip_contact_user: 621296053
variable_sip_contact_port: 5060
variable_sip_contact_uri: 621296053%4051.91.247.55%3A5060
variable_sip_contact_host: 51.91.247.55
variable_sip_user_agent: DialApplet
variable_sip_via_host: 34.252.123.120
variable_sip_via_port: 5060
variable_max_forwards: 69
variable_presence_id: 621296053%40cloud.masip.es
variable_sip_date_epoch_time: 1687868105
variable_sip_h_X-AUTH-IP: 51.91.247.55
variable_sip_h_P-Accountcode: 437146
variable_sip_h_P-effective_caller_id_name: %22621296053%22
variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%2015112317%2015112317%20IN%20IP4%2051.91.247.55%0D%0As%3DDialApplet%0D%0Ac%3DIN%20IP4%2051.91.247.55%0D%0At%3D0%200%0D%0Am%3Daudio%2017210%20RTP/AVP%208%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%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,mod_com_g729.G729%408000h%4020i%408000b
variable_rtp_use_codec_string: G729,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: 51.91.247.55
variable_remote_media_port: 17210
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: a9fe7359-f0c6-4f23-852f-e108091f0526
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 621296053
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 621296053
Hunt-Caller-ID-Number: 621296053
Hunt-Orig-Caller-ID-Name: 621296053
Hunt-Orig-Caller-ID-Number: 621296053
Hunt-Network-Addr: 34.252.123.120
Hunt-ANI: 621296053
Hunt-Destination-Number: 34664223774
Hunt-Unique-ID: a9fe7359-f0c6-4f23-852f-e108091f0526
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/621296053%40cloud.masip.es
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1687868105258648
Hunt-Channel-Created-Time: 1687868105258648
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: false
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34664223774
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34664223774' AND status=0 limit 1
2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "621296053" / <null>
2023-06-27 12:15:05.258648 98.70% [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 ="34664223774" LIMIT 1
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34664223774" limit 1
2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 437146]
2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "437146" AND deleted = 0 limit 1
2023-06-27 12:15:05.278649 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34664223774.*' OR blocked_patterns = '^3466422377.*' OR blocked_patterns = '^346642237.*' OR blocked_patterns = '^34664223.*' OR blocked_patterns = '^3466422.*' OR blocked_patterns = '^346642.*' OR blocked_patterns = '^34664.*' OR blocked_patterns = '^3466.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 107 limit 1
2023-06-27 12:15:05.278649 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34664223774" AND (accountid = 0 OR status = 1) LIMIT 1
2023-06-27 12:15:05.278649 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^34664223774.*' OR patterns = '^3466422377.*' OR patterns = '^346642237.*' OR patterns = '^34664223.*' OR patterns = '^3466422.*' OR patterns = '^346642.*' OR patterns = '^34664.*' OR patterns = '^3466.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-06-27 12:15:05.278649 98.70% [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 ="34664223774" AND A.accountid = '107' limit 1
2023-06-27 12:15:05.278649 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34664223774
2023-06-27 12:15:05.278649 98.70% [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 ="34664223774" LIMIT 1
2023-06-27 12:15:05.278649 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34664223774" limit 1
2023-06-27 12:15:05.278649 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-06-27 12:15:05.278649 98.70% [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 = '34664223774' OR number = '3466422377' OR number = '346642237' OR number = '34664223' OR number = '3466422' OR number = '346642' OR number = '34664' OR number = '3466' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34664223774*' OR number = '3466422377*' OR number = '346642237*' OR number = '34664223*' OR number = '3466422*' OR number = '346642*' OR number = '34664*' OR number = '3466*' OR number = '346*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34664223774' OR routing_prefix = '3466422377' OR routing_prefix = '346642237' OR routing_prefix = '34664223' OR routing_prefix = '3466422' OR routing_prefix = '346642' OR routing_prefix = '34664' OR routing_prefix = '3466' OR routing_prefix = '346' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 107
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 437146
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 185.8322
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34664223774.*' OR pattern = '^3466422377.*' OR pattern = '^346642237.*' OR pattern = '^34664223.*' OR pattern = '^3466422.*' OR pattern = '^346642.*' OR pattern = '^34664.*' OR pattern = '^3466.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 11 OR accountid=107) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87795
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00750
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Mobile
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 107
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your185.8322 balance Accountid 107 !!!
2023-06-27 12:15:05.298652 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=11 ORDER by id asc
2023-06-27 12:15:05.298652 98.70% [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 = '^34664223774.*' OR pattern = '^3466422377.*' OR pattern = '^346642237.*' OR pattern = '^34664223.*' OR pattern = '^3466422.*' OR pattern = '^346642.*' OR pattern = '^34664.*' OR pattern = '^3466.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3,4,3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,4,3),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:05.318652 98.70% [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 = 107 AND status=0 LIMIT 1
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-06-27 12:15:05.318652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-06-27 12:15:05.318652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:05.318652 98.70% [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
2023-06-27 12:15:05.318652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
2023-06-27 12:15:05.318652 98.70% [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 ="34664223774" LIMIT 1
2023-06-27 12:15:05.318652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:05.338651 98.70% [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 = 37) AND status=0 limit 1
2023-06-27 12:15:05.338651 98.70% [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 = 4) AND status=0 limit 1
2023-06-27 12:15:05.338651 98.70% [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 ="34664223774" LIMIT 1
2023-06-27 12:15:05.338651 98.70% [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="34664223774">
<condition field="destination_number" expression="34664223774">
<action application="set" data="effective_destination_number=34664223774"/>
<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=2023-06-27 12:15:05"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=107"/>
<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:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107"/>
<action application="set" data="original_caller_id_name=621296053"/>
<action application="limit" data="db 437146 user_437146 100 "/>
<action application="set" data="effective_caller_id_name="621296053""/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
<action application="set" data="trunk_id=3"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=3"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34664223774"/>
<action application="export" data="presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34664223774;fs_path=sip:34.252.123.120:5060"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34664223774;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="effective_caller_id_name="621296053""/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=37"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34664223774"/>
<action application="export" data="presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34664223774;fs_path=sip:34.252.123.120:5060"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/621296053@cloud.masip.es parsing [default->34664223774] continue=false
Dialplan: sofia/default/621296053@cloud.masip.es Regex (PASS) [34664223774] destination_number(34664223774) =~ /34664223774/ break=on-false
Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_destination_number=34664223774)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(callstart=2023-06-27 12:15:05)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(hangup_after_bridge=true)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(account_id=107)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(parent_id=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(entity_id=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(call_processed=internal)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(call_direction=outbound)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(accountname=default)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(origination_rates=ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(original_caller_id_name=621296053)
Dialplan: sofia/default/621296053@cloud.masip.es Action limit(db 437146 user_437146 100 )
Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_caller_id_name=)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(trunk_id=3)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(provider_id=9)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_id=34664223774)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55)
Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34664223774;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34664223774;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_caller_id_name=)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(trunk_id=4)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(provider_id=37)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_id=34664223774)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55)
Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34664223774;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/621296053@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296053@cloud.masip.es) State ROUTING going to sleep
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_EXECUTE (Cur 11 Tot 6706)
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296053@cloud.masip.es) State EXECUTE
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_sofia.c:213 sofia/default/621296053@cloud.masip.es SOFIA EXECUTE
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/621296053@cloud.masip.es Standard EXECUTE
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_destination_number=34664223774)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_destination_number]=[34664223774]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(callstart=2023-06-27 12:15:05)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [callstart]=[2023-06-27 12:15:05]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(hangup_after_bridge=true)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(continue_on_fail=TRUE)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(account_id=107)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [account_id]=[107]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(parent_id=0)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [parent_id]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(entity_id=0)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [entity_id]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(call_processed=internal)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(call_direction=outbound)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(accountname=default)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [accountname]=[default]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(origination_rates=ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [origination_rates]=[ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(original_caller_id_name=621296053)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [original_caller_id_name]=[621296053]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es limit(db 437146 user_437146 100 )
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_limit.c:124 incr called: 437146_user_437146 max:100, interval:0
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_db.c:194 Usage for 437146_user_437146 is now 2/100
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_caller_id_name=)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(calltype=STANDARD)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [termination_rates]=[ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(trunk_id=3)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(provider_id=9)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [provider_id]=[9]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(rate_flag=2)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(force_trunk_flag=0)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=trunk_id=3)
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(intcall=0)
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [intcall]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_id=34664223774)
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34664223774]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55)
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34664223774;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55] to event
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34664223774] to event
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55] to event
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-27 12:15:05.338651 98.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34664223774 [0a45be86-1dd7-4359-8526-d8c0fa01417e]
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_sofia.c:5121 (sofia/default/34664223774) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34664223774 Setting leg timeout to 30
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34664223774) Running State Change CS_INIT (Cur 12 Tot 6707)
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34664223774) State INIT
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_sofia.c:97 sofia/default/34664223774 SOFIA INIT
2023-06-27 12:15:05.338651 98.70% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34664223774
2023-06-27 12:15:05.338651 98.70% [INFO] sofia_glue.c:1651 sofia/default/34664223774 sending invite call-id: (null)
2023-06-27 12:15:05.338651 98.70% [DEBUG] sofia_glue.c:1654 sofia/default/34664223774 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687849071 1687849072 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 19034 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/34664223774 Standard INIT
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34664223774) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34664223774) State INIT going to sleep
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34664223774) Running State Change CS_ROUTING (Cur 12 Tot 6707)
2023-06-27 12:15:05.338651 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [calling][0]
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34664223774) State ROUTING
2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_sofia.c:158 sofia/default/34664223774 SOFIA ROUTING
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34664223774) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34664223774) State ROUTING going to sleep
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34664223774) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 6707)
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34664223774) State CONSUME_MEDIA
2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34664223774) State CONSUME_MEDIA going to sleep
2023-06-27 12:15:05.458652 98.70% [DEBUG] switch_scheduler.c:147 Deleting task 3160 switch_ivr_schedule_hangup (93fcdc6b-78fd-44b3-82aa-82f8a33ac2fb)
2023-06-27 12:15:05.798650 98.63% [INFO] sofia.c:1348 sofia/default/34636628167 Update Callee ID to "Outbound Call" <+34636628167>
2023-06-27 12:15:05.798650 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [proceeding][183]
2023-06-27 12:15:05.798650 98.63% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34636628167!
2023-06-27 12:15:05.798650 98.63% [DEBUG] switch_channel.c:3494 (sofia/default/34636628167) Callstate Change DOWN -> RINGING
2023-06-27 12:15:05.918647 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [proceeding][180]
2023-06-27 12:15:05.918647 98.63% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 848217 882021 IN IP4 52.211.114.106
s=SIP Media Capabilities
c=IN IP4 52.211.114.106
t=0 0
m=audio 17304 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:05.918647 98.63% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34636628167!
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_channel.c:3622 (sofia/default/34636628167) Callstate Change RINGING -> EARLY
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34636628167 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_codec.c:111 sofia/default/34636628167 Original read codec set to PCMU:0
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5973 sofia/default/34636628167 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34636628167] 10.0.2.92 port 25976 -> 52.211.114.106 port 17304 codec: 0 ms: 20
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:9089 sofia/default/34636628167 Set 2833 dtmf send payload to 101
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:9096 sofia/default/34636628167 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:9119 sofia/default/34636628167 Set rtp dtmf delay to 40
2023-06-27 12:15:05.938648 98.63% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34636628167] Peer UUID: 357828e4-b0c4-47b7-b432-d08ada7333d1
2023-06-27 12:15:05.938648 98.63% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34636628167) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-06-27 12:15:05.938648 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6707)
2023-06-27 12:15:05.938648 98.63% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA
2023-06-27 12:15:05.938648 98.63% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-06-27 12:15:05.978646 98.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:06.118653 98.63% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34636628167 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:06.138650 98.63% [DEBUG] switch_ivr.c:632 sofia/default/34636628167 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/34636628167 sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:06.138650 98.63% [DEBUG] switch_scheduler.c:263 Added task 3162 switch_ivr_schedule_hangup (357828e4-b0c4-47b7-b432-d08ada7333d1) to run at 1687874106
2023-06-27 12:15:06.218648 98.63% [INFO] sofia.c:1348 sofia/default/34664223774 Update Callee ID to "Outbound Call" <+34664223774>
2023-06-27 12:15:06.218648 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [proceeding][183]
2023-06-27 12:15:06.218648 98.63% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34664223774!
2023-06-27 12:15:06.218648 98.63% [DEBUG] switch_channel.c:3494 (sofia/default/34664223774) Callstate Change DOWN -> RINGING
2023-06-27 12:15:06.218648 98.63% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/621296053@cloud.masip.es!
2023-06-27 12:15:06.218648 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [early][180]
2023-06-27 12:15:06.218648 98.63% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/621296053@cloud.masip.es!
2023-06-27 12:15:06.378651 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [proceeding][180]
2023-06-27 12:15:06.378651 98.63% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 649970 948296 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32050 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:06.378651 98.63% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34664223774!
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_channel.c:3622 (sofia/default/34664223774) Callstate Change RINGING -> EARLY
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34664223774 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_codec.c:111 sofia/default/34664223774 Original read codec set to PCMU:0
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5973 sofia/default/34664223774 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34664223774] 10.0.2.92 port 19034 -> 54.170.60.120 port 32050 codec: 0 ms: 20
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9089 sofia/default/34664223774 Set 2833 dtmf send payload to 101
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9096 sofia/default/34664223774 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9119 sofia/default/34664223774 Set rtp dtmf delay to 40
2023-06-27 12:15:06.378651 98.63% [INFO] switch_ivr_originate.c:3841 Sending early media
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/621296053@cloud.masip.es] 10.0.2.92 port 16898 -> 51.91.247.55 port 17210 codec: 8 ms: 20
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9089 sofia/default/621296053@cloud.masip.es Set 2833 dtmf send payload to 101
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9096 sofia/default/621296053@cloud.masip.es Set 2833 dtmf receive payload to 101
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9119 sofia/default/621296053@cloud.masip.es Set rtp dtmf delay to 40
2023-06-27 12:15:06.378651 98.63% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1687851208 1687851209 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 16898 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:06.378651 98.63% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/621296053@cloud.masip.es!
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_channel.c:3622 (sofia/default/621296053@cloud.masip.es) Callstate Change RINGING -> EARLY
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34664223774] Peer UUID: 0a45be86-1dd7-4359-8526-d8c0fa01417e
2023-06-27 12:15:06.378651 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [early][183]
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34664223774) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34664223774) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6707)
2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34664223774) State EXCHANGE_MEDIA
2023-06-27 12:15:06.378651 98.63% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-06-27 12:15:06.418650 98.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:06.438651 98.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:06.578660 98.63% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34664223774 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:06.598648 98.60% [DEBUG] switch_ivr.c:632 sofia/default/34664223774 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/34664223774 sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:06.598648 98.60% [DEBUG] switch_scheduler.c:263 Added task 3163 switch_ivr_schedule_hangup (0a45be86-1dd7-4359-8526-d8c0fa01417e) to run at 1687874106
2023-06-27 12:15:08.038649 98.60% [DEBUG] sofia.c:6678 Remote Reason: 17
2023-06-27 12:15:08.038649 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [terminated][486]
2023-06-27 12:15:08.038649 98.60% [NOTICE] sofia.c:8738 Hangup sofia/default/34636628167 [CS_EXCHANGE_MEDIA] [USER_BUSY]
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_ivr_bridge.c:826 sofia/default/34636628167 ending bridge by request from read function
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34636628167]
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA going to sleep
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_HANGUP (Cur 12 Tot 6707)
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34636628167) Callstate Change EARLY -> HANGUP
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP
2023-06-27 12:15:08.038649 98.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/34636628167 hanging up, cause: USER_BUSY
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/34636628167 Standard HANGUP, cause: USER_BUSY
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP going to sleep
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34636628167) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_REPORTING (Cur 12 Tot 6707)
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING
2023-06-27 12:15:08.038649 98.60% [INFO] mod_json_cdr.c:271 Process [357828e4-b0c4-47b7-b432-d08ada7333d1.cdr.json]
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/34636628167 Standard REPORTING, cause: USER_BUSY
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING going to sleep
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34636628167) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_session.c:1753 Session 6705 (sofia/default/34636628167) Locked, Waiting on external entities
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_bridge.c:820 sofia/default/34636628167 ending bridge by request from write function
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/621296053@cloud.masip.es]
2023-06-27 12:15:08.058649 98.60% [NOTICE] switch_core_session.c:1771 Session 6705 (sofia/default/34636628167) Ended
2023-06-27 12:15:08.058649 98.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34636628167 [CS_DESTROY]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_caller_id_name=)
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34636628167) Running State Change CS_DESTROY (Cur 11 Tot 6707)
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_sofia.c:379 sofia/default/34636628167 SOFIA DESTROY
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_caller_id_name]=[UNDEF]
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/34636628167 Standard DESTROY
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY going to sleep
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(calltype=STANDARD)
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [termination_rates]=[ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(trunk_id=4)
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(provider_id=37)
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [provider_id]=[37]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(rate_flag=2)
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(force_trunk_flag=0)
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=trunk_id=4)
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(intcall=0)
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [intcall]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_id=34636628167)
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34636628167]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55)
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34636628167;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55] to event
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34636628167] to event
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55] to event
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55] to event
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34636628167] to event
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55] to event
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-27 12:15:08.058649 98.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34636628167 [1188194b-be6a-419e-a671-4c0a9e6c8e3c]
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_sofia.c:5121 (sofia/default/34636628167) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34636628167 Setting leg timeout to 30
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_INIT (Cur 12 Tot 6708)
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34636628167) State INIT
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_sofia.c:97 sofia/default/34636628167 SOFIA INIT
2023-06-27 12:15:08.058649 98.60% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34636628167
2023-06-27 12:15:08.058649 98.60% [INFO] sofia_glue.c:1651 sofia/default/34636628167 sending invite call-id: (null)
2023-06-27 12:15:08.058649 98.60% [DEBUG] sofia_glue.c:1654 sofia/default/34636628167 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687842954 1687842955 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 25154 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/34636628167 Standard INIT
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34636628167) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34636628167) State INIT going to sleep
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_ROUTING (Cur 12 Tot 6708)
2023-06-27 12:15:08.058649 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [calling][0]
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34636628167) State ROUTING
2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_sofia.c:158 sofia/default/34636628167 SOFIA ROUTING
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34636628167) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34636628167) State ROUTING going to sleep
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 6708)
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34636628167) State CONSUME_MEDIA
2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34636628167) State CONSUME_MEDIA going to sleep
2023-06-27 12:15:08.098650 98.60% [DEBUG] switch_scheduler.c:147 Deleting task 3162 switch_ivr_schedule_hangup (357828e4-b0c4-47b7-b432-d08ada7333d1)
2023-06-27 12:15:08.098650 98.60% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:08.138650 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [proceeding][180]
2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [proceeding][180]
2023-06-27 12:15:08.158656 98.60% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34636628167!
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_channel.c:3494 (sofia/default/34636628167) Callstate Change DOWN -> RINGING
2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [proceeding][183]
2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 143979754 143979754 IN IP4 178.33.118.147
s=Voz.com
c=IN IP4 178.33.118.147
t=0 0
m=audio 10954 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=rtcp-mux
2023-06-27 12:15:08.158656 98.60% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34636628167!
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_channel.c:3622 (sofia/default/34636628167) Callstate Change RINGING -> EARLY
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34636628167 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_codec.c:111 sofia/default/34636628167 Original read codec set to PCMA:8
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5973 sofia/default/34636628167 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34636628167] 10.0.2.92 port 25154 -> 178.33.118.147 port 10954 codec: 8 ms: 20
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 10954
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 10954
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:9089 sofia/default/34636628167 Set 2833 dtmf send payload to 101
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:9096 sofia/default/34636628167 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:9119 sofia/default/34636628167 Set rtp dtmf delay to 40
2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [proceeding][183]
2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7506 Duplicate SDP
v=0
o=Sonus_UAC 864233 801591 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32180 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5973 sofia/default/34653087880 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/34653087880.
2023-06-27 12:15:08.178648 98.60% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34636628167] Peer UUID: 1188194b-be6a-419e-a671-4c0a9e6c8e3c
2023-06-27 12:15:08.178648 98.60% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34636628167) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-06-27 12:15:08.178648 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6708)
2023-06-27 12:15:08.178648 98.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA
2023-06-27 12:15:08.178648 98.60% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-06-27 12:15:08.198648 98.60% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[883787607] base_seq[6432]
2023-06-27 12:15:08.218654 98.60% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:08.358647 98.60% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34636628167 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:08.378647 98.60% [DEBUG] switch_ivr.c:632 sofia/default/34636628167 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/34636628167 sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:08.378647 98.60% [DEBUG] switch_scheduler.c:263 Added task 3164 switch_ivr_schedule_hangup (1188194b-be6a-419e-a671-4c0a9e6c8e3c) to run at 1687874108
2023-06-27 12:15:11.678649 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [terminated][486]
2023-06-27 12:15:11.678649 98.57% [NOTICE] sofia.c:8738 Hangup sofia/default/34636628167 [CS_EXCHANGE_MEDIA] [USER_BUSY]
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_ivr_bridge.c:826 sofia/default/34636628167 ending bridge by request from read function
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34636628167]
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA going to sleep
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_HANGUP (Cur 12 Tot 6708)
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34636628167) Callstate Change EARLY -> HANGUP
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP
2023-06-27 12:15:11.678649 98.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/34636628167 hanging up, cause: USER_BUSY
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/34636628167 Standard HANGUP, cause: USER_BUSY
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP going to sleep
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34636628167) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_REPORTING (Cur 12 Tot 6708)
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING
2023-06-27 12:15:11.678649 98.57% [INFO] mod_json_cdr.c:271 Process [1188194b-be6a-419e-a671-4c0a9e6c8e3c.cdr.json]
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/34636628167 Standard REPORTING, cause: USER_BUSY
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING going to sleep
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34636628167) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_session.c:1753 Session 6708 (sofia/default/34636628167) Locked, Waiting on external entities
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_ivr_bridge.c:820 sofia/default/34636628167 ending bridge by request from write function
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/621296053@cloud.masip.es]
2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_session.c:1771 Session 6708 (sofia/default/34636628167) Ended
2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34636628167 [CS_DESTROY]
2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_state_machine.c:382 sofia/default/621296053@cloud.masip.es has executed the last dialplan instruction, hanging up.
2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/621296053@cloud.masip.es [CS_EXECUTE] [NORMAL_CLEARING]
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34636628167) Running State Change CS_DESTROY (Cur 11 Tot 6708)
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY
2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:379 sofia/default/34636628167 SOFIA DESTROY
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/34636628167 Standard DESTROY
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY going to sleep
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296053@cloud.masip.es) State EXECUTE going to sleep
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_HANGUP (Cur 11 Tot 6708)
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/621296053@cloud.masip.es) Callstate Change EARLY -> HANGUP
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/621296053@cloud.masip.es) State HANGUP
2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:462 sofia/default/621296053@cloud.masip.es Overriding SIP cause 480 with 486 from the other leg
2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/621296053@cloud.masip.es hanging up, cause: NORMAL_CLEARING
2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 486
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/621296053@cloud.masip.es Standard HANGUP, cause: NORMAL_CLEARING
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/621296053@cloud.masip.es) State HANGUP going to sleep
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/621296053@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_REPORTING (Cur 11 Tot 6708)
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/621296053@cloud.masip.es) State REPORTING
2023-06-27 12:15:11.698649 98.57% [INFO] mod_json_cdr.c:271 Process [34835040-03dd-41cd-ae4d-9ad29d7f7607.cdr.json]
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/621296053@cloud.masip.es Standard REPORTING, cause: NORMAL_CLEARING
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/621296053@cloud.masip.es) State REPORTING going to sleep
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/621296053@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_session.c:1753 Session 6701 (sofia/default/621296053@cloud.masip.es) Locked, Waiting on external entities
2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_session.c:1771 Session 6701 (sofia/default/621296053@cloud.masip.es) Ended
2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/621296053@cloud.masip.es [CS_DESTROY]
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/621296053@cloud.masip.es) Running State Change CS_DESTROY (Cur 10 Tot 6708)
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/621296053@cloud.masip.es) State DESTROY
2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:379 sofia/default/621296053@cloud.masip.es SOFIA DESTROY
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/621296053@cloud.masip.es Standard DESTROY
2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/621296053@cloud.masip.es) State DESTROY going to sleep
2023-06-27 12:15:11.878648 98.57% [DEBUG] switch_scheduler.c:147 Deleting task 3164 switch_ivr_schedule_hangup (1188194b-be6a-419e-a671-4c0a9e6c8e3c)
2023-06-27 12:15:12.838650 98.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/960800730@54.170.60.120 [ae136b28-6126-4a7e-96fa-28d8a7cd03d9]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_NEW (Cur 11 Tot 6709)
2023-06-27 12:15:12.838650 98.57% [INFO] sofia.c:10462 sofia/default/960800730@54.170.60.120 receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 11934_67091508@54.170.60.120
2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [received][100]
2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 255048 70160 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32270 RTP/AVP 8 18 0 98 13
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:98 telephone-event/8000
a=fmtp:98 0-15
a=rtpmap:13 CN/8000
a=ptime:20
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 98@8000
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/960800730@54.170.60.120 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_codec.c:111 sofia/default/960800730@54.170.60.120 Original read codec set to PCMA:8
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 98@8000
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5973 sofia/default/960800730@54.170.60.120 Set 2833 dtmf send payload to 98 recv payload to 98
2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:7933 (sofia/default/960800730@54.170.60.120) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/960800730@54.170.60.120) State NEW
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_INIT (Cur 11 Tot 6709)
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/960800730@54.170.60.120) State INIT
2023-06-27 12:15:12.838650 98.57% [DEBUG] mod_sofia.c:97 sofia/default/960800730@54.170.60.120 SOFIA INIT
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/960800730@54.170.60.120 Standard INIT
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/960800730@54.170.60.120) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/960800730@54.170.60.120) State INIT going to sleep
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_ROUTING (Cur 11 Tot 6709)
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_channel.c:2380 (sofia/default/960800730@54.170.60.120) Callstate Change DOWN -> RINGING
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/960800730@54.170.60.120) State ROUTING
2023-06-27 12:15:12.838650 98.57% [DEBUG] mod_sofia.c:158 sofia/default/960800730@54.170.60.120 SOFIA ROUTING
2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/960800730@54.170.60.120 Standard ROUTING
2023-06-27 12:15:12.838650 98.57% [INFO] mod_dialplan_xml.c:639 Processing 960800730 <960800730>->931350100 in context default
2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:12.858657 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
FreeSWITCH-Hostname: ip-10-0-2-92
FreeSWITCH-Switchname: ip-10-0-2-92
FreeSWITCH-IPv4: 10.0.2.92
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-06-27%2012%3A15%3A12
Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A12%20GMT
Event-Date-Timestamp: 1687868112838650
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 381088
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/960800730%4054.170.60.120
Unique-ID: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 960800730%4054.170.60.120
Channel-Call-UUID: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
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: 960800730
Caller-Dialplan: XML
Caller-Caller-ID-Name: 960800730
Caller-Caller-ID-Number: 960800730
Caller-Orig-Caller-ID-Name: 960800730
Caller-Orig-Caller-ID-Number: 960800730
Caller-Network-Addr: 34.252.123.120
Caller-ANI: 960800730
Caller-Destination-Number: 931350100
Caller-Unique-ID: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/960800730%4054.170.60.120
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1687868112838650
Caller-Channel-Created-Time: 1687868112838650
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: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
variable_session_id: 6709
variable_sip_from_user: 960800730
variable_sip_from_uri: 960800730%4054.170.60.120
variable_sip_from_host: 54.170.60.120
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/960800730%4054.170.60.120
variable_sip_call_id: 11934_67091508%4054.170.60.120
variable_sip_local_network_addr: 54.220.206.86
variable_sip_network_ip: 34.252.123.120
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1687868112838650
variable_sip_received_ip: 34.252.123.120
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: 960800730
variable_sip_from_tag: gK005789fd
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
variable_recovery_profile_name: default
variable_sip_P-Asserted-Identity: 960800730
variable_sip_cid_type: pid
variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3DgK005789fd%3Bdid%3Da6c.0788f033%3E
variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3DgK005789fd%3Bdid%3Da6c.0788f033%3E
variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bK9688.efba9094.0,SIP/2.0/UDP%2054.170.60.120%3A5060%3Bbranch%3Dz9hG4bK00B0273999ac71e317b
variable_sip_full_from: %3Csip%3A960800730%4054.170.60.120%3E%3Btag%3DgK005789fd
variable_sip_full_to: %3Csip%3A931350100%4034.252.123.120%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20REGISTER,%20REFER,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20PRACK,%20UPDATE,%20OPTIONS,%20MESSAGE,%20PUBLISH
variable_sip_req_user: 931350100
variable_sip_req_port: 5060
variable_sip_req_uri: 931350100%4034.252.123.120%3A5060
variable_sip_req_host: 34.252.123.120
variable_sip_to_user: 931350100
variable_sip_to_uri: 931350100%4034.252.123.120
variable_sip_to_host: 34.252.123.120
variable_sip_contact_user: 960800730
variable_sip_contact_port: 5060
variable_sip_contact_uri: 960800730%4054.170.60.120%3A5060
variable_sip_contact_host: 54.170.60.120
variable_sip_via_host: 34.252.123.120
variable_sip_via_port: 5060
variable_max_forwards: 69
variable_presence_id: 960800730%4054.170.60.120
variable_sip_h_X-AUTH-IP: 54.170.60.120
variable_sip_h_P-Accountcode: 226942
variable_sip_h_P-effective_caller_id_name: %3Cnull%3E
variable_sip_h_P-effective_caller_id_number: 960800730
variable_switch_r_sdp: v%3D0%0D%0Ao%3DSonus_UAC%20255048%2070160%20IN%20IP4%2054.170.60.120%0D%0As%3DSIP%20Media%20Capabilities%0D%0Ac%3DIN%20IP4%2054.170.60.120%0D%0At%3D0%200%0D%0Am%3Daudio%2032270%20RTP/AVP%208%2018%200%2098%2013%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A98%20telephone-event/8000%0D%0Aa%3Dfmtp%3A98%200-15%0D%0Aa%3Drtpmap%3A13%20CN/8000%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
variable_rtp_use_codec_string: G729,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: 54.170.60.120
variable_remote_media_port: 32270
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: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 960800730
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 960800730
Hunt-Caller-ID-Number: 960800730
Hunt-Orig-Caller-ID-Name: 960800730
Hunt-Orig-Caller-ID-Number: 960800730
Hunt-Network-Addr: 34.252.123.120
Hunt-ANI: 960800730
Hunt-Destination-Number: 931350100
Hunt-Unique-ID: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/960800730%4054.170.60.120
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1687868112838650
Hunt-Channel-Created-Time: 1687868112838650
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 931350100
2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '931350100' AND status=0 limit 1
2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : <null> / 960800730
2023-06-27 12:15:12.858657 98.57% [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 ="931350100" LIMIT 1
2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 226942]
2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "226942" AND deleted = 0 limit 1
2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="931350100" AND (accountid = 0 OR status = 1) LIMIT 1
2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 13
2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^931350100.*' OR patterns = '^93135010.*' OR patterns = '^9313501.*' OR patterns = '^931350.*' OR patterns = '^93135.*' OR patterns = '^9313.*' OR patterns = '^931.*' OR patterns = '^93.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-06-27 12:15:12.878649 98.57% [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 ="931350100" AND A.accountid = '9' limit 1
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 931350100
2023-06-27 12:15:12.878649 98.57% [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 ="931350100" LIMIT 1
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2023-06-27 12:15:12.878649 98.57% [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 = '931350100' OR number = '93135010' OR number = '9313501' OR number = '931350' OR number = '93135' OR number = '9313' OR number = '931' OR number = '93' OR number = '9' OR number ='--') OR (number = '931350100*' OR number = '93135010*' OR number = '9313501*' OR number = '931350*' OR number = '93135*' OR number = '9313*' OR number = '931*' OR number = '93*' OR number = '9*' OR number ='--') OR (number = '960800730' OR number = '96080073' OR number = '9608007' OR number = '960800' OR number = '96080' OR number = '9608' OR number = '960' OR number = '96' OR number = '9' OR number ='--') OR (number = '960800730*' OR number = '96080073*' OR number = '9608007*' OR number = '960800*' OR number = '96080*' OR number = '9608*' OR number = '960*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-06-27 12:15:12.878649 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-06-27 12:15:12.878649 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '931350100' OR routing_prefix = '93135010' OR routing_prefix = '9313501' OR routing_prefix = '931350' OR routing_prefix = '93135' OR routing_prefix = '9313' OR routing_prefix = '931' OR routing_prefix = '93' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 226942
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 14
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-06-27 12:15:12.878649 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 14 AND status = 0
2023-06-27 12:15:12.878649 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2023-06-27 12:15:12.878649 98.57% [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 ="931350100" LIMIT 1
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 37
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Spain
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
2023-06-27 12:15:12.898648 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1
2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 14 AND status = 0
2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 14 AND status = 0
2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^931350100.*' OR pattern = '^93135010.*' OR pattern = '^9313501.*' OR pattern = '^931350.*' OR pattern = '^93135.*' OR pattern = '^9313.*' OR pattern = '^931.*' OR pattern = '^93.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 14 OR accountid=9) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87853
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : MAS IP BCN
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
2023-06-27 12:15:12.898648 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 13 and status = 0 limit 1
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
2023-06-27 12:15:12.918655 98.57% [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="931350100">
<condition field="destination_number" expression="931350100">
<action application="set" data="effective_destination_number=931350100"/>
<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=2023-06-27 12:15:12"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=9"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="origination_rates_did=ID:37|CODE:^931350100.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:13"/>
<action application="set" data="origination_rates=ID:87853|CODE:^931350100.*|DESTINATION:MAS IP BCN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:14|MARKUP:0|CI:174|ACCID:9"/>
<action application="set" data="original_caller_id_number=960800730"/>
<action application="set" data="effective_caller_id_number=960800730"/>
<action application="set" data="receiver_accid=13"/>
<action application="export" data="domain_name="/>
<action application="export" data="sip_to_host="/>
<action application="export" data="presence_data=x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120"/>
<action application="export" data="call_type=5"/>
<action application="set" data="calltype=SIP-DID"/>
<action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/589399@cloud.masip.es^931350100"/>
<condition field="${cond(${user_data 589399@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=931350100"/>
<action application="voicemail" data="default $${domain_name} 589399"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
<action application="set" data="did_id=37"/>
<action application="set" data="destination_number=931350100"/>
<action application="set" data="leg_timeout=0"/>
<action application="set" data="call_type_vm_flag=1"/>
<action application="set" data="is_local_extension=1"/>
<action application="lua" data="did_call_forwarding.lua"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/960800730@54.170.60.120 parsing [default->931350100] continue=false
Dialplan: sofia/default/960800730@54.170.60.120 Regex (PASS) [931350100] destination_number(931350100) =~ /931350100/ break=on-false
Dialplan: sofia/default/960800730@54.170.60.120 Action set(effective_destination_number=931350100)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(callstart=2023-06-27 12:15:12)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(account_id=9)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(parent_id=0)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(entity_id=3)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(call_processed=internal)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(call_direction=inbound)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(accountname=default)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(origination_rates_did=ID:37|CODE:^931350100.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:13)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(origination_rates=ID:87853|CODE:^931350100.*|DESTINATION:MAS IP BCN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:14|MARKUP:0|CI:174|ACCID:9)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(original_caller_id_number=960800730)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(effective_caller_id_number=960800730)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(receiver_accid=13)
Dialplan: sofia/default/960800730@54.170.60.120 Action export(domain_name=)
Dialplan: sofia/default/960800730@54.170.60.120 Action export(sip_to_host=)
Dialplan: sofia/default/960800730@54.170.60.120 Action export(presence_data=x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120)
Dialplan: sofia/default/960800730@54.170.60.120 Action export(call_type=5)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(calltype=SIP-DID)
Dialplan: sofia/default/960800730@54.170.60.120 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/589399@cloud.masip.es^931350100)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(did_id=37)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(destination_number=931350100)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(leg_timeout=0)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(call_type_vm_flag=1)
Dialplan: sofia/default/960800730@54.170.60.120 Action set(is_local_extension=1)
Dialplan: sofia/default/960800730@54.170.60.120 Action lua(did_call_forwarding.lua)
|--- Dialplan: Processing recursive conditions level:1 [931350100_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/960800730@54.170.60.120 Regex (PASS) [931350100_recur_1] ${cond(${user_data 589399@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/960800730@54.170.60.120 Action answer()
|--- Dialplan: sofia/default/960800730@54.170.60.120 Action export(voicemail_alternate_greet_id=931350100)
|--- Dialplan: sofia/default/960800730@54.170.60.120 Action voicemail(default $${domain_name} 589399)
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/960800730@54.170.60.120) State Change CS_ROUTING -> CS_EXECUTE
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/960800730@54.170.60.120) State ROUTING going to sleep
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_EXECUTE (Cur 11 Tot 6709)
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/960800730@54.170.60.120) State EXECUTE
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_sofia.c:213 sofia/default/960800730@54.170.60.120 SOFIA EXECUTE
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/960800730@54.170.60.120 Standard EXECUTE
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(effective_destination_number=931350100)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [effective_destination_number]=[931350100]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(callstart=2023-06-27 12:15:12)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [callstart]=[2023-06-27 12:15:12]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(hangup_after_bridge=true)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(continue_on_fail=TRUE)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(account_id=9)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [account_id]=[9]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(parent_id=0)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(entity_id=3)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(call_processed=internal)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(call_direction=inbound)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(accountname=default)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [accountname]=[default]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(origination_rates_did=ID:37|CODE:^931350100.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:13)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [origination_rates_did]=[ID:37|CODE:^931350100.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:13]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(origination_rates=ID:87853|CODE:^931350100.*|DESTINATION:MAS IP BCN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:14|MARKUP:0|CI:174|ACCID:9)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [origination_rates]=[ID:87853|CODE:^931350100.*|DESTINATION:MAS IP BCN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:14|MARKUP:0|CI:174|ACCID:9]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(original_caller_id_number=960800730)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [original_caller_id_number]=[960800730]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(effective_caller_id_number=960800730)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [effective_caller_id_number]=[960800730]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(receiver_accid=13)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [receiver_accid]=[13]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 export(domain_name=)
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 export(sip_to_host=)
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 export(presence_data=x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120)
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 export(call_type=5)
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[5]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(calltype=SIP-DID)
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [calltype]=[SIP-DID]
EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/589399@cloud.masip.es^931350100)
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1269 sofia/default/960800730@54.170.60.120 EXPORTING[export_vars] [presence_data]=[x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120] to event
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1269 sofia/default/960800730@54.170.60.120 EXPORTING[export_vars] [call_type]=[5] to event
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-27 12:15:12.918655 98.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/589399@cloud.masip.es [373934f9-3eb0-46b3-8807-bc06da38483c]
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_sofia.c:5121 (sofia/default/589399@cloud.masip.es) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_INIT (Cur 12 Tot 6710)
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/589399@cloud.masip.es) State INIT
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_sofia.c:97 sofia/default/589399@cloud.masip.es SOFIA INIT
2023-06-27 12:15:12.918655 98.57% [INFO] sofia_glue.c:1651 sofia/default/589399@cloud.masip.es sending invite call-id: (null)
2023-06-27 12:15:12.918655 98.57% [DEBUG] sofia_glue.c:1654 sofia/default/589399@cloud.masip.es sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687837562 1687837563 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 30550 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/589399@cloud.masip.es Standard INIT
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/589399@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/589399@cloud.masip.es) State INIT going to sleep
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_ROUTING (Cur 12 Tot 6710)
2023-06-27 12:15:12.918655 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/589399@cloud.masip.es entering state [calling][0]
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/589399@cloud.masip.es) State ROUTING
2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_sofia.c:158 sofia/default/589399@cloud.masip.es SOFIA ROUTING
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_ivr_originate.c:67 (sofia/default/589399@cloud.masip.es) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/589399@cloud.masip.es) State ROUTING going to sleep
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 6710)
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/589399@cloud.masip.es) State CONSUME_MEDIA
2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/589399@cloud.masip.es) State CONSUME_MEDIA going to sleep
2023-06-27 12:15:13.458647 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/589399@cloud.masip.es entering state [completing][200]
2023-06-27 12:15:13.458647 98.57% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 207746308 207746308 IN IP4 54.72.32.66
s=Asterisk PBX 13.20.0
c=IN IP4 54.72.32.66
t=0 0
m=audio 12832 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2023-06-27 12:15:13.458647 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/589399@cloud.masip.es entering state [ready][200]
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/589399@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_codec.c:111 sofia/default/589399@cloud.masip.es Original read codec set to PCMA:8
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5973 sofia/default/589399@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/589399@cloud.masip.es] 10.0.2.92 port 30550 -> 54.72.32.66 port 12832 codec: 8 ms: 20
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9089 sofia/default/589399@cloud.masip.es Set 2833 dtmf send payload to 101
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9096 sofia/default/589399@cloud.masip.es Set 2833 dtmf receive payload to 101
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9119 sofia/default/589399@cloud.masip.es Set rtp dtmf delay to 40
2023-06-27 12:15:13.458647 98.57% [NOTICE] sofia.c:8683 Channel [sofia/default/589399@cloud.masip.es] has been answered
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_channel.c:3950 (sofia/default/589399@cloud.masip.es) Callstate Change DOWN -> ACTIVE
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/960800730@54.170.60.120] 10.0.2.92 port 21612 -> 54.170.60.120 port 32270 codec: 8 ms: 20
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9089 sofia/default/960800730@54.170.60.120 Set 2833 dtmf send payload to 98
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9096 sofia/default/960800730@54.170.60.120 Set 2833 dtmf receive payload to 98
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9119 sofia/default/960800730@54.170.60.120 Set rtp dtmf delay to 40
2023-06-27 12:15:13.458647 98.57% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/960800730@54.170.60.120:
v=0
o=FreeSWITCH 1687846501 1687846502 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 21612 RTP/AVP 8 98
a=rtpmap:8 PCMA/8000
a=rtpmap:98 telephone-event/8000
a=fmtp:98 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:13.458647 98.57% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/960800730@54.170.60.120] has been answered
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_channel.c:3950 (sofia/default/960800730@54.170.60.120) Callstate Change RINGING -> ACTIVE
2023-06-27 12:15:13.458647 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [completed][200]
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/589399@cloud.masip.es] Peer UUID: 373934f9-3eb0-46b3-8807-bc06da38483c
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/589399@cloud.masip.es) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6710)
2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_state_machine.c:650 (sofia/default/589399@cloud.masip.es) State EXCHANGE_MEDIA
2023-06-27 12:15:13.458647 98.57% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-06-27 12:15:13.478648 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [ready][200]
2023-06-27 12:15:13.478648 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [received][100]
2023-06-27 12:15:13.478648 98.57% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 255048 70161 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32270 RTP/AVP 8 98
a=rtpmap:8 PCMA/8000
a=rtpmap:98 telephone-event/8000
a=fmtp:98 0-15
a=ptime:20
2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 98@8000
2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 98@8000
2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5973 sofia/default/960800730@54.170.60.120 Set 2833 dtmf send payload to 98 recv payload to 98
2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/960800730@54.170.60.120.
2023-06-27 12:15:13.478648 98.57% [DEBUG] sofia.c:8454 Processing updated SDP
2023-06-27 12:15:13.498653 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [completed][200]
2023-06-27 12:15:13.498653 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [ready][200]
2023-06-27 12:15:13.658649 98.47% [DEBUG] switch_ivr_bridge.c:655 sofia/default/589399@cloud.masip.es Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:13.678650 98.47% [DEBUG] switch_ivr.c:632 sofia/default/589399@cloud.masip.es Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/589399@cloud.masip.es sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:13.678650 98.47% [DEBUG] switch_scheduler.c:263 Added task 3165 switch_ivr_schedule_hangup (373934f9-3eb0-46b3-8807-bc06da38483c) to run at 1687874113
2023-06-27 12:15:14.078648 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:16.198653 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [completing][200]
2023-06-27 12:15:16.198653 98.43% [DEBUG] sofia.c:7506 Duplicate SDP
v=0
o=Sonus_UAC 649970 948296 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32050 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [ready][200]
2023-06-27 12:15:16.218651 98.43% [NOTICE] sofia.c:8624 Channel [sofia/default/34664223774] has been answered
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_channel.c:3950 (sofia/default/34664223774) Callstate Change EARLY -> ACTIVE
2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [received][100]
2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 649970 948297 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32050 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5973 sofia/default/34664223774 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/34664223774.
2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:8454 Processing updated SDP
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/621296053@cloud.masip.es.
2023-06-27 12:15:16.218651 98.43% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/621296053@cloud.masip.es:
v=0
o=FreeSWITCH 1687851208 1687851210 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 16898 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:16.218651 98.43% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/621296053@cloud.masip.es] has been answered
2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_channel.c:3950 (sofia/default/621296053@cloud.masip.es) Callstate Change EARLY -> ACTIVE
2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [completed][200]
2023-06-27 12:15:16.238651 98.43% [DEBUG] switch_core_media.c:3768 Changing Codec from PCMU@20ms@8000hz to PCMA@20ms@8000hz
2023-06-27 12:15:16.238651 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [ready][200]
2023-06-27 12:15:16.278650 98.43% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34664223774 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:16.278650 98.43% [DEBUG] switch_core_codec.c:123 sofia/default/34664223774 Original read codec replaced with PCMA:8
2023-06-27 12:15:16.278650 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [completed][200]
2023-06-27 12:15:16.278650 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [ready][200]
2023-06-27 12:15:16.298651 98.43% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:16.298651 98.43% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:22.738650 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/621296078@cloud.masip.es [d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5]
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296078@cloud.masip.es) Running State Change CS_NEW (Cur 13 Tot 6711)
2023-06-27 12:15:22.738650 98.47% [INFO] sofia.c:10462 sofia/default/621296078@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 54926f641156e7911fd147002375c578@cloud.masip.es
2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/621296078@cloud.masip.es entering state [received][100]
2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 781160963 781160963 IN IP4 51.91.247.55
s=DialApplet
c=IN IP4 51.91.247.55
t=0 0
m=audio 15860 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/621296078@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/621296078@cloud.masip.es Original read codec set to PCMA:8
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/621296078@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:7933 (sofia/default/621296078@cloud.masip.es) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:600 (sofia/default/621296078@cloud.masip.es) State NEW
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296078@cloud.masip.es) Running State Change CS_INIT (Cur 13 Tot 6711)
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296078@cloud.masip.es) State INIT
2023-06-27 12:15:22.738650 98.47% [DEBUG] mod_sofia.c:97 sofia/default/621296078@cloud.masip.es SOFIA INIT
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/621296078@cloud.masip.es Standard INIT
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/621296078@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296078@cloud.masip.es) State INIT going to sleep
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296078@cloud.masip.es) Running State Change CS_ROUTING (Cur 13 Tot 6711)
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_channel.c:2380 (sofia/default/621296078@cloud.masip.es) Callstate Change DOWN -> RINGING
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296078@cloud.masip.es) State ROUTING
2023-06-27 12:15:22.738650 98.47% [DEBUG] mod_sofia.c:158 sofia/default/621296078@cloud.masip.es SOFIA ROUTING
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/621296078@cloud.masip.es Standard ROUTING
2023-06-27 12:15:22.738650 98.47% [INFO] mod_dialplan_xml.c:639 Processing 621296078 <621296078>->34928817922 in context default
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:22.738650 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
FreeSWITCH-Hostname: ip-10-0-2-92
FreeSWITCH-Switchname: ip-10-0-2-92
FreeSWITCH-IPv4: 10.0.2.92
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-06-27%2012%3A15%3A22
Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A22%20GMT
Event-Date-Timestamp: 1687868122738650
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 381186
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/621296078%40cloud.masip.es
Unique-ID: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 621296078%40cloud.masip.es
Channel-Call-UUID: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
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: 621296078
Caller-Dialplan: XML
Caller-Caller-ID-Name: 621296078
Caller-Caller-ID-Number: 621296078
Caller-Orig-Caller-ID-Name: 621296078
Caller-Orig-Caller-ID-Number: 621296078
Caller-Network-Addr: 34.252.123.120
Caller-ANI: 621296078
Caller-Destination-Number: 34928817922
Caller-Unique-ID: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/621296078%40cloud.masip.es
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1687868122738650
Caller-Channel-Created-Time: 1687868122738650
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: false
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
variable_session_id: 6711
variable_sip_from_user: 621296078
variable_sip_from_uri: 621296078%40cloud.masip.es
variable_sip_from_host: cloud.masip.es
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/621296078%40cloud.masip.es
variable_sip_call_id: 54926f641156e7911fd147002375c578%40cloud.masip.es
variable_sip_local_network_addr: 54.220.206.86
variable_sip_network_ip: 34.252.123.120
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1687868122738650
variable_sip_received_ip: 34.252.123.120
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: 621296078
variable_sip_from_tag: as6a0b8bd4
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %22621296078%22%20%3Csip%3A621296078%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
variable_sip_cid_type: rpid
variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das6a0b8bd4%3Bdid%3De7.c0859dc5%3E
variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das6a0b8bd4%3Bdid%3De7.c0859dc5%3E
variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bKf4f2.618f59e3.0,SIP/2.0/UDP%2051.91.247.55%3A5060%3Bbranch%3Dz9hG4bK263076af
variable_sip_from_display: 621296078
variable_sip_full_from: %22621296078%22%20%3Csip%3A621296078%40cloud.masip.es%3E%3Btag%3Das6a0b8bd4
variable_sip_full_to: %3Csip%3A34928817922%40cloud.masip.es%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
variable_sip_req_user: 34928817922
variable_sip_req_uri: 34928817922%40cloud.masip.es
variable_sip_req_host: cloud.masip.es
variable_sip_to_user: 34928817922
variable_sip_to_uri: 34928817922%40cloud.masip.es
variable_sip_to_host: cloud.masip.es
variable_sip_contact_user: 621296078
variable_sip_contact_port: 5060
variable_sip_contact_uri: 621296078%4051.91.247.55%3A5060
variable_sip_contact_host: 51.91.247.55
variable_sip_user_agent: DialApplet
variable_sip_via_host: 34.252.123.120
variable_sip_via_port: 5060
variable_max_forwards: 69
variable_presence_id: 621296078%40cloud.masip.es
variable_sip_date_epoch_time: 1687868122
variable_sip_h_X-AUTH-IP: 51.91.247.55
variable_sip_h_P-Accountcode: 437146
variable_sip_h_P-effective_caller_id_name: %22621296078%22
variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20781160963%20781160963%20IN%20IP4%2051.91.247.55%0D%0As%3DDialApplet%0D%0Ac%3DIN%20IP4%2051.91.247.55%0D%0At%3D0%200%0D%0Am%3Daudio%2015860%20RTP/AVP%208%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%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,mod_com_g729.G729%408000h%4020i%408000b
variable_rtp_use_codec_string: G729,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: 51.91.247.55
variable_remote_media_port: 15860
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: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 621296078
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 621296078
Hunt-Caller-ID-Number: 621296078
Hunt-Orig-Caller-ID-Name: 621296078
Hunt-Orig-Caller-ID-Number: 621296078
Hunt-Network-Addr: 34.252.123.120
Hunt-ANI: 621296078
Hunt-Destination-Number: 34928817922
Hunt-Unique-ID: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/621296078%40cloud.masip.es
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1687868122738650
Hunt-Channel-Created-Time: 1687868122738650
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: false
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34928817922
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34928817922' AND status=0 limit 1
2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "621296078" / <null>
2023-06-27 12:15:22.738650 98.47% [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 ="34928817922" LIMIT 1
2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34928817922" limit 1
2023-06-27 12:15:22.758653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-06-27 12:15:22.758653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 437146]
2023-06-27 12:15:22.758653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "437146" AND deleted = 0 limit 1
2023-06-27 12:15:22.758653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34928817922.*' OR blocked_patterns = '^3492881792.*' OR blocked_patterns = '^349288179.*' OR blocked_patterns = '^34928817.*' OR blocked_patterns = '^3492881.*' OR blocked_patterns = '^349288.*' OR blocked_patterns = '^34928.*' OR blocked_patterns = '^3492.*' OR blocked_patterns = '^349.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 107 limit 1
2023-06-27 12:15:22.758653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34928817922" AND (accountid = 0 OR status = 1) LIMIT 1
2023-06-27 12:15:22.758653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^34928817922.*' OR patterns = '^3492881792.*' OR patterns = '^349288179.*' OR patterns = '^34928817.*' OR patterns = '^3492881.*' OR patterns = '^349288.*' OR patterns = '^34928.*' OR patterns = '^3492.*' OR patterns = '^349.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-06-27 12:15:22.758653 98.47% [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 ="34928817922" AND A.accountid = '107' limit 1
2023-06-27 12:15:22.758653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34928817922
2023-06-27 12:15:22.758653 98.47% [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 ="34928817922" LIMIT 1
2023-06-27 12:15:22.758653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34928817922" limit 1
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-06-27 12:15:22.778653 98.47% [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 = '34928817922' OR number = '3492881792' OR number = '349288179' OR number = '34928817' OR number = '3492881' OR number = '349288' OR number = '34928' OR number = '3492' OR number = '349' OR number = '34' OR number = '3' OR number ='--') OR (number = '34928817922*' OR number = '3492881792*' OR number = '349288179*' OR number = '34928817*' OR number = '3492881*' OR number = '349288*' OR number = '34928*' OR number = '3492*' OR number = '349*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34928817922' OR routing_prefix = '3492881792' OR routing_prefix = '349288179' OR routing_prefix = '34928817' OR routing_prefix = '3492881' OR routing_prefix = '349288' OR routing_prefix = '34928' OR routing_prefix = '3492' OR routing_prefix = '349' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 107
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 437146
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 185.8322
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34928817922.*' OR pattern = '^3492881792.*' OR pattern = '^349288179.*' OR pattern = '^34928817.*' OR pattern = '^3492881.*' OR pattern = '^349288.*' OR pattern = '^34928.*' OR pattern = '^3492.*' OR pattern = '^349.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 11 OR accountid=107) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87798
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00140
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Fixed
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 107
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your185.8322 balance Accountid 107 !!!
2023-06-27 12:15:22.778653 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=11 ORDER by id asc
2023-06-27 12:15:22.778653 98.47% [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 = '^34928817922.*' OR pattern = '^3492881792.*' OR pattern = '^349288179.*' OR pattern = '^34928817.*' OR pattern = '^3492881.*' OR pattern = '^349288.*' OR pattern = '^34928.*' OR pattern = '^3492.*' OR pattern = '^349.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3,4,3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,4,3),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3492.*
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3492.*
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32787
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3492.*
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3492.*
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:22.798652 98.47% [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 = 107 AND status=0 LIMIT 1
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-06-27 12:15:22.798652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-06-27 12:15:22.798652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:22.798652 98.47% [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
2023-06-27 12:15:22.798652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
2023-06-27 12:15:22.798652 98.47% [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 ="34928817922" LIMIT 1
2023-06-27 12:15:22.798652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:22.818653 98.47% [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 = 37) AND status=0 limit 1
2023-06-27 12:15:22.818653 98.47% [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 = 4) AND status=0 limit 1
2023-06-27 12:15:22.818653 98.47% [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 ="34928817922" LIMIT 1
2023-06-27 12:15:22.818653 98.47% [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="34928817922">
<condition field="destination_number" expression="34928817922">
<action application="set" data="effective_destination_number=34928817922"/>
<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=2023-06-27 12:15:22"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=107"/>
<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:87798|CODE:^3492.*|DESTINATION:Spain Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00140|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107"/>
<action application="set" data="original_caller_id_name=621296078"/>
<action application="limit" data="db 437146 user_437146 100 "/>
<action application="set" data="effective_caller_id_name="621296078""/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:12|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
<action application="set" data="trunk_id=3"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=3"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34928817922"/>
<action application="export" data="presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34928817922;fs_path=sip:34.252.123.120:5060"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34928817922;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="effective_caller_id_name="621296078""/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:32787|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00120|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=37"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34928817922"/>
<action application="export" data="presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||VozAntiDDos // ^3492.* // SPAIN // 0.00120 // trunk_id=4|||STD|||51.91.247.55"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34928817922;fs_path=sip:34.252.123.120:5060"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/621296078@cloud.masip.es parsing [default->34928817922] continue=false
Dialplan: sofia/default/621296078@cloud.masip.es Regex (PASS) [34928817922] destination_number(34928817922) =~ /34928817922/ break=on-false
Dialplan: sofia/default/621296078@cloud.masip.es Action set(effective_destination_number=34928817922)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(callstart=2023-06-27 12:15:22)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(hangup_after_bridge=true)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(account_id=107)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(parent_id=0)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(entity_id=0)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(call_processed=internal)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(call_direction=outbound)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(accountname=default)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(origination_rates=ID:87798|CODE:^3492.*|DESTINATION:Spain Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00140|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(original_caller_id_name=621296078)
Dialplan: sofia/default/621296078@cloud.masip.es Action limit(db 437146 user_437146 100 )
Dialplan: sofia/default/621296078@cloud.masip.es Action set(effective_caller_id_name=)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(termination_rates=ID:12|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(trunk_id=3)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(provider_id=9)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_id=34928817922)
Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55)
Dialplan: sofia/default/621296078@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34928817922;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/621296078@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34928817922;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(effective_caller_id_name=)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(termination_rates=ID:32787|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00120|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(trunk_id=4)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(provider_id=37)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/621296078@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_id=34928817922)
Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||VozAntiDDos // ^3492.* // SPAIN // 0.00120 // trunk_id=4|||STD|||51.91.247.55)
Dialplan: sofia/default/621296078@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34928817922;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/621296078@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296078@cloud.masip.es) State ROUTING going to sleep
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296078@cloud.masip.es) Running State Change CS_EXECUTE (Cur 13 Tot 6711)
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296078@cloud.masip.es) State EXECUTE
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_sofia.c:213 sofia/default/621296078@cloud.masip.es SOFIA EXECUTE
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/621296078@cloud.masip.es Standard EXECUTE
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(effective_destination_number=34928817922)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [effective_destination_number]=[34928817922]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(callstart=2023-06-27 12:15:22)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [callstart]=[2023-06-27 12:15:22]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(hangup_after_bridge=true)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(continue_on_fail=TRUE)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(account_id=107)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [account_id]=[107]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(parent_id=0)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [parent_id]=[0]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(entity_id=0)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [entity_id]=[0]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(call_processed=internal)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(call_direction=outbound)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(accountname=default)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [accountname]=[default]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(origination_rates=ID:87798|CODE:^3492.*|DESTINATION:Spain Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00140|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [origination_rates]=[ID:87798|CODE:^3492.*|DESTINATION:Spain Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00140|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(original_caller_id_name=621296078)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [original_caller_id_name]=[621296078]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es limit(db 437146 user_437146 100 )
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_limit.c:124 incr called: 437146_user_437146 max:100, interval:0
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_db.c:194 Usage for 437146_user_437146 is now 2/100
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(effective_caller_id_name=)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [effective_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(calltype=STANDARD)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(termination_rates=ID:12|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [termination_rates]=[ID:12|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(trunk_id=3)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(provider_id=9)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [provider_id]=[9]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(rate_flag=2)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(force_trunk_flag=0)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es export(presence_data=trunk_id=3)
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(intcall=0)
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [intcall]=[0]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es export(presence_id=34928817922)
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34928817922]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es export(presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55)
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55]
EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34928817922;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1269 sofia/default/621296078@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55] to event
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1269 sofia/default/621296078@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34928817922] to event
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1269 sofia/default/621296078@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55] to event
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-27 12:15:22.818653 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34928817922 [c8764941-7b9e-4d61-9557-130dcf996624]
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_sofia.c:5121 (sofia/default/34928817922) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34928817922 Setting leg timeout to 30
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34928817922) Running State Change CS_INIT (Cur 14 Tot 6712)
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34928817922) State INIT
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_sofia.c:97 sofia/default/34928817922 SOFIA INIT
2023-06-27 12:15:22.818653 98.47% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34928817922
2023-06-27 12:15:22.818653 98.47% [INFO] sofia_glue.c:1651 sofia/default/34928817922 sending invite call-id: (null)
2023-06-27 12:15:22.818653 98.47% [DEBUG] sofia_glue.c:1654 sofia/default/34928817922 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687851046 1687851047 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 17076 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/34928817922 Standard INIT
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34928817922) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34928817922) State INIT going to sleep
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34928817922) Running State Change CS_ROUTING (Cur 14 Tot 6712)
2023-06-27 12:15:22.818653 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34928817922 entering state [calling][0]
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34928817922) State ROUTING
2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_sofia.c:158 sofia/default/34928817922 SOFIA ROUTING
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34928817922) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34928817922) State ROUTING going to sleep
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34928817922) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 6712)
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34928817922) State CONSUME_MEDIA
2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34928817922) State CONSUME_MEDIA going to sleep
2023-06-27 12:15:23.138652 98.47% [INFO] sofia.c:1348 sofia/default/34928817922 Update Callee ID to "34 928817922" <+34928817922>
2023-06-27 12:15:23.138652 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34928817922 entering state [proceeding][180]
2023-06-27 12:15:23.138652 98.47% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 482642 538250 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32258 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:23.138652 98.47% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34928817922!
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_channel.c:3622 (sofia/default/34928817922) Callstate Change DOWN -> EARLY
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34928817922 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/34928817922 Original read codec set to PCMU:0
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/34928817922 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34928817922] 10.0.2.92 port 17076 -> 54.170.60.120 port 32258 codec: 0 ms: 20
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/34928817922 Set 2833 dtmf send payload to 101
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/34928817922 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/34928817922 Set rtp dtmf delay to 40
2023-06-27 12:15:23.138652 98.47% [INFO] switch_ivr_originate.c:3841 Sending early media
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/621296078@cloud.masip.es] 10.0.2.92 port 26570 -> 51.91.247.55 port 15860 codec: 8 ms: 20
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/621296078@cloud.masip.es Set 2833 dtmf send payload to 101
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/621296078@cloud.masip.es Set 2833 dtmf receive payload to 101
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/621296078@cloud.masip.es Set rtp dtmf delay to 40
2023-06-27 12:15:23.138652 98.47% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1687841553 1687841554 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 26570 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:23.138652 98.47% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/621296078@cloud.masip.es!
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_channel.c:3622 (sofia/default/621296078@cloud.masip.es) Callstate Change RINGING -> EARLY
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34928817922] Peer UUID: c8764941-7b9e-4d61-9557-130dcf996624
2023-06-27 12:15:23.138652 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/621296078@cloud.masip.es entering state [early][183]
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34928817922) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34928817922) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 6712)
2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34928817922) State EXCHANGE_MEDIA
2023-06-27 12:15:23.138652 98.47% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-06-27 12:15:23.178648 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:23.198653 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:23.338651 98.47% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34928817922 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:23.358649 98.47% [DEBUG] switch_ivr.c:632 sofia/default/34928817922 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/34928817922 sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:23.358649 98.47% [DEBUG] switch_scheduler.c:263 Added task 3166 switch_ivr_schedule_hangup (c8764941-7b9e-4d61-9557-130dcf996624) to run at 1687874123
2023-06-27 12:15:27.698649 98.47% [NOTICE] sofia.c:1065 Hangup sofia/default/960800730@54.170.60.120 [CS_EXECUTE] [NORMAL_CLEARING]
2023-06-27 12:15:27.698649 98.47% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/960800730@54.170.60.120]
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_ivr_bridge.c:820 sofia/default/960800730@54.170.60.120 ending bridge by request from write function
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/589399@cloud.masip.es]
2023-06-27 12:15:27.718649 98.47% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/589399@cloud.masip.es [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/589399@cloud.masip.es) State EXCHANGE_MEDIA going to sleep
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_HANGUP (Cur 14 Tot 6712)
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/589399@cloud.masip.es) Callstate Change ACTIVE -> HANGUP
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/589399@cloud.masip.es) State HANGUP
2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:462 sofia/default/589399@cloud.masip.es Overriding SIP cause 480 with 200 from the other leg
2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/589399@cloud.masip.es hanging up, cause: NORMAL_CLEARING
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/589399@cloud.masip.es skip receive message [UNBRIDGE] (channel is hungup already)
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/960800730@54.170.60.120 skip receive message [UNBRIDGE] (channel is hungup already)
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_session.c:2983 sofia/default/960800730@54.170.60.120 skip receive message [PHONE_EVENT] (channel is hungup already)
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/960800730@54.170.60.120) State EXECUTE going to sleep
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_HANGUP (Cur 14 Tot 6712)
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/960800730@54.170.60.120) Callstate Change ACTIVE -> HANGUP
2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/589399@cloud.masip.es
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/960800730@54.170.60.120) State HANGUP
2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/960800730@54.170.60.120 hanging up, cause: NORMAL_CLEARING
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/589399@cloud.masip.es Standard HANGUP, cause: NORMAL_CLEARING
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/589399@cloud.masip.es) State HANGUP going to sleep
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/589399@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_REPORTING (Cur 14 Tot 6712)
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/589399@cloud.masip.es) State REPORTING
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/960800730@54.170.60.120 Standard HANGUP, cause: NORMAL_CLEARING
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/960800730@54.170.60.120) State HANGUP going to sleep
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/960800730@54.170.60.120) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:27.718649 98.47% [INFO] mod_json_cdr.c:271 Process [373934f9-3eb0-46b3-8807-bc06da38483c.cdr.json]
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_REPORTING (Cur 14 Tot 6712)
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/960800730@54.170.60.120) State REPORTING
2023-06-27 12:15:27.718649 98.47% [INFO] mod_json_cdr.c:271 Process [ae136b28-6126-4a7e-96fa-28d8a7cd03d9.cdr.json]
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/589399@cloud.masip.es Standard REPORTING, cause: NORMAL_CLEARING
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/589399@cloud.masip.es) State REPORTING going to sleep
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/589399@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_session.c:1753 Session 6710 (sofia/default/589399@cloud.masip.es) Locked, Waiting on external entities
2023-06-27 12:15:27.718649 98.47% [NOTICE] switch_core_session.c:1771 Session 6710 (sofia/default/589399@cloud.masip.es) Ended
2023-06-27 12:15:27.718649 98.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/589399@cloud.masip.es [CS_DESTROY]
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/589399@cloud.masip.es) Running State Change CS_DESTROY (Cur 13 Tot 6712)
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/589399@cloud.masip.es) State DESTROY
2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:379 sofia/default/589399@cloud.masip.es SOFIA DESTROY
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/589399@cloud.masip.es Standard DESTROY
2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/589399@cloud.masip.es) State DESTROY going to sleep
2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/960800730@54.170.60.120 Standard REPORTING, cause: NORMAL_CLEARING
2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/960800730@54.170.60.120) State REPORTING going to sleep
2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/960800730@54.170.60.120) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_session.c:1753 Session 6709 (sofia/default/960800730@54.170.60.120) Locked, Waiting on external entities
2023-06-27 12:15:27.738650 98.47% [NOTICE] switch_core_session.c:1771 Session 6709 (sofia/default/960800730@54.170.60.120) Ended
2023-06-27 12:15:27.738650 98.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/960800730@54.170.60.120 [CS_DESTROY]
2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/960800730@54.170.60.120) Running State Change CS_DESTROY (Cur 12 Tot 6712)
2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/960800730@54.170.60.120) State DESTROY
2023-06-27 12:15:27.738650 98.47% [DEBUG] mod_sofia.c:379 sofia/default/960800730@54.170.60.120 SOFIA DESTROY
2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/960800730@54.170.60.120 Standard DESTROY
2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/960800730@54.170.60.120) State DESTROY going to sleep
2023-06-27 12:15:27.858651 98.47% [DEBUG] switch_scheduler.c:147 Deleting task 3165 switch_ivr_schedule_hangup (373934f9-3eb0-46b3-8807-bc06da38483c)
2023-06-27 12:15:29.718649 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/962067573@cloud.masip.es:7075 [92829f8f-fef1-4889-b094-2a2e976f23bc]
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/962067573@cloud.masip.es:7075) Running State Change CS_NEW (Cur 13 Tot 6713)
2023-06-27 12:15:29.718649 98.47% [INFO] sofia.c:10462 sofia/default/962067573@cloud.masip.es:7075 receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 5e4faf18005619ba3fbe131d3856e0a7@cloud.masip.es
2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/962067573@cloud.masip.es:7075 entering state [received][100]
2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 1017187847 1017187848 IN IP4 108.128.195.89
s=Asterisk PBX 13.38.3
c=IN IP4 108.128.195.89
t=0 0
m=audio 18108 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/962067573@cloud.masip.es:7075 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/962067573@cloud.masip.es:7075 Original read codec set to PCMA:8
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/962067573@cloud.masip.es:7075 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:7933 (sofia/default/962067573@cloud.masip.es:7075) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:600 (sofia/default/962067573@cloud.masip.es:7075) State NEW
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/962067573@cloud.masip.es:7075) Running State Change CS_INIT (Cur 13 Tot 6713)
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/962067573@cloud.masip.es:7075) State INIT
2023-06-27 12:15:29.718649 98.47% [DEBUG] mod_sofia.c:97 sofia/default/962067573@cloud.masip.es:7075 SOFIA INIT
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/962067573@cloud.masip.es:7075 Standard INIT
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/962067573@cloud.masip.es:7075) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/962067573@cloud.masip.es:7075) State INIT going to sleep
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/962067573@cloud.masip.es:7075) Running State Change CS_ROUTING (Cur 13 Tot 6713)
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_channel.c:2380 (sofia/default/962067573@cloud.masip.es:7075) Callstate Change DOWN -> RINGING
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/962067573@cloud.masip.es:7075) State ROUTING
2023-06-27 12:15:29.718649 98.47% [DEBUG] mod_sofia.c:158 sofia/default/962067573@cloud.masip.es:7075 SOFIA ROUTING
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/962067573@cloud.masip.es:7075 Standard ROUTING
2023-06-27 12:15:29.718649 98.47% [INFO] mod_dialplan_xml.c:639 Processing 962067573 <962067573>->34965687928 in context default
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:29.718649 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
FreeSWITCH-Hostname: ip-10-0-2-92
FreeSWITCH-Switchname: ip-10-0-2-92
FreeSWITCH-IPv4: 10.0.2.92
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-06-27%2012%3A15%3A29
Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A29%20GMT
Event-Date-Timestamp: 1687868129718649
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 381292
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/962067573%40cloud.masip.es%3A7075
Unique-ID: 92829f8f-fef1-4889-b094-2a2e976f23bc
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 962067573%40cloud.masip.es
Channel-Call-UUID: 92829f8f-fef1-4889-b094-2a2e976f23bc
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: 962067573
Caller-Dialplan: XML
Caller-Caller-ID-Name: 962067573
Caller-Caller-ID-Number: 962067573
Caller-Orig-Caller-ID-Name: 962067573
Caller-Orig-Caller-ID-Number: 962067573
Caller-Network-Addr: 34.252.123.120
Caller-ANI: 962067573
Caller-Destination-Number: 34965687928
Caller-Unique-ID: 92829f8f-fef1-4889-b094-2a2e976f23bc
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/962067573%40cloud.masip.es%3A7075
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1687868129718649
Caller-Channel-Created-Time: 1687868129718649
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: false
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 92829f8f-fef1-4889-b094-2a2e976f23bc
variable_session_id: 6713
variable_sip_from_user: 962067573
variable_sip_from_port: 7075
variable_sip_from_uri: 962067573%40cloud.masip.es%3A7075
variable_sip_from_host: cloud.masip.es
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/962067573%40cloud.masip.es%3A7075
variable_sip_call_id: 5e4faf18005619ba3fbe131d3856e0a7%40cloud.masip.es
variable_sip_local_network_addr: 54.220.206.86
variable_sip_network_ip: 34.252.123.120
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1687868129718649
variable_sip_received_ip: 34.252.123.120
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: 962067573
variable_sip_from_tag: as6d7743bb
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %22962067573%22%20%3Csip%3A962067573%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
variable_sip_cid_type: rpid
variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das6d7743bb%3Bdid%3D4.aeb97477%3E
variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das6d7743bb%3Bdid%3D4.aeb97477%3E
variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bK5dee.f0e3c72.0,SIP/2.0/UDP%20108.128.195.89%3A7075%3Bbranch%3Dz9hG4bK6d7f9457
variable_sip_from_display: 962067573
variable_sip_full_from: %22962067573%22%20%3Csip%3A962067573%40cloud.masip.es%3A7075%3E%3Btag%3Das6d7743bb
variable_sip_full_to: %3Csip%3A34965687928%40cloud.masip.es%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
variable_sip_req_user: 34965687928
variable_sip_req_uri: 34965687928%40cloud.masip.es
variable_sip_req_host: cloud.masip.es
variable_sip_to_user: 34965687928
variable_sip_to_uri: 34965687928%40cloud.masip.es
variable_sip_to_host: cloud.masip.es
variable_sip_contact_user: 962067573
variable_sip_contact_port: 7075
variable_sip_contact_uri: 962067573%40108.128.195.89%3A7075
variable_sip_contact_host: 108.128.195.89
variable_sip_user_agent: PBX2-MASIP
variable_sip_via_host: 34.252.123.120
variable_sip_via_port: 5060
variable_max_forwards: 69
variable_presence_id: 962067573%40cloud.masip.es
variable_sip_date_epoch_time: 1687868129
variable_sip_h_X-AUTH-IP: 108.128.195.89
variable_sip_h_P-Prefix: %3Cnull%3E
variable_sip_h_P-Accountcode: 821955
variable_sip_h_P-effective_caller_id_name: %22962067573%22
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201017187847%201017187848%20IN%20IP4%20108.128.195.89%0D%0As%3DAsterisk%20PBX%2013.38.3%0D%0Ac%3DIN%20IP4%20108.128.195.89%0D%0At%3D0%200%0D%0Am%3Daudio%2018108%20RTP/AVP%208%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dmaxptime%3A150%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
variable_rtp_use_codec_string: G729,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: 108.128.195.89
variable_remote_media_port: 18108
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: 92829f8f-fef1-4889-b094-2a2e976f23bc
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 962067573
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 962067573
Hunt-Caller-ID-Number: 962067573
Hunt-Orig-Caller-ID-Name: 962067573
Hunt-Orig-Caller-ID-Number: 962067573
Hunt-Network-Addr: 34.252.123.120
Hunt-ANI: 962067573
Hunt-Destination-Number: 34965687928
Hunt-Unique-ID: 92829f8f-fef1-4889-b094-2a2e976f23bc
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/962067573%40cloud.masip.es%3A7075
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1687868129718649
Hunt-Channel-Created-Time: 1687868129718649
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: false
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34965687928
2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34965687928' AND status=0 limit 1
2023-06-27 12:15:29.738648 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "962067573" / 962067573
2023-06-27 12:15:29.738648 98.47% [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 ="34965687928" LIMIT 1
2023-06-27 12:15:29.738648 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34965687928" limit 1
2023-06-27 12:15:29.738648 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-06-27 12:15:29.738648 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 821955]
2023-06-27 12:15:29.738648 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "821955" AND deleted = 0 limit 1
2023-06-27 12:15:29.738648 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34965687928.*' OR blocked_patterns = '^3496568792.*' OR blocked_patterns = '^349656879.*' OR blocked_patterns = '^34965687.*' OR blocked_patterns = '^3496568.*' OR blocked_patterns = '^349656.*' OR blocked_patterns = '^34965.*' OR blocked_patterns = '^3496.*' OR blocked_patterns = '^349.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 27 limit 1
2023-06-27 12:15:29.738648 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34965687928" AND (accountid = 0 OR status = 1) LIMIT 1
2023-06-27 12:15:29.738648 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^34965687928.*' OR patterns = '^3496568792.*' OR patterns = '^349656879.*' OR patterns = '^34965687.*' OR patterns = '^3496568.*' OR patterns = '^349656.*' OR patterns = '^34965.*' OR patterns = '^3496.*' OR patterns = '^349.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 27 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 69
2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 42
2023-06-27 12:15:29.758651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 42 AND status = 0
2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product : 7
2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 1 Call Direction : outbound [0:inbound,1:outbound,2:both]
2023-06-27 12:15:29.758651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters WHERE accountid = 27 AND package_id = 69 AND status=1 LIMIT 1
2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 0
2023-06-27 12:15:29.758651 98.47% [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 ="34965687928" AND A.accountid = '27' limit 1
2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34965687928
2023-06-27 12:15:29.758651 98.47% [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 ="34965687928" LIMIT 1
2023-06-27 12:15:29.758651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34965687928" limit 1
2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-06-27 12:15:29.758651 98.47% [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 = '34965687928' OR number = '3496568792' OR number = '349656879' OR number = '34965687' OR number = '3496568' OR number = '349656' OR number = '34965' OR number = '3496' OR number = '349' OR number = '34' OR number = '3' OR number ='--') OR (number = '34965687928*' OR number = '3496568792*' OR number = '349656879*' OR number = '34965687*' OR number = '3496568*' OR number = '349656*' OR number = '34965*' OR number = '3496*' OR number = '349*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '962067573' OR number = '96206757' OR number = '9620675' OR number = '962067' OR number = '96206' OR number = '9620' OR number = '962' OR number = '96' OR number = '9' OR number ='--') OR (number = '962067573*' OR number = '96206757*' OR number = '9620675*' OR number = '962067*' OR number = '96206*' OR number = '9620*' OR number = '962*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-06-27 12:15:29.758651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-06-27 12:15:29.758651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34965687928' OR routing_prefix = '3496568792' OR routing_prefix = '349656879' OR routing_prefix = '34965687' OR routing_prefix = '3496568' OR routing_prefix = '349656' OR routing_prefix = '34965' OR routing_prefix = '3496' OR routing_prefix = '349' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 27
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 821955
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 193.00096
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 9
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34965687928.*' OR pattern = '^3496568792.*' OR pattern = '^349656879.*' OR pattern = '^34965687.*' OR pattern = '^3496568.*' OR pattern = '^349656.*' OR pattern = '^34965.*' OR pattern = '^3496.*' OR pattern = '^349.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 9 OR accountid=27) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87558
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.01500
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : SPAIN
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 27
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your193.00096 balance Accountid 27 !!!
2023-06-27 12:15:29.778652 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=9 ORDER by id asc
2023-06-27 12:15:29.778652 98.47% [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 = '^34965687928.*' OR pattern = '^3496568792.*' OR pattern = '^349656879.*' OR pattern = '^34965687.*' OR pattern = '^3496568.*' OR pattern = '^349656.*' OR pattern = '^34965.*' OR pattern = '^3496.*' OR pattern = '^349.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3,3,4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,3,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3496.*
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3496.*
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32791
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3496.*
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3496.*
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:29.778652 98.47% [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 = 27 AND status=0 LIMIT 1
2023-06-27 12:15:29.798653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-06-27 12:15:29.798653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:29.798653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-06-27 12:15:29.798653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
2023-06-27 12:15:29.798653 98.47% [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
2023-06-27 12:15:29.798653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
2023-06-27 12:15:29.798653 98.47% [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 ="34965687928" LIMIT 1
2023-06-27 12:15:29.798653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
2023-06-27 12:15:29.798653 98.47% [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 = 37) AND status=0 limit 1
2023-06-27 12:15:29.798653 98.47% [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 = 4) AND status=0 limit 1
2023-06-27 12:15:29.818651 98.47% [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 ="34965687928" LIMIT 1
2023-06-27 12:15:29.818651 98.47% [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="34965687928">
<condition field="destination_number" expression="34965687928">
<action application="set" data="effective_destination_number=34965687928"/>
<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=2023-06-27 12:15:29"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=27"/>
<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:87558|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:0|ACCID:27"/>
<action application="set" data="original_caller_id_name=962067573"/>
<action application="set" data="original_caller_id_number=962067573"/>
<action application="set" data="effective_caller_id_name="962067573""/>
<action application="set" data="effective_caller_id_number=962067573"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:16|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00090|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
<action application="set" data="trunk_id=3"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=3"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34965687928"/>
<action application="export" data="presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34965687928;fs_path=sip:34.252.123.120:5060"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34965687928;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="effective_caller_id_name="962067573""/>
<action application="set" data="effective_caller_id_number=962067573"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:32791|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00120|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=37"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34965687928"/>
<action application="export" data="presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||VozAntiDDos // ^3496.* // SPAIN // 0.00120 // trunk_id=4|||STD|||108.128.195.89"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34965687928;fs_path=sip:34.252.123.120:5060"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/962067573@cloud.masip.es:7075 parsing [default->34965687928] continue=false
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Regex (PASS) [34965687928] destination_number(34965687928) =~ /34965687928/ break=on-false
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_destination_number=34965687928)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(callstart=2023-06-27 12:15:29)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(account_id=27)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(parent_id=0)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(entity_id=0)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(call_processed=internal)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(call_direction=outbound)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(accountname=default)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(origination_rates=ID:87558|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:0|ACCID:27)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(original_caller_id_name=962067573)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(original_caller_id_number=962067573)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_caller_id_name=)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_caller_id_number=962067573)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(calltype=STANDARD)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(termination_rates=ID:16|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00090|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(trunk_id=3)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(provider_id=9)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(rate_flag=2)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(force_trunk_flag=0)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(intcall=0)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_id=34965687928)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34965687928;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34965687928;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_caller_id_name=)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_caller_id_number=962067573)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(calltype=STANDARD)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(termination_rates=ID:32791|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00120|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(trunk_id=4)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(provider_id=37)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(rate_flag=2)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(force_trunk_flag=0)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(intcall=0)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_id=34965687928)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||VozAntiDDos // ^3496.* // SPAIN // 0.00120 // trunk_id=4|||STD|||108.128.195.89)
Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34965687928;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/962067573@cloud.masip.es:7075) State Change CS_ROUTING -> CS_EXECUTE
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/962067573@cloud.masip.es:7075) State ROUTING going to sleep
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/962067573@cloud.masip.es:7075) Running State Change CS_EXECUTE (Cur 13 Tot 6713)
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/962067573@cloud.masip.es:7075) State EXECUTE
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_sofia.c:213 sofia/default/962067573@cloud.masip.es:7075 SOFIA EXECUTE
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/962067573@cloud.masip.es:7075 Standard EXECUTE
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(effective_destination_number=34965687928)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [effective_destination_number]=[34965687928]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(callstart=2023-06-27 12:15:29)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [callstart]=[2023-06-27 12:15:29]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(hangup_after_bridge=true)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(continue_on_fail=TRUE)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(account_id=27)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [account_id]=[27]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(parent_id=0)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(entity_id=0)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(call_processed=internal)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(call_direction=outbound)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(accountname=default)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [accountname]=[default]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(origination_rates=ID:87558|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:0|ACCID:27)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [origination_rates]=[ID:87558|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:0|ACCID:27]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(original_caller_id_name=962067573)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [original_caller_id_name]=[962067573]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(original_caller_id_number=962067573)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [original_caller_id_number]=[962067573]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(effective_caller_id_name=)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [effective_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(effective_caller_id_number=962067573)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [effective_caller_id_number]=[962067573]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(calltype=STANDARD)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(termination_rates=ID:16|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00090|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [termination_rates]=[ID:16|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00090|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(trunk_id=3)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(provider_id=9)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [provider_id]=[9]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(rate_flag=2)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(force_trunk_flag=0)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 export(presence_data=trunk_id=3)
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(intcall=0)
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [intcall]=[0]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 export(presence_id=34965687928)
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34965687928]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 export(presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89)
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89]
EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34965687928;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1269 sofia/default/962067573@cloud.masip.es:7075 EXPORTING[export_vars] [presence_data]=[x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89] to event
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1269 sofia/default/962067573@cloud.masip.es:7075 EXPORTING[export_vars] [presence_id]=[34965687928] to event
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1269 sofia/default/962067573@cloud.masip.es:7075 EXPORTING[export_vars] [presence_data]=[x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89] to event
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-27 12:15:29.818651 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34965687928 [719daf6b-be19-49d2-8b20-53bc366816b8]
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_sofia.c:5121 (sofia/default/34965687928) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34965687928 Setting leg timeout to 30
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34965687928) Running State Change CS_INIT (Cur 14 Tot 6714)
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34965687928) State INIT
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_sofia.c:97 sofia/default/34965687928 SOFIA INIT
2023-06-27 12:15:29.818651 98.47% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34965687928
2023-06-27 12:15:29.818651 98.47% [INFO] sofia_glue.c:1651 sofia/default/34965687928 sending invite call-id: (null)
2023-06-27 12:15:29.818651 98.47% [DEBUG] sofia_glue.c:1654 sofia/default/34965687928 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687837149 1687837150 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 30980 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/34965687928 Standard INIT
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34965687928) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34965687928) State INIT going to sleep
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34965687928) Running State Change CS_ROUTING (Cur 14 Tot 6714)
2023-06-27 12:15:29.818651 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34965687928 entering state [calling][0]
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34965687928) State ROUTING
2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_sofia.c:158 sofia/default/34965687928 SOFIA ROUTING
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34965687928) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34965687928) State ROUTING going to sleep
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34965687928) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 6714)
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34965687928) State CONSUME_MEDIA
2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34965687928) State CONSUME_MEDIA going to sleep
2023-06-27 12:15:30.198653 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34965687928 entering state [proceeding][180]
2023-06-27 12:15:30.198653 98.47% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 958882 605715 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32294 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:30.198653 98.47% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34965687928!
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_channel.c:3622 (sofia/default/34965687928) Callstate Change DOWN -> EARLY
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34965687928 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/34965687928 Original read codec set to PCMU:0
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/34965687928 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34965687928] 10.0.2.92 port 30980 -> 54.170.60.120 port 32294 codec: 0 ms: 20
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/34965687928 Set 2833 dtmf send payload to 101
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/34965687928 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/34965687928 Set rtp dtmf delay to 40
2023-06-27 12:15:30.218647 98.47% [INFO] switch_ivr_originate.c:3841 Sending early media
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/962067573@cloud.masip.es:7075] 10.0.2.92 port 21442 -> 108.128.195.89 port 18108 codec: 8 ms: 20
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/962067573@cloud.masip.es:7075 Set 2833 dtmf send payload to 101
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/962067573@cloud.masip.es:7075 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/962067573@cloud.masip.es:7075 Set rtp dtmf delay to 40
2023-06-27 12:15:30.218647 98.47% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1687846688 1687846689 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 21442 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:30.218647 98.47% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/962067573@cloud.masip.es:7075!
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_channel.c:3622 (sofia/default/962067573@cloud.masip.es:7075) Callstate Change RINGING -> EARLY
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34965687928] Peer UUID: 719daf6b-be19-49d2-8b20-53bc366816b8
2023-06-27 12:15:30.218647 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/962067573@cloud.masip.es:7075 entering state [early][183]
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34965687928) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34965687928) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 6714)
2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34965687928) State EXCHANGE_MEDIA
2023-06-27 12:15:30.218647 98.47% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-06-27 12:15:30.258650 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:30.338645 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34928817922 entering state [completing][200]
2023-06-27 12:15:30.338645 98.47% [DEBUG] sofia.c:7506 Duplicate SDP
v=0
o=Sonus_UAC 482642 538250 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32258 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:30.358649 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34928817922 entering state [ready][200]
2023-06-27 12:15:30.358649 98.47% [NOTICE] sofia.c:8624 Channel [sofia/default/34928817922] has been answered
2023-06-27 12:15:30.358649 98.47% [DEBUG] switch_channel.c:3950 (sofia/default/34928817922) Callstate Change EARLY -> ACTIVE
2023-06-27 12:15:30.358649 98.47% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/621296078@cloud.masip.es.
2023-06-27 12:15:30.358649 98.47% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/621296078@cloud.masip.es:
v=0
o=FreeSWITCH 1687841553 1687841555 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 26570 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:30.358649 98.47% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/621296078@cloud.masip.es] has been answered
2023-06-27 12:15:30.358649 98.47% [DEBUG] switch_channel.c:3950 (sofia/default/621296078@cloud.masip.es) Callstate Change EARLY -> ACTIVE
2023-06-27 12:15:30.358649 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/621296078@cloud.masip.es entering state [completed][200]
2023-06-27 12:15:30.378648 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/621296078@cloud.masip.es entering state [ready][200]
2023-06-27 12:15:30.398651 98.47% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34965687928 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:30.418650 98.47% [DEBUG] switch_ivr.c:632 sofia/default/34965687928 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/34965687928 sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:30.418650 98.47% [DEBUG] switch_scheduler.c:263 Added task 3167 switch_ivr_schedule_hangup (719daf6b-be19-49d2-8b20-53bc366816b8) to run at 1687874130
2023-06-27 12:15:30.438648 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:30.498650 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:30.498650 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:32.158650 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/919892479@cloud.masip.es entering state [terminated][487]
2023-06-27 12:15:32.158650 98.50% [NOTICE] sofia.c:8738 Hangup sofia/default/919892479@cloud.masip.es [CS_EXECUTE] [ORIGINATOR_CANCEL]
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:826 sofia/default/919892479@cloud.masip.es ending bridge by request from read function
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/919892479@cloud.masip.es]
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:820 sofia/default/919892479@cloud.masip.es ending bridge by request from write function
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34653087880]
2023-06-27 12:15:32.158650 98.50% [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/34653087880 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34653087880) State EXCHANGE_MEDIA going to sleep
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_HANGUP (Cur 14 Tot 6714)
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34653087880) Callstate Change EARLY -> HANGUP
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34653087880) State HANGUP
2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:462 sofia/default/34653087880 Overriding SIP cause 487 with 487 from the other leg
2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/34653087880 hanging up, cause: ORIGINATOR_CANCEL
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/34653087880 skip receive message [UNBRIDGE] (channel is hungup already)
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/919892479@cloud.masip.es skip receive message [UNBRIDGE] (channel is hungup already)
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_session.c:2983 sofia/default/919892479@cloud.masip.es skip receive message [PHONE_EVENT] (channel is hungup already)
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/919892479@cloud.masip.es) State EXECUTE going to sleep
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_HANGUP (Cur 14 Tot 6714)
2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/34653087880
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/34653087880 Standard HANGUP, cause: ORIGINATOR_CANCEL
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34653087880) State HANGUP going to sleep
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34653087880) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_REPORTING (Cur 14 Tot 6714)
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34653087880) State REPORTING
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/919892479@cloud.masip.es) Callstate Change EARLY -> HANGUP
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/919892479@cloud.masip.es) State HANGUP
2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/919892479@cloud.masip.es hanging up, cause: ORIGINATOR_CANCEL
2023-06-27 12:15:32.158650 98.50% [INFO] mod_json_cdr.c:271 Process [e6a31c97-64b0-4301-91f8-91fb079f4dd6.cdr.json]
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/919892479@cloud.masip.es Standard HANGUP, cause: ORIGINATOR_CANCEL
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/919892479@cloud.masip.es) State HANGUP going to sleep
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/919892479@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_REPORTING (Cur 14 Tot 6714)
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/919892479@cloud.masip.es) State REPORTING
2023-06-27 12:15:32.158650 98.50% [INFO] mod_json_cdr.c:271 Process [b47a6275-4b01-4552-a3ca-97cf714d6f8e.cdr.json]
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/34653087880 Standard REPORTING, cause: ORIGINATOR_CANCEL
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34653087880) State REPORTING going to sleep
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34653087880) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_session.c:1753 Session 6704 (sofia/default/34653087880) Locked, Waiting on external entities
2023-06-27 12:15:32.158650 98.50% [NOTICE] switch_core_session.c:1771 Session 6704 (sofia/default/34653087880) Ended
2023-06-27 12:15:32.158650 98.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34653087880 [CS_DESTROY]
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34653087880) Running State Change CS_DESTROY (Cur 13 Tot 6714)
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34653087880) State DESTROY
2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:379 sofia/default/34653087880 SOFIA DESTROY
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/34653087880 Standard DESTROY
2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34653087880) State DESTROY going to sleep
2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/919892479@cloud.masip.es Standard REPORTING, cause: ORIGINATOR_CANCEL
2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/919892479@cloud.masip.es) State REPORTING going to sleep
2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/919892479@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_session.c:1753 Session 6703 (sofia/default/919892479@cloud.masip.es) Locked, Waiting on external entities
2023-06-27 12:15:32.178650 98.50% [NOTICE] switch_core_session.c:1771 Session 6703 (sofia/default/919892479@cloud.masip.es) Ended
2023-06-27 12:15:32.178650 98.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/919892479@cloud.masip.es [CS_DESTROY]
2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/919892479@cloud.masip.es) Running State Change CS_DESTROY (Cur 12 Tot 6714)
2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/919892479@cloud.masip.es) State DESTROY
2023-06-27 12:15:32.178650 98.50% [DEBUG] mod_sofia.c:379 sofia/default/919892479@cloud.masip.es SOFIA DESTROY
2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/919892479@cloud.masip.es Standard DESTROY
2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/919892479@cloud.masip.es) State DESTROY going to sleep
2023-06-27 12:15:32.418648 98.50% [DEBUG] switch_scheduler.c:147 Deleting task 3161 switch_ivr_schedule_hangup (e6a31c97-64b0-4301-91f8-91fb079f4dd6)
2023-06-27 12:15:40.938650 98.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/621296053@cloud.masip.es [9290fe7a-b57d-45f0-86f5-0e953eb65ed3]
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_NEW (Cur 13 Tot 6715)
2023-06-27 12:15:40.938650 98.83% [INFO] sofia.c:10462 sofia/default/621296053@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 238eddbe19485b665372a01751200ae6@cloud.masip.es
2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [received][100]
2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 228355828 228355828 IN IP4 51.91.247.55
s=DialApplet
c=IN IP4 51.91.247.55
t=0 0
m=audio 10846 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/621296053@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_codec.c:111 sofia/default/621296053@cloud.masip.es Original read codec set to PCMA:8
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5973 sofia/default/621296053@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:7933 (sofia/default/621296053@cloud.masip.es) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:600 (sofia/default/621296053@cloud.masip.es) State NEW
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_INIT (Cur 13 Tot 6715)
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296053@cloud.masip.es) State INIT
2023-06-27 12:15:40.938650 98.83% [DEBUG] mod_sofia.c:97 sofia/default/621296053@cloud.masip.es SOFIA INIT
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/621296053@cloud.masip.es Standard INIT
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/621296053@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296053@cloud.masip.es) State INIT going to sleep
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_ROUTING (Cur 13 Tot 6715)
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_channel.c:2380 (sofia/default/621296053@cloud.masip.es) Callstate Change DOWN -> RINGING
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296053@cloud.masip.es) State ROUTING
2023-06-27 12:15:40.938650 98.83% [DEBUG] mod_sofia.c:158 sofia/default/621296053@cloud.masip.es SOFIA ROUTING
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:230 sofia/default/621296053@cloud.masip.es Standard ROUTING
2023-06-27 12:15:40.938650 98.83% [INFO] mod_dialplan_xml.c:639 Processing 621296053 <621296053>->34600641344 in context default
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:40.938650 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
FreeSWITCH-Hostname: ip-10-0-2-92
FreeSWITCH-Switchname: ip-10-0-2-92
FreeSWITCH-IPv4: 10.0.2.92
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-06-27%2012%3A15%3A40
Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A40%20GMT
Event-Date-Timestamp: 1687868140938650
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 381410
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/621296053%40cloud.masip.es
Unique-ID: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 621296053%40cloud.masip.es
Channel-Call-UUID: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
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: 621296053
Caller-Dialplan: XML
Caller-Caller-ID-Name: 621296053
Caller-Caller-ID-Number: 621296053
Caller-Orig-Caller-ID-Name: 621296053
Caller-Orig-Caller-ID-Number: 621296053
Caller-Network-Addr: 34.252.123.120
Caller-ANI: 621296053
Caller-Destination-Number: 34600641344
Caller-Unique-ID: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/621296053%40cloud.masip.es
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1687868140938650
Caller-Channel-Created-Time: 1687868140938650
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: false
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
variable_session_id: 6715
variable_sip_from_user: 621296053
variable_sip_from_uri: 621296053%40cloud.masip.es
variable_sip_from_host: cloud.masip.es
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/621296053%40cloud.masip.es
variable_sip_call_id: 238eddbe19485b665372a01751200ae6%40cloud.masip.es
variable_sip_local_network_addr: 54.220.206.86
variable_sip_network_ip: 34.252.123.120
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1687868140938650
variable_sip_received_ip: 34.252.123.120
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: 621296053
variable_sip_from_tag: as7a738082
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %22621296053%22%20%3Csip%3A621296053%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
variable_sip_cid_type: rpid
variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das7a738082%3Bdid%3Dca1.0b729541%3E
variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das7a738082%3Bdid%3Dca1.0b729541%3E
variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bKc70f.294d4fb4.0,SIP/2.0/UDP%2051.91.247.55%3A5060%3Bbranch%3Dz9hG4bK483e3b74
variable_sip_from_display: 621296053
variable_sip_full_from: %22621296053%22%20%3Csip%3A621296053%40cloud.masip.es%3E%3Btag%3Das7a738082
variable_sip_full_to: %3Csip%3A34600641344%40cloud.masip.es%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
variable_sip_req_user: 34600641344
variable_sip_req_uri: 34600641344%40cloud.masip.es
variable_sip_req_host: cloud.masip.es
variable_sip_to_user: 34600641344
variable_sip_to_uri: 34600641344%40cloud.masip.es
variable_sip_to_host: cloud.masip.es
variable_sip_contact_user: 621296053
variable_sip_contact_port: 5060
variable_sip_contact_uri: 621296053%4051.91.247.55%3A5060
variable_sip_contact_host: 51.91.247.55
variable_sip_user_agent: DialApplet
variable_sip_via_host: 34.252.123.120
variable_sip_via_port: 5060
variable_max_forwards: 69
variable_presence_id: 621296053%40cloud.masip.es
variable_sip_date_epoch_time: 1687868140
variable_sip_h_X-AUTH-IP: 51.91.247.55
variable_sip_h_P-Accountcode: 437146
variable_sip_h_P-effective_caller_id_name: %22621296053%22
variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20228355828%20228355828%20IN%20IP4%2051.91.247.55%0D%0As%3DDialApplet%0D%0Ac%3DIN%20IP4%2051.91.247.55%0D%0At%3D0%200%0D%0Am%3Daudio%2010846%20RTP/AVP%208%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%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,mod_com_g729.G729%408000h%4020i%408000b
variable_rtp_use_codec_string: G729,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: 51.91.247.55
variable_remote_media_port: 10846
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: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 621296053
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 621296053
Hunt-Caller-ID-Number: 621296053
Hunt-Orig-Caller-ID-Name: 621296053
Hunt-Orig-Caller-ID-Number: 621296053
Hunt-Network-Addr: 34.252.123.120
Hunt-ANI: 621296053
Hunt-Destination-Number: 34600641344
Hunt-Unique-ID: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/621296053%40cloud.masip.es
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1687868140938650
Hunt-Channel-Created-Time: 1687868140938650
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: false
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34600641344
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34600641344' AND status=0 limit 1
2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "621296053" / <null>
2023-06-27 12:15:40.938650 98.83% [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 ="34600641344" LIMIT 1
2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34600641344" limit 1
2023-06-27 12:15:40.958648 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-06-27 12:15:40.958648 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 437146]
2023-06-27 12:15:40.958648 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "437146" AND deleted = 0 limit 1
2023-06-27 12:15:40.958648 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34600641344.*' OR blocked_patterns = '^3460064134.*' OR blocked_patterns = '^346006413.*' OR blocked_patterns = '^34600641.*' OR blocked_patterns = '^3460064.*' OR blocked_patterns = '^346006.*' OR blocked_patterns = '^34600.*' OR blocked_patterns = '^3460.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 107 limit 1
2023-06-27 12:15:40.958648 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34600641344" AND (accountid = 0 OR status = 1) LIMIT 1
2023-06-27 12:15:40.958648 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^34600641344.*' OR patterns = '^3460064134.*' OR patterns = '^346006413.*' OR patterns = '^34600641.*' OR patterns = '^3460064.*' OR patterns = '^346006.*' OR patterns = '^34600.*' OR patterns = '^3460.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-06-27 12:15:40.958648 98.83% [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 ="34600641344" AND A.accountid = '107' limit 1
2023-06-27 12:15:40.958648 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34600641344
2023-06-27 12:15:40.958648 98.83% [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 ="34600641344" LIMIT 1
2023-06-27 12:15:40.958648 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34600641344" limit 1
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-06-27 12:15:40.978652 98.83% [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 = '34600641344' OR number = '3460064134' OR number = '346006413' OR number = '34600641' OR number = '3460064' OR number = '346006' OR number = '34600' OR number = '3460' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34600641344*' OR number = '3460064134*' OR number = '346006413*' OR number = '34600641*' OR number = '3460064*' OR number = '346006*' OR number = '34600*' OR number = '3460*' OR number = '346*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34600641344' OR routing_prefix = '3460064134' OR routing_prefix = '346006413' OR routing_prefix = '34600641' OR routing_prefix = '3460064' OR routing_prefix = '346006' OR routing_prefix = '34600' OR routing_prefix = '3460' OR routing_prefix = '346' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 107
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 437146
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 185.8322
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34600641344.*' OR pattern = '^3460064134.*' OR pattern = '^346006413.*' OR pattern = '^34600641.*' OR pattern = '^3460064.*' OR pattern = '^346006.*' OR pattern = '^34600.*' OR pattern = '^3460.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 11 OR accountid=107) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87795
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00750
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Mobile
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 107
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your185.8322 balance Accountid 107 !!!
2023-06-27 12:15:40.978652 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=11 ORDER by id asc
2023-06-27 12:15:40.978652 98.83% [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 = '^34600641344.*' OR pattern = '^3460064134.*' OR pattern = '^346006413.*' OR pattern = '^34600641.*' OR pattern = '^3460064.*' OR pattern = '^346006.*' OR pattern = '^34600.*' OR pattern = '^3460.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3,4,3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,4,3),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:40.998652 98.83% [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 = 107 AND status=0 LIMIT 1
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-06-27 12:15:40.998652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-06-27 12:15:40.998652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:40.998652 98.83% [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
2023-06-27 12:15:40.998652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
2023-06-27 12:15:40.998652 98.83% [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 ="34600641344" LIMIT 1
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-27 12:15:41.018666 98.83% [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 = 37) AND status=0 limit 1
2023-06-27 12:15:41.018666 98.83% [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 = 4) AND status=0 limit 1
2023-06-27 12:15:41.018666 98.83% [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 ="34600641344" LIMIT 1
2023-06-27 12:15:41.018666 98.83% [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="34600641344">
<condition field="destination_number" expression="34600641344">
<action application="set" data="effective_destination_number=34600641344"/>
<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=2023-06-27 12:15:41"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=107"/>
<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:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107"/>
<action application="set" data="original_caller_id_name=621296053"/>
<action application="limit" data="db 437146 user_437146 100 "/>
<action application="set" data="effective_caller_id_name="621296053""/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
<action application="set" data="trunk_id=3"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=3"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34600641344"/>
<action application="export" data="presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34600641344;fs_path=sip:34.252.123.120:5060"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34600641344;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="effective_caller_id_name="621296053""/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=37"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34600641344"/>
<action application="export" data="presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34600641344;fs_path=sip:34.252.123.120:5060"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/621296053@cloud.masip.es parsing [default->34600641344] continue=false
Dialplan: sofia/default/621296053@cloud.masip.es Regex (PASS) [34600641344] destination_number(34600641344) =~ /34600641344/ break=on-false
Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_destination_number=34600641344)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(callstart=2023-06-27 12:15:41)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(hangup_after_bridge=true)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(account_id=107)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(parent_id=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(entity_id=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(call_processed=internal)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(call_direction=outbound)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(accountname=default)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(origination_rates=ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(original_caller_id_name=621296053)
Dialplan: sofia/default/621296053@cloud.masip.es Action limit(db 437146 user_437146 100 )
Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_caller_id_name=)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(trunk_id=3)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(provider_id=9)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_id=34600641344)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55)
Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34600641344;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34600641344;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_caller_id_name=)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(trunk_id=4)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(provider_id=37)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/621296053@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_id=34600641344)
Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55)
Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34600641344;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:281 (sofia/default/621296053@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296053@cloud.masip.es) State ROUTING going to sleep
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_EXECUTE (Cur 13 Tot 6715)
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296053@cloud.masip.es) State EXECUTE
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_sofia.c:213 sofia/default/621296053@cloud.masip.es SOFIA EXECUTE
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:323 sofia/default/621296053@cloud.masip.es Standard EXECUTE
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_destination_number=34600641344)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_destination_number]=[34600641344]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(callstart=2023-06-27 12:15:41)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [callstart]=[2023-06-27 12:15:41]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(hangup_after_bridge=true)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(continue_on_fail=TRUE)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(account_id=107)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [account_id]=[107]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(parent_id=0)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [parent_id]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(entity_id=0)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [entity_id]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(call_processed=internal)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(call_direction=outbound)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(accountname=default)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [accountname]=[default]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(origination_rates=ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [origination_rates]=[ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(original_caller_id_name=621296053)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [original_caller_id_name]=[621296053]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es limit(db 437146 user_437146 100 )
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_limit.c:124 incr called: 437146_user_437146 max:100, interval:0
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_db.c:194 Usage for 437146_user_437146 is now 3/100
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_caller_id_name=)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(calltype=STANDARD)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [termination_rates]=[ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(trunk_id=3)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(provider_id=9)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [provider_id]=[9]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(rate_flag=2)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(force_trunk_flag=0)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=trunk_id=3)
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(intcall=0)
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [intcall]=[0]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_id=34600641344)
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34600641344]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55)
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55]
EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34600641344;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55] to event
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34600641344] to event
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55] to event
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-27 12:15:41.018666 98.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34600641344 [70a99187-50da-44f0-b723-703c7e76f46f]
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_sofia.c:5121 (sofia/default/34600641344) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34600641344 Setting leg timeout to 30
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34600641344) Running State Change CS_INIT (Cur 14 Tot 6716)
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34600641344) State INIT
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_sofia.c:97 sofia/default/34600641344 SOFIA INIT
2023-06-27 12:15:41.018666 98.83% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34600641344
2023-06-27 12:15:41.018666 98.83% [INFO] sofia_glue.c:1651 sofia/default/34600641344 sending invite call-id: (null)
2023-06-27 12:15:41.018666 98.83% [DEBUG] sofia_glue.c:1654 sofia/default/34600641344 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687837019 1687837020 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 31122 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/34600641344 Standard INIT
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34600641344) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34600641344) State INIT going to sleep
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34600641344) Running State Change CS_ROUTING (Cur 14 Tot 6716)
2023-06-27 12:15:41.018666 98.83% [DEBUG] sofia.c:7499 Channel sofia/default/34600641344 entering state [calling][0]
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34600641344) State ROUTING
2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_sofia.c:158 sofia/default/34600641344 SOFIA ROUTING
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34600641344) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34600641344) State ROUTING going to sleep
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34600641344) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 6716)
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34600641344) State CONSUME_MEDIA
2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34600641344) State CONSUME_MEDIA going to sleep
2023-06-27 12:15:41.498649 98.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/960201328@cloud.masip.es:7070 [6ae608de-4169-4ba8-ad7b-37fd00551e7b]
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960201328@cloud.masip.es:7070) Running State Change CS_NEW (Cur 15 Tot 6717)
2023-06-27 12:15:41.498649 98.83% [INFO] sofia.c:10462 sofia/default/960201328@cloud.masip.es:7070 receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 308bfcda5e8846120cc90a6e2fe85ac3@cloud.masip.es
2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:7499 Channel sofia/default/960201328@cloud.masip.es:7070 entering state [received][100]
2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 692497859 692497860 IN IP4 52.212.10.46
s=Asterisk PBX 16.6.1
c=IN IP4 52.212.10.46
t=0 0
m=audio 25760 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
a=rtcp-mux
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/960201328@cloud.masip.es:7070 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_codec.c:111 sofia/default/960201328@cloud.masip.es:7070 Original read codec set to PCMA:8
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5973 sofia/default/960201328@cloud.masip.es:7070 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:7933 (sofia/default/960201328@cloud.masip.es:7070) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:600 (sofia/default/960201328@cloud.masip.es:7070) State NEW
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960201328@cloud.masip.es:7070) Running State Change CS_INIT (Cur 15 Tot 6717)
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/960201328@cloud.masip.es:7070) State INIT
2023-06-27 12:15:41.498649 98.83% [DEBUG] mod_sofia.c:97 sofia/default/960201328@cloud.masip.es:7070 SOFIA INIT
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/960201328@cloud.masip.es:7070 Standard INIT
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/960201328@cloud.masip.es:7070) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/960201328@cloud.masip.es:7070) State INIT going to sleep
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960201328@cloud.masip.es:7070) Running State Change CS_ROUTING (Cur 15 Tot 6717)
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_channel.c:2380 (sofia/default/960201328@cloud.masip.es:7070) Callstate Change DOWN -> RINGING
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/960201328@cloud.masip.es:7070) State ROUTING
2023-06-27 12:15:41.498649 98.83% [DEBUG] mod_sofia.c:158 sofia/default/960201328@cloud.masip.es:7070 SOFIA ROUTING
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:230 sofia/default/960201328@cloud.masip.es:7070 Standard ROUTING
2023-06-27 12:15:41.498649 98.83% [INFO] mod_dialplan_xml.c:639 Processing 960201328 <960201328>->34683664696 in context default
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:41.498649 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
FreeSWITCH-Hostname: ip-10-0-2-92
FreeSWITCH-Switchname: ip-10-0-2-92
FreeSWITCH-IPv4: 10.0.2.92
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-06-27%2012%3A15%3A41
Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A41%20GMT
Event-Date-Timestamp: 1687868141498649
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 381482
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/960201328%40cloud.masip.es%3A7070
Unique-ID: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 960201328%40cloud.masip.es
Channel-Call-UUID: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
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: 960201328
Caller-Dialplan: XML
Caller-Caller-ID-Name: 960201328
Caller-Caller-ID-Number: 960201328
Caller-Orig-Caller-ID-Name: 960201328
Caller-Orig-Caller-ID-Number: 960201328
Caller-Network-Addr: 34.252.123.120
Caller-ANI: 960201328
Caller-Destination-Number: 34683664696
Caller-Unique-ID: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/960201328%40cloud.masip.es%3A7070
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1687868141498649
Caller-Channel-Created-Time: 1687868141498649
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: false
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
variable_session_id: 6717
variable_sip_from_user: 960201328
variable_sip_from_port: 7070
variable_sip_from_uri: 960201328%40cloud.masip.es%3A7070
variable_sip_from_host: cloud.masip.es
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/960201328%40cloud.masip.es%3A7070
variable_sip_call_id: 308bfcda5e8846120cc90a6e2fe85ac3%40cloud.masip.es
variable_sip_local_network_addr: 54.220.206.86
variable_sip_network_ip: 34.252.123.120
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1687868141498649
variable_sip_received_ip: 34.252.123.120
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: 960201328
variable_sip_from_tag: as2305fb4e
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %22960201328%22%20%3Csip%3A960201328%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
variable_sip_cid_type: rpid
variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das2305fb4e%3Bdid%3Dcae.f50ec624%3E
variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das2305fb4e%3Bdid%3Dcae.f50ec624%3E
variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bKd7d7.ea3762b2.0,SIP/2.0/UDP%2052.212.10.46%3A7070%3Bbranch%3Dz9hG4bK702f768a
variable_sip_from_display: 960201328
variable_sip_full_from: %22960201328%22%20%3Csip%3A960201328%40cloud.masip.es%3A7070%3E%3Btag%3Das2305fb4e
variable_sip_full_to: %3Csip%3A34683664696%40cloud.masip.es%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
variable_sip_req_user: 34683664696
variable_sip_req_uri: 34683664696%40cloud.masip.es
variable_sip_req_host: cloud.masip.es
variable_sip_to_user: 34683664696
variable_sip_to_uri: 34683664696%40cloud.masip.es
variable_sip_to_host: cloud.masip.es
variable_sip_contact_user: 960201328
variable_sip_contact_port: 7070
variable_sip_contact_uri: 960201328%4052.212.10.46%3A7070
variable_sip_contact_host: 52.212.10.46
variable_sip_user_agent: Asterisk%20PBX%2016.6.1
variable_sip_via_host: 34.252.123.120
variable_sip_via_port: 5060
variable_max_forwards: 69
variable_presence_id: 960201328%40cloud.masip.es
variable_sip_date_epoch_time: 1687868141
variable_sip_h_X-AUTH-IP: 52.212.10.46
variable_sip_h_P-Prefix: %3Cnull%3E
variable_sip_h_P-Accountcode: 787347
variable_sip_h_P-effective_caller_id_name: %22960201328%22
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20692497859%20692497860%20IN%20IP4%2052.212.10.46%0D%0As%3DAsterisk%20PBX%2016.6.1%0D%0Ac%3DIN%20IP4%2052.212.10.46%0D%0At%3D0%200%0D%0Am%3Daudio%2025760%20RTP/AVP%208%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dmaxptime%3A150%0D%0Aa%3Drtcp-mux%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
variable_rtp_use_codec_string: G729,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: 52.212.10.46
variable_remote_media_port: 25760
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: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 960201328
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 960201328
Hunt-Caller-ID-Number: 960201328
Hunt-Orig-Caller-ID-Name: 960201328
Hunt-Orig-Caller-ID-Number: 960201328
Hunt-Network-Addr: 34.252.123.120
Hunt-ANI: 960201328
Hunt-Destination-Number: 34683664696
Hunt-Unique-ID: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/960201328%40cloud.masip.es%3A7070
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1687868141498649
Hunt-Channel-Created-Time: 1687868141498649
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: false
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34683664696
2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34683664696' AND status=0 limit 1
2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "960201328" / 960201328
2023-06-27 12:15:41.498649 98.83% [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 ="34683664696" LIMIT 1
2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34683664696" limit 1
2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 787347]
2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "787347" AND deleted = 0 limit 1
2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34683664696.*' OR blocked_patterns = '^3468366469.*' OR blocked_patterns = '^346836646.*' OR blocked_patterns = '^34683664.*' OR blocked_patterns = '^3468366.*' OR blocked_patterns = '^346836.*' OR blocked_patterns = '^34683.*' OR blocked_patterns = '^3468.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 28 limit 1
2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34683664696" AND (accountid = 0 OR status = 1) LIMIT 1
2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^34683664696.*' OR patterns = '^3468366469.*' OR patterns = '^346836646.*' OR patterns = '^34683664.*' OR patterns = '^3468366.*' OR patterns = '^346836.*' OR patterns = '^34683.*' OR patterns = '^3468.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 28 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 70
2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 53
2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 53 AND status = 0
2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product : 7
2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 1 Call Direction : outbound [0:inbound,1:outbound,2:both]
2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters WHERE accountid = 28 AND package_id = 70 AND status=1 LIMIT 1
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 0
2023-06-27 12:15:41.538668 98.83% [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 ="34683664696" AND A.accountid = '28' limit 1
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34683664696
2023-06-27 12:15:41.538668 98.83% [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 ="34683664696" LIMIT 1
2023-06-27 12:15:41.538668 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34683664696" limit 1
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-06-27 12:15:41.538668 98.83% [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 = '34683664696' OR number = '3468366469' OR number = '346836646' OR number = '34683664' OR number = '3468366' OR number = '346836' OR number = '34683' OR number = '3468' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34683664696*' OR number = '3468366469*' OR number = '346836646*' OR number = '34683664*' OR number = '3468366*' OR number = '346836*' OR number = '34683*' OR number = '3468*' OR number = '346*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '960201328' OR number = '96020132' OR number = '9602013' OR number = '960201' OR number = '96020' OR number = '9602' OR number = '960' OR number = '96' OR number = '9' OR number ='--') OR (number = '960201328*' OR number = '96020132*' OR number = '9602013*' OR number = '960201*' OR number = '96020*' OR number = '9602*' OR number = '960*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-06-27 12:15:41.538668 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-06-27 12:15:41.538668 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34683664696' OR routing_prefix = '3468366469' OR routing_prefix = '346836646' OR routing_prefix = '34683664' OR routing_prefix = '3468366' OR routing_prefix = '346836' OR routing_prefix = '34683' OR routing_prefix = '3468' OR routing_prefix = '346' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 28
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 787347
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 782.0951
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 9
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-06-27 12:15:41.538668 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34683664696.*' OR pattern = '^3468366469.*' OR pattern = '^346836646.*' OR pattern = '^34683664.*' OR pattern = '^3468366.*' OR pattern = '^346836.*' OR pattern = '^34683.*' OR pattern = '^3468.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 9 OR accountid=28) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87607
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.03000
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain-Mobiles
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 28
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your782.0951 balance Accountid 28 !!!
2023-06-27 12:15:41.558651 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=9 ORDER by id asc
2023-06-27 12:15:41.558651 98.83% [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 = '^34683664696.*' OR pattern = '^3468366469.*' OR pattern = '^346836646.*' OR pattern = '^34683664.*' OR pattern = '^3468366.*' OR pattern = '^346836.*' OR pattern = '^34683.*' OR pattern = '^3468.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3,3,4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,3,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-27 12:15:41.558651 98.83% [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 = 28 AND status=0 LIMIT 1
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
2023-06-27 12:15:41.578653 98.83% [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
2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
2023-06-27 12:15:41.578653 98.83% [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 ="34683664696" LIMIT 1
2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
2023-06-27 12:15:41.578653 98.83% [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 = 37) AND status=0 limit 1
2023-06-27 12:15:41.578653 98.83% [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 = 4) AND status=0 limit 1
2023-06-27 12:15:41.578653 98.83% [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 ="34683664696" LIMIT 1
2023-06-27 12:15:41.578653 98.83% [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="34683664696">
<condition field="destination_number" expression="34683664696">
<action application="set" data="effective_destination_number=34683664696"/>
<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=2023-06-27 12:15:41"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=28"/>
<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:87607|CODE:^346.*|DESTINATION:Spain-Mobiles|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:174|ACCID:28"/>
<action application="set" data="original_caller_id_name=960201328"/>
<action application="set" data="original_caller_id_number=960201328"/>
<action application="limit" data="db 787347 user_787347 50 "/>
<action application="set" data="effective_caller_id_name="960201328""/>
<action application="set" data="effective_caller_id_number=960201328"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
<action application="set" data="trunk_id=3"/>
<action application="set" data="provider_id=9"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=3"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34683664696"/>
<action application="export" data="presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34683664696;fs_path=sip:34.252.123.120:5060"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34683664696;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="effective_caller_id_name="960201328""/>
<action application="set" data="effective_caller_id_number=960201328"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=37"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34683664696"/>
<action application="export" data="presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||52.212.10.46"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34683664696;fs_path=sip:34.252.123.120:5060"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/960201328@cloud.masip.es:7070 parsing [default->34683664696] continue=false
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Regex (PASS) [34683664696] destination_number(34683664696) =~ /34683664696/ break=on-false
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_destination_number=34683664696)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(callstart=2023-06-27 12:15:41)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(account_id=28)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(parent_id=0)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(entity_id=0)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(call_processed=internal)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(call_direction=outbound)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(accountname=default)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(origination_rates=ID:87607|CODE:^346.*|DESTINATION:Spain-Mobiles|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:174|ACCID:28)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(original_caller_id_name=960201328)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(original_caller_id_number=960201328)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action limit(db 787347 user_787347 50 )
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_caller_id_name=)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_caller_id_number=960201328)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(calltype=STANDARD)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(trunk_id=3)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(provider_id=9)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(rate_flag=2)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(force_trunk_flag=0)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(intcall=0)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_id=34683664696)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34683664696;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34683664696;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_caller_id_name=)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_caller_id_number=960201328)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(calltype=STANDARD)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(trunk_id=4)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(provider_id=37)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(rate_flag=2)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(force_trunk_flag=0)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(intcall=0)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_id=34683664696)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||52.212.10.46)
Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34683664696;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:281 (sofia/default/960201328@cloud.masip.es:7070) State Change CS_ROUTING -> CS_EXECUTE
2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/960201328@cloud.masip.es:7070) State ROUTING going to sleep
2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960201328@cloud.masip.es:7070) Running State Change CS_EXECUTE (Cur 15 Tot 6717)
2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/960201328@cloud.masip.es:7070) State EXECUTE
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_sofia.c:213 sofia/default/960201328@cloud.masip.es:7070 SOFIA EXECUTE
2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:323 sofia/default/960201328@cloud.masip.es:7070 Standard EXECUTE
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(effective_destination_number=34683664696)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [effective_destination_number]=[34683664696]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(callstart=2023-06-27 12:15:41)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [callstart]=[2023-06-27 12:15:41]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(hangup_after_bridge=true)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(continue_on_fail=TRUE)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(account_id=28)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [account_id]=[28]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(parent_id=0)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(entity_id=0)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(call_processed=internal)
2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(call_direction=outbound)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(accountname=default)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [accountname]=[default]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(origination_rates=ID:87607|CODE:^346.*|DESTINATION:Spain-Mobiles|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:174|ACCID:28)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [origination_rates]=[ID:87607|CODE:^346.*|DESTINATION:Spain-Mobiles|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:174|ACCID:28]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(original_caller_id_name=960201328)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [original_caller_id_name]=[960201328]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(original_caller_id_number=960201328)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [original_caller_id_number]=[960201328]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 limit(db 787347 user_787347 50 )
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_limit.c:124 incr called: 787347_user_787347 max:50, interval:0
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_db.c:194 Usage for 787347_user_787347 is now 2/50
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(effective_caller_id_name=)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [effective_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(effective_caller_id_number=960201328)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [effective_caller_id_number]=[960201328]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(calltype=STANDARD)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [termination_rates]=[ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(trunk_id=3)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(provider_id=9)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [provider_id]=[9]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(rate_flag=2)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(force_trunk_flag=0)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 export(presence_data=trunk_id=3)
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(intcall=0)
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [intcall]=[0]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 export(presence_id=34683664696)
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34683664696]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 export(presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46)
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46]
EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34683664696;fs_path=sip:34.252.123.120:5060)
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1269 sofia/default/960201328@cloud.masip.es:7070 EXPORTING[export_vars] [presence_data]=[x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46] to event
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1269 sofia/default/960201328@cloud.masip.es:7070 EXPORTING[export_vars] [presence_id]=[34683664696] to event
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1269 sofia/default/960201328@cloud.masip.es:7070 EXPORTING[export_vars] [presence_data]=[x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46] to event
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-27 12:15:41.598646 98.67% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34683664696 [4a59357d-bda5-49ac-8592-d6f58100a1a3]
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_sofia.c:5121 (sofia/default/34683664696) State Change CS_NEW -> CS_INIT
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34683664696 Setting leg timeout to 30
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34683664696) Running State Change CS_INIT (Cur 16 Tot 6718)
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34683664696) State INIT
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_sofia.c:97 sofia/default/34683664696 SOFIA INIT
2023-06-27 12:15:41.598646 98.67% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34683664696
2023-06-27 12:15:41.598646 98.67% [INFO] sofia_glue.c:1651 sofia/default/34683664696 sending invite call-id: (null)
2023-06-27 12:15:41.598646 98.67% [DEBUG] sofia_glue.c:1654 sofia/default/34683664696 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687840153 1687840154 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 27988 RTP/AVP 18 0 8 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:40 sofia/default/34683664696 Standard INIT
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34683664696) State Change CS_INIT -> CS_ROUTING
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34683664696) State INIT going to sleep
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34683664696) Running State Change CS_ROUTING (Cur 16 Tot 6718)
2023-06-27 12:15:41.598646 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34683664696 entering state [calling][0]
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34683664696) State ROUTING
2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_sofia.c:158 sofia/default/34683664696 SOFIA ROUTING
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34683664696) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34683664696) State ROUTING going to sleep
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34683664696) Running State Change CS_CONSUME_MEDIA (Cur 16 Tot 6718)
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34683664696) State CONSUME_MEDIA
2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34683664696) State CONSUME_MEDIA going to sleep
2023-06-27 12:15:42.798647 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34600641344 entering state [proceeding][183]
2023-06-27 12:15:42.798647 98.67% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 174309 715048 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32244 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:42.798647 98.67% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34600641344!
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_channel.c:3622 (sofia/default/34600641344) Callstate Change DOWN -> EARLY
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34600641344 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_codec.c:111 sofia/default/34600641344 Original read codec set to PCMA:8
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5973 sofia/default/34600641344 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34600641344] 10.0.2.92 port 31122 -> 54.170.60.120 port 32244 codec: 8 ms: 20
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9089 sofia/default/34600641344 Set 2833 dtmf send payload to 101
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9096 sofia/default/34600641344 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9119 sofia/default/34600641344 Set rtp dtmf delay to 40
2023-06-27 12:15:42.798647 98.67% [INFO] switch_ivr_originate.c:3841 Sending early media
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/621296053@cloud.masip.es] 10.0.2.92 port 31934 -> 51.91.247.55 port 10846 codec: 8 ms: 20
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9089 sofia/default/621296053@cloud.masip.es Set 2833 dtmf send payload to 101
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9096 sofia/default/621296053@cloud.masip.es Set 2833 dtmf receive payload to 101
2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9119 sofia/default/621296053@cloud.masip.es Set rtp dtmf delay to 40
2023-06-27 12:15:42.798647 98.67% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1687836208 1687836209 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 31934 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-06-27 12:15:42.798647 98.67% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/621296053@cloud.masip.es!
2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_channel.c:3622 (sofia/default/621296053@cloud.masip.es) Callstate Change RINGING -> EARLY
2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34600641344] Peer UUID: 70a99187-50da-44f0-b723-703c7e76f46f
2023-06-27 12:15:42.818648 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [early][183]
2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34600641344) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34600641344) Running State Change CS_EXCHANGE_MEDIA (Cur 16 Tot 6718)
2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34600641344) State EXCHANGE_MEDIA
2023-06-27 12:15:42.818648 98.67% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-06-27 12:15:42.838648 98.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:42.858651 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34600641344 entering state [proceeding][180]
2023-06-27 12:15:42.858651 98.67% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34600641344!
2023-06-27 12:15:42.858651 98.67% [DEBUG] switch_channel.c:3494 (sofia/default/34600641344) Callstate Change EARLY -> RINGING
2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:42.878651 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34600641344 entering state [proceeding][183]
2023-06-27 12:15:42.878651 98.67% [DEBUG] sofia.c:7506 Duplicate SDP
v=0
o=Sonus_UAC 174309 715048 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32244 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5973 sofia/default/34600641344 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/34600641344.
2023-06-27 12:15:42.998648 98.67% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34600641344 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:43.018650 98.67% [DEBUG] switch_ivr.c:632 sofia/default/34600641344 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/34600641344 sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:43.018650 98.67% [DEBUG] switch_scheduler.c:263 Added task 3168 switch_ivr_schedule_hangup (70a99187-50da-44f0-b723-703c7e76f46f) to run at 1687874143
2023-06-27 12:15:43.338650 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34683664696 entering state [proceeding][183]
2023-06-27 12:15:43.338650 98.67% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 678117 313343 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32298 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:43.338650 98.67% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34683664696!
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_channel.c:3622 (sofia/default/34683664696) Callstate Change DOWN -> EARLY
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34683664696 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_codec.c:111 sofia/default/34683664696 Original read codec set to PCMA:8
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5973 sofia/default/34683664696 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34683664696] 10.0.2.92 port 27988 -> 54.170.60.120 port 32298 codec: 8 ms: 20
2023-06-27 12:15:43.338650 98.67% [INFO] switch_ivr_originate.c:3841 Sending early media
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/960201328@cloud.masip.es:7070] 10.0.2.92 port 32222 -> 52.212.10.46 port 25760 codec: 8 ms: 20
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9089 sofia/default/34683664696 Set 2833 dtmf send payload to 101
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9096 sofia/default/34683664696 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9119 sofia/default/34683664696 Set rtp dtmf delay to 40
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 25760
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 25760
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9089 sofia/default/960201328@cloud.masip.es:7070 Set 2833 dtmf send payload to 101
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9096 sofia/default/960201328@cloud.masip.es:7070 Set 2833 dtmf receive payload to 101
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9119 sofia/default/960201328@cloud.masip.es:7070 Set rtp dtmf delay to 40
2023-06-27 12:15:43.338650 98.67% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1687835921 1687835922 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 32222 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
a=rtcp-mux
a=rtcp:32222 IN IP4 54.220.206.86
2023-06-27 12:15:43.338650 98.67% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/960201328@cloud.masip.es:7070!
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_channel.c:3622 (sofia/default/960201328@cloud.masip.es:7070) Callstate Change RINGING -> EARLY
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34683664696] Peer UUID: 4a59357d-bda5-49ac-8592-d6f58100a1a3
2023-06-27 12:15:43.338650 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/960201328@cloud.masip.es:7070 entering state [early][183]
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34683664696) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34683664696) Running State Change CS_EXCHANGE_MEDIA (Cur 16 Tot 6718)
2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34683664696) State EXCHANGE_MEDIA
2023-06-27 12:15:43.338650 98.67% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2023-06-27 12:15:43.538650 98.67% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34683664696 Bridge execute app sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:43.558650 98.67% [DEBUG] switch_ivr.c:632 sofia/default/34683664696 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/34683664696 sched_hangup(+6000 normal_clearing)
2023-06-27 12:15:43.558650 98.67% [DEBUG] switch_scheduler.c:263 Added task 3169 switch_ivr_schedule_hangup (4a59357d-bda5-49ac-8592-d6f58100a1a3) to run at 1687874143
2023-06-27 12:15:43.558650 98.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-06-27 12:15:43.598650 98.73% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[628541402] base_seq[4634]
2023-06-27 12:15:44.178647 98.73% [DEBUG] sofia.c:7499 Channel sofia/default/34683664696 entering state [proceeding][180]
2023-06-27 12:15:44.178647 98.73% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34683664696!
2023-06-27 12:15:44.178647 98.73% [DEBUG] switch_channel.c:3494 (sofia/default/34683664696) Callstate Change EARLY -> RINGING
2023-06-27 12:15:44.198648 98.73% [DEBUG] sofia.c:7499 Channel sofia/default/34683664696 entering state [proceeding][183]
2023-06-27 12:15:44.198648 98.73% [DEBUG] sofia.c:7506 Duplicate SDP
v=0
o=Sonus_UAC 678117 313343 IN IP4 54.170.60.120
s=SIP Media Capabilities
c=IN IP4 54.170.60.120
t=0 0
m=audio 32298 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5973 sofia/default/34683664696 Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/34683664696.
2023-06-27 12:15:44.218651 98.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.