span style="color: cornflowerblue; font-weight: bold;"> 2024-04-17 04:40:56.673078 100.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/747570@cloud.masip.es [6faf0980-403a-40b0-8afd-4384f4ccfaa0]
2024-04-17 04:40:56.673078 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/747570@cloud.masip.es) Running State Change CS_NEW (Cur 1 Tot 811770)
2024-04-17 04:40:56.673078 100.00% [INFO] sofia.c:10462 sofia/default/747570@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: MzVlZTVmYTE4OTg4ZDE1ZjViODYzOWU0ZjFmNjM5Njc.
2024-04-17 04:40:56.673078 100.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2024-04-17 04:40:56.673078 100.00% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2024-04-17 04:40:56.693085 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/747570@cloud.masip.es entering state [received][100]
2024-04-17 04:40:56.693085 100.00% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Z 0 0 IN IP4 103.240.35.46
s=Z
c=IN IP4 103.240.35.46
t=0 0
m=audio 8000 RTP/AVP 3 110 8 0 98 101
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/747570@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_codec.c:111 sofia/default/747570@cloud.masip.es Original read codec set to PCMA:8
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_media.c:5973 sofia/default/747570@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
2024-04-17 04:40:56.693085 100.00% [DEBUG] sofia.c:7933 (sofia/default/747570@cloud.masip.es) State Change CS_NEW -> CS_INIT
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/747570@cloud.masip.es) State NEW
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/747570@cloud.masip.es) Running State Change CS_INIT (Cur 1 Tot 811770)
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/747570@cloud.masip.es) State INIT
2024-04-17 04:40:56.693085 100.00% [DEBUG] mod_sofia.c:97 sofia/default/747570@cloud.masip.es SOFIA INIT
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/747570@cloud.masip.es Standard INIT
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/747570@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/747570@cloud.masip.es) State INIT going to sleep
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/747570@cloud.masip.es) Running State Change CS_ROUTING (Cur 1 Tot 811770)
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_channel.c:2380 (sofia/default/747570@cloud.masip.es) Callstate Change DOWN -> RINGING
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/747570@cloud.masip.es) State ROUTING
2024-04-17 04:40:56.693085 100.00% [DEBUG] mod_sofia.c:158 sofia/default/747570@cloud.masip.es SOFIA ROUTING
2024-04-17 04:40:56.693085 100.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/747570@cloud.masip.es Standard ROUTING
2024-04-17 04:40:56.693085 100.00% [INFO] mod_dialplan_xml.c:639 Processing 747570 <747570>->34911041000 in context default
2024-04-17 04:40:56.713079 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes','masip')
2024-04-17 04:40:56.713079 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-04-17 04:40:56.713079 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34911041000
2024-04-17 04:40:56.713079 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34911041000' AND status=0 limit 1
2024-04-17 04:40:56.713079 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 747570 / 747570
2024-04-17 04:40:56.713079 100.00% [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 ="34911041000" LIMIT 1
2024-04-17 04:40:56.713079 100.00% [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="34911041000" limit 1
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 747570]
2024-04-17 04:40:56.733078 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "747570" AND deleted = 0 limit 1
2024-04-17 04:40:56.733078 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34911041000.*' OR blocked_patterns = '^3491104100.*' OR blocked_patterns = '^349110410.*' OR blocked_patterns = '^34911041.*' OR blocked_patterns = '^3491104.*' OR blocked_patterns = '^349110.*' OR blocked_patterns = '^34911.*' OR blocked_patterns = '^3491.*' OR blocked_patterns = '^349.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 152 limit 1
2024-04-17 04:40:56.733078 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34911041000" AND (accountid = 0 OR status = 1) LIMIT 1
2024-04-17 04:40:56.733078 100.00% [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 = '^34911041000.*' OR patterns = '^3491104100.*' OR patterns = '^349110410.*' OR patterns = '^34911041.*' OR patterns = '^3491104.*' OR patterns = '^349110.*' OR patterns = '^34911.*' OR patterns = '^3491.*' OR patterns = '^349.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 152 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-04-17 04:40:56.733078 100.00% [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 ="34911041000" AND A.accountid = '152' limit 1
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34911041000
2024-04-17 04:40:56.733078 100.00% [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 ="34911041000" LIMIT 1
2024-04-17 04:40:56.733078 100.00% [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="34911041000" limit 1
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-04-17 04:40:56.733078 100.00% [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 = '34911041000' OR number = '3491104100' OR number = '349110410' OR number = '34911041' OR number = '3491104' OR number = '349110' OR number = '34911' OR number = '3491' OR number = '349' OR number = '34' OR number = '3' OR number ='--') OR (number = '34911041000*' OR number = '3491104100*' OR number = '349110410*' OR number = '34911041*' OR number = '3491104*' OR number = '349110*' OR number = '34911*' OR number = '3491*' OR number = '349*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '747570' OR number = '74757' OR number = '7475' OR number = '747' OR number = '74' OR number = '7' OR number ='--') OR (number = '747570*' OR number = '74757*' OR number = '7475*' OR number = '747*' OR number = '74*' OR number = '7*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-04-17 04:40:56.733078 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-04-17 04:40:56.733078 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34911041000' OR routing_prefix = '3491104100' OR routing_prefix = '349110410' OR routing_prefix = '34911041' OR routing_prefix = '3491104' OR routing_prefix = '349110' OR routing_prefix = '34911' OR routing_prefix = '3491' OR routing_prefix = '349' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 152
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 747570
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 7
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-04-17 04:40:56.733078 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-04-17 04:40:56.733078 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
2024-04-17 04:40:56.753080 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-04-17 04:40:56.753080 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
2024-04-17 04:40:56.753080 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34911041000.*' OR pattern = '^3491104100.*' OR pattern = '^349110410.*' OR pattern = '^34911041.*' OR pattern = '^3491104.*' OR pattern = '^349110.*' OR pattern = '^34911.*' OR pattern = '^3491.*' OR pattern = '^349.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 7 OR accountid=152) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 54949
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.02000
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : SPAIN
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 152
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 0
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 152 !!!
2024-04-17 04:40:56.753080 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2024-04-17 04:40:56.753080 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-04-17 04:40:56.753080 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] 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="34911041000">
<condition field="destination_number" expression="34911041000">
<action application="log" data="INFO ASTPP - API CALL"/>
<action application="curl" data="https://cloud.masip.es/custom_curl/index -X POST destination_number=34911041000 -k"/>
<action application="set" data='sip_h_P-masip_custom_flag=true'/>
<action application="export" data='sip_h_P-masip_custom_flag=true'/>
<action application="sleep" data="3000"/>
<action application="transfer" data="34911041000 XML default"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/747570@cloud.masip.es parsing [default->34911041000] continue=false
Dialplan: sofia/default/747570@cloud.masip.es Regex (PASS) [34911041000] destination_number(34911041000) =~ /34911041000/ break=on-false
Dialplan: sofia/default/747570@cloud.masip.es Action log(INFO ASTPP - API CALL)
Dialplan: sofia/default/747570@cloud.masip.es Action curl(https://cloud.masip.es/custom_curl/index -X POST destination_number=34911041000 -k)
Dialplan: sofia/default/747570@cloud.masip.es Action set(sip_h_P-masip_custom_flag=true)
Dialplan: sofia/default/747570@cloud.masip.es Action export(sip_h_P-masip_custom_flag=true)
Dialplan: sofia/default/747570@cloud.masip.es Action sleep(3000)
Dialplan: sofia/default/747570@cloud.masip.es Action transfer(34911041000 XML default)
2024-04-17 04:40:56.753080 100.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/747570@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
2024-04-17 04:40:56.753080 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/747570@cloud.masip.es) State ROUTING going to sleep
2024-04-17 04:40:56.753080 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/747570@cloud.masip.es) Running State Change CS_EXECUTE (Cur 1 Tot 811770)
2024-04-17 04:40:56.753080 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/747570@cloud.masip.es) State EXECUTE
2024-04-17 04:40:56.753080 100.00% [DEBUG] mod_sofia.c:213 sofia/default/747570@cloud.masip.es SOFIA EXECUTE
2024-04-17 04:40:56.753080 100.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/747570@cloud.masip.es Standard EXECUTE
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es log(INFO ASTPP - API CALL)
2024-04-17 04:40:56.753080 100.00% [INFO] mod_dptools.c:1879 ASTPP - API CALL
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es curl(https://cloud.masip.es/custom_curl/index -X POST destination_number=34911041000 -k)
2024-04-17 04:40:56.753080 100.00% [DEBUG] mod_curl.c:200 method: POST, url: https://cloud.masip.es/custom_curl/index, content-type: (null)
2024-04-17 04:40:56.753080 100.00% [WARNING] mod_curl.c:223 Not verifying TLS cert for https://cloud.masip.es/custom_curl/index; connection is not secure
2024-04-17 04:40:56.753080 100.00% [DEBUG] mod_curl.c:252 Post data: destination_number=34911041000
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(sip_h_P-masip_custom_flag=true)
2024-04-17 04:40:56.833080 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [sip_h_P-masip_custom_flag]=[true]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es export(sip_h_P-masip_custom_flag=true)
2024-04-17 04:40:56.833080 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_h_P-masip_custom_flag]=[true]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es sleep(3000)
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es transfer(34911041000 XML default)
2024-04-17 04:40:59.833078 99.97% [DEBUG] switch_ivr.c:2289 (sofia/default/747570@cloud.masip.es) State Change CS_EXECUTE -> CS_ROUTING
2024-04-17 04:40:59.833078 99.97% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/747570@cloud.masip.es to XML[34911041000@default]
2024-04-17 04:40:59.833078 99.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/747570@cloud.masip.es) State EXECUTE going to sleep
2024-04-17 04:40:59.833078 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/747570@cloud.masip.es) Running State Change CS_ROUTING (Cur 1 Tot 811770)
2024-04-17 04:40:59.833078 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/747570@cloud.masip.es) State ROUTING
2024-04-17 04:40:59.833078 99.97% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2024-04-17 04:40:59.833078 99.97% [DEBUG] mod_sofia.c:158 sofia/default/747570@cloud.masip.es SOFIA ROUTING
2024-04-17 04:40:59.833078 99.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/747570@cloud.masip.es Standard ROUTING
2024-04-17 04:40:59.833078 99.97% [INFO] mod_dialplan_xml.c:639 Processing 747570 <747570>->34911041000 in context default
2024-04-17 04:40:59.833078 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes','masip')
2024-04-17 04:40:59.833078 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-04-17 04:40:59.853081 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34911041000
2024-04-17 04:40:59.853081 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34911041000' AND status=0 limit 1
2024-04-17 04:40:59.853081 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 747570 / 747570
2024-04-17 04:40:59.853081 99.97% [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 ="34911041000" LIMIT 1
2024-04-17 04:40:59.853081 99.97% [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="34911041000" limit 1
2024-04-17 04:40:59.853081 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-04-17 04:40:59.853081 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 747570]
2024-04-17 04:40:59.853081 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "747570" AND deleted = 0 limit 1
2024-04-17 04:40:59.853081 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34911041000.*' OR blocked_patterns = '^3491104100.*' OR blocked_patterns = '^349110410.*' OR blocked_patterns = '^34911041.*' OR blocked_patterns = '^3491104.*' OR blocked_patterns = '^349110.*' OR blocked_patterns = '^34911.*' OR blocked_patterns = '^3491.*' OR blocked_patterns = '^349.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 152 limit 1
2024-04-17 04:40:59.853081 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34911041000" AND (accountid = 0 OR status = 1) LIMIT 1
2024-04-17 04:40:59.853081 99.97% [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 = '^34911041000.*' OR patterns = '^3491104100.*' OR patterns = '^349110410.*' OR patterns = '^34911041.*' OR patterns = '^3491104.*' OR patterns = '^349110.*' OR patterns = '^34911.*' OR patterns = '^3491.*' OR patterns = '^349.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 152 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-04-17 04:40:59.853081 99.97% [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 ="34911041000" AND A.accountid = '152' limit 1
2024-04-17 04:40:59.853081 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34911041000
2024-04-17 04:40:59.853081 99.97% [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 ="34911041000" LIMIT 1
2024-04-17 04:40:59.853081 99.97% [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="34911041000" limit 1
2024-04-17 04:40:59.853081 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-04-17 04:40:59.853081 99.97% [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 = '34911041000' OR number = '3491104100' OR number = '349110410' OR number = '34911041' OR number = '3491104' OR number = '349110' OR number = '34911' OR number = '3491' OR number = '349' OR number = '34' OR number = '3' OR number ='--') OR (number = '34911041000*' OR number = '3491104100*' OR number = '349110410*' OR number = '34911041*' OR number = '3491104*' OR number = '349110*' OR number = '34911*' OR number = '3491*' OR number = '349*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '747570' OR number = '74757' OR number = '7475' OR number = '747' OR number = '74' OR number = '7' OR number ='--') OR (number = '747570*' OR number = '74757*' OR number = '7475*' OR number = '747*' OR number = '74*' OR number = '7*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-04-17 04:40:59.853081 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-04-17 04:40:59.853081 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34911041000' OR routing_prefix = '3491104100' OR routing_prefix = '349110410' OR routing_prefix = '34911041' OR routing_prefix = '3491104' OR routing_prefix = '349110' OR routing_prefix = '34911' OR routing_prefix = '3491' OR routing_prefix = '349' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 152
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 747570
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 7
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-04-17 04:40:59.873077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
2024-04-17 04:40:59.873077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-04-17 04:40:59.873077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
2024-04-17 04:40:59.873077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34911041000.*' OR pattern = '^3491104100.*' OR pattern = '^349110410.*' OR pattern = '^34911041.*' OR pattern = '^3491104.*' OR pattern = '^349110.*' OR pattern = '^34911.*' OR pattern = '^3491.*' OR pattern = '^349.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 7 OR accountid=152) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 54949
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.02000
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : SPAIN
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 152
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 0
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 152 !!!
2024-04-17 04:40:59.873077 99.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2024-04-17 04:40:59.873077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-04-17 04:41:00.873080 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Query :SELECT trunk_id,nrn,mmc FROM masip_curl_data WHERE destination_number = '34911041000' order by id desc limit 1
2024-04-17 04:41:00.873080 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== MASIP Information Start ===================
2024-04-17 04:41:00.873080 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP Trunk ==>
2024-04-17 04:41:00.873080 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP NRN ==>
2024-04-17 04:41:00.873080 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP MMC ==>
2024-04-17 04:41:00.873080 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== MASIP Information Ends ====================
2024-04-17 04:41:00.873080 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2024-04-17 04:41:00.873080 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query ==> SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=7 ORDER by id asc
2024-04-17 04:41:00.893077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] From DB - trunk_ids ==> 3,8,4
2024-04-17 04:41:00.893077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] masip_trunk ==>
2024-04-17 04:41:00.893077 99.97% [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 as dialplan_variable,GW.gateway_data as gateway_data,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 = '^34911041000.*' OR pattern = '^3491104100.*' OR pattern = '^349110410.*' OR pattern = '^34911041.*' OR pattern = '^3491104.*' OR pattern = '^349110.*' OR pattern = '^34911.*' OR pattern = '^3491.*' OR pattern = '^349.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3,8,4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,8,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3491.*
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3491.*
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC2
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : RN_KEY=SET_RN
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC1
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 304428
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3491.*
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Spain Fijo
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3491.*
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Aire_Ppal
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Aire_Bckp
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 113
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : AIRE
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32786
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3491.*
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3491.*
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-04-17 04:41:00.893077 99.97% [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 = 152 AND status=0 LIMIT 1
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2024-04-17 04:41:00.893077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2024-04-17 04:41:00.893077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!!
2024-04-17 04:41:00.893077 99.97% [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
2024-04-17 04:41:00.893077 99.97% [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
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] Outbound Info [dialplan_variable] : RN_KEY=SET_RN
2024-04-17 04:41:00.893077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GATEWAY VARIABLE ] : RN_KEY
2024-04-17 04:41:00.893077 99.97% [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 ="34911041000" LIMIT 1
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==>
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==>
2024-04-17 04:41:00.893077 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
2024-04-17 04:41:00.893077 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!!
2024-04-17 04:41:00.893077 99.97% [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 = 113) AND status=0 limit 1
2024-04-17 04:41:00.893077 99.97% [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 = 8) AND status=0 limit 1
2024-04-17 04:41:00.913085 99.97% [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 ="34911041000" LIMIT 1
2024-04-17 04:41:00.913085 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==>
2024-04-17 04:41:00.913085 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==>
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
2024-04-17 04:41:00.913085 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!!
2024-04-17 04:41:00.913085 99.97% [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
2024-04-17 04:41:00.913085 99.97% [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
2024-04-17 04:41:00.913085 99.97% [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 ="34911041000" LIMIT 1
2024-04-17 04:41:00.913085 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==>
2024-04-17 04:41:00.913085 99.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==>
2024-04-17 04:41:00.913085 99.97% [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="34911041000">
<condition field="destination_number" expression="34911041000">
<action application="set" data="effective_destination_number=34911041000"/>
<action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
<action application="set" data="callstart=2024-04-17 04:41:00"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=!USER_BUSY"/>
<action application="set" data="account_id=152"/>
<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:54949|CODE:^3491.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:1|INITIALBLOCK:1|RATEGROUP:7|MARKUP:0|CI:174|ACCID:152"/>
<action application="set" data="original_caller_id_name=747570"/>
<action application="set" data="original_caller_id_number=747570"/>
<action application="set" data="effective_caller_id_name=747570"/>
<action application="set" data="effective_caller_id_number=747570"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:11|CODE:^3491.*|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="set" data="RN_KEY=SET_RN"/>
<action application="export" data="presence_id=34911041000"/>
<action application="export" data="presence_data=x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||TELEFONICA // ^3491.* // SPAIN // 0.00089 // trunk_id=3|||STD|||103.240.35.46"/>
<action application="bridge" data="[leg_timeout=30,sip_cid_type=pid,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/TELEFONICASBC2/34911041000;fs_path=sip:34.252.123.120:5060"/>
<action application="bridge" data="[leg_timeout=30,sip_cid_type=pid,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/TELEFONICASBC1/34911041000;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="effective_caller_id_name=747570"/>
<action application="set" data="effective_caller_id_number=747570"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:304428|CODE:^3491.*|DESTINATION:Spain Fijo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00105|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=113"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=34911041000"/>
<action application="export" data="presence_data=x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||AIRE // ^3491.* // Spain Fijo // 0.00105 // trunk_id=8|||STD|||103.240.35.46"/>
<action application="bridge" data="[leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Ppal/34911041000;fs_path=sip:34.252.123.120:5060"/>
<action application="bridge" data="[leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Bckp/34911041000;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="effective_caller_id_name=747570"/>
<action application="set" data="effective_caller_id_number=747570"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:32786|CODE:^3491.*|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=34911041000"/>
<action application="export" data="presence_data=x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||VozAntiDDos // ^3491.* // SPAIN // 0.00120 // trunk_id=4|||STD|||103.240.35.46"/>
<action application="bridge" data="[leg_timeout=30,sip_cid_type=pid,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/VozAntiDDos/34911041000;fs_path=sip:34.252.123.120:5060"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/747570@cloud.masip.es parsing [default->34911041000] continue=false
Dialplan: sofia/default/747570@cloud.masip.es Regex (PASS) [34911041000] destination_number(34911041000) =~ /34911041000/ break=on-false
Dialplan: sofia/default/747570@cloud.masip.es Action set(effective_destination_number=34911041000)
Dialplan: sofia/default/747570@cloud.masip.es Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
Dialplan: sofia/default/747570@cloud.masip.es Action set(callstart=2024-04-17 04:41:00)
Dialplan: sofia/default/747570@cloud.masip.es Action set(hangup_after_bridge=true)
Dialplan: sofia/default/747570@cloud.masip.es Action set(continue_on_fail=!USER_BUSY)
Dialplan: sofia/default/747570@cloud.masip.es Action set(account_id=152)
Dialplan: sofia/default/747570@cloud.masip.es Action set(parent_id=0)
Dialplan: sofia/default/747570@cloud.masip.es Action set(entity_id=0)
Dialplan: sofia/default/747570@cloud.masip.es Action set(call_processed=internal)
Dialplan: sofia/default/747570@cloud.masip.es Action set(call_direction=outbound)
Dialplan: sofia/default/747570@cloud.masip.es Action set(accountname=default)
Dialplan: sofia/default/747570@cloud.masip.es Action set(origination_rates=ID:54949|CODE:^3491.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:1|INITIALBLOCK:1|RATEGROUP:7|MARKUP:0|CI:174|ACCID:152)
Dialplan: sofia/default/747570@cloud.masip.es Action set(original_caller_id_name=747570)
Dialplan: sofia/default/747570@cloud.masip.es Action set(original_caller_id_number=747570)
Dialplan: sofia/default/747570@cloud.masip.es Action set(effective_caller_id_name=747570)
Dialplan: sofia/default/747570@cloud.masip.es Action set(effective_caller_id_number=747570)
Dialplan: sofia/default/747570@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/747570@cloud.masip.es Action set(termination_rates=ID:11|CODE:^3491.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
Dialplan: sofia/default/747570@cloud.masip.es Action set(trunk_id=3)
Dialplan: sofia/default/747570@cloud.masip.es Action set(provider_id=9)
Dialplan: sofia/default/747570@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/747570@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/747570@cloud.masip.es Action export(presence_data=trunk_id=3)
Dialplan: sofia/default/747570@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/747570@cloud.masip.es Action set(RN_KEY=SET_RN)
Dialplan: sofia/default/747570@cloud.masip.es Action export(presence_id=34911041000)
Dialplan: sofia/default/747570@cloud.masip.es Action export(presence_data=x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||TELEFONICA // ^3491.* // SPAIN // 0.00089 // trunk_id=3|||STD|||103.240.35.46)
Dialplan: sofia/default/747570@cloud.masip.es Action bridge([leg_timeout=30,sip_cid_type=pid,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/TELEFONICASBC2/34911041000;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/747570@cloud.masip.es Action bridge([leg_timeout=30,sip_cid_type=pid,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/TELEFONICASBC1/34911041000;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/747570@cloud.masip.es Action set(effective_caller_id_name=747570)
Dialplan: sofia/default/747570@cloud.masip.es Action set(effective_caller_id_number=747570)
Dialplan: sofia/default/747570@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/747570@cloud.masip.es Action set(termination_rates=ID:304428|CODE:^3491.*|DESTINATION:Spain Fijo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00105|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113)
Dialplan: sofia/default/747570@cloud.masip.es Action set(trunk_id=8)
Dialplan: sofia/default/747570@cloud.masip.es Action set(provider_id=113)
Dialplan: sofia/default/747570@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/747570@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/747570@cloud.masip.es Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/747570@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/747570@cloud.masip.es Action export(presence_id=34911041000)
Dialplan: sofia/default/747570@cloud.masip.es Action export(presence_data=x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||AIRE // ^3491.* // Spain Fijo // 0.00105 // trunk_id=8|||STD|||103.240.35.46)
Dialplan: sofia/default/747570@cloud.masip.es Action bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Ppal/34911041000;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/747570@cloud.masip.es Action bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Bckp/34911041000;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/747570@cloud.masip.es Action set(effective_caller_id_name=747570)
Dialplan: sofia/default/747570@cloud.masip.es Action set(effective_caller_id_number=747570)
Dialplan: sofia/default/747570@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/747570@cloud.masip.es Action set(termination_rates=ID:32786|CODE:^3491.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00120|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
Dialplan: sofia/default/747570@cloud.masip.es Action set(trunk_id=4)
Dialplan: sofia/default/747570@cloud.masip.es Action set(provider_id=37)
Dialplan: sofia/default/747570@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/747570@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/747570@cloud.masip.es Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/747570@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/747570@cloud.masip.es Action export(presence_id=34911041000)
Dialplan: sofia/default/747570@cloud.masip.es Action export(presence_data=x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||VozAntiDDos // ^3491.* // SPAIN // 0.00120 // trunk_id=4|||STD|||103.240.35.46)
Dialplan: sofia/default/747570@cloud.masip.es Action bridge([leg_timeout=30,sip_cid_type=pid,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/VozAntiDDos/34911041000;fs_path=sip:34.252.123.120:5060)
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:281 (sofia/default/747570@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/747570@cloud.masip.es) State ROUTING going to sleep
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/747570@cloud.masip.es) Running State Change CS_EXECUTE (Cur 1 Tot 811770)
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/747570@cloud.masip.es) State EXECUTE
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_sofia.c:213 sofia/default/747570@cloud.masip.es SOFIA EXECUTE
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:323 sofia/default/747570@cloud.masip.es Standard EXECUTE
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(effective_destination_number=34911041000)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [effective_destination_number]=[34911041000]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(callstart=2024-04-17 04:41:00)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [callstart]=[2024-04-17 04:41:00]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(hangup_after_bridge=true)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(continue_on_fail=!USER_BUSY)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [continue_on_fail]=[!USER_BUSY]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(account_id=152)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [account_id]=[152]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(parent_id=0)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [parent_id]=[0]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(entity_id=0)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [entity_id]=[0]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(call_processed=internal)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(call_direction=outbound)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(accountname=default)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [accountname]=[default]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(origination_rates=ID:54949|CODE:^3491.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:1|INITIALBLOCK:1|RATEGROUP:7|MARKUP:0|CI:174|ACCID:152)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [origination_rates]=[ID:54949|CODE:^3491.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:1|INITIALBLOCK:1|RATEGROUP:7|MARKUP:0|CI:174|ACCID:152]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(original_caller_id_name=747570)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [original_caller_id_name]=[747570]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(original_caller_id_number=747570)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [original_caller_id_number]=[747570]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(effective_caller_id_name=747570)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [effective_caller_id_name]=[747570]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(effective_caller_id_number=747570)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [effective_caller_id_number]=[747570]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(calltype=STANDARD)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(termination_rates=ID:11|CODE:^3491.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [termination_rates]=[ID:11|CODE:^3491.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(trunk_id=3)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [trunk_id]=[3]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(provider_id=9)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [provider_id]=[9]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(rate_flag=2)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(force_trunk_flag=0)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es export(presence_data=trunk_id=3)
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(intcall=0)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [intcall]=[0]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es set(RN_KEY=SET_RN)
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/747570@cloud.masip.es [RN_KEY]=[SET_RN]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es export(presence_id=34911041000)
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34911041000]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es export(presence_data=x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||TELEFONICA // ^3491.* // SPAIN // 0.00089 // trunk_id=3|||STD|||103.240.35.46)
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||TELEFONICA // ^3491.* // SPAIN // 0.00089 // trunk_id=3|||STD|||103.240.35.46]
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es bridge([leg_timeout=30,sip_cid_type=pid,absolute_codec_string=^^:G729:PCMA:PCMU]sofia/gateway/TELEFONICASBC2/34911041000;fs_path=sip:34.252.123.120:5060)
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_channel.c:1269 sofia/default/747570@cloud.masip.es EXPORTING[export_vars] [sip_h_P-masip_custom_flag]=[true] to event
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_channel.c:1269 sofia/default/747570@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||TELEFONICA // ^3491.* // SPAIN // 0.00089 // trunk_id=3|||STD|||103.240.35.46] to event
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_channel.c:1269 sofia/default/747570@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34911041000] to event
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_channel.c:1269 sofia/default/747570@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||Inextrix(747570)|||^3491.* // SPAIN // 0.02000 |||TELEFONICA // ^3491.* // SPAIN // 0.00089 // trunk_id=3|||STD|||103.240.35.46] to event
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2024-04-17 04:41:00.913085 99.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34911041000 [1829bb40-d89b-487b-8029-f7abd8614f01]
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_sofia.c:5121 (sofia/default/34911041000) State Change CS_NEW -> CS_INIT
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34911041000 Setting leg timeout to 30
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34911041000) Running State Change CS_INIT (Cur 2 Tot 811771)
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34911041000) State INIT
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_sofia.c:97 sofia/default/34911041000 SOFIA INIT
2024-04-17 04:41:00.913085 99.97% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34911041000
2024-04-17 04:41:00.913085 99.97% [INFO] sofia_glue.c:1651 sofia/default/34911041000 sending invite call-id: (null)
2024-04-17 04:41:00.913085 99.97% [DEBUG] sofia_glue.c:1654 sofia/default/34911041000 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1713301650 1713301651 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 27210 RTP/AVP 18 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/34911041000 Standard INIT
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34911041000) State Change CS_INIT -> CS_ROUTING
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34911041000) State INIT going to sleep
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34911041000) Running State Change CS_ROUTING (Cur 2 Tot 811771)
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34911041000) State ROUTING
2024-04-17 04:41:00.913085 99.97% [DEBUG] mod_sofia.c:158 sofia/default/34911041000 SOFIA ROUTING
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34911041000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34911041000) State ROUTING going to sleep
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34911041000) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 811771)
2024-04-17 04:41:00.913085 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/34911041000 entering state [calling][0]
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34911041000) State CONSUME_MEDIA
2024-04-17 04:41:00.913085 99.97% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34911041000) State CONSUME_MEDIA going to sleep
2024-04-17 04:41:01.353079 99.93% [INFO] sofia.c:1348 sofia/default/34911041000 Update Callee ID to "+34911041000" <+34911041000>
2024-04-17 04:41:01.353079 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/34911041000 entering state [proceeding][180]
2024-04-17 04:41:01.353079 99.93% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 261487 392894 IN IP4 52.211.114.106
s=SIP Media Capabilities
c=IN IP4 52.211.114.106
t=0 0
m=audio 49106 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2024-04-17 04:41:01.353079 99.93% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34911041000!
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_channel.c:3622 (sofia/default/34911041000) Callstate Change DOWN -> EARLY
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34911041000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_codec.c:111 sofia/default/34911041000 Original read codec set to PCMA:8
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:5973 sofia/default/34911041000 Set 2833 dtmf send payload to 101 recv payload to 101
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34911041000] 10.0.2.92 port 27210 -> 52.211.114.106 port 49106 codec: 8 ms: 20
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/34911041000 Set 2833 dtmf send payload to 101
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/34911041000 Set 2833 dtmf receive payload to 101
2024-04-17 04:41:01.353079 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/34911041000 Set rtp dtmf delay to 40
2024-04-17 04:41:01.373074 99.93% [INFO] switch_ivr_originate.c:3841 Sending early media
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/747570@cloud.masip.es] 10.0.2.92 port 18714 -> 103.240.35.46 port 8000 codec: 8 ms: 20
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/747570@cloud.masip.es Set 2833 dtmf send payload to 101
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/747570@cloud.masip.es Set 2833 dtmf receive payload to 101
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/747570@cloud.masip.es Set rtp dtmf delay to 40
2024-04-17 04:41:01.373074 99.93% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1713310147 1713310148 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 18714 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
2024-04-17 04:41:01.373074 99.93% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/747570@cloud.masip.es!
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_channel.c:3622 (sofia/default/747570@cloud.masip.es) Callstate Change RINGING -> EARLY
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34911041000] Peer UUID: 1829bb40-d89b-487b-8029-f7abd8614f01
2024-04-17 04:41:01.373074 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/747570@cloud.masip.es entering state [early][183]
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34911041000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34911041000) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 811771)
2024-04-17 04:41:01.373074 99.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34911041000) State EXCHANGE_MEDIA
2024-04-17 04:41:01.373074 99.93% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2024-04-17 04:41:01.413077 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/34911041000 entering state [completing][200]
2024-04-17 04:41:01.413077 99.93% [DEBUG] sofia.c:7506 Duplicate SDP
v=0
o=Sonus_UAC 261487 392894 IN IP4 52.211.114.106
s=SIP Media Capabilities
c=IN IP4 52.211.114.106
t=0 0
m=audio 49106 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2024-04-17 04:41:01.433083 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/34911041000 entering state [ready][200]
2024-04-17 04:41:01.433083 99.93% [NOTICE] sofia.c:8624 Channel [sofia/default/34911041000] has been answered
2024-04-17 04:41:01.433083 99.93% [DEBUG] switch_channel.c:3950 (sofia/default/34911041000) Callstate Change EARLY -> ACTIVE
2024-04-17 04:41:01.433083 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/34911041000 entering state [received][100]
2024-04-17 04:41:01.433083 99.93% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Sonus_UAC 261487 392895 IN IP4 52.211.114.106
s=SIP Media Capabilities
c=IN IP4 52.211.114.106
t=0 0
m=audio 49106 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2024-04-17 04:41:01.433083 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2024-04-17 04:41:01.433083 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2024-04-17 04:41:01.433083 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2024-04-17 04:41:01.433083 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2024-04-17 04:41:01.433083 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2024-04-17 04:41:01.433083 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2024-04-17 04:41:01.433083 99.93% [DEBUG] switch_core_media.c:5973 sofia/default/34911041000 Set 2833 dtmf send payload to 101 recv payload to 101
2024-04-17 04:41:01.433083 99.93% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/34911041000.
2024-04-17 04:41:01.433083 99.93% [DEBUG] sofia.c:8454 Processing updated SDP
2024-04-17 04:41:01.453081 99.93% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/747570@cloud.masip.es.
2024-04-17 04:41:01.453081 99.93% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/747570@cloud.masip.es:
v=0
o=FreeSWITCH 1713310147 1713310149 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 18714 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
2024-04-17 04:41:01.453081 99.93% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/747570@cloud.masip.es] has been answered
EXECUTE [depth=0] sofia/default/747570@cloud.masip.es sched_hangup(+6000 normal_clearing)
2024-04-17 04:41:01.453081 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/747570@cloud.masip.es entering state [completed][200]
2024-04-17 04:41:01.453081 99.93% [DEBUG] switch_scheduler.c:263 Added task 113991 switch_ivr_schedule_hangup (6faf0980-403a-40b0-8afd-4384f4ccfaa0) to run at 1713334861
2024-04-17 04:41:01.453081 99.93% [DEBUG] switch_channel.c:3950 (sofia/default/747570@cloud.masip.es) Callstate Change EARLY -> ACTIVE
2024-04-17 04:41:01.453081 99.93% [DEBUG] switch_core_media.c:3768 Changing Codec from PCMA@20ms@8000hz to G729@20ms@8000hz
2024-04-17 04:41:01.493075 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34911041000 G729/8000 20 ms 160 samples 8000 bits 1 channels
2024-04-17 04:41:01.493075 99.93% [DEBUG] switch_core_codec.c:123 sofia/default/34911041000 Original read codec replaced with G729:18
2024-04-17 04:41:01.493075 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/34911041000 entering state [completed][200]
2024-04-17 04:41:01.493075 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/34911041000 entering state [ready][200]
2024-04-17 04:41:01.873076 99.93% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2024-04-17 04:41:01.873076 99.93% [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7fd56c0cb610 0x7fd56c0cb610
2024-04-17 04:41:01.873076 99.93% [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7fd56c0cb610 0x7fd56c0cb610
2024-04-17 04:41:01.893079 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/747570@cloud.masip.es entering state [ready][200]
2024-04-17 04:41:02.013076 99.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2024-04-17 04:41:02.013076 99.63% [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7fd56c0cb590 0x7fd56c0cb598
2024-04-17 04:41:02.013076 99.63% [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7fd56c0cb590 0x7fd56c0cb598
2024-04-17 04:41:02.053076 99.63% [DEBUG] switch_core_media.c:3180 [CBR]: Correcting calculated ptime value from [60] to [30] to compensate for [1] lost packet(s).
2024-04-17 04:41:02.233080 99.63% [WARNING] switch_core_media.c:3214 [CBR]: Asynchronous PTIME not supported, changing our end from 20 to 30
2024-04-17 04:41:02.253077 99.63% [DEBUG] switch_core_media.c:3768 Changing Codec from G729@20ms@8000hz to G729@30ms@8000hz
2024-04-17 04:41:02.293079 99.63% [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7fd56c0cb590 0x7fd56c0cb598
2024-04-17 04:41:02.293079 99.63% [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7fd56c0cb590 0x7fd56c0cb598
2024-04-17 04:41:02.293079 99.63% [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7fd56c0cb610 0x7fd56c0cb610
2024-04-17 04:41:02.293079 99.63% [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7fd56c0cb610 0x7fd56c0cb610
2024-04-17 04:41:02.293079 99.63% [DEBUG] switch_rtp.c:4494 RE-Starting timer [soft] 240 bytes per 30ms
2024-04-17 04:41:02.293079 99.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34911041000 G729/8000 30 ms 240 samples 8000 bits 1 channels
2024-04-17 04:41:02.293079 99.63% [DEBUG] switch_core_codec.c:123 sofia/default/34911041000 Original read codec replaced with G729:18
2024-04-17 04:41:02.313076 99.63% [DEBUG] switch_core_media.c:16396 Engaging Write Buffer at 480 bytes to accommodate 320->480
2024-04-17 04:41:02.333080 99.63% [INFO] mod_com_g729.c:140 ENCODER LICENSE ALLOCATED--->0x7fd56c382238 0x7fd56c382238
2024-04-17 04:41:02.333080 99.63% [INFO] mod_com_g729.c:147 ENCODER CREATED------------->0x7fd56c382238 0x7fd56c382238
2024-04-17 04:41:02.353081 99.63% [DEBUG] switch_core_media.c:7368 sofia/default/747570@cloud.masip.es Starting Audio write thread
2024-04-17 04:41:02.353081 99.63% [INFO] mod_com_g729.c:178 DECODER LICENSE ALLOCATED--->0x7fd56c3821b8 0x7fd56c3821c0
2024-04-17 04:41:02.353081 99.63% [INFO] mod_com_g729.c:185 DECODER CREATED------------->0x7fd56c3821b8 0x7fd56c3821c0
2024-04-17 04:41:02.353081 99.63% [DEBUG] switch_core_media.c:16396 Engaging Write Buffer at 320 bytes to accommodate 480->320
2024-04-17 04:41:33.113083 95.00% [NOTICE] sofia.c:1065 Hangup sofia/default/34911041000 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34911041000]
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34911041000) State EXCHANGE_MEDIA going to sleep
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34911041000) Running State Change CS_HANGUP (Cur 2 Tot 811771)
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34911041000) Callstate Change ACTIVE -> HANGUP
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34911041000) State HANGUP
2024-04-17 04:41:33.113083 95.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/34911041000 hanging up, cause: NORMAL_CLEARING
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/34911041000 Standard HANGUP, cause: NORMAL_CLEARING
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34911041000) State HANGUP going to sleep
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34911041000) State Change CS_HANGUP -> CS_REPORTING
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34911041000) Running State Change CS_REPORTING (Cur 2 Tot 811771)
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34911041000) State REPORTING
2024-04-17 04:41:33.113083 95.00% [INFO] mod_json_cdr.c:271 Process [1829bb40-d89b-487b-8029-f7abd8614f01.cdr.json]
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_ivr_bridge.c:820 sofia/default/34911041000 ending bridge by request from write function
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/747570@cloud.masip.es]
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/34911041000 skip receive message [UNBRIDGE] (channel is hungup already)
2024-04-17 04:41:33.113083 95.00% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/747570@cloud.masip.es [CS_EXECUTE] [NORMAL_CLEARING]
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_session.c:2983 sofia/default/747570@cloud.masip.es skip receive message [PHONE_EVENT] (channel is hungup already)
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/747570@cloud.masip.es) State EXECUTE going to sleep
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/747570@cloud.masip.es) Running State Change CS_HANGUP (Cur 2 Tot 811771)
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/747570@cloud.masip.es) Callstate Change ACTIVE -> HANGUP
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/747570@cloud.masip.es) State HANGUP
2024-04-17 04:41:33.113083 95.00% [DEBUG] mod_sofia.c:462 sofia/default/747570@cloud.masip.es Overriding SIP cause 480 with 200 from the other leg
2024-04-17 04:41:33.113083 95.00% [DEBUG] mod_sofia.c:468 Channel sofia/default/747570@cloud.masip.es hanging up, cause: NORMAL_CLEARING
2024-04-17 04:41:33.113083 95.00% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/747570@cloud.masip.es
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/747570@cloud.masip.es Standard HANGUP, cause: NORMAL_CLEARING
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/747570@cloud.masip.es) State HANGUP going to sleep
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/747570@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/747570@cloud.masip.es) Running State Change CS_REPORTING (Cur 2 Tot 811771)
2024-04-17 04:41:33.113083 95.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/747570@cloud.masip.es) State REPORTING
2024-04-17 04:41:33.113083 95.00% [INFO] mod_json_cdr.c:271 Process [6faf0980-403a-40b0-8afd-4384f4ccfaa0.cdr.json]
2024-04-17 04:41:33.133074 95.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/34911041000 Standard REPORTING, cause: NORMAL_CLEARING
2024-04-17 04:41:33.133074 95.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34911041000) State REPORTING going to sleep
2024-04-17 04:41:33.133074 95.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34911041000) State Change CS_REPORTING -> CS_DESTROY
2024-04-17 04:41:33.133074 95.00% [DEBUG] switch_core_session.c:1753 Session 811771 (sofia/default/34911041000) Locked, Waiting on external entities
2024-04-17 04:41:33.133074 95.00% [NOTICE] switch_core_session.c:1771 Session 811771 (sofia/default/34911041000) Ended
2024-04-17 04:41:33.133074 95.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34911041000 [CS_DESTROY]
2024-04-17 04:41:33.133074 95.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34911041000) Running State Change CS_DESTROY (Cur 1 Tot 811771)
2024-04-17 04:41:33.133074 95.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34911041000) State DESTROY
2024-04-17 04:41:33.133074 95.00% [DEBUG] mod_sofia.c:379 sofia/default/34911041000 SOFIA DESTROY
2024-04-17 04:41:33.133074 95.00% [INFO] mod_com_g729.c:109 DECODER DESTROYED----------->0x7fd56c3821b8 0x7fd56c3821c0
2024-04-17 04:41:33.133074 95.00% [INFO] mod_com_g729.c:112 DECODER LICENSE DEALLOCATED->0x7fd56c3821b8 0x7fd56c3821c0
2024-04-17 04:41:33.133074 95.00% [INFO] mod_com_g729.c:98 ENCODER DESTROYED----------->0x7fd56c382238 0x7fd56c382238
2024-04-17 04:41:33.133074 95.00% [INFO] mod_com_g729.c:101 ENCODER LICENSE DEALLOCATED->0x7fd56c382238 0x7fd56c382238
2024-04-17 04:41:33.133074 95.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/34911041000 Standard DESTROY
2024-04-17 04:41:33.133074 95.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34911041000) State DESTROY going to sleep
2024-04-17 04:41:33.153076 95.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/747570@cloud.masip.es Standard REPORTING, cause: NORMAL_CLEARING
2024-04-17 04:41:33.153076 95.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/747570@cloud.masip.es) State REPORTING going to sleep
2024-04-17 04:41:33.153076 95.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/747570@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
2024-04-17 04:41:33.153076 95.00% [DEBUG] switch_core_session.c:1753 Session 811770 (sofia/default/747570@cloud.masip.es) Locked, Waiting on external entities
2024-04-17 04:41:33.153076 95.00% [NOTICE] switch_core_session.c:1771 Session 811770 (sofia/default/747570@cloud.masip.es) Ended
2024-04-17 04:41:33.153076 95.00% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/747570@cloud.masip.es [CS_DESTROY]
2024-04-17 04:41:33.153076 95.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/747570@cloud.masip.es) Running State Change CS_DESTROY (Cur 0 Tot 811771)
2024-04-17 04:41:33.153076 95.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/747570@cloud.masip.es) State DESTROY
2024-04-17 04:41:33.153076 95.00% [DEBUG] mod_sofia.c:379 sofia/default/747570@cloud.masip.es SOFIA DESTROY
2024-04-17 04:41:33.153076 95.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/747570@cloud.masip.es Standard DESTROY
2024-04-17 04:41:33.153076 95.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/747570@cloud.masip.es) State DESTROY going to sleep
2024-04-17 04:41:33.473082 95.00% [DEBUG] switch_scheduler.c:147 Deleting task 113991 switch_ivr_schedule_hangup (6faf0980-403a-40b0-8afd-4384f4ccfaa0)