span style="color: green; font-weight: bold;"> 2023-06-28 07:10:16.078653 99.13% [INFO] sofia.c:10462 sofia/default/621296037@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 16ef075b010ae90d60fecca4741c8e70@cloud.masip.es
2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:7499 Channel sofia/default/621296037@cloud.masip.es entering state [received][100]
2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 1665780225 1665780225 IN IP4 51.91.247.55
s=DialApplet
c=IN IP4 51.91.247.55
t=0 0
m=audio 11298 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-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/621296037@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_codec.c:111 sofia/default/621296037@cloud.masip.es Original read codec set to PCMA:8
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5973 sofia/default/621296037@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:7933 (sofia/default/621296037@cloud.masip.es) State Change CS_NEW -> CS_INIT
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:600 (sofia/default/621296037@cloud.masip.es) State NEW
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296037@cloud.masip.es) Running State Change CS_INIT (Cur 27 Tot 9908)
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296037@cloud.masip.es) State INIT
2023-06-28 07:10:16.078653 99.13% [DEBUG] mod_sofia.c:97 sofia/default/621296037@cloud.masip.es SOFIA INIT
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/621296037@cloud.masip.es Standard INIT
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/621296037@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296037@cloud.masip.es) State INIT going to sleep
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296037@cloud.masip.es) Running State Change CS_ROUTING (Cur 27 Tot 9908)
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_channel.c:2380 (sofia/default/621296037@cloud.masip.es) Callstate Change DOWN -> RINGING
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296037@cloud.masip.es) State ROUTING
2023-06-28 07:10:16.078653 99.13% [DEBUG] mod_sofia.c:158 sofia/default/621296037@cloud.masip.es SOFIA ROUTING
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/621296037@cloud.masip.es Standard ROUTING
2023-06-28 07:10:16.078653 99.13% [INFO] mod_dialplan_xml.c:639 Processing 621296037 <621296037>->34632770025 in context default
2023-06-28 07:10:16.078653 99.13% [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-28 07:10:16.078653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-28 07:10:16.078653 99.13% [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-28%2007%3A10%3A16
Event-Date-GMT: Wed,%2028%20Jun%202023%2007%3A10%3A16%20GMT
Event-Date-Timestamp: 1687936216078653
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 610
Event-Sequence: 568815
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/621296037%40cloud.masip.es
Unique-ID: 47d58b5b-3caa-454c-92a4-bd86d4430da8
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 621296037%40cloud.masip.es
Channel-Call-UUID: 47d58b5b-3caa-454c-92a4-bd86d4430da8
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: 621296037
Caller-Dialplan: XML
Caller-Caller-ID-Name: 621296037
Caller-Caller-ID-Number: 621296037
Caller-Orig-Caller-ID-Name: 621296037
Caller-Orig-Caller-ID-Number: 621296037
Caller-Network-Addr: 34.252.123.120
Caller-ANI: 621296037
Caller-Destination-Number: 34632770025
Caller-Unique-ID: 47d58b5b-3caa-454c-92a4-bd86d4430da8
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/621296037%40cloud.masip.es
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1687936216078653
Caller-Channel-Created-Time: 1687936216078653
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: 47d58b5b-3caa-454c-92a4-bd86d4430da8
variable_session_id: 9908
variable_sip_from_user: 621296037
variable_sip_from_uri: 621296037%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/621296037%40cloud.masip.es
variable_sip_call_id: 16ef075b010ae90d60fecca4741c8e70%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: 1687936216078653
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: 621296037
variable_sip_from_tag: as16362b2b
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: %22621296037%22%20%3Csip%3A621296037%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%3Das16362b2b%3Bdid%3D0bb.ca891aa6%3E
variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das16362b2b%3Bdid%3D0bb.ca891aa6%3E
variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bKf7a6.70c62884.0,SIP/2.0/UDP%2051.91.247.55%3A5060%3Bbranch%3Dz9hG4bK18967e0c
variable_sip_from_display: 621296037
variable_sip_full_from: %22621296037%22%20%3Csip%3A621296037%40cloud.masip.es%3E%3Btag%3Das16362b2b
variable_sip_full_to: %3Csip%3A34632770025%40cloud.masip.es%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
variable_sip_req_user: 34632770025
variable_sip_req_uri: 34632770025%40cloud.masip.es
variable_sip_req_host: cloud.masip.es
variable_sip_to_user: 34632770025
variable_sip_to_uri: 34632770025%40cloud.masip.es
variable_sip_to_host: cloud.masip.es
variable_sip_contact_user: 621296037
variable_sip_contact_port: 5060
variable_sip_contact_uri: 621296037%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: 621296037%40cloud.masip.es
variable_sip_date_epoch_time: 1687936216
variable_sip_h_X-AUTH-IP: 51.91.247.55
variable_sip_h_P-Accountcode: 437146
variable_sip_h_P-effective_caller_id_name: %22621296037%22
variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201665780225%201665780225%20IN%20IP4%2051.91.247.55%0D%0As%3DDialApplet%0D%0Ac%3DIN%20IP4%2051.91.247.55%0D%0At%3D0%200%0D%0Am%3Daudio%2011298%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: 11298
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: 47d58b5b-3caa-454c-92a4-bd86d4430da8
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 621296037
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 621296037
Hunt-Caller-ID-Number: 621296037
Hunt-Orig-Caller-ID-Name: 621296037
Hunt-Orig-Caller-ID-Number: 621296037
Hunt-Network-Addr: 34.252.123.120
Hunt-ANI: 621296037
Hunt-Destination-Number: 34632770025
Hunt-Unique-ID: 47d58b5b-3caa-454c-92a4-bd86d4430da8
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/621296037%40cloud.masip.es
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1687936216078653
Hunt-Channel-Created-Time: 1687936216078653
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-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34632770025
2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34632770025' AND status=0 limit 1
2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "621296037" / <null>
2023-06-28 07:10:16.078653 99.13% [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 ="34632770025" LIMIT 1
2023-06-28 07:10:16.078653 99.13% [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="34632770025" limit 1
2023-06-28 07:10:16.098653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2023-06-28 07:10:16.098653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 437146]
2023-06-28 07:10:16.098653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "437146" AND deleted = 0 limit 1
2023-06-28 07:10:16.098653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34632770025.*' OR blocked_patterns = '^3463277002.*' OR blocked_patterns = '^346327700.*' OR blocked_patterns = '^34632770.*' OR blocked_patterns = '^3463277.*' OR blocked_patterns = '^346327.*' OR blocked_patterns = '^34632.*' OR blocked_patterns = '^3463.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 107 limit 1
2023-06-28 07:10:16.098653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34632770025" AND (accountid = 0 OR status = 1) LIMIT 1
2023-06-28 07:10:16.098653 99.13% [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 = '^34632770025.*' OR patterns = '^3463277002.*' OR patterns = '^346327700.*' OR patterns = '^34632770.*' OR patterns = '^3463277.*' OR patterns = '^346327.*' OR patterns = '^34632.*' OR patterns = '^3463.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-06-28 07:10:16.098653 99.13% [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 ="34632770025" AND A.accountid = '107' limit 1
2023-06-28 07:10:16.098653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34632770025
2023-06-28 07:10:16.098653 99.13% [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 ="34632770025" LIMIT 1
2023-06-28 07:10:16.098653 99.13% [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="34632770025" limit 1
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2023-06-28 07:10:16.118652 99.13% [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 = '34632770025' OR number = '3463277002' OR number = '346327700' OR number = '34632770' OR number = '3463277' OR number = '346327' OR number = '34632' OR number = '3463' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34632770025*' OR number = '3463277002*' OR number = '346327700*' OR number = '34632770*' OR number = '3463277*' OR number = '346327*' OR number = '34632*' OR number = '3463*' 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-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34632770025' OR routing_prefix = '3463277002' OR routing_prefix = '346327700' OR routing_prefix = '34632770' OR routing_prefix = '3463277' OR routing_prefix = '346327' OR routing_prefix = '34632' OR routing_prefix = '3463' 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-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 107
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 437146
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 185.3484
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34632770025.*' OR pattern = '^3463277002.*' OR pattern = '^346327700.*' OR pattern = '^34632770.*' OR pattern = '^3463277.*' OR pattern = '^346327.*' OR pattern = '^34632.*' OR pattern = '^3463.*' 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-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87795
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00750
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Mobile
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 107
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your185.3484 balance Accountid 107 !!!
2023-06-28 07:10:16.118652 99.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2023-06-28 07:10:16.118652 99.13% [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-28 07:10:16.138652 99.13% [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 = '^34632770025.*' OR pattern = '^3463277002.*' OR pattern = '^346327700.*' OR pattern = '^34632770.*' OR pattern = '^3463277.*' OR pattern = '^346327.*' OR pattern = '^34632.*' OR pattern = '^3463.*' 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-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-06-28 07:10:16.138652 99.13% [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-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-06-28 07:10:16.138652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2023-06-28 07:10:16.138652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-28 07:10:16.138652 99.13% [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-28 07:10:16.138652 99.13% [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-28 07:10:16.158652 99.13% [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 ="34632770025" LIMIT 1
2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
2023-06-28 07:10:16.158652 99.13% [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-28 07:10:16.158652 99.13% [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-28 07:10:16.158652 99.13% [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 ="34632770025" LIMIT 1
2023-06-28 07:10:16.158652 99.13% [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="34632770025">
<condition field="destination_number" expression="34632770025">
<action application="set" data="effective_destination_number=34632770025"/>
<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-28 07:10:16"/>
<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=621296037"/>
<action application="limit" data="db 437146 user_437146 100 "/>
<action application="set" data="effective_caller_id_name="621296037""/>
<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=34632770025"/>
<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/34632770025;fs_path=sip:34.252.123.120:5060"/>
<action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34632770025;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="effective_caller_id_name="621296037""/>
<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=34632770025"/>
<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/34632770025;fs_path=sip:34.252.123.120:5060"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/621296037@cloud.masip.es parsing [default->34632770025] continue=false
Dialplan: sofia/default/621296037@cloud.masip.es Regex (PASS) [34632770025] destination_number(34632770025) =~ /34632770025/ break=on-false
Dialplan: sofia/default/621296037@cloud.masip.es Action set(effective_destination_number=34632770025)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(callstart=2023-06-28 07:10:16)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(hangup_after_bridge=true)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(account_id=107)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(parent_id=0)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(entity_id=0)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(call_processed=internal)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(call_direction=outbound)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(accountname=default)
Dialplan: sofia/default/621296037@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/621296037@cloud.masip.es Action set(original_caller_id_name=621296037)
Dialplan: sofia/default/621296037@cloud.masip.es Action limit(db 437146 user_437146 100 )
Dialplan: sofia/default/621296037@cloud.masip.es Action set(effective_caller_id_name=)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/621296037@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/621296037@cloud.masip.es Action set(trunk_id=3)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(provider_id=9)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_id=34632770025)
Dialplan: sofia/default/621296037@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/621296037@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34632770025;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/621296037@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34632770025;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(effective_caller_id_name=)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/621296037@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/621296037@cloud.masip.es Action set(trunk_id=4)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(provider_id=37)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/621296037@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_id=34632770025)
Dialplan: sofia/default/621296037@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/621296037@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34632770025;fs_path=sip:34.252.123.120:5060)
2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/621296037@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296037@cloud.masip.es) State ROUTING going to sleep
2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296037@cloud.masip.es) Running State Change CS_EXECUTE (Cur 27 Tot 9908)
2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296037@cloud.masip.es) State EXECUTE
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_sofia.c:213 sofia/default/621296037@cloud.masip.es SOFIA EXECUTE
2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/621296037@cloud.masip.es Standard EXECUTE
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(effective_destination_number=34632770025)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [effective_destination_number]=[34632770025]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(callstart=2023-06-28 07:10:16)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [callstart]=[2023-06-28 07:10:16]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(hangup_after_bridge=true)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(continue_on_fail=TRUE)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(account_id=107)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [account_id]=[107]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(parent_id=0)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [parent_id]=[0]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(entity_id=0)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [entity_id]=[0]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(call_processed=internal)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(call_direction=outbound)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(accountname=default)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [accountname]=[default]
EXECUTE [depth=0] sofia/default/621296037@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-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@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/621296037@cloud.masip.es set(original_caller_id_name=621296037)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [original_caller_id_name]=[621296037]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es limit(db 437146 user_437146 100 )
2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_limit.c:124 incr called: 437146_user_437146 max:100, interval:0
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_db.c:194 Usage for 437146_user_437146 is now 2/100
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(effective_caller_id_name=)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [effective_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(calltype=STANDARD)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/621296037@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-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@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/621296037@cloud.masip.es set(trunk_id=3)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(provider_id=9)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [provider_id]=[9]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(rate_flag=2)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(force_trunk_flag=0)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es export(presence_data=trunk_id=3)
2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(intcall=0)
2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [intcall]=[0]
EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es export(presence_id=34632770025)
2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34632770025]
EXECUTE [depth=0] sofia/default/621296037@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-28 07:10:16.178649 99.13% [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/621296037@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34632770025;fs_path=sip:34.252.123.120:5060)
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_channel.c:1269 sofia/default/621296037@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-28 07:10:16.178649 99.13% [DEBUG] switch_channel.c:1269 sofia/default/621296037@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34632770025] to event
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_channel.c:1269 sofia/default/621296037@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-28 07:10:16.178649 99.13% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2023-06-28 07:10:16.178649 99.13% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34632770025 [7711335c-c44c-41f6-9142-14f2be4a359a]
2023-06-28 07:10:16.178649 99.13% [DEBUG] mod_sofia.c:5121 (sofia/default/34632770025) State Change CS_NEW -> CS_INIT
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34632770025 Setting leg timeout to 30
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34632770025) Running State Change CS_INIT (Cur 28 Tot 9909)
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34632770025) State INIT
2023-06-28 07:10:16.178649 99.13% [DEBUG] mod_sofia.c:97 sofia/default/34632770025 SOFIA INIT
2023-06-28 07:10:16.178649 99.13% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34632770025
2023-06-28 07:10:16.178649 99.13% [INFO] sofia_glue.c:1651 sofia/default/34632770025 sending invite call-id: (null)
2023-06-28 07:10:16.178649 99.13% [DEBUG] sofia_glue.c:1654 sofia/default/34632770025 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1687907672 1687907673 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 28544 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-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/34632770025 Standard INIT
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34632770025) State Change CS_INIT -> CS_ROUTING
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34632770025) State INIT going to sleep
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34632770025) Running State Change CS_ROUTING (Cur 28 Tot 9909)
2023-06-28 07:10:16.178649 99.13% [DEBUG] sofia.c:7499 Channel sofia/default/34632770025 entering state [calling][0]
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34632770025) State ROUTING
2023-06-28 07:10:16.178649 99.13% [DEBUG] mod_sofia.c:158 sofia/default/34632770025 SOFIA ROUTING
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34632770025) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34632770025) State ROUTING going to sleep
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34632770025) Running State Change CS_CONSUME_MEDIA (Cur 28 Tot 9909)
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34632770025) State CONSUME_MEDIA
2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34632770025) State CONSUME_MEDIA going to sleep