span style="color: cornflowerblue; font-weight: bold;"> 2024-04-17 04:48:25.313082 99.67% [NOTICE] switch_channel.c:1123 New Channel sofia/default/321785@cloud.masip.es [e41e2613-dbe7-49d1-aae9-5a46498367cd]
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_NEW (Cur 1 Tot 811772)
2024-04-17 04:48:25.313082 99.67% [INFO] sofia.c:10462 sofia/default/321785@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: NTdlOWZkN2NkYzc0ZjkwZjg1NWQxY2VmMGRmN2MxYzg.
2024-04-17 04:48:25.313082 99.67% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
2024-04-17 04:48:25.313082 99.67% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
2024-04-17 04:48:25.313082 99.67% [DEBUG] sofia.c:7499 Channel sofia/default/321785@cloud.masip.es entering state [received][100]
2024-04-17 04:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-04-17 04:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-04-17 04:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [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:48:25.313082 99.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/321785@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_codec.c:111 sofia/default/321785@cloud.masip.es Original read codec set to PCMA:8
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_media.c:5973 sofia/default/321785@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
2024-04-17 04:48:25.313082 99.67% [DEBUG] sofia.c:7933 (sofia/default/321785@cloud.masip.es) State Change CS_NEW -> CS_INIT
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:600 (sofia/default/321785@cloud.masip.es) State NEW
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_INIT (Cur 1 Tot 811772)
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/321785@cloud.masip.es) State INIT
2024-04-17 04:48:25.313082 99.67% [DEBUG] mod_sofia.c:97 sofia/default/321785@cloud.masip.es SOFIA INIT
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:40 sofia/default/321785@cloud.masip.es Standard INIT
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:48 (sofia/default/321785@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/321785@cloud.masip.es) State INIT going to sleep
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_ROUTING (Cur 1 Tot 811772)
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_channel.c:2380 (sofia/default/321785@cloud.masip.es) Callstate Change DOWN -> RINGING
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING
2024-04-17 04:48:25.313082 99.67% [DEBUG] mod_sofia.c:158 sofia/default/321785@cloud.masip.es SOFIA ROUTING
2024-04-17 04:48:25.313082 99.67% [DEBUG] switch_core_state_machine.c:230 sofia/default/321785@cloud.masip.es Standard ROUTING
2024-04-17 04:48:25.313082 99.67% [INFO] mod_dialplan_xml.c:639 Processing 321785 <321785>->38933550965 in context default
2024-04-17 04:48:25.333081 99.67% [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:48:25.353081 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-04-17 04:48:25.353081 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 38933550965
2024-04-17 04:48:25.353081 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '38933550965' AND status=0 limit 1
2024-04-17 04:48:25.353081 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 321785 / 321785
2024-04-17 04:48:25.353081 99.67% [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 ="38933550965" LIMIT 1
2024-04-17 04:48:25.353081 99.67% [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="38933550965" limit 1
2024-04-17 04:48:25.353081 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-04-17 04:48:25.353081 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 321785]
2024-04-17 04:48:25.353081 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "321785" AND deleted = 0 limit 1
2024-04-17 04:48:25.353081 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^38933550965.*' OR blocked_patterns = '^3893355096.*' OR blocked_patterns = '^389335509.*' OR blocked_patterns = '^38933550.*' OR blocked_patterns = '^3893355.*' OR blocked_patterns = '^389335.*' OR blocked_patterns = '^38933.*' OR blocked_patterns = '^3893.*' OR blocked_patterns = '^389.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 151 limit 1
2024-04-17 04:48:25.353081 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="38933550965" AND (accountid = 0 OR status = 1) LIMIT 1
2024-04-17 04:48:25.353081 99.67% [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 = '^38933550965.*' OR patterns = '^3893355096.*' OR patterns = '^389335509.*' OR patterns = '^38933550.*' OR patterns = '^3893355.*' OR patterns = '^389335.*' OR patterns = '^38933.*' OR patterns = '^3893.*' OR patterns = '^389.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 151 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-04-17 04:48:25.373082 99.67% [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 ="38933550965" AND A.accountid = '151' limit 1
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 38933550965
2024-04-17 04:48:25.373082 99.67% [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 ="38933550965" LIMIT 1
2024-04-17 04:48:25.373082 99.67% [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="38933550965" limit 1
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-04-17 04:48:25.373082 99.67% [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 = '38933550965' OR number = '3893355096' OR number = '389335509' OR number = '38933550' OR number = '3893355' OR number = '389335' OR number = '38933' OR number = '3893' OR number = '389' OR number = '38' OR number = '3' OR number ='--') OR (number = '38933550965*' OR number = '3893355096*' OR number = '389335509*' OR number = '38933550*' OR number = '3893355*' OR number = '389335*' OR number = '38933*' OR number = '3893*' OR number = '389*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '321785' OR number = '32178' OR number = '3217' OR number = '321' OR number = '32' OR number = '3' OR number ='--') OR (number = '321785*' OR number = '32178*' OR number = '3217*' OR number = '321*' OR number = '32*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-04-17 04:48:25.373082 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-04-17 04:48:25.373082 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '38933550965' OR routing_prefix = '3893355096' OR routing_prefix = '389335509' OR routing_prefix = '38933550' OR routing_prefix = '3893355' OR routing_prefix = '389335' OR routing_prefix = '38933' OR routing_prefix = '3893' OR routing_prefix = '389' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 151
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 321785
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-04-17 04:48:25.373082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-04-17 04:48:25.373082 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2024-04-17 04:48:25.373082 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-04-17 04:48:25.373082 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2024-04-17 04:48:25.373082 99.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^38933550965.*' OR pattern = '^3893355096.*' OR pattern = '^389335509.*' OR pattern = '^38933550.*' OR pattern = '^3893355.*' OR pattern = '^389335.*' OR pattern = '^38933.*' OR pattern = '^3893.*' OR pattern = '^389.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=151) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 158115
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.15800
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Macedonia
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 151
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 151 !!!
2024-04-17 04:48:25.393082 99.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 8.6355785837651 minutes
2024-04-17 04:48:25.393082 99.67% [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="38933550965">
<condition field="destination_number" expression="38933550965">
<action application="log" data="INFO ASTPP - API CALL"/>
<action application="curl" data="https://cloud.masip.es/custom_curl/index -X POST destination_number=38933550965 -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="38933550965 XML default"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/321785@cloud.masip.es parsing [default->38933550965] continue=false
Dialplan: sofia/default/321785@cloud.masip.es Regex (PASS) [38933550965] destination_number(38933550965) =~ /38933550965/ break=on-false
Dialplan: sofia/default/321785@cloud.masip.es Action log(INFO ASTPP - API CALL)
Dialplan: sofia/default/321785@cloud.masip.es Action curl(https://cloud.masip.es/custom_curl/index -X POST destination_number=38933550965 -k)
Dialplan: sofia/default/321785@cloud.masip.es Action set(sip_h_P-masip_custom_flag=true)
Dialplan: sofia/default/321785@cloud.masip.es Action export(sip_h_P-masip_custom_flag=true)
Dialplan: sofia/default/321785@cloud.masip.es Action sleep(3000)
Dialplan: sofia/default/321785@cloud.masip.es Action transfer(38933550965 XML default)
2024-04-17 04:48:25.393082 99.67% [DEBUG] switch_core_state_machine.c:281 (sofia/default/321785@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
2024-04-17 04:48:25.393082 99.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING going to sleep
2024-04-17 04:48:25.393082 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_EXECUTE (Cur 1 Tot 811772)
2024-04-17 04:48:25.393082 99.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE
2024-04-17 04:48:25.393082 99.67% [DEBUG] mod_sofia.c:213 sofia/default/321785@cloud.masip.es SOFIA EXECUTE
2024-04-17 04:48:25.393082 99.67% [DEBUG] switch_core_state_machine.c:323 sofia/default/321785@cloud.masip.es Standard EXECUTE
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es log(INFO ASTPP - API CALL)
2024-04-17 04:48:25.393082 99.67% [INFO] mod_dptools.c:1879 ASTPP - API CALL
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es curl(https://cloud.masip.es/custom_curl/index -X POST destination_number=38933550965 -k)
2024-04-17 04:48:25.393082 99.67% [DEBUG] mod_curl.c:200 method: POST, url: https://cloud.masip.es/custom_curl/index, content-type: (null)
2024-04-17 04:48:25.393082 99.67% [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:48:25.393082 99.67% [DEBUG] mod_curl.c:252 Post data: destination_number=38933550965
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(sip_h_P-masip_custom_flag=true)
2024-04-17 04:48:25.473081 99.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [sip_h_P-masip_custom_flag]=[true]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(sip_h_P-masip_custom_flag=true)
2024-04-17 04:48:25.473081 99.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_h_P-masip_custom_flag]=[true]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es sleep(3000)
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es transfer(38933550965 XML default)
2024-04-17 04:48:28.493079 99.63% [DEBUG] switch_ivr.c:2289 (sofia/default/321785@cloud.masip.es) State Change CS_EXECUTE -> CS_ROUTING
2024-04-17 04:48:28.493079 99.63% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/321785@cloud.masip.es to XML[38933550965@default]
2024-04-17 04:48:28.493079 99.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE going to sleep
2024-04-17 04:48:28.493079 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_ROUTING (Cur 1 Tot 811772)
2024-04-17 04:48:28.493079 99.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING
2024-04-17 04:48:28.493079 99.63% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
2024-04-17 04:48:28.493079 99.63% [DEBUG] mod_sofia.c:158 sofia/default/321785@cloud.masip.es SOFIA ROUTING
2024-04-17 04:48:28.493079 99.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/321785@cloud.masip.es Standard ROUTING
2024-04-17 04:48:28.493079 99.63% [INFO] mod_dialplan_xml.c:639 Processing 321785 <321785>->38933550965 in context default
2024-04-17 04:48:28.493079 99.63% [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:48:28.493079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-04-17 04:48:28.493079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 38933550965
2024-04-17 04:48:28.493079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '38933550965' AND status=0 limit 1
2024-04-17 04:48:28.493079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 321785 / 321785
2024-04-17 04:48:28.493079 99.63% [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 ="38933550965" LIMIT 1
2024-04-17 04:48:28.493079 99.63% [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="38933550965" limit 1
2024-04-17 04:48:28.493079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-04-17 04:48:28.493079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 321785]
2024-04-17 04:48:28.493079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "321785" AND deleted = 0 limit 1
2024-04-17 04:48:28.493079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^38933550965.*' OR blocked_patterns = '^3893355096.*' OR blocked_patterns = '^389335509.*' OR blocked_patterns = '^38933550.*' OR blocked_patterns = '^3893355.*' OR blocked_patterns = '^389335.*' OR blocked_patterns = '^38933.*' OR blocked_patterns = '^3893.*' OR blocked_patterns = '^389.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 151 limit 1
2024-04-17 04:48:28.513085 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="38933550965" AND (accountid = 0 OR status = 1) LIMIT 1
2024-04-17 04:48:28.513085 99.63% [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 = '^38933550965.*' OR patterns = '^3893355096.*' OR patterns = '^389335509.*' OR patterns = '^38933550.*' OR patterns = '^3893355.*' OR patterns = '^389335.*' OR patterns = '^38933.*' OR patterns = '^3893.*' OR patterns = '^389.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 151 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-04-17 04:48:28.513085 99.63% [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 ="38933550965" AND A.accountid = '151' limit 1
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 38933550965
2024-04-17 04:48:28.513085 99.63% [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 ="38933550965" LIMIT 1
2024-04-17 04:48:28.513085 99.63% [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="38933550965" limit 1
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-04-17 04:48:28.513085 99.63% [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 = '38933550965' OR number = '3893355096' OR number = '389335509' OR number = '38933550' OR number = '3893355' OR number = '389335' OR number = '38933' OR number = '3893' OR number = '389' OR number = '38' OR number = '3' OR number ='--') OR (number = '38933550965*' OR number = '3893355096*' OR number = '389335509*' OR number = '38933550*' OR number = '3893355*' OR number = '389335*' OR number = '38933*' OR number = '3893*' OR number = '389*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '321785' OR number = '32178' OR number = '3217' OR number = '321' OR number = '32' OR number = '3' OR number ='--') OR (number = '321785*' OR number = '32178*' OR number = '3217*' OR number = '321*' OR number = '32*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-04-17 04:48:28.513085 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-04-17 04:48:28.513085 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '38933550965' OR routing_prefix = '3893355096' OR routing_prefix = '389335509' OR routing_prefix = '38933550' OR routing_prefix = '3893355' OR routing_prefix = '389335' OR routing_prefix = '38933' OR routing_prefix = '3893' OR routing_prefix = '389' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 151
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 321785
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-04-17 04:48:28.513085 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2024-04-17 04:48:28.513085 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-04-17 04:48:28.513085 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2024-04-17 04:48:28.513085 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^38933550965.*' OR pattern = '^3893355096.*' OR pattern = '^389335509.*' OR pattern = '^38933550.*' OR pattern = '^3893355.*' OR pattern = '^389335.*' OR pattern = '^38933.*' OR pattern = '^3893.*' OR pattern = '^389.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=151) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 158115
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.15800
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Macedonia
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 151
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 151 !!!
2024-04-17 04:48:28.513085 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 8.6355785837651 minutes
2024-04-17 04:48:29.533078 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Query :SELECT trunk_id,nrn,mmc FROM masip_curl_data WHERE destination_number = '38933550965' order by id desc limit 1
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== MASIP Information Start ===================
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP Trunk ==> 2
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP NRN ==>
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] MASIP MMC ==>
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== MASIP Information Ends ====================
2024-04-17 04:48:29.533078 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2024-04-17 04:48:29.533078 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query ==> SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
2024-04-17 04:48:29.533078 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] From DB - trunk_ids ==> 8,11,6
2024-04-17 04:48:29.533078 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] masip_trunk ==> 2
2024-04-17 04:48:29.533078 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Trunk ID from MASIP ID Query :SELECT id FROM trunks WHERE masip_id = '2'
2024-04-17 04:48:29.533078 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] masip_trunk_id ==>
2024-04-17 04:48:29.533078 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Final - trunk_ids ==> 8,11,6
2024-04-17 04:48:29.533078 99.63% [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 = '^38933550965.*' OR pattern = '^3893355096.*' OR pattern = '^389335509.*' OR pattern = '^38933550.*' OR pattern = '^3893355.*' OR pattern = '^389335.*' OR pattern = '^38933.*' OR pattern = '^3893.*' OR pattern = '^389.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (8,11,6) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,8,11,6),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 300537
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^389.*
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Macedonia - Fixed
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^389.*
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 00
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Aire_Ppal
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Aire_Bckp
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 113
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : AIRE
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 513150
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^389.*
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Macedonia
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^389.*
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 8000
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 11
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Alisys
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 164
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ALISYS
2024-04-17 04:48:29.533078 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-04-17 04:48:29.533078 99.63% [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 = 151 AND status=0 LIMIT 1
2024-04-17 04:48:29.553079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 8.6355785837651
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-04-17 04:48:29.553079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2024-04-17 04:48:29.553079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!!
2024-04-17 04:48:29.553079 99.63% [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:48:29.553079 99.63% [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:48:29.553079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/00.....38933550965
2024-04-17 04:48:29.553079 99.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 38933550965
2024-04-17 04:48:29.553079 99.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0038933550965
2024-04-17 04:48:29.553079 99.63% [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 ="38933550965" LIMIT 1
2024-04-17 04:48:29.553079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==>
2024-04-17 04:48:29.553079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==>
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
2024-04-17 04:48:29.553079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] freeswitch_xml_outbound triggered !!!
2024-04-17 04:48:29.553079 99.63% [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 = 164) AND status=0 limit 1
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 11) AND status=0 limit 1
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/8000.....38933550965
2024-04-17 04:48:29.553079 99.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 38933550965
2024-04-17 04:48:29.553079 99.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 800038933550965
2024-04-17 04:48:29.553079 99.63% [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 ="38933550965" LIMIT 1
2024-04-17 04:48:29.553079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_nrn ==>
2024-04-17 04:48:29.553079 99.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML.LUA - XML - OUTBOUND] masip_mmc ==>
2024-04-17 04:48:29.553079 99.63% [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="38933550965">
<condition field="destination_number" expression="38933550965">
<action application="set" data="effective_destination_number=38933550965"/>
<action application="set" data="execute_on_answer_1=sched_hangup +518.13471502591 normal_clearing"/>
<action application="set" data="callstart=2024-04-17 04:48:29"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=!USER_BUSY"/>
<action application="set" data="account_id=151"/>
<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:158115|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.15800|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151"/>
<action application="set" data="original_caller_id_name=321785"/>
<action application="set" data="original_caller_id_number=321785"/>
<action application="set" data="effective_caller_id_name=321785"/>
<action application="set" data="effective_caller_id_number=321785"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:300537|CODE:^389.*|DESTINATION:Macedonia - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|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=38933550965"/>
<action application="export" data="presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||AIRE // ^389.* // Macedonia - Fixed // 0.60000 // 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/0038933550965;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/0038933550965;fs_path=sip:34.252.123.120:5060"/>
<action application="set" data="effective_caller_id_name=321785"/>
<action application="set" data="effective_caller_id_number=321785"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:513150|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23160|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:164"/>
<action application="set" data="trunk_id=11"/>
<action application="set" data="provider_id=164"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=11"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=38933550965"/>
<action application="export" data="presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||ALISYS // ^389.* // Macedonia // 0.23160 // trunk_id=11|||STD|||103.240.35.46"/>
<action application="bridge" data="[leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Alisys/800038933550965;fs_path=sip:34.252.123.120:5060"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/321785@cloud.masip.es parsing [default->38933550965] continue=false
Dialplan: sofia/default/321785@cloud.masip.es Regex (PASS) [38933550965] destination_number(38933550965) =~ /38933550965/ break=on-false
Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_destination_number=38933550965)
Dialplan: sofia/default/321785@cloud.masip.es Action set(execute_on_answer_1=sched_hangup +518.13471502591 normal_clearing)
Dialplan: sofia/default/321785@cloud.masip.es Action set(callstart=2024-04-17 04:48:29)
Dialplan: sofia/default/321785@cloud.masip.es Action set(hangup_after_bridge=true)
Dialplan: sofia/default/321785@cloud.masip.es Action set(continue_on_fail=!USER_BUSY)
Dialplan: sofia/default/321785@cloud.masip.es Action set(account_id=151)
Dialplan: sofia/default/321785@cloud.masip.es Action set(parent_id=0)
Dialplan: sofia/default/321785@cloud.masip.es Action set(entity_id=0)
Dialplan: sofia/default/321785@cloud.masip.es Action set(call_processed=internal)
Dialplan: sofia/default/321785@cloud.masip.es Action set(call_direction=outbound)
Dialplan: sofia/default/321785@cloud.masip.es Action set(accountname=default)
Dialplan: sofia/default/321785@cloud.masip.es Action set(origination_rates=ID:158115|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.15800|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151)
Dialplan: sofia/default/321785@cloud.masip.es Action set(original_caller_id_name=321785)
Dialplan: sofia/default/321785@cloud.masip.es Action set(original_caller_id_number=321785)
Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_name=321785)
Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_number=321785)
Dialplan: sofia/default/321785@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/321785@cloud.masip.es Action set(termination_rates=ID:300537|CODE:^389.*|DESTINATION:Macedonia - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113)
Dialplan: sofia/default/321785@cloud.masip.es Action set(trunk_id=8)
Dialplan: sofia/default/321785@cloud.masip.es Action set(provider_id=113)
Dialplan: sofia/default/321785@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/321785@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/321785@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_id=38933550965)
Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||AIRE // ^389.* // Macedonia - Fixed // 0.60000 // trunk_id=8|||STD|||103.240.35.46)
Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Ppal/0038933550965;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Bckp/0038933550965;fs_path=sip:34.252.123.120:5060)
Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_name=321785)
Dialplan: sofia/default/321785@cloud.masip.es Action set(effective_caller_id_number=321785)
Dialplan: sofia/default/321785@cloud.masip.es Action set(calltype=STANDARD)
Dialplan: sofia/default/321785@cloud.masip.es Action set(termination_rates=ID:513150|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23160|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:164)
Dialplan: sofia/default/321785@cloud.masip.es Action set(trunk_id=11)
Dialplan: sofia/default/321785@cloud.masip.es Action set(provider_id=164)
Dialplan: sofia/default/321785@cloud.masip.es Action set(rate_flag=2)
Dialplan: sofia/default/321785@cloud.masip.es Action set(force_trunk_flag=0)
Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=trunk_id=11)
Dialplan: sofia/default/321785@cloud.masip.es Action set(intcall=0)
Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_id=38933550965)
Dialplan: sofia/default/321785@cloud.masip.es Action export(presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||ALISYS // ^389.* // Macedonia // 0.23160 // trunk_id=11|||STD|||103.240.35.46)
Dialplan: sofia/default/321785@cloud.masip.es Action bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Alisys/800038933550965;fs_path=sip:34.252.123.120:5060)
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/321785@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/321785@cloud.masip.es) State ROUTING going to sleep
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_EXECUTE (Cur 1 Tot 811772)
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_sofia.c:213 sofia/default/321785@cloud.masip.es SOFIA EXECUTE
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/321785@cloud.masip.es Standard EXECUTE
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(effective_destination_number=38933550965)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [effective_destination_number]=[38933550965]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(execute_on_answer_1=sched_hangup +518.13471502591 normal_clearing)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [execute_on_answer_1]=[sched_hangup +518.13471502591 normal_clearing]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(callstart=2024-04-17 04:48:29)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [callstart]=[2024-04-17 04:48:29]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(hangup_after_bridge=true)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(continue_on_fail=!USER_BUSY)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [continue_on_fail]=[!USER_BUSY]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(account_id=151)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [account_id]=[151]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(parent_id=0)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [parent_id]=[0]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(entity_id=0)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [entity_id]=[0]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(call_processed=internal)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(call_direction=outbound)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(accountname=default)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [accountname]=[default]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(origination_rates=ID:158115|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.15800|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [origination_rates]=[ID:158115|CODE:^389.*|DESTINATION:Macedonia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.15800|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:151]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(original_caller_id_name=321785)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [original_caller_id_name]=[321785]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(original_caller_id_number=321785)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [original_caller_id_number]=[321785]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(effective_caller_id_name=321785)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [effective_caller_id_name]=[321785]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(effective_caller_id_number=321785)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [effective_caller_id_number]=[321785]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(calltype=STANDARD)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(termination_rates=ID:300537|CODE:^389.*|DESTINATION:Macedonia - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [termination_rates]=[ID:300537|CODE:^389.*|DESTINATION:Macedonia - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.60000|INC:1|INITIALBLOCK:0|TRUNK:8|PROVIDER:113]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(trunk_id=8)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [trunk_id]=[8]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(provider_id=113)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [provider_id]=[113]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(rate_flag=2)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(force_trunk_flag=0)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(presence_data=trunk_id=8)
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es set(intcall=0)
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/321785@cloud.masip.es [intcall]=[0]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(presence_id=38933550965)
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[38933550965]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es export(presence_data=x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||AIRE // ^389.* // Macedonia - Fixed // 0.60000 // trunk_id=8|||STD|||103.240.35.46)
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||AIRE // ^389.* // Macedonia - Fixed // 0.60000 // trunk_id=8|||STD|||103.240.35.46]
EXECUTE [depth=0] sofia/default/321785@cloud.masip.es bridge([leg_timeout=0,sip_cid_type=pid,absolute_codec_string=^^:PCMA:G729:PCMU]sofia/gateway/Aire_Ppal/0038933550965;fs_path=sip:34.252.123.120:5060)
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [sip_h_P-masip_custom_flag]=[true] to event
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||AIRE // ^389.* // Macedonia - Fixed // 0.60000 // trunk_id=8|||STD|||103.240.35.46] to event
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [presence_id]=[38933550965] to event
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_channel.c:1269 sofia/default/321785@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||INextrix(321785)|||^389.* // Macedonia // 1.15800 |||AIRE // ^389.* // Macedonia - Fixed // 0.60000 // trunk_id=8|||STD|||103.240.35.46] to event
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2024-04-17 04:48:29.553079 99.63% [NOTICE] switch_channel.c:1123 New Channel sofia/default/0038933550965 [29d434f9-18b0-4e8e-8e2a-41fa9b492b54]
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_sofia.c:5121 (sofia/default/0038933550965) State Change CS_NEW -> CS_INIT
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0038933550965) Running State Change CS_INIT (Cur 2 Tot 811773)
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0038933550965) State INIT
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_sofia.c:97 sofia/default/0038933550965 SOFIA INIT
2024-04-17 04:48:29.553079 99.63% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/0038933550965
2024-04-17 04:48:29.553079 99.63% [INFO] sofia_glue.c:1651 sofia/default/0038933550965 sending invite call-id: (null)
2024-04-17 04:48:29.553079 99.63% [DEBUG] sofia_glue.c:1654 sofia/default/0038933550965 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1713300847 1713300848 IN IP4 54.220.206.86
s=FreeSWITCH
c=IN IP4 54.220.206.86
t=0 0
m=audio 28462 RTP/AVP 8 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
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:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/0038933550965 Standard INIT
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/0038933550965) State Change CS_INIT -> CS_ROUTING
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/0038933550965) State INIT going to sleep
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0038933550965) Running State Change CS_ROUTING (Cur 2 Tot 811773)
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0038933550965) State ROUTING
2024-04-17 04:48:29.553079 99.63% [DEBUG] mod_sofia.c:158 sofia/default/0038933550965 SOFIA ROUTING
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_ivr_originate.c:67 (sofia/default/0038933550965) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/0038933550965) State ROUTING going to sleep
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0038933550965) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 811773)
2024-04-17 04:48:29.553079 99.63% [DEBUG] sofia.c:7499 Channel sofia/default/0038933550965 entering state [calling][0]
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:659 (sofia/default/0038933550965) State CONSUME_MEDIA
2024-04-17 04:48:29.553079 99.63% [DEBUG] switch_core_state_machine.c:659 (sofia/default/0038933550965) State CONSUME_MEDIA going to sleep
2024-04-17 04:48:29.633084 99.63% [DEBUG] sofia.c:6678 Remote Reason: 57
2024-04-17 04:48:29.633084 99.63% [DEBUG] sofia.c:7499 Channel sofia/default/0038933550965 entering state [terminated][403]
2024-04-17 04:48:29.633084 99.63% [NOTICE] sofia.c:8738 Hangup sofia/default/0038933550965 [CS_CONSUME_MEDIA] [BEARERCAPABILITY_NOTAUTH]
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0038933550965) Running State Change CS_HANGUP (Cur 2 Tot 811773)
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/0038933550965) Callstate Change DOWN -> HANGUP
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0038933550965) State HANGUP
2024-04-17 04:48:29.633084 99.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/0038933550965 hanging up, cause: BEARERCAPABILITY_NOTAUTH
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/0038933550965 Standard HANGUP, cause: BEARERCAPABILITY_NOTAUTH
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/0038933550965) State HANGUP going to sleep
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/0038933550965) State Change CS_HANGUP -> CS_REPORTING
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/0038933550965) Running State Change CS_REPORTING (Cur 2 Tot 811773)
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0038933550965) State REPORTING
2024-04-17 04:48:29.633084 99.63% [INFO] mod_json_cdr.c:271 Process [29d434f9-18b0-4e8e-8e2a-41fa9b492b54.cdr.json]
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 57 [BEARERCAPABILITY_NOTAUTH]
2024-04-17 04:48:29.633084 99.63% [INFO] mod_dptools.c:3653 Originate Failed. Cause: BEARERCAPABILITY_NOTAUTH
2024-04-17 04:48:29.633084 99.63% [NOTICE] switch_channel.c:5050 Hangup sofia/default/321785@cloud.masip.es [CS_EXECUTE] [BEARERCAPABILITY_NOTAUTH]
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_session.c:2983 sofia/default/321785@cloud.masip.es skip receive message [PHONE_EVENT] (channel is hungup already)
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/321785@cloud.masip.es) State EXECUTE going to sleep
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_HANGUP (Cur 2 Tot 811773)
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/321785@cloud.masip.es) Callstate Change RINGING -> HANGUP
2024-04-17 04:48:29.633084 99.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/321785@cloud.masip.es) State HANGUP
2024-04-17 04:48:29.633084 99.63% [DEBUG] mod_sofia.c:462 sofia/default/321785@cloud.masip.es Overriding SIP cause 403 with 403 from the other leg
2024-04-17 04:48:29.633084 99.63% [DEBUG] mod_sofia.c:468 Channel sofia/default/321785@cloud.masip.es hanging up, cause: BEARERCAPABILITY_NOTAUTH
2024-04-17 04:48:29.653089 99.63% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 403
2024-04-17 04:48:29.653089 99.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/321785@cloud.masip.es Standard HANGUP, cause: BEARERCAPABILITY_NOTAUTH
2024-04-17 04:48:29.653089 99.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/321785@cloud.masip.es) State HANGUP going to sleep
2024-04-17 04:48:29.653089 99.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/321785@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
2024-04-17 04:48:29.653089 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/321785@cloud.masip.es) Running State Change CS_REPORTING (Cur 2 Tot 811773)
2024-04-17 04:48:29.653089 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/321785@cloud.masip.es) State REPORTING
2024-04-17 04:48:29.653089 99.63% [INFO] mod_json_cdr.c:271 Process [e41e2613-dbe7-49d1-aae9-5a46498367cd.cdr.json]
2024-04-17 04:48:29.693077 99.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/321785@cloud.masip.es Standard REPORTING, cause: BEARERCAPABILITY_NOTAUTH
2024-04-17 04:48:29.693077 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/321785@cloud.masip.es) State REPORTING going to sleep
2024-04-17 04:48:29.693077 99.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/321785@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
2024-04-17 04:48:29.693077 99.63% [DEBUG] switch_core_session.c:1753 Session 811772 (sofia/default/321785@cloud.masip.es) Locked, Waiting on external entities
2024-04-17 04:48:29.693077 99.63% [NOTICE] switch_core_session.c:1771 Session 811772 (sofia/default/321785@cloud.masip.es) Ended
2024-04-17 04:48:29.693077 99.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/321785@cloud.masip.es [CS_DESTROY]
2024-04-17 04:48:29.693077 99.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/321785@cloud.masip.es) Running State Change CS_DESTROY (Cur 1 Tot 811773)
2024-04-17 04:48:29.693077 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/321785@cloud.masip.es) State DESTROY
2024-04-17 04:48:29.693077 99.63% [DEBUG] mod_sofia.c:379 sofia/default/321785@cloud.masip.es SOFIA DESTROY
2024-04-17 04:48:29.693077 99.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/321785@cloud.masip.es Standard DESTROY
2024-04-17 04:48:29.693077 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/321785@cloud.masip.es) State DESTROY going to sleep
2024-04-17 04:48:29.793078 99.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/0038933550965 Standard REPORTING, cause: BEARERCAPABILITY_NOTAUTH
2024-04-17 04:48:29.793078 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/0038933550965) State REPORTING going to sleep
2024-04-17 04:48:29.793078 99.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/0038933550965) State Change CS_REPORTING -> CS_DESTROY
2024-04-17 04:48:29.793078 99.63% [DEBUG] switch_core_session.c:1753 Session 811773 (sofia/default/0038933550965) Locked, Waiting on external entities
2024-04-17 04:48:29.793078 99.63% [NOTICE] switch_core_session.c:1771 Session 811773 (sofia/default/0038933550965) Ended
2024-04-17 04:48:29.793078 99.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/0038933550965 [CS_DESTROY]
2024-04-17 04:48:29.793078 99.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/0038933550965) Running State Change CS_DESTROY (Cur 0 Tot 811773)
2024-04-17 04:48:29.793078 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0038933550965) State DESTROY
2024-04-17 04:48:29.793078 99.63% [DEBUG] mod_sofia.c:379 sofia/default/0038933550965 SOFIA DESTROY
2024-04-17 04:48:29.793078 99.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/0038933550965 Standard DESTROY
2024-04-17 04:48:29.793078 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/0038933550965) State DESTROY going to sleep