span style="color: green; font-weight: bold;"> 2023-04-26 08:15:58.208305 [INFO] mod_dialplan_xml.c:637 Processing 31855004076 <31855004076>->31307910414 in context default
2023-04-26 08:15:58.208305 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-04-26 08:15:58.208305 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.208305 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: ea9d74c5-64c7-47f9-8036-72e9783891f2
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-04-26%2008%3A15%3A58
Event-Date-GMT: Wed,%2026%20Apr%202023%2006%3A15%3A58%20GMT
Event-Date-Timestamp: 1682489758208305
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 52518887
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31855004076%40185.249.40.253
Unique-ID: 7300696e-0f58-47f3-91c0-a52ccc32d979
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31855004076%40185.249.40.253
Channel-Call-UUID: 7300696e-0f58-47f3-91c0-a52ccc32d979
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 31855004076
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31855004076
Caller-Caller-ID-Number: 31855004076
Caller-Orig-Caller-ID-Name: 31855004076
Caller-Orig-Caller-ID-Number: 31855004076
Caller-Network-Addr: 185.249.40.253
Caller-ANI: 31855004076
Caller-Destination-Number: 31307910414
Caller-Unique-ID: 7300696e-0f58-47f3-91c0-a52ccc32d979
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/31855004076%40185.249.40.253
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1682489758208305
Caller-Channel-Created-Time: 1682489758208305
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 7300696e-0f58-47f3-91c0-a52ccc32d979
variable_session_id: 635757
variable_sip_from_user: 31855004076
variable_sip_from_uri: 31855004076%40185.249.40.253
variable_sip_from_host: 185.249.40.253
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31855004076%40185.249.40.253
variable_sip_call_id: 02165EC6D181400000AE893E%40UDP_5060.sbc1.controlsbc.com
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.253
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1682489758208305
variable_sip_received_ip: 185.249.40.253
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 31855004076
variable_sip_from_tag: EC4630303330333099C20501
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_P-Asserted-Identity: 31855004076
variable_sip_cid_type: pid
variable_sip_full_route: %3Csip%3A185.249.40.236%3A5060%3Blr%3Btransport%3Dudp%3E
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.253%3A5060%3Bbranch%3Dz9hG4bK714A7AA71839DCFCA8280A3778DADF8E%3Brport%3D5060
variable_sip_from_display: 31855004076
variable_sip_full_from: %2231855004076%22%20%3Csip%3A31855004076%40185.249.40.253%3E%3Btag%3DEC4630303330333099C20501
variable_sip_full_to: %3Csip%3A31307910414%40185.249.40.236%3E
variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20UPDATE,%20REFER,%20SUBSCRIBE,%20NOTIFY
variable_sip_req_user: 31307910414
variable_sip_req_port: 5060
variable_sip_req_uri: 31307910414%40185.249.40.236%3A5060
variable_sip_req_host: 185.249.40.236
variable_sip_to_user: 31307910414
variable_sip_to_uri: 31307910414%40185.249.40.236
variable_sip_to_host: 185.249.40.236
variable_sip_contact_user: 31855004076
variable_sip_contact_port: 5060
variable_sip_contact_uri: 31855004076%40185.249.40.253%3A5060
variable_sip_contact_host: 185.249.40.253
variable_sip_user_agent: TBSIP
variable_sip_via_host: 185.249.40.253
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 68
variable_presence_id: 31855004076%40185.249.40.253
variable_sip_Privacy: none
variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%2016209504%201%20IN%20IP4%20185.249.40.253%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20185.249.40.253%0D%0At%3D0%200%0D%0Am%3Daudio%2038366%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G722
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.249.40.253
variable_remote_media_port: 38366
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: 7300696e-0f58-47f3-91c0-a52ccc32d979
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31855004076
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31855004076
Hunt-Caller-ID-Number: 31855004076
Hunt-Orig-Caller-ID-Name: 31855004076
Hunt-Orig-Caller-ID-Number: 31855004076
Hunt-Network-Addr: 185.249.40.253
Hunt-ANI: 31855004076
Hunt-Destination-Number: 31307910414
Hunt-Unique-ID: 7300696e-0f58-47f3-91c0-a52ccc32d979
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/31855004076%40185.249.40.253
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1682489758208305
Hunt-Channel-Created-Time: 1682489758208305
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-04-26 08:15:58.208305 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2023-04-26 08:15:58.208305 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2023-04-26 08:15:58.208305 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2023-04-26 08:15:58.208305 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2023-04-26 08:15:58.208305 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-04-26 08:15:58.208305 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31307910414
2023-04-26 08:15:58.208305 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31307910414' limit 1
2023-04-26 08:15:58.208305 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31307910414' AND status=0 limit 1
2023-04-26 08:15:58.208305 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31307910414' and status=0 LIMIT 1
2023-04-26 08:15:58.208305 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2023-04-26 08:15:58.208305 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31855004076 / 31855004076
2023-04-26 08:15:58.208305 [DEBUG] switch_cpp.cpp:1447 [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 ="31307910414" LIMIT 1
2023-04-26 08:15:58.208305 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
2023-04-26 08:15:58.208305 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.249.40.253") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31307910414" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 740489]
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "740489" AND deleted = 0 limit 1
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31307910414" AND (accountid = 0 OR status = 1) LIMIT 1
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 759
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [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 = '^31307910414.*' OR patterns = '^3130791041.*' OR patterns = '^313079104.*' OR patterns = '^31307910.*' OR patterns = '^3130791.*' OR patterns = '^313079.*' OR patterns = '^31307.*' OR patterns = '^3130.*' OR patterns = '^313.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 759 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [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 ="31307910414" AND A.accountid = '231' limit 1
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31307910414
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [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 ="31307910414" LIMIT 1
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31307910414' OR number = '3130791041' OR number = '313079104' OR number = '31307910' OR number = '3130791' OR number = '313079' OR number = '31307' OR number = '3130' OR number = '313' OR number = '31' OR number = '3' OR number ='--') OR (number = '31307910414*' OR number = '3130791041*' OR number = '313079104*' OR number = '31307910*' OR number = '3130791*' OR number = '313079*' OR number = '31307*' OR number = '3130*' OR number = '313*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31855004076' OR number = '3185500407' OR number = '318550040' OR number = '31855004' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855004076*' OR number = '3185500407*' OR number = '318550040*' OR number = '31855004*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31307910414' OR routing_prefix = '3130791041' OR routing_prefix = '313079104' OR routing_prefix = '31307910' OR routing_prefix = '3130791' OR routing_prefix = '313079' OR routing_prefix = '31307' OR routing_prefix = '3130' OR routing_prefix = '313' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 231
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 740489
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [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 ="31307910414" LIMIT 1
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : inbound
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 691
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31307910414
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 231
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 231 !!!
2023-04-26 08:15:58.228308 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 231 AND status=0 LIMIT 1
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "759" AND deleted = 0 limit 1
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:231
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:231
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 231
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 759 limit 1
2023-04-26 08:15:58.228308 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : 262876.yoursipcloud.com
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2023-04-26 08:15:58.228308 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "0681405345" AND accounts.status = 0
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 759 limit 1
2023-04-26 08:15:58.228308 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : 262876.yoursipcloud.com
2023-04-26 08:15:58.228308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 759 and status = 0 limit 1
2023-04-26 08:15:58.248309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
2023-04-26 08:15:58.248309 [DEBUG] switch_cpp.cpp:1447 [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="31307910414">
<condition field="destination_number" expression="31307910414">
<action application="set" data="effective_destination_number=31307910414"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2023-04-26 06:15:58"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=231"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=SBC1.."/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:691|CODE:^31307910414.*|DESTINATION:31307910414|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:759"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=31855004076"/>
<action application="set" data="original_caller_id_number=31855004076"/>
<action application="set" data="effective_caller_id_name=31855004076"/>
<action application="set" data="effective_caller_id_number=31855004076"/>
<action application="set" data="receiver_accid=759"/>
<action application="export" data="domain_name=262876.yoursipcloud.com"/>
<action application="export" data="sip_to_host=262876.yoursipcloud.com"/>
<action application="export" data="presence_data=x|||Ingmar(262876)|||||||||DID|||185.249.40.253"/>
<action application="export" data="call_type=4"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="accountcode=262876"/>
<action application="set" data="caller_did_account_id=231"/>
<action application="set" data="did_number=31307910414"/>
<action application="set" data="did_init_inc=0"/>
<action application="set" data="did_inc=0"/>
<action application="set" data="did_cost=0.00000"/>
<action application="set" data="did_connectcost=0.00000"/>
<action application="set" data="origination_rates_did=0"/>
<action application="transfer" data="0681405345 XML default"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31855004076@185.249.40.253 parsing [default->31307910414] continue=false
Dialplan: sofia/default/31855004076@185.249.40.253 Regex (PASS) [31307910414] destination_number(31307910414) =~ /31307910414/ break=on-false
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_destination_number=31307910414)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(callstart=2023-04-26 06:15:58)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(account_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(parent_id=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(entity_id=3)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_processed=internal)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_direction=inbound)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(accountname=SBC1..)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(origination_rates_did=ID:691|CODE:^31307910414.*|DESTINATION:31307910414|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:759)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(origination_rates=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(receiver_accid=759)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(domain_name=262876.yoursipcloud.com)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(sip_to_host=262876.yoursipcloud.com)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=x|||Ingmar(262876)|||||||||DID|||185.249.40.253)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(call_type=4)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(calltype=STANDARD)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(accountcode=262876)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(caller_did_account_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(did_number=31307910414)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(did_init_inc=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(did_inc=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(did_cost=0.00000)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(did_connectcost=0.00000)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(origination_rates_did=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action transfer(0681405345 XML default)
2023-04-26 08:15:58.248309 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31855004076@185.249.40.253) State Change CS_ROUTING -> CS_EXECUTE
2023-04-26 08:15:58.248309 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING going to sleep
2023-04-26 08:15:58.248309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_EXECUTE (Cur 3 Tot 635757)
2023-04-26 08:15:58.248309 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31855004076@185.249.40.253) State EXECUTE
2023-04-26 08:15:58.248309 [DEBUG] mod_sofia.c:209 sofia/default/31855004076@185.249.40.253 SOFIA EXECUTE
2023-04-26 08:15:58.248309 [DEBUG] switch_core_state_machine.c:329 sofia/default/31855004076@185.249.40.253 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_destination_number=31307910414)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_destination_number]=[31307910414]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(callstart=2023-04-26 06:15:58)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [callstart]=[2023-04-26 06:15:58]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(hangup_after_bridge=true)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(continue_on_fail=TRUE)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(account_id=231)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [account_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(parent_id=0)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(entity_id=3)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_processed=internal)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_direction=inbound)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(accountname=SBC1..)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [accountname]=[SBC1..]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(filename1=astpp.pbx.lua)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(origination_rates_did=ID:691|CODE:^31307910414.*|DESTINATION:31307910414|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:759)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [origination_rates_did]=[ID:691|CODE:^31307910414.*|DESTINATION:31307910414|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:759]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(origination_rates=0)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_name=31855004076)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_number=31855004076)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_name=31855004076)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_number=31855004076)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(receiver_accid=759)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [receiver_accid]=[759]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(domain_name=262876.yoursipcloud.com)
2023-04-26 08:15:58.248309 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[262876.yoursipcloud.com]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(sip_to_host=262876.yoursipcloud.com)
2023-04-26 08:15:58.248309 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[262876.yoursipcloud.com]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=x|||Ingmar(262876)|||||||||DID|||185.249.40.253)
2023-04-26 08:15:58.248309 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Ingmar(262876)|||||||||DID|||185.249.40.253]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(call_type=4)
2023-04-26 08:15:58.248309 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[4]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(calltype=STANDARD)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(accountcode=262876)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [accountcode]=[262876]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(caller_did_account_id=231)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [caller_did_account_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(did_number=31307910414)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [did_number]=[31307910414]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(did_init_inc=0)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [did_init_inc]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(did_inc=0)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [did_inc]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(did_cost=0.00000)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [did_cost]=[0.00000]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(did_connectcost=0.00000)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [did_connectcost]=[0.00000]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(origination_rates_did=0)
2023-04-26 08:15:58.248309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [origination_rates_did]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 transfer(0681405345 XML default)
2023-04-26 08:15:58.248309 [DEBUG] switch_ivr.c:2243 (sofia/default/31855004076@185.249.40.253) State Change CS_EXECUTE -> CS_ROUTING
2023-04-26 08:15:58.248309 [NOTICE] switch_ivr.c:2250 Transfer sofia/default/31855004076@185.249.40.253 to XML[0681405345@default]
2023-04-26 08:15:58.248309 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31855004076@185.249.40.253) State EXECUTE going to sleep
2023-04-26 08:15:58.248309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_ROUTING (Cur 3 Tot 635757)
2023-04-26 08:15:58.248309 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING
2023-04-26 08:15:58.248309 [DEBUG] mod_sofia.c:145 Call appears to be already acknowledged
2023-04-26 08:15:58.248309 [DEBUG] mod_sofia.c:154 sofia/default/31855004076@185.249.40.253 SOFIA ROUTING
2023-04-26 08:15:58.248309 [DEBUG] switch_core_state_machine.c:236 sofia/default/31855004076@185.249.40.253 Standard ROUTING
2023-04-26 08:15:58.248309 [INFO] mod_dialplan_xml.c:637 Processing 31855004076 <31855004076>->0681405345 in context default
2023-04-26 08:15:58.248309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-04-26 08:15:58.248309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.268308 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: ea9d74c5-64c7-47f9-8036-72e9783891f2
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-04-26%2008%3A15%3A58
Event-Date-GMT: Wed,%2026%20Apr%202023%2006%3A15%3A58%20GMT
Event-Date-Timestamp: 1682489758248309
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 52518959
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31855004076%40185.249.40.253
Unique-ID: 7300696e-0f58-47f3-91c0-a52ccc32d979
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31855004076%40185.249.40.253
Channel-Presence-Data: x%7C%7C%7CIngmar(262876)%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C185.249.40.253
Channel-Call-UUID: 7300696e-0f58-47f3-91c0-a52ccc32d979
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 31855004076
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31855004076
Caller-Caller-ID-Number: 31855004076
Caller-Orig-Caller-ID-Name: 31855004076
Caller-Orig-Caller-ID-Number: 31855004076
Caller-Network-Addr: 185.249.40.253
Caller-ANI: 31855004076
Caller-Destination-Number: 0681405345
Caller-Unique-ID: 7300696e-0f58-47f3-91c0-a52ccc32d979
Caller-Source: mod_sofia
Caller-Transfer-Source: 1682489758%3A38c0252b-af37-468c-bdea-5931a0a39969%3Abl_xfer%3A0681405345/default/XML
Caller-Context: default
Caller-RDNIS: 31307910414
Caller-Channel-Name: sofia/default/31855004076%40185.249.40.253
Caller-Profile-Index: 2
Caller-Profile-Created-Time: 1682489758248309
Caller-Channel-Created-Time: 1682489758208305
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 7300696e-0f58-47f3-91c0-a52ccc32d979
variable_session_id: 635757
variable_sip_from_user: 31855004076
variable_sip_from_uri: 31855004076%40185.249.40.253
variable_sip_from_host: 185.249.40.253
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31855004076%40185.249.40.253
variable_sip_call_id: 02165EC6D181400000AE893E%40UDP_5060.sbc1.controlsbc.com
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.253
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1682489758208305
variable_sip_received_ip: 185.249.40.253
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 31855004076
variable_sip_from_tag: EC4630303330333099C20501
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_P-Asserted-Identity: 31855004076
variable_sip_cid_type: pid
variable_sip_full_route: %3Csip%3A185.249.40.236%3A5060%3Blr%3Btransport%3Dudp%3E
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.253%3A5060%3Bbranch%3Dz9hG4bK714A7AA71839DCFCA8280A3778DADF8E%3Brport%3D5060
variable_sip_from_display: 31855004076
variable_sip_full_from: %2231855004076%22%20%3Csip%3A31855004076%40185.249.40.253%3E%3Btag%3DEC4630303330333099C20501
variable_sip_full_to: %3Csip%3A31307910414%40185.249.40.236%3E
variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20UPDATE,%20REFER,%20SUBSCRIBE,%20NOTIFY
variable_sip_req_user: 31307910414
variable_sip_req_port: 5060
variable_sip_req_uri: 31307910414%40185.249.40.236%3A5060
variable_sip_req_host: 185.249.40.236
variable_sip_to_user: 31307910414
variable_sip_to_uri: 31307910414%40185.249.40.236
variable_sip_contact_user: 31855004076
variable_sip_contact_port: 5060
variable_sip_contact_uri: 31855004076%40185.249.40.253%3A5060
variable_sip_contact_host: 185.249.40.253
variable_sip_user_agent: TBSIP
variable_sip_via_host: 185.249.40.253
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_presence_id: 31855004076%40185.249.40.253
variable_sip_Privacy: none
variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%2016209504%201%20IN%20IP4%20185.249.40.253%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20185.249.40.253%0D%0At%3D0%200%0D%0Am%3Daudio%2038366%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G722
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.249.40.253
variable_remote_media_port: 38366
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_effective_destination_number: 31307910414
variable_bridge_pre_execute_bleg_app: sched_hangup
variable_bridge_pre_execute_bleg_data: %2B6000%20normal_clearing
variable_callstart: 2023-04-26%2006%3A15%3A58
variable_hangup_after_bridge: true
variable_continue_on_fail: TRUE
variable_account_id: 231
variable_parent_id: 0
variable_entity_id: 3
variable_call_processed: internal
variable_call_direction: inbound
variable_accountname: SBC1..
variable_filename1: astpp.pbx.lua
variable_origination_rates: 0
variable_original_caller_id_name: 31855004076
variable_original_caller_id_number: 31855004076
variable_effective_caller_id_name: 31855004076
variable_effective_caller_id_number: 31855004076
variable_receiver_accid: 759
variable_domain_name: 262876.yoursipcloud.com
variable_sip_to_host: 262876.yoursipcloud.com
variable_presence_data: x%7C%7C%7CIngmar(262876)%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C185.249.40.253
variable_call_type: 4
variable_export_vars: domain_name,sip_to_host,presence_data,call_type
variable_calltype: STANDARD
variable_accountcode: 262876
variable_caller_did_account_id: 231
variable_did_number: 31307910414
variable_did_init_inc: 0
variable_did_inc: 0
variable_did_cost: 0.00000
variable_did_connectcost: 0.00000
variable_origination_rates_did: 0
variable_current_application_data: 0681405345%20XML%20default
variable_current_application: transfer
variable_max_forwards: 67
variable_transfer_history: 1682489758%3A38c0252b-af37-468c-bdea-5931a0a39969%3Abl_xfer%3A0681405345/default/XML
variable_transfer_source: 1682489758%3A38c0252b-af37-468c-bdea-5931a0a39969%3Abl_xfer%3A0681405345/default/XML
variable_call_uuid: 7300696e-0f58-47f3-91c0-a52ccc32d979
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31855004076
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31855004076
Hunt-Caller-ID-Number: 31855004076
Hunt-Orig-Caller-ID-Name: 31855004076
Hunt-Orig-Caller-ID-Number: 31855004076
Hunt-Network-Addr: 185.249.40.253
Hunt-ANI: 31855004076
Hunt-Destination-Number: 0681405345
Hunt-Unique-ID: 7300696e-0f58-47f3-91c0-a52ccc32d979
Hunt-Source: mod_sofia
Hunt-Transfer-Source: 1682489758%3A38c0252b-af37-468c-bdea-5931a0a39969%3Abl_xfer%3A0681405345/default/XML
Hunt-Context: default
Hunt-RDNIS: 31307910414
Hunt-Channel-Name: sofia/default/31855004076%40185.249.40.253
Hunt-Profile-Index: 2
Hunt-Profile-Created-Time: 1682489758248309
Hunt-Channel-Created-Time: 1682489758208305
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 0681405345
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0681405345' limit 1
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0681405345' AND status=0 limit 1
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0681405345' and status=0 LIMIT 1
2023-04-26 08:15:58.268308 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31855004076 / 31855004076
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [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 ="0681405345" LIMIT 1
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="0681405345" AND domains.domain="262876.yoursipcloud.com" limit 1
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 262876]
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "262876" AND deleted = 0 limit 1
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0681405345.*' OR blocked_patterns = '^068140534.*' OR blocked_patterns = '^06814053.*' OR blocked_patterns = '^0681405.*' OR blocked_patterns = '^068140.*' OR blocked_patterns = '^06814.*' OR blocked_patterns = '^0681.*' OR blocked_patterns = '^068.*' OR blocked_patterns = '^06.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 759 limit 1
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0681405345" AND (accountid = 0 OR status = 1) LIMIT 1
2023-04-26 08:15:58.268308 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....0681405345
2023-04-26 08:15:58.268308 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0681405345
2023-04-26 08:15:58.268308 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 31681405345
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....31681405345
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [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 = '^31681405345.*' OR patterns = '^3168140534.*' OR patterns = '^316814053.*' OR patterns = '^31681405.*' OR patterns = '^3168140.*' OR patterns = '^316814.*' OR patterns = '^31681.*' OR patterns = '^3168.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 759 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" AND A.accountid = '759' limit 1
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31681405345
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31681405345" AND domains.domain="262876.yoursipcloud.com" limit 1
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31681405345' OR number = '3168140534' OR number = '316814053' OR number = '31681405' OR number = '3168140' OR number = '316814' OR number = '31681' OR number = '3168' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31681405345*' OR number = '3168140534*' OR number = '316814053*' OR number = '31681405*' OR number = '3168140*' OR number = '316814*' OR number = '31681*' OR number = '3168*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31855004076' OR number = '3185500407' OR number = '318550040' OR number = '31855004' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855004076*' OR number = '3185500407*' OR number = '318550040*' OR number = '31855004*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31681405345' OR routing_prefix = '3168140534' OR routing_prefix = '316814053' OR routing_prefix = '31681405' OR routing_prefix = '3168140' OR routing_prefix = '316814' OR routing_prefix = '31681' OR routing_prefix = '3168' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 759
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 262876
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2023-04-26 08:15:58.268308 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2023-04-26 08:15:58.268308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=759) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 9004
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland mobiel
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 759
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 759 !!!
2023-04-26 08:15:58.288313 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-04-26 08:15:58.288313 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31681405345.*' OR blocked_patterns = '^3168140534.*' OR blocked_patterns = '^316814053.*' OR blocked_patterns = '^31681405.*' OR blocked_patterns = '^3168140.*' OR blocked_patterns = '^316814.*' OR blocked_patterns = '^31681.*' OR blocked_patterns = '^3168.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 12 limit 1
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99999.94043
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=12) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846863
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00605
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands Mobile
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99999.94043 balance Accountid 12 !!!
2023-04-26 08:15:58.288313 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:9004|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:759||ID:2846863|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 0
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 9004
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114270
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3168.*
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3168.*
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 759 AND status=0 LIMIT 1
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2023-04-26 08:15:58.288313 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [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 = 231) AND status=0 limit 1
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Anonymous CHECK:31855004076
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [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 ="31307910414" LIMIT 1
2023-04-26 08:15:58.288313 [DEBUG] switch_cpp.cpp:1447 [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="31681405345">
<condition field="destination_number" expression="0681405345">
<action application="set" data="effective_destination_number=31681405345"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="callstart=2023-04-26 06:15:58"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=759"/>
<action application="set" data="parent_id=12"/>
<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="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:9004|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:759||ID:2846863|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12"/>
<action application="set" data="original_caller_id_name=31855004076"/>
<action application="set" data="original_caller_id_number=31855004076"/>
<action application="limit" data="db 262876 user_262876 10 "/>
<action application="limit" data="hash CPS_262876 CPS_user_262876 1/1 "/>
<action application="set" data="effective_caller_id_name=31855004076"/>
<action application="set" data="effective_caller_id_number=31855004076"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:114270|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=231"/>
<action application="set" data="rate_flag=2"/>
<action application="set" data="force_trunk_flag=9004"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31681405345"/>
<action application="export" data="presence_data=x//12|||Ingmar(262876)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||185.249.40.253|||0.00605 // ^3168.* // Netherlands Mobile"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31855004076@185.249.40.253 parsing [default->31681405345] continue=false
Dialplan: sofia/default/31855004076@185.249.40.253 Regex (PASS) [31681405345] destination_number(0681405345) =~ /0681405345/ break=on-false
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_destination_number=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(callstart=2023-04-26 06:15:58)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(account_id=759)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(parent_id=12)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(entity_id=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_processed=internal)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_direction=outbound)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(accountname=default)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(origination_rates=ID:9004|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:759||ID:2846863|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action limit(db 262876 user_262876 10 )
Dialplan: sofia/default/31855004076@185.249.40.253 Action limit(hash CPS_262876 CPS_user_262876 1/1 )
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(calltype=STANDARD)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(termination_rates=ID:114270|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(trunk_id=4)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(provider_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(rate_flag=2)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(force_trunk_flag=9004)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(intcall=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_id=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=x//12|||Ingmar(262876)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||185.249.40.253|||0.00605 // ^3168.* // Netherlands Mobile)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345)
2023-04-26 08:15:58.288313 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31855004076@185.249.40.253) State Change CS_ROUTING -> CS_EXECUTE
2023-04-26 08:15:58.288313 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING going to sleep
2023-04-26 08:15:58.288313 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_EXECUTE (Cur 3 Tot 635757)
2023-04-26 08:15:58.288313 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31855004076@185.249.40.253) State EXECUTE
2023-04-26 08:15:58.288313 [DEBUG] mod_sofia.c:209 sofia/default/31855004076@185.249.40.253 SOFIA EXECUTE
2023-04-26 08:15:58.288313 [DEBUG] switch_core_state_machine.c:329 sofia/default/31855004076@185.249.40.253 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_destination_number=31681405345)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_destination_number]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(callstart=2023-04-26 06:15:58)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [callstart]=[2023-04-26 06:15:58]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(hangup_after_bridge=true)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(continue_on_fail=TRUE)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(account_id=759)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [account_id]=[759]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(parent_id=12)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [parent_id]=[12]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(entity_id=0)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_processed=internal)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_direction=outbound)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(accountname=default)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [accountname]=[default]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(filename1=astpp.pbx.lua)
2023-04-26 08:15:58.288313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(origination_rates=ID:9004|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:759||ID:2846863|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [origination_rates]=[ID:9004|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:759||ID:2846863|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_name=31855004076)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_number=31855004076)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 limit(db 262876 user_262876 10 )
2023-04-26 08:15:58.308311 [DEBUG] switch_limit.c:124 incr called: 262876_user_262876 max:10, interval:0
2023-04-26 08:15:58.308311 [DEBUG] mod_db.c:194 Usage for 262876_user_262876 is now 1/10
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 limit(hash CPS_262876 CPS_user_262876 1/1 )
2023-04-26 08:15:58.308311 [DEBUG] switch_limit.c:124 incr called: CPS_262876_CPS_user_262876 max:1, interval:1
2023-04-26 08:15:58.308311 [DEBUG] mod_hash.c:198 Usage for CPS_262876_CPS_user_262876 is now 1/1 for the last 1 seconds
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_name=31855004076)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_number=31855004076)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(calltype=STANDARD)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(termination_rates=ID:114270|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [termination_rates]=[ID:114270|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(trunk_id=4)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(provider_id=231)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [provider_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(rate_flag=2)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [rate_flag]=[2]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(force_trunk_flag=9004)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [force_trunk_flag]=[9004]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=trunk_id=4)
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(intcall=0)
2023-04-26 08:15:58.308311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [intcall]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_id=31681405345)
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=x//12|||Ingmar(262876)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||185.249.40.253|||0.00605 // ^3168.* // Netherlands Mobile)
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//12|||Ingmar(262876)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||185.249.40.253|||0.00605 // ^3168.* // Netherlands Mobile]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [domain_name]=[262876.yoursipcloud.com] to event
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [sip_to_host]=[262876.yoursipcloud.com] to event
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x//12|||Ingmar(262876)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||185.249.40.253|||0.00605 // ^3168.* // Netherlands Mobile] to event
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [call_type]=[4] to event
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x//12|||Ingmar(262876)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||185.249.40.253|||0.00605 // ^3168.* // Netherlands Mobile] to event
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_id]=[31681405345] to event
2023-04-26 08:15:58.308311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x//12|||Ingmar(262876)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||185.249.40.253|||0.00605 // ^3168.* // Netherlands Mobile] to event
2023-04-26 08:15:58.308311 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2023-04-26 08:15:58.308311 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2023-04-26 08:15:58.308311 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31681405345 [bb19ce1b-d877-4174-a89c-5cf8af2154b3]
2023-04-26 08:15:58.308311 [DEBUG] mod_sofia.c:5089 (sofia/default/31681405345) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_INIT (Cur 4 Tot 635758)
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT
2023-04-26 08:15:58.308311 [DEBUG] mod_sofia.c:93 sofia/default/31681405345 SOFIA INIT
2023-04-26 08:15:58.308311 [DEBUG] sofia_glue.c:1618 sofia/default/31681405345 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1682459314 1682459315 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 30444 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:40 sofia/default/31681405345 Standard INIT
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31681405345) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT going to sleep
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_ROUTING (Cur 4 Tot 635758)
2023-04-26 08:15:58.308311 [DEBUG] sofia.c:7326 Channel sofia/default/31681405345 entering state [calling][0]
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING
2023-04-26 08:15:58.308311 [DEBUG] mod_sofia.c:154 sofia/default/31681405345 SOFIA ROUTING
2023-04-26 08:15:58.308311 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31681405345) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING going to sleep
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 635758)
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA
2023-04-26 08:15:58.308311 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA going to sleep
2023-04-26 08:15:58.468309 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31855004076@185.249.40.253 [ed6b5235-1a0b-4275-a34e-faedce095175]
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_NEW (Cur 5 Tot 635759)
2023-04-26 08:15:58.468309 [DEBUG] sofia.c:10280 sofia/default/31855004076@185.249.40.253 receiving invite from 185.249.40.253:5060 version: 1.10.5 -release-17-25569c1631 64bit
2023-04-26 08:15:58.468309 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.253:0.
2023-04-26 08:15:58.468309 [DEBUG] sofia.c:10403 IP 185.249.40.253 Approved by acl "default[]". Access Granted.
2023-04-26 08:15:58.468309 [DEBUG] sofia.c:7326 Channel sofia/default/31855004076@185.249.40.253 entering state [received][100]
2023-04-26 08:15:58.468309 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 16209510 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 38372 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2023-04-26 08:15:58.468309 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-04-26 08:15:58.468309 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-04-26 08:15:58.468309 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-04-26 08:15:58.468309 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2023-04-26 08:15:58.468309 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2023-04-26 08:15:58.468309 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31855004076@185.249.40.253 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-04-26 08:15:58.468309 [DEBUG] switch_core_codec.c:111 sofia/default/31855004076@185.249.40.253 Original read codec set to PCMA:8
2023-04-26 08:15:58.468309 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2023-04-26 08:15:58.468309 [DEBUG] switch_core_media.c:5911 sofia/default/31855004076@185.249.40.253 Set 2833 dtmf send payload to 101 recv payload to 101
2023-04-26 08:15:58.468309 [DEBUG] sofia.c:7760 (sofia/default/31855004076@185.249.40.253) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31855004076@185.249.40.253) State NEW
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_INIT (Cur 5 Tot 635759)
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31855004076@185.249.40.253) State INIT
2023-04-26 08:15:58.468309 [DEBUG] mod_sofia.c:93 sofia/default/31855004076@185.249.40.253 SOFIA INIT
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:40 sofia/default/31855004076@185.249.40.253 Standard INIT
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31855004076@185.249.40.253) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31855004076@185.249.40.253) State INIT going to sleep
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_ROUTING (Cur 5 Tot 635759)
2023-04-26 08:15:58.468309 [DEBUG] switch_channel.c:2332 (sofia/default/31855004076@185.249.40.253) Callstate Change DOWN -> RINGING
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING
2023-04-26 08:15:58.468309 [DEBUG] mod_sofia.c:154 sofia/default/31855004076@185.249.40.253 SOFIA ROUTING
2023-04-26 08:15:58.468309 [DEBUG] switch_core_state_machine.c:236 sofia/default/31855004076@185.249.40.253 Standard ROUTING
2023-04-26 08:15:58.468309 [INFO] mod_dialplan_xml.c:637 Processing 31855004076 <31855004076>->31681405345 in context default
2023-04-26 08:15:58.468309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-04-26 08:15:58.468309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.488308 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: ea9d74c5-64c7-47f9-8036-72e9783891f2
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-04-26%2008%3A15%3A58
Event-Date-GMT: Wed,%2026%20Apr%202023%2006%3A15%3A58%20GMT
Event-Date-Timestamp: 1682489758468309
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 52519039
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31855004076%40185.249.40.253
Unique-ID: ed6b5235-1a0b-4275-a34e-faedce095175
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31855004076%40185.249.40.253
Channel-Call-UUID: ed6b5235-1a0b-4275-a34e-faedce095175
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 31855004076
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31855004076
Caller-Caller-ID-Number: 31855004076
Caller-Orig-Caller-ID-Name: 31855004076
Caller-Orig-Caller-ID-Number: 31855004076
Caller-Network-Addr: 185.249.40.253
Caller-ANI: 31855004076
Caller-Destination-Number: 31681405345
Caller-Unique-ID: ed6b5235-1a0b-4275-a34e-faedce095175
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/31855004076%40185.249.40.253
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1682489758468309
Caller-Channel-Created-Time: 1682489758468309
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: ed6b5235-1a0b-4275-a34e-faedce095175
variable_session_id: 635759
variable_sip_from_user: 31855004076
variable_sip_from_uri: 31855004076%40185.249.40.253
variable_sip_from_host: 185.249.40.253
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31855004076%40185.249.40.253
variable_sip_call_id: 02165EC6D181400000AE8942%40UDP_5060.sbc1.controlsbc.com
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.253
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1682489758468309
variable_sip_received_ip: 185.249.40.253
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 31855004076
variable_sip_from_tag: DB063030333033309BC20501
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_P-Asserted-Identity: 31855004076
variable_sip_cid_type: pid
variable_sip_full_route: %3Csip%3A185.249.40.236%3A5060%3Blr%3Btransport%3Dudp%3E
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.253%3A5060%3Bbranch%3Dz9hG4bKC07BE1A0D7CD4414CC1ECBDDCC3F82D0%3Brport%3D5060
variable_sip_from_display: 31855004076
variable_sip_full_from: %2231855004076%22%20%3Csip%3A31855004076%40185.249.40.253%3E%3Btag%3DDB063030333033309BC20501
variable_sip_full_to: %3Csip%3A31681405345%40185.249.40.236%3E
variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20UPDATE,%20REFER,%20SUBSCRIBE,%20NOTIFY
variable_sip_req_user: 31681405345
variable_sip_req_port: 5060
variable_sip_req_uri: 31681405345%40185.249.40.236%3A5060
variable_sip_req_host: 185.249.40.236
variable_sip_to_user: 31681405345
variable_sip_to_uri: 31681405345%40185.249.40.236
variable_sip_to_host: 185.249.40.236
variable_sip_contact_user: 31855004076
variable_sip_contact_port: 5060
variable_sip_contact_uri: 31855004076%40185.249.40.253%3A5060
variable_sip_contact_host: 185.249.40.253
variable_sip_user_agent: TBSIP
variable_sip_via_host: 185.249.40.253
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 64
variable_presence_id: 31855004076%40185.249.40.253
variable_sip_Privacy: none
variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%2016209510%201%20IN%20IP4%20185.249.40.253%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20185.249.40.253%0D%0At%3D0%200%0D%0Am%3Daudio%2038372%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G722
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.249.40.253
variable_remote_media_port: 38372
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: ed6b5235-1a0b-4275-a34e-faedce095175
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31855004076
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31855004076
Hunt-Caller-ID-Number: 31855004076
Hunt-Orig-Caller-ID-Name: 31855004076
Hunt-Orig-Caller-ID-Number: 31855004076
Hunt-Network-Addr: 185.249.40.253
Hunt-ANI: 31855004076
Hunt-Destination-Number: 31681405345
Hunt-Unique-ID: ed6b5235-1a0b-4275-a34e-faedce095175
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/31855004076%40185.249.40.253
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1682489758468309
Hunt-Channel-Created-Time: 1682489758468309
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31681405345
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31681405345' limit 1
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31681405345' AND status=0 limit 1
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31681405345' and status=0 LIMIT 1
2023-04-26 08:15:58.488308 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31855004076 / 31855004076
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31681405345" AND domains.domain="185.249.40.236" limit 1
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.249.40.253") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31681405345" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 740489]
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "740489" AND deleted = 0 limit 1
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31681405345.*' OR blocked_patterns = '^3168140534.*' OR blocked_patterns = '^316814053.*' OR blocked_patterns = '^31681405.*' OR blocked_patterns = '^3168140.*' OR blocked_patterns = '^316814.*' OR blocked_patterns = '^31681.*' OR blocked_patterns = '^3168.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 231 limit 1
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31681405345" AND (accountid = 0 OR status = 1) LIMIT 1
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [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 = '^31681405345.*' OR patterns = '^3168140534.*' OR patterns = '^316814053.*' OR patterns = '^31681405.*' OR patterns = '^3168140.*' OR patterns = '^316814.*' OR patterns = '^31681.*' OR patterns = '^3168.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 231 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" AND A.accountid = '231' limit 1
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31681405345
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31681405345" AND domains.domain="185.249.40.236" limit 1
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31681405345' OR number = '3168140534' OR number = '316814053' OR number = '31681405' OR number = '3168140' OR number = '316814' OR number = '31681' OR number = '3168' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31681405345*' OR number = '3168140534*' OR number = '316814053*' OR number = '31681405*' OR number = '3168140*' OR number = '316814*' OR number = '31681*' OR number = '3168*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31855004076' OR number = '3185500407' OR number = '318550040' OR number = '31855004' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855004076*' OR number = '3185500407*' OR number = '318550040*' OR number = '31855004*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31681405345' OR routing_prefix = '3168140534' OR routing_prefix = '316814053' OR routing_prefix = '31681405' OR routing_prefix = '3168140' OR routing_prefix = '316814' OR routing_prefix = '31681' OR routing_prefix = '3168' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 231
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 740489
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 0.1278
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=231) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 3590735
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland mobiel
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 231
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 7
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your0.1278 balance Accountid 231 !!!
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 1.0333333333333 minutes
2023-04-26 08:15:58.488308 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 3590735
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :7
2023-04-26 08:15:58.488308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,7),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 127133
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3168.*
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 1
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3168.*
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 7
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs new
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-04-26 08:15:58.508309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 231 AND status=0 LIMIT 1
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 1.0333333333333
2023-04-26 08:15:58.508309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2023-04-26 08:15:58.508309 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2023-04-26 08:15:58.508309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.508309 [DEBUG] switch_cpp.cpp:1447 [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 = 231) AND status=0 limit 1
2023-04-26 08:15:58.508309 [DEBUG] switch_cpp.cpp:1447 [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 = 7) AND status=0 limit 1
2023-04-26 08:15:58.508309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Anonymous CHECK:31855004076
2023-04-26 08:15:58.508309 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.508309 [DEBUG] switch_cpp.cpp:1447 [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="31681405345">
<condition field="destination_number" expression="31681405345">
<action application="set" data="effective_destination_number=31681405345"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+62 normal_clearing"/>
<action application="set" data="callstart=2023-04-26 06:15:58"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=231"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=SBC1.."/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231"/>
<action application="set" data="original_caller_id_name=31855004076"/>
<action application="set" data="original_caller_id_number=31855004076"/>
<action application="set" data="effective_caller_id_name=31855004076"/>
<action application="set" data="effective_caller_id_number=31855004076"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=231"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=3590735"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31681405345"/>
<action application="export" data="presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31855004076@185.249.40.253 parsing [default->31681405345] continue=false
Dialplan: sofia/default/31855004076@185.249.40.253 Regex (PASS) [31681405345] destination_number(31681405345) =~ /31681405345/ break=on-false
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_destination_number=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_data=+62 normal_clearing)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(callstart=2023-04-26 06:15:58)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(account_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(parent_id=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(entity_id=3)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_processed=internal)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_direction=outbound)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(accountname=SBC1..)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(calltype=STANDARD)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(trunk_id=7)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(provider_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(rate_flag=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(force_trunk_flag=3590735)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(intcall=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_id=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345)
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31855004076@185.249.40.253) State Change CS_ROUTING -> CS_EXECUTE
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING going to sleep
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_EXECUTE (Cur 5 Tot 635759)
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31855004076@185.249.40.253) State EXECUTE
2023-04-26 08:15:58.508309 [DEBUG] mod_sofia.c:209 sofia/default/31855004076@185.249.40.253 SOFIA EXECUTE
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:329 sofia/default/31855004076@185.249.40.253 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_destination_number=31681405345)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_destination_number]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_data=+62 normal_clearing)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_data]=[+62 normal_clearing]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(callstart=2023-04-26 06:15:58)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [callstart]=[2023-04-26 06:15:58]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(hangup_after_bridge=true)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(continue_on_fail=TRUE)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(account_id=231)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [account_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(parent_id=0)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(entity_id=3)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_processed=internal)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_direction=outbound)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(accountname=SBC1..)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [accountname]=[SBC1..]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(filename1=astpp.pbx.lua)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [origination_rates]=[ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_name=31855004076)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_number=31855004076)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_name=31855004076)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_number=31855004076)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(calltype=STANDARD)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [termination_rates]=[ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(trunk_id=7)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [trunk_id]=[7]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(provider_id=231)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [provider_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(rate_flag=0)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(force_trunk_flag=3590735)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [force_trunk_flag]=[3590735]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=trunk_id=7)
2023-04-26 08:15:58.508309 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=7]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(intcall=0)
2023-04-26 08:15:58.508309 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [intcall]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_id=31681405345)
2023-04-26 08:15:58.508309 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253)
2023-04-26 08:15:58.508309 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
2023-04-26 08:15:58.508309 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:58.508309 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_id]=[31681405345] to event
2023-04-26 08:15:58.508309 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:58.508309 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2023-04-26 08:15:58.508309 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2023-04-26 08:15:58.508309 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31681405345 [45f1f8d5-6c04-44cf-81d8-a8e8b2915b57]
2023-04-26 08:15:58.508309 [DEBUG] mod_sofia.c:5089 (sofia/default/31681405345) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_INIT (Cur 6 Tot 635760)
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT
2023-04-26 08:15:58.508309 [DEBUG] mod_sofia.c:93 sofia/default/31681405345 SOFIA INIT
2023-04-26 08:15:58.508309 [DEBUG] sofia_glue.c:1618 sofia/default/31681405345 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1682461642 1682461643 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 28116 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:40 sofia/default/31681405345 Standard INIT
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31681405345) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT going to sleep
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_ROUTING (Cur 6 Tot 635760)
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING
2023-04-26 08:15:58.508309 [DEBUG] mod_sofia.c:154 sofia/default/31681405345 SOFIA ROUTING
2023-04-26 08:15:58.508309 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31681405345) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING going to sleep
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 635760)
2023-04-26 08:15:58.508309 [DEBUG] sofia.c:7326 Channel sofia/default/31681405345 entering state [calling][0]
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA
2023-04-26 08:15:58.508309 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA going to sleep
2023-04-26 08:15:58.668309 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31855004076@185.249.40.253 [606a9cca-5301-4d51-b564-b779fefe2470]
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_NEW (Cur 7 Tot 635761)
2023-04-26 08:15:58.668309 [DEBUG] sofia.c:10280 sofia/default/31855004076@185.249.40.253 receiving invite from 185.249.40.253:5060 version: 1.10.5 -release-17-25569c1631 64bit
2023-04-26 08:15:58.668309 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.253:0.
2023-04-26 08:15:58.668309 [DEBUG] sofia.c:10403 IP 185.249.40.253 Approved by acl "default[]". Access Granted.
2023-04-26 08:15:58.668309 [DEBUG] sofia.c:7326 Channel sofia/default/31855004076@185.249.40.253 entering state [received][100]
2023-04-26 08:15:58.668309 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 16209515 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 38378 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2023-04-26 08:15:58.668309 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-04-26 08:15:58.668309 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-04-26 08:15:58.668309 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-04-26 08:15:58.668309 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2023-04-26 08:15:58.668309 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2023-04-26 08:15:58.668309 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31855004076@185.249.40.253 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-04-26 08:15:58.668309 [DEBUG] switch_core_codec.c:111 sofia/default/31855004076@185.249.40.253 Original read codec set to PCMA:8
2023-04-26 08:15:58.668309 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2023-04-26 08:15:58.668309 [DEBUG] switch_core_media.c:5911 sofia/default/31855004076@185.249.40.253 Set 2833 dtmf send payload to 101 recv payload to 101
2023-04-26 08:15:58.668309 [DEBUG] sofia.c:7760 (sofia/default/31855004076@185.249.40.253) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31855004076@185.249.40.253) State NEW
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_INIT (Cur 7 Tot 635761)
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31855004076@185.249.40.253) State INIT
2023-04-26 08:15:58.668309 [DEBUG] mod_sofia.c:93 sofia/default/31855004076@185.249.40.253 SOFIA INIT
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:40 sofia/default/31855004076@185.249.40.253 Standard INIT
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31855004076@185.249.40.253) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31855004076@185.249.40.253) State INIT going to sleep
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_ROUTING (Cur 7 Tot 635761)
2023-04-26 08:15:58.668309 [DEBUG] switch_channel.c:2332 (sofia/default/31855004076@185.249.40.253) Callstate Change DOWN -> RINGING
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING
2023-04-26 08:15:58.668309 [DEBUG] mod_sofia.c:154 sofia/default/31855004076@185.249.40.253 SOFIA ROUTING
2023-04-26 08:15:58.668309 [DEBUG] switch_core_state_machine.c:236 sofia/default/31855004076@185.249.40.253 Standard ROUTING
2023-04-26 08:15:58.668309 [INFO] mod_dialplan_xml.c:637 Processing 31855004076 <31855004076>->31681405345 in context default
2023-04-26 08:15:58.668309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-04-26 08:15:58.668309 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.688311 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: ea9d74c5-64c7-47f9-8036-72e9783891f2
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-04-26%2008%3A15%3A58
Event-Date-GMT: Wed,%2026%20Apr%202023%2006%3A15%3A58%20GMT
Event-Date-Timestamp: 1682489758668309
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 52519113
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31855004076%40185.249.40.253
Unique-ID: 606a9cca-5301-4d51-b564-b779fefe2470
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31855004076%40185.249.40.253
Channel-Call-UUID: 606a9cca-5301-4d51-b564-b779fefe2470
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 31855004076
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31855004076
Caller-Caller-ID-Number: 31855004076
Caller-Orig-Caller-ID-Name: 31855004076
Caller-Orig-Caller-ID-Number: 31855004076
Caller-Network-Addr: 185.249.40.253
Caller-ANI: 31855004076
Caller-Destination-Number: 31681405345
Caller-Unique-ID: 606a9cca-5301-4d51-b564-b779fefe2470
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/31855004076%40185.249.40.253
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1682489758668309
Caller-Channel-Created-Time: 1682489758668309
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 606a9cca-5301-4d51-b564-b779fefe2470
variable_session_id: 635761
variable_sip_from_user: 31855004076
variable_sip_from_uri: 31855004076%40185.249.40.253
variable_sip_from_host: 185.249.40.253
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31855004076%40185.249.40.253
variable_sip_call_id: 02165EC6D181400000AE8944%40UDP_5060.sbc1.controlsbc.com
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.253
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1682489758668309
variable_sip_received_ip: 185.249.40.253
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 31855004076
variable_sip_from_tag: 13E13030333033309DC20501
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_P-Asserted-Identity: 31855004076
variable_sip_cid_type: pid
variable_sip_full_route: %3Csip%3A185.249.40.236%3A5060%3Blr%3Btransport%3Dudp%3E
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.253%3A5060%3Bbranch%3Dz9hG4bKC8ACA6BA1E980C33FBCA8B44D9ADD8AC%3Brport%3D5060
variable_sip_from_display: 31855004076
variable_sip_full_from: %2231855004076%22%20%3Csip%3A31855004076%40185.249.40.253%3E%3Btag%3D13E13030333033309DC20501
variable_sip_full_to: %3Csip%3A31681405345%40185.249.40.236%3E
variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20UPDATE,%20REFER,%20SUBSCRIBE,%20NOTIFY
variable_sip_req_user: 31681405345
variable_sip_req_port: 5060
variable_sip_req_uri: 31681405345%40185.249.40.236%3A5060
variable_sip_req_host: 185.249.40.236
variable_sip_to_user: 31681405345
variable_sip_to_uri: 31681405345%40185.249.40.236
variable_sip_to_host: 185.249.40.236
variable_sip_contact_user: 31855004076
variable_sip_contact_port: 5060
variable_sip_contact_uri: 31855004076%40185.249.40.253%3A5060
variable_sip_contact_host: 185.249.40.253
variable_sip_user_agent: TBSIP
variable_sip_via_host: 185.249.40.253
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 61
variable_presence_id: 31855004076%40185.249.40.253
variable_sip_Privacy: none
variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%2016209515%201%20IN%20IP4%20185.249.40.253%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20185.249.40.253%0D%0At%3D0%200%0D%0Am%3Daudio%2038378%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G722
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.249.40.253
variable_remote_media_port: 38378
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: 606a9cca-5301-4d51-b564-b779fefe2470
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31855004076
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31855004076
Hunt-Caller-ID-Number: 31855004076
Hunt-Orig-Caller-ID-Name: 31855004076
Hunt-Orig-Caller-ID-Number: 31855004076
Hunt-Network-Addr: 185.249.40.253
Hunt-ANI: 31855004076
Hunt-Destination-Number: 31681405345
Hunt-Unique-ID: 606a9cca-5301-4d51-b564-b779fefe2470
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/31855004076%40185.249.40.253
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1682489758668309
Hunt-Channel-Created-Time: 1682489758668309
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-04-26 08:15:58.688311 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2023-04-26 08:15:58.688311 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2023-04-26 08:15:58.688311 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2023-04-26 08:15:58.688311 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2023-04-26 08:15:58.688311 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-04-26 08:15:58.688311 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31681405345
2023-04-26 08:15:58.688311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31681405345' limit 1
2023-04-26 08:15:58.688311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31681405345' AND status=0 limit 1
2023-04-26 08:15:58.688311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31681405345' and status=0 LIMIT 1
2023-04-26 08:15:58.688311 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2023-04-26 08:15:58.688311 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31855004076 / 31855004076
2023-04-26 08:15:58.688311 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.688311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31681405345" AND domains.domain="185.249.40.236" limit 1
2023-04-26 08:15:58.688311 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2023-04-26 08:15:58.688311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.249.40.253") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31681405345" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-04-26 08:15:58.688311 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 740489]
2023-04-26 08:15:58.688311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "740489" AND deleted = 0 limit 1
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31681405345.*' OR blocked_patterns = '^3168140534.*' OR blocked_patterns = '^316814053.*' OR blocked_patterns = '^31681405.*' OR blocked_patterns = '^3168140.*' OR blocked_patterns = '^316814.*' OR blocked_patterns = '^31681.*' OR blocked_patterns = '^3168.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 231 limit 1
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31681405345" AND (accountid = 0 OR status = 1) LIMIT 1
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [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 = '^31681405345.*' OR patterns = '^3168140534.*' OR patterns = '^316814053.*' OR patterns = '^31681405.*' OR patterns = '^3168140.*' OR patterns = '^316814.*' OR patterns = '^31681.*' OR patterns = '^3168.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 231 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" AND A.accountid = '231' limit 1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31681405345
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31681405345" AND domains.domain="185.249.40.236" limit 1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31681405345' OR number = '3168140534' OR number = '316814053' OR number = '31681405' OR number = '3168140' OR number = '316814' OR number = '31681' OR number = '3168' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31681405345*' OR number = '3168140534*' OR number = '316814053*' OR number = '31681405*' OR number = '3168140*' OR number = '316814*' OR number = '31681*' OR number = '3168*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31855004076' OR number = '3185500407' OR number = '318550040' OR number = '31855004' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855004076*' OR number = '3185500407*' OR number = '318550040*' OR number = '31855004*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31681405345' OR routing_prefix = '3168140534' OR routing_prefix = '316814053' OR routing_prefix = '31681405' OR routing_prefix = '3168140' OR routing_prefix = '316814' OR routing_prefix = '31681' OR routing_prefix = '3168' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 231
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 740489
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 0.1278
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=231) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 3590735
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland mobiel
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 231
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 7
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your0.1278 balance Accountid 231 !!!
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 1.0333333333333 minutes
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 3590735
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :7
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,7),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 127133
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3168.*
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3168.*
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 7
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs new
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 231 AND status=0 LIMIT 1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 1.0333333333333
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2023-04-26 08:15:58.708311 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [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 = 231) AND status=0 limit 1
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [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 = 7) AND status=0 limit 1
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Anonymous CHECK:31855004076
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.708311 [DEBUG] switch_cpp.cpp:1447 [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="31681405345">
<condition field="destination_number" expression="31681405345">
<action application="set" data="effective_destination_number=31681405345"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+62 normal_clearing"/>
<action application="set" data="callstart=2023-04-26 06:15:58"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=231"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=SBC1.."/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231"/>
<action application="set" data="original_caller_id_name=31855004076"/>
<action application="set" data="original_caller_id_number=31855004076"/>
<action application="set" data="effective_caller_id_name=31855004076"/>
<action application="set" data="effective_caller_id_number=31855004076"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=231"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=3590735"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31681405345"/>
<action application="export" data="presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31855004076@185.249.40.253 parsing [default->31681405345] continue=false
Dialplan: sofia/default/31855004076@185.249.40.253 Regex (PASS) [31681405345] destination_number(31681405345) =~ /31681405345/ break=on-false
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_destination_number=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_data=+62 normal_clearing)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(callstart=2023-04-26 06:15:58)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(account_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(parent_id=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(entity_id=3)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_processed=internal)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_direction=outbound)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(accountname=SBC1..)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(calltype=STANDARD)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(trunk_id=7)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(provider_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(rate_flag=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(force_trunk_flag=3590735)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(intcall=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_id=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345)
2023-04-26 08:15:58.708311 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31855004076@185.249.40.253) State Change CS_ROUTING -> CS_EXECUTE
2023-04-26 08:15:58.708311 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING going to sleep
2023-04-26 08:15:58.708311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_EXECUTE (Cur 7 Tot 635761)
2023-04-26 08:15:58.708311 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31855004076@185.249.40.253) State EXECUTE
2023-04-26 08:15:58.708311 [DEBUG] mod_sofia.c:209 sofia/default/31855004076@185.249.40.253 SOFIA EXECUTE
2023-04-26 08:15:58.708311 [DEBUG] switch_core_state_machine.c:329 sofia/default/31855004076@185.249.40.253 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_destination_number=31681405345)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_destination_number]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_data=+62 normal_clearing)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_data]=[+62 normal_clearing]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(callstart=2023-04-26 06:15:58)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [callstart]=[2023-04-26 06:15:58]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(hangup_after_bridge=true)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(continue_on_fail=TRUE)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(account_id=231)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [account_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(parent_id=0)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(entity_id=3)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_processed=internal)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_direction=outbound)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(accountname=SBC1..)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [accountname]=[SBC1..]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(filename1=astpp.pbx.lua)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [origination_rates]=[ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_name=31855004076)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_number=31855004076)
2023-04-26 08:15:58.708311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_name=31855004076)
2023-04-26 08:15:58.728314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_number=31855004076)
2023-04-26 08:15:58.728314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(calltype=STANDARD)
2023-04-26 08:15:58.728314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231)
2023-04-26 08:15:58.728314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [termination_rates]=[ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(trunk_id=7)
2023-04-26 08:15:58.728314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [trunk_id]=[7]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(provider_id=231)
2023-04-26 08:15:58.728314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [provider_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(rate_flag=0)
2023-04-26 08:15:58.728314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(force_trunk_flag=3590735)
2023-04-26 08:15:58.728314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [force_trunk_flag]=[3590735]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=trunk_id=7)
2023-04-26 08:15:58.728314 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=7]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(intcall=0)
2023-04-26 08:15:58.728314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [intcall]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_id=31681405345)
2023-04-26 08:15:58.728314 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253)
2023-04-26 08:15:58.728314 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
2023-04-26 08:15:58.728314 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:58.728314 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_id]=[31681405345] to event
2023-04-26 08:15:58.728314 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:58.728314 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2023-04-26 08:15:58.728314 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2023-04-26 08:15:58.728314 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31681405345 [df0a6153-6178-4e1b-9038-8cad1faacfc4]
2023-04-26 08:15:58.728314 [DEBUG] mod_sofia.c:5089 (sofia/default/31681405345) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_INIT (Cur 8 Tot 635762)
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT
2023-04-26 08:15:58.728314 [DEBUG] mod_sofia.c:93 sofia/default/31681405345 SOFIA INIT
2023-04-26 08:15:58.728314 [DEBUG] sofia_glue.c:1618 sofia/default/31681405345 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1682464940 1682464941 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 24818 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:40 sofia/default/31681405345 Standard INIT
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31681405345) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT going to sleep
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_ROUTING (Cur 8 Tot 635762)
2023-04-26 08:15:58.728314 [DEBUG] sofia.c:7326 Channel sofia/default/31681405345 entering state [calling][0]
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING
2023-04-26 08:15:58.728314 [DEBUG] mod_sofia.c:154 sofia/default/31681405345 SOFIA ROUTING
2023-04-26 08:15:58.728314 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31681405345) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING going to sleep
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 635762)
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA
2023-04-26 08:15:58.728314 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA going to sleep
2023-04-26 08:15:58.848312 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31855004076@185.249.40.253 [c4dfbbd7-11f4-444b-b3ea-ba85beff3245]
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_NEW (Cur 9 Tot 635763)
2023-04-26 08:15:58.848312 [DEBUG] sofia.c:10280 sofia/default/31855004076@185.249.40.253 receiving invite from 185.249.40.253:5060 version: 1.10.5 -release-17-25569c1631 64bit
2023-04-26 08:15:58.848312 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.253:0.
2023-04-26 08:15:58.848312 [DEBUG] sofia.c:10403 IP 185.249.40.253 Approved by acl "default[]". Access Granted.
2023-04-26 08:15:58.848312 [DEBUG] sofia.c:7326 Channel sofia/default/31855004076@185.249.40.253 entering state [received][100]
2023-04-26 08:15:58.848312 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 16209518 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 38384 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2023-04-26 08:15:58.848312 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-04-26 08:15:58.848312 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-04-26 08:15:58.848312 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-04-26 08:15:58.848312 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2023-04-26 08:15:58.848312 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2023-04-26 08:15:58.848312 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31855004076@185.249.40.253 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-04-26 08:15:58.848312 [DEBUG] switch_core_codec.c:111 sofia/default/31855004076@185.249.40.253 Original read codec set to PCMA:8
2023-04-26 08:15:58.848312 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2023-04-26 08:15:58.848312 [DEBUG] switch_core_media.c:5911 sofia/default/31855004076@185.249.40.253 Set 2833 dtmf send payload to 101 recv payload to 101
2023-04-26 08:15:58.848312 [DEBUG] sofia.c:7760 (sofia/default/31855004076@185.249.40.253) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31855004076@185.249.40.253) State NEW
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_INIT (Cur 9 Tot 635763)
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31855004076@185.249.40.253) State INIT
2023-04-26 08:15:58.848312 [DEBUG] mod_sofia.c:93 sofia/default/31855004076@185.249.40.253 SOFIA INIT
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:40 sofia/default/31855004076@185.249.40.253 Standard INIT
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31855004076@185.249.40.253) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31855004076@185.249.40.253) State INIT going to sleep
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_ROUTING (Cur 9 Tot 635763)
2023-04-26 08:15:58.848312 [DEBUG] switch_channel.c:2332 (sofia/default/31855004076@185.249.40.253) Callstate Change DOWN -> RINGING
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING
2023-04-26 08:15:58.848312 [DEBUG] mod_sofia.c:154 sofia/default/31855004076@185.249.40.253 SOFIA ROUTING
2023-04-26 08:15:58.848312 [DEBUG] switch_core_state_machine.c:236 sofia/default/31855004076@185.249.40.253 Standard ROUTING
2023-04-26 08:15:58.848312 [INFO] mod_dialplan_xml.c:637 Processing 31855004076 <31855004076>->31681405345 in context default
2023-04-26 08:15:58.848312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-04-26 08:15:58.848312 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.868334 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: ea9d74c5-64c7-47f9-8036-72e9783891f2
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-04-26%2008%3A15%3A58
Event-Date-GMT: Wed,%2026%20Apr%202023%2006%3A15%3A58%20GMT
Event-Date-Timestamp: 1682489758848312
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 52519187
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31855004076%40185.249.40.253
Unique-ID: c4dfbbd7-11f4-444b-b3ea-ba85beff3245
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31855004076%40185.249.40.253
Channel-Call-UUID: c4dfbbd7-11f4-444b-b3ea-ba85beff3245
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 31855004076
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31855004076
Caller-Caller-ID-Number: 31855004076
Caller-Orig-Caller-ID-Name: 31855004076
Caller-Orig-Caller-ID-Number: 31855004076
Caller-Network-Addr: 185.249.40.253
Caller-ANI: 31855004076
Caller-Destination-Number: 31681405345
Caller-Unique-ID: c4dfbbd7-11f4-444b-b3ea-ba85beff3245
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/31855004076%40185.249.40.253
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1682489758848312
Caller-Channel-Created-Time: 1682489758848312
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: c4dfbbd7-11f4-444b-b3ea-ba85beff3245
variable_session_id: 635763
variable_sip_from_user: 31855004076
variable_sip_from_uri: 31855004076%40185.249.40.253
variable_sip_from_host: 185.249.40.253
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31855004076%40185.249.40.253
variable_sip_call_id: 02165EC6D181400000AE8946%40UDP_5060.sbc1.controlsbc.com
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.253
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1682489758848312
variable_sip_received_ip: 185.249.40.253
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 31855004076
variable_sip_from_tag: F7D73030333033309FC20501
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_P-Asserted-Identity: 31855004076
variable_sip_cid_type: pid
variable_sip_full_route: %3Csip%3A185.249.40.236%3A5060%3Blr%3Btransport%3Dudp%3E
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.253%3A5060%3Bbranch%3Dz9hG4bK57C83C79A31EC231B4126A248176DD89%3Brport%3D5060
variable_sip_from_display: 31855004076
variable_sip_full_from: %2231855004076%22%20%3Csip%3A31855004076%40185.249.40.253%3E%3Btag%3DF7D73030333033309FC20501
variable_sip_full_to: %3Csip%3A31681405345%40185.249.40.236%3E
variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20UPDATE,%20REFER,%20SUBSCRIBE,%20NOTIFY
variable_sip_req_user: 31681405345
variable_sip_req_port: 5060
variable_sip_req_uri: 31681405345%40185.249.40.236%3A5060
variable_sip_req_host: 185.249.40.236
variable_sip_to_user: 31681405345
variable_sip_to_uri: 31681405345%40185.249.40.236
variable_sip_to_host: 185.249.40.236
variable_sip_contact_user: 31855004076
variable_sip_contact_port: 5060
variable_sip_contact_uri: 31855004076%40185.249.40.253%3A5060
variable_sip_contact_host: 185.249.40.253
variable_sip_user_agent: TBSIP
variable_sip_via_host: 185.249.40.253
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 58
variable_presence_id: 31855004076%40185.249.40.253
variable_sip_Privacy: none
variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%2016209518%201%20IN%20IP4%20185.249.40.253%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20185.249.40.253%0D%0At%3D0%200%0D%0Am%3Daudio%2038384%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G722
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.249.40.253
variable_remote_media_port: 38384
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: c4dfbbd7-11f4-444b-b3ea-ba85beff3245
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31855004076
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31855004076
Hunt-Caller-ID-Number: 31855004076
Hunt-Orig-Caller-ID-Name: 31855004076
Hunt-Orig-Caller-ID-Number: 31855004076
Hunt-Network-Addr: 185.249.40.253
Hunt-ANI: 31855004076
Hunt-Destination-Number: 31681405345
Hunt-Unique-ID: c4dfbbd7-11f4-444b-b3ea-ba85beff3245
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/31855004076%40185.249.40.253
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1682489758848312
Hunt-Channel-Created-Time: 1682489758848312
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-04-26 08:15:58.868334 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2023-04-26 08:15:58.868334 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2023-04-26 08:15:58.868334 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2023-04-26 08:15:58.868334 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2023-04-26 08:15:58.868334 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-04-26 08:15:58.868334 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31681405345
2023-04-26 08:15:58.868334 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31681405345' limit 1
2023-04-26 08:15:58.868334 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31681405345' AND status=0 limit 1
2023-04-26 08:15:58.868334 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31681405345' and status=0 LIMIT 1
2023-04-26 08:15:58.868334 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2023-04-26 08:15:58.868334 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31855004076 / 31855004076
2023-04-26 08:15:58.868334 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.868334 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31681405345" AND domains.domain="185.249.40.236" limit 1
2023-04-26 08:15:58.868334 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2023-04-26 08:15:58.868334 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.249.40.253") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31681405345" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-04-26 08:15:58.868334 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 740489]
2023-04-26 08:15:58.868334 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "740489" AND deleted = 0 limit 1
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31681405345.*' OR blocked_patterns = '^3168140534.*' OR blocked_patterns = '^316814053.*' OR blocked_patterns = '^31681405.*' OR blocked_patterns = '^3168140.*' OR blocked_patterns = '^316814.*' OR blocked_patterns = '^31681.*' OR blocked_patterns = '^3168.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 231 limit 1
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31681405345" AND (accountid = 0 OR status = 1) LIMIT 1
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [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 = '^31681405345.*' OR patterns = '^3168140534.*' OR patterns = '^316814053.*' OR patterns = '^31681405.*' OR patterns = '^3168140.*' OR patterns = '^316814.*' OR patterns = '^31681.*' OR patterns = '^3168.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 231 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" AND A.accountid = '231' limit 1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31681405345
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31681405345" AND domains.domain="185.249.40.236" limit 1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31681405345' OR number = '3168140534' OR number = '316814053' OR number = '31681405' OR number = '3168140' OR number = '316814' OR number = '31681' OR number = '3168' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31681405345*' OR number = '3168140534*' OR number = '316814053*' OR number = '31681405*' OR number = '3168140*' OR number = '316814*' OR number = '31681*' OR number = '3168*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31855004076' OR number = '3185500407' OR number = '318550040' OR number = '31855004' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855004076*' OR number = '3185500407*' OR number = '318550040*' OR number = '31855004*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31681405345' OR routing_prefix = '3168140534' OR routing_prefix = '316814053' OR routing_prefix = '31681405' OR routing_prefix = '3168140' OR routing_prefix = '316814' OR routing_prefix = '31681' OR routing_prefix = '3168' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 231
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 740489
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 0.1278
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=231) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 3590735
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland mobiel
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 231
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 7
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your0.1278 balance Accountid 231 !!!
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 1.0333333333333 minutes
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 3590735
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :7
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,7),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 127133
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3168.*
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3168.*
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 7
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs new
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 231 AND status=0 LIMIT 1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 1.0333333333333
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2023-04-26 08:15:58.888313 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [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 = 231) AND status=0 limit 1
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [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 = 7) AND status=0 limit 1
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Anonymous CHECK:31855004076
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:58.888313 [DEBUG] switch_cpp.cpp:1447 [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="31681405345">
<condition field="destination_number" expression="31681405345">
<action application="set" data="effective_destination_number=31681405345"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+62 normal_clearing"/>
<action application="set" data="callstart=2023-04-26 06:15:58"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=231"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=SBC1.."/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231"/>
<action application="set" data="original_caller_id_name=31855004076"/>
<action application="set" data="original_caller_id_number=31855004076"/>
<action application="set" data="effective_caller_id_name=31855004076"/>
<action application="set" data="effective_caller_id_number=31855004076"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=231"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=3590735"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31681405345"/>
<action application="export" data="presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31855004076@185.249.40.253 parsing [default->31681405345] continue=false
Dialplan: sofia/default/31855004076@185.249.40.253 Regex (PASS) [31681405345] destination_number(31681405345) =~ /31681405345/ break=on-false
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_destination_number=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_data=+62 normal_clearing)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(callstart=2023-04-26 06:15:58)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(account_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(parent_id=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(entity_id=3)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_processed=internal)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_direction=outbound)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(accountname=SBC1..)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(calltype=STANDARD)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(trunk_id=7)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(provider_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(rate_flag=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(force_trunk_flag=3590735)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(intcall=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_id=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345)
2023-04-26 08:15:58.888313 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31855004076@185.249.40.253) State Change CS_ROUTING -> CS_EXECUTE
2023-04-26 08:15:58.888313 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING going to sleep
2023-04-26 08:15:58.888313 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_EXECUTE (Cur 9 Tot 635763)
2023-04-26 08:15:58.888313 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31855004076@185.249.40.253) State EXECUTE
2023-04-26 08:15:58.888313 [DEBUG] mod_sofia.c:209 sofia/default/31855004076@185.249.40.253 SOFIA EXECUTE
2023-04-26 08:15:58.888313 [DEBUG] switch_core_state_machine.c:329 sofia/default/31855004076@185.249.40.253 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_destination_number=31681405345)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_destination_number]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_data=+62 normal_clearing)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_data]=[+62 normal_clearing]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(callstart=2023-04-26 06:15:58)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [callstart]=[2023-04-26 06:15:58]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(hangup_after_bridge=true)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(continue_on_fail=TRUE)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(account_id=231)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [account_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(parent_id=0)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(entity_id=3)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_processed=internal)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_direction=outbound)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(accountname=SBC1..)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [accountname]=[SBC1..]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(filename1=astpp.pbx.lua)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [origination_rates]=[ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_name=31855004076)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_number=31855004076)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_name=31855004076)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_number=31855004076)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(calltype=STANDARD)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231)
2023-04-26 08:15:58.888313 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [termination_rates]=[ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(trunk_id=7)
2023-04-26 08:15:58.908314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [trunk_id]=[7]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(provider_id=231)
2023-04-26 08:15:58.908314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [provider_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(rate_flag=0)
2023-04-26 08:15:58.908314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(force_trunk_flag=3590735)
2023-04-26 08:15:58.908314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [force_trunk_flag]=[3590735]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=trunk_id=7)
2023-04-26 08:15:58.908314 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=7]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(intcall=0)
2023-04-26 08:15:58.908314 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [intcall]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_id=31681405345)
2023-04-26 08:15:58.908314 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253)
2023-04-26 08:15:58.908314 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
2023-04-26 08:15:58.908314 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:58.908314 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_id]=[31681405345] to event
2023-04-26 08:15:58.908314 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:58.908314 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2023-04-26 08:15:58.908314 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2023-04-26 08:15:58.908314 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31681405345 [80322c59-e289-4636-b511-6fe3b444f2d2]
2023-04-26 08:15:58.908314 [DEBUG] mod_sofia.c:5089 (sofia/default/31681405345) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_INIT (Cur 10 Tot 635764)
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT
2023-04-26 08:15:58.908314 [DEBUG] mod_sofia.c:93 sofia/default/31681405345 SOFIA INIT
2023-04-26 08:15:58.908314 [DEBUG] sofia_glue.c:1618 sofia/default/31681405345 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1682472284 1682472285 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 17474 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:40 sofia/default/31681405345 Standard INIT
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31681405345) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT going to sleep
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_ROUTING (Cur 10 Tot 635764)
2023-04-26 08:15:58.908314 [DEBUG] sofia.c:7326 Channel sofia/default/31681405345 entering state [calling][0]
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING
2023-04-26 08:15:58.908314 [DEBUG] mod_sofia.c:154 sofia/default/31681405345 SOFIA ROUTING
2023-04-26 08:15:58.908314 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31681405345) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING going to sleep
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 635764)
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA
2023-04-26 08:15:58.908314 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA going to sleep
2023-04-26 08:15:59.028311 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31855004076@185.249.40.253 [7455827a-873d-4eb8-ae95-316be88b4d5f]
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_NEW (Cur 11 Tot 635765)
2023-04-26 08:15:59.028311 [DEBUG] sofia.c:10280 sofia/default/31855004076@185.249.40.253 receiving invite from 185.249.40.253:5060 version: 1.10.5 -release-17-25569c1631 64bit
2023-04-26 08:15:59.028311 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.253:0.
2023-04-26 08:15:59.028311 [DEBUG] sofia.c:10403 IP 185.249.40.253 Approved by acl "default[]". Access Granted.
2023-04-26 08:15:59.028311 [DEBUG] sofia.c:7326 Channel sofia/default/31855004076@185.249.40.253 entering state [received][100]
2023-04-26 08:15:59.028311 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 16209628 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 38390 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2023-04-26 08:15:59.028311 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-04-26 08:15:59.028311 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-04-26 08:15:59.028311 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-04-26 08:15:59.028311 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2023-04-26 08:15:59.028311 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2023-04-26 08:15:59.028311 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31855004076@185.249.40.253 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2023-04-26 08:15:59.028311 [DEBUG] switch_core_codec.c:111 sofia/default/31855004076@185.249.40.253 Original read codec set to PCMA:8
2023-04-26 08:15:59.028311 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2023-04-26 08:15:59.028311 [DEBUG] switch_core_media.c:5911 sofia/default/31855004076@185.249.40.253 Set 2833 dtmf send payload to 101 recv payload to 101
2023-04-26 08:15:59.028311 [DEBUG] sofia.c:7760 (sofia/default/31855004076@185.249.40.253) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31855004076@185.249.40.253) State NEW
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_INIT (Cur 11 Tot 635765)
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31855004076@185.249.40.253) State INIT
2023-04-26 08:15:59.028311 [DEBUG] mod_sofia.c:93 sofia/default/31855004076@185.249.40.253 SOFIA INIT
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:40 sofia/default/31855004076@185.249.40.253 Standard INIT
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31855004076@185.249.40.253) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31855004076@185.249.40.253) State INIT going to sleep
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_ROUTING (Cur 11 Tot 635765)
2023-04-26 08:15:59.028311 [DEBUG] switch_channel.c:2332 (sofia/default/31855004076@185.249.40.253) Callstate Change DOWN -> RINGING
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING
2023-04-26 08:15:59.028311 [DEBUG] mod_sofia.c:154 sofia/default/31855004076@185.249.40.253 SOFIA ROUTING
2023-04-26 08:15:59.028311 [DEBUG] switch_core_state_machine.c:236 sofia/default/31855004076@185.249.40.253 Standard ROUTING
2023-04-26 08:15:59.028311 [INFO] mod_dialplan_xml.c:637 Processing 31855004076 <31855004076>->31681405345 in context default
2023-04-26 08:15:59.028311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2023-04-26 08:15:59.028311 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:59.048308 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: ea9d74c5-64c7-47f9-8036-72e9783891f2
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2023-04-26%2008%3A15%3A59
Event-Date-GMT: Wed,%2026%20Apr%202023%2006%3A15%3A59%20GMT
Event-Date-Timestamp: 1682489759028311
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 52519261
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31855004076%40185.249.40.253
Unique-ID: 7455827a-873d-4eb8-ae95-316be88b4d5f
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31855004076%40185.249.40.253
Channel-Call-UUID: 7455827a-873d-4eb8-ae95-316be88b4d5f
Answer-State: ringing
Channel-Read-Codec-Name: PCMA
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMA
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 31855004076
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31855004076
Caller-Caller-ID-Number: 31855004076
Caller-Orig-Caller-ID-Name: 31855004076
Caller-Orig-Caller-ID-Number: 31855004076
Caller-Network-Addr: 185.249.40.253
Caller-ANI: 31855004076
Caller-Destination-Number: 31681405345
Caller-Unique-ID: 7455827a-873d-4eb8-ae95-316be88b4d5f
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/31855004076%40185.249.40.253
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1682489759028311
Caller-Channel-Created-Time: 1682489759028311
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: 7455827a-873d-4eb8-ae95-316be88b4d5f
variable_session_id: 635765
variable_sip_from_user: 31855004076
variable_sip_from_uri: 31855004076%40185.249.40.253
variable_sip_from_host: 185.249.40.253
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31855004076%40185.249.40.253
variable_sip_call_id: 02165EC6D281400000AE89B3%40UDP_5060.sbc1.controlsbc.com
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.253
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1682489759028311
variable_sip_received_ip: 185.249.40.253
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 31855004076
variable_sip_from_tag: 3F84303033303330A1C20501
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_P-Asserted-Identity: 31855004076
variable_sip_cid_type: pid
variable_sip_full_route: %3Csip%3A185.249.40.236%3A5060%3Blr%3Btransport%3Dudp%3E
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.253%3A5060%3Bbranch%3Dz9hG4bK9E06A18D443DFC3049B87A35660C3529%3Brport%3D5060
variable_sip_from_display: 31855004076
variable_sip_full_from: %2231855004076%22%20%3Csip%3A31855004076%40185.249.40.253%3E%3Btag%3D3F84303033303330A1C20501
variable_sip_full_to: %3Csip%3A31681405345%40185.249.40.236%3E
variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20UPDATE,%20REFER,%20SUBSCRIBE,%20NOTIFY
variable_sip_req_user: 31681405345
variable_sip_req_port: 5060
variable_sip_req_uri: 31681405345%40185.249.40.236%3A5060
variable_sip_req_host: 185.249.40.236
variable_sip_to_user: 31681405345
variable_sip_to_uri: 31681405345%40185.249.40.236
variable_sip_to_host: 185.249.40.236
variable_sip_contact_user: 31855004076
variable_sip_contact_port: 5060
variable_sip_contact_uri: 31855004076%40185.249.40.253%3A5060
variable_sip_contact_host: 185.249.40.253
variable_sip_user_agent: TBSIP
variable_sip_via_host: 185.249.40.253
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 55
variable_presence_id: 31855004076%40185.249.40.253
variable_sip_Privacy: none
variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%2016209628%201%20IN%20IP4%20185.249.40.253%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20185.249.40.253%0D%0At%3D0%200%0D%0Am%3Daudio%2038390%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU,G722
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.249.40.253
variable_remote_media_port: 38390
variable_rtp_audio_recv_pt: 8
variable_rtp_use_codec_name: PCMA
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
variable_read_codec: PCMA
variable_original_read_codec: PCMA
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMA
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: 7455827a-873d-4eb8-ae95-316be88b4d5f
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31855004076
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31855004076
Hunt-Caller-ID-Number: 31855004076
Hunt-Orig-Caller-ID-Name: 31855004076
Hunt-Orig-Caller-ID-Number: 31855004076
Hunt-Network-Addr: 185.249.40.253
Hunt-ANI: 31855004076
Hunt-Destination-Number: 31681405345
Hunt-Unique-ID: 7455827a-873d-4eb8-ae95-316be88b4d5f
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/31855004076%40185.249.40.253
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1682489759028311
Hunt-Channel-Created-Time: 1682489759028311
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: true
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2023-04-26 08:15:59.048308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2023-04-26 08:15:59.048308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2023-04-26 08:15:59.048308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2023-04-26 08:15:59.048308 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2023-04-26 08:15:59.048308 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2023-04-26 08:15:59.048308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31681405345
2023-04-26 08:15:59.048308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31681405345' limit 1
2023-04-26 08:15:59.048308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31681405345' AND status=0 limit 1
2023-04-26 08:15:59.048308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31681405345' and status=0 LIMIT 1
2023-04-26 08:15:59.048308 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2023-04-26 08:15:59.048308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31855004076 / 31855004076
2023-04-26 08:15:59.048308 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:59.048308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31681405345" AND domains.domain="185.249.40.236" limit 1
2023-04-26 08:15:59.048308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2023-04-26 08:15:59.048308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.249.40.253") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "31681405345" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2023-04-26 08:15:59.048308 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 740489]
2023-04-26 08:15:59.048308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "740489" AND deleted = 0 limit 1
2023-04-26 08:15:59.048308 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31681405345.*' OR blocked_patterns = '^3168140534.*' OR blocked_patterns = '^316814053.*' OR blocked_patterns = '^31681405.*' OR blocked_patterns = '^3168140.*' OR blocked_patterns = '^316814.*' OR blocked_patterns = '^31681.*' OR blocked_patterns = '^3168.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 231 limit 1
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31681405345" AND (accountid = 0 OR status = 1) LIMIT 1
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [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 = '^31681405345.*' OR patterns = '^3168140534.*' OR patterns = '^316814053.*' OR patterns = '^31681405.*' OR patterns = '^3168140.*' OR patterns = '^316814.*' OR patterns = '^31681.*' OR patterns = '^3168.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 231 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" AND A.accountid = '231' limit 1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31681405345
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31681405345" AND domains.domain="185.249.40.236" limit 1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31681405345' OR number = '3168140534' OR number = '316814053' OR number = '31681405' OR number = '3168140' OR number = '316814' OR number = '31681' OR number = '3168' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31681405345*' OR number = '3168140534*' OR number = '316814053*' OR number = '31681405*' OR number = '3168140*' OR number = '316814*' OR number = '31681*' OR number = '3168*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31855004076' OR number = '3185500407' OR number = '318550040' OR number = '31855004' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855004076*' OR number = '3185500407*' OR number = '318550040*' OR number = '31855004*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31681405345' OR routing_prefix = '3168140534' OR routing_prefix = '316814053' OR routing_prefix = '31681405' OR routing_prefix = '3168140' OR routing_prefix = '316814' OR routing_prefix = '31681' OR routing_prefix = '3168' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 231
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 740489
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 0.1278
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=231) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 3590735
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland mobiel
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 231
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 7
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your0.1278 balance Accountid 231 !!!
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 1.0333333333333 minutes
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 3590735
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :7
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31681405345.*' OR pattern = '^3168140534.*' OR pattern = '^316814053.*' OR pattern = '^31681405.*' OR pattern = '^3168140.*' OR pattern = '^316814.*' OR pattern = '^31681.*' OR pattern = '^3168.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (7) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,7),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 127133
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3168.*
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3168.*
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 7
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : SBC2
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs new
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 231 AND status=0 LIMIT 1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 1.0333333333333
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2023-04-26 08:15:59.068315 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [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 = 231) AND status=0 limit 1
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [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 = 7) AND status=0 limit 1
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Anonymous CHECK:31855004076
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [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 ="31681405345" LIMIT 1
2023-04-26 08:15:59.068315 [DEBUG] switch_cpp.cpp:1447 [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="31681405345">
<condition field="destination_number" expression="31681405345">
<action application="set" data="effective_destination_number=31681405345"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+62 normal_clearing"/>
<action application="set" data="callstart=2023-04-26 06:15:59"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=231"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=SBC1.."/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231"/>
<action application="set" data="original_caller_id_name=31855004076"/>
<action application="set" data="original_caller_id_number=31855004076"/>
<action application="set" data="effective_caller_id_name=31855004076"/>
<action application="set" data="effective_caller_id_number=31855004076"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=231"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=3590735"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31681405345"/>
<action application="export" data="presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31855004076@185.249.40.253 parsing [default->31681405345] continue=false
Dialplan: sofia/default/31855004076@185.249.40.253 Regex (PASS) [31681405345] destination_number(31681405345) =~ /31681405345/ break=on-false
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_destination_number=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(bridge_pre_execute_bleg_data=+62 normal_clearing)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(callstart=2023-04-26 06:15:59)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(account_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(parent_id=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(entity_id=3)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_processed=internal)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(call_direction=outbound)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(accountname=SBC1..)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(original_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_name=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(effective_caller_id_number=31855004076)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(calltype=STANDARD)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(trunk_id=7)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(provider_id=231)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(rate_flag=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(force_trunk_flag=3590735)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/31855004076@185.249.40.253 Action set(intcall=0)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_id=31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action export(presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
Dialplan: sofia/default/31855004076@185.249.40.253 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345)
2023-04-26 08:15:59.068315 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31855004076@185.249.40.253) State Change CS_ROUTING -> CS_EXECUTE
2023-04-26 08:15:59.068315 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31855004076@185.249.40.253) State ROUTING going to sleep
2023-04-26 08:15:59.068315 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31855004076@185.249.40.253) Running State Change CS_EXECUTE (Cur 11 Tot 635765)
2023-04-26 08:15:59.068315 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31855004076@185.249.40.253) State EXECUTE
2023-04-26 08:15:59.068315 [DEBUG] mod_sofia.c:209 sofia/default/31855004076@185.249.40.253 SOFIA EXECUTE
2023-04-26 08:15:59.068315 [DEBUG] switch_core_state_machine.c:329 sofia/default/31855004076@185.249.40.253 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_destination_number=31681405345)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_destination_number]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(bridge_pre_execute_bleg_data=+62 normal_clearing)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [bridge_pre_execute_bleg_data]=[+62 normal_clearing]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(callstart=2023-04-26 06:15:59)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [callstart]=[2023-04-26 06:15:59]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(hangup_after_bridge=true)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(continue_on_fail=TRUE)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(account_id=231)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [account_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(parent_id=0)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(entity_id=3)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_processed=internal)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(call_direction=outbound)
2023-04-26 08:15:59.068315 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(accountname=SBC1..)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [accountname]=[SBC1..]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(filename1=astpp.pbx.lua)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(origination_rates=ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [origination_rates]=[ID:3590735|CODE:^3168.*|DESTINATION:Nederland mobiel|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_name=31855004076)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(original_caller_id_number=31855004076)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [original_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_name=31855004076)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_name]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(effective_caller_id_number=31855004076)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [effective_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(calltype=STANDARD)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(termination_rates=ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [termination_rates]=[ID:127133|CODE:^3168.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:7|PROVIDER:231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(trunk_id=7)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [trunk_id]=[7]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(provider_id=231)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [provider_id]=[231]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(rate_flag=0)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(force_trunk_flag=3590735)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [force_trunk_flag]=[3590735]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=trunk_id=7)
2023-04-26 08:15:59.088311 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=7]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 set(intcall=0)
2023-04-26 08:15:59.088311 [DEBUG] mod_dptools.c:1672 SET sofia/default/31855004076@185.249.40.253 [intcall]=[0]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_id=31681405345)
2023-04-26 08:15:59.088311 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31681405345]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 export(presence_data=x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253)
2023-04-26 08:15:59.088311 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253]
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31681405345)
2023-04-26 08:15:59.088311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:59.088311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_id]=[31681405345] to event
2023-04-26 08:15:59.088311 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:59.088311 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2023-04-26 08:15:59.088311 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2023-04-26 08:15:59.088311 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31681405345 [1fc42a28-5270-4571-b1db-e122f497d7dd]
2023-04-26 08:15:59.088311 [DEBUG] mod_sofia.c:5089 (sofia/default/31681405345) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_INIT (Cur 12 Tot 635766)
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT
2023-04-26 08:15:59.088311 [DEBUG] mod_sofia.c:93 sofia/default/31681405345 SOFIA INIT
2023-04-26 08:15:59.088311 [DEBUG] sofia_glue.c:1618 sofia/default/31681405345 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1682467747 1682467748 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 22012 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:40 sofia/default/31681405345 Standard INIT
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31681405345) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT going to sleep
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_ROUTING (Cur 12 Tot 635766)
2023-04-26 08:15:59.088311 [DEBUG] sofia.c:7326 Channel sofia/default/31681405345 entering state [calling][0]
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING
2023-04-26 08:15:59.088311 [DEBUG] mod_sofia.c:154 sofia/default/31681405345 SOFIA ROUTING
2023-04-26 08:15:59.088311 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31681405345) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING going to sleep
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 635766)
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA
2023-04-26 08:15:59.088311 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA going to sleep
2023-04-26 08:15:59.108310 [DEBUG] sofia.c:7326 Channel sofia/default/31681405345 entering state [terminated][503]
2023-04-26 08:15:59.108310 [NOTICE] sofia.c:8559 Hangup sofia/default/31681405345 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_HANGUP (Cur 12 Tot 635766)
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31681405345) Callstate Change DOWN -> HANGUP
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31681405345) State HANGUP
2023-04-26 08:15:59.108310 [DEBUG] mod_sofia.c:453 Channel sofia/default/31681405345 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:60 sofia/default/31681405345 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31681405345) State HANGUP going to sleep
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31681405345) State Change CS_HANGUP -> CS_REPORTING
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_REPORTING (Cur 12 Tot 635766)
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31681405345) State REPORTING
2023-04-26 08:15:59.108310 [INFO] mod_json_cdr.c:271 Process [1fc42a28-5270-4571-b1db-e122f497d7dd.cdr.json]
2023-04-26 08:15:59.108310 [DEBUG] switch_ivr_originate.c:3995 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2023-04-26 08:15:59.108310 [INFO] mod_dptools.c:3631 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE [depth=0] sofia/default/31855004076@185.249.40.253 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31681405345)
2023-04-26 08:15:59.108310 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:59.108310 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_id]=[31681405345] to event
2023-04-26 08:15:59.108310 [DEBUG] switch_channel.c:1264 sofia/default/31855004076@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Carrier_two_trunks(740489)|||^3168.* // Nederland mobiel // 0.05400 |||SBCs new // ^3168.* // Netherlands Mobile // 0.00065 // trunk_id=7|||STD|||185.249.40.253] to event
2023-04-26 08:15:59.108310 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2023-04-26 08:15:59.108310 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2023-04-26 08:15:59.108310 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31681405345 [a59497e0-bc42-4631-88e1-bedd74053812]
2023-04-26 08:15:59.108310 [DEBUG] mod_sofia.c:5089 (sofia/default/31681405345) State Change CS_NEW -> CS_INIT
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_INIT (Cur 13 Tot 635767)
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT
2023-04-26 08:15:59.108310 [DEBUG] mod_sofia.c:93 sofia/default/31681405345 SOFIA INIT
2023-04-26 08:15:59.108310 [DEBUG] sofia_glue.c:1618 sofia/default/31681405345 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1682466783 1682466784 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 22976 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:40 sofia/default/31681405345 Standard INIT
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31681405345) State Change CS_INIT -> CS_ROUTING
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31681405345) State INIT going to sleep
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_ROUTING (Cur 13 Tot 635767)
2023-04-26 08:15:59.108310 [DEBUG] sofia.c:7326 Channel sofia/default/31681405345 entering state [calling][0]
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING
2023-04-26 08:15:59.108310 [DEBUG] mod_sofia.c:154 sofia/default/31681405345 SOFIA ROUTING
2023-04-26 08:15:59.108310 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31681405345) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31681405345) State ROUTING going to sleep
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31681405345) Running State Change CS_CONSUME_MEDIA (Cur 13 Tot 635767)
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA
2023-04-26 08:15:59.108310 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31681405345) State CONSUME_MEDIA going to sleep
2023-04-26 08:15:59.208316 [DEBUG] switch_core_state_machine.c:174 sofia/default/31681405345 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2023-04-26 08:15:59.208316 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31681405345) State REPORTING going to sleep
2023-04-26 08:15:59.208316 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31681405345) State Change CS_REPORTING -> CS_DESTROY
2023-04-26 08:15:59.208316 [DEBUG] switch_core_session.c:1726 Session 635766 (sofia/default/31681405345) Locked, Waiting on external entities
2023-04-26 08:15:59.208316 [NOTICE] switch_core_session.c:1744 Session 635766 (sofia/default/31681405345) Ended
2023-04-26 08:15:59.208316 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31681405345 [CS_DESTROY]
2023-04-26 08:15:59.208316 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31681405345) Running State Change CS_DESTROY (Cur 12 Tot 635767)
2023-04-26 08:15:59.208316 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31681405345) State DESTROY
2023-04-26 08:15:59.208316 [DEBUG] mod_sofia.c:364 sofia/default/31681405345 SOFIA DESTROY
2023-04-26 08:15:59.208316 [DEBUG] switch_core_state_machine.c:181 sofia/default/31681405345 Standard DESTROY
2023-04-26 08:15:59.208316 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31681405345) State DESTROY going to sleep
2023-04-26 08:16:00.648306 [WARNING] switch_core_state_machine.c:688 22687882-9a23-4150-8004-36e2c074dc24 sofia/default/604@185.249.40.236 Abandoned
2023-04-26 08:16:00.648306 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/604@185.249.40.236 [CS_NEW] [WRONG_CALL_STATE]
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:585 (sofia/default/604@185.249.40.236) Running State Change CS_HANGUP (Cur 12 Tot 635767)
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:848 (sofia/default/604@185.249.40.236) Callstate Change DOWN -> HANGUP
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:850 (sofia/default/604@185.249.40.236) State HANGUP
2023-04-26 08:16:00.648306 [DEBUG] mod_sofia.c:453 Channel sofia/default/604@185.249.40.236 hanging up, cause: WRONG_CALL_STATE
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:60 sofia/default/604@185.249.40.236 Standard HANGUP, cause: WRONG_CALL_STATE
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:850 (sofia/default/604@185.249.40.236) State HANGUP going to sleep
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:620 (sofia/default/604@185.249.40.236) State Change CS_HANGUP -> CS_REPORTING
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:585 (sofia/default/604@185.249.40.236) Running State Change CS_REPORTING (Cur 12 Tot 635767)
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:936 (sofia/default/604@185.249.40.236) State REPORTING
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:174 sofia/default/604@185.249.40.236 Standard REPORTING, cause: WRONG_CALL_STATE
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:936 (sofia/default/604@185.249.40.236) State REPORTING going to sleep
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:611 (sofia/default/604@185.249.40.236) State Change CS_REPORTING -> CS_DESTROY
2023-04-26 08:16:00.648306 [DEBUG] switch_core_session.c:1726 Session 635755 (sofia/default/604@185.249.40.236) Locked, Waiting on external entities
2023-04-26 08:16:00.648306 [NOTICE] switch_core_session.c:1744 Session 635755 (sofia/default/604@185.249.40.236) Ended
2023-04-26 08:16:00.648306 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/604@185.249.40.236 [CS_DESTROY]
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:739 (sofia/default/604@185.249.40.236) Running State Change CS_DESTROY (Cur 11 Tot 635767)
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:749 (sofia/default/604@185.249.40.236) State DESTROY
2023-04-26 08:16:00.648306 [DEBUG] mod_sofia.c:364 sofia/default/604@185.249.40.236 SOFIA DESTROY
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:181 sofia/default/604@185.249.40.236 Standard DESTROY
2023-04-26 08:16:00.648306 [DEBUG] switch_core_state_machine.c:749 (sofia/default/604@185.249.40.236) State DESTROY going to sleep
2023-04-26 08:16:01.008305 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [401@00135296.yoursipcloud.com] from ip 94.213.239.234
2023-04-26 08:16:01.008305 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [402@00135296.yoursipcloud.com] from ip 94.213.239.234
2023-04-26 08:16:01.008305 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [403@00135296.yoursipcloud.com] from ip 94.213.239.234
2023-04-26 08:16:01.008305 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [404@00135296.yoursipcloud.com] from ip 94.213.239.234
2023-04-26 08:16:02.588305 [WARNING] switch_core_state_machine.c:688 3185627e-0794-4585-ac44-bb2d068f93cb sofia/default/4782@185.249.40.236 Abandoned
2023-04-26 08:16:02.588305 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/4782@185.249.40.236 [CS_NEW] [WRONG_CALL_STATE]
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4782@185.249.40.236) Running State Change CS_HANGUP (Cur 11 Tot 635767)
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:848 (sofia/default/4782@185.249.40.236) Callstate Change DOWN -> HANGUP
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4782@185.249.40.236) State HANGUP
2023-04-26 08:16:02.588305 [DEBUG] mod_sofia.c:453 Channel sofia/default/4782@185.249.40.236 hanging up, cause: WRONG_CALL_STATE
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:60 sofia/default/4782@185.249.40.236 Standard HANGUP, cause: WRONG_CALL_STATE
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4782@185.249.40.236) State HANGUP going to sleep
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:620 (sofia/default/4782@185.249.40.236) State Change CS_HANGUP -> CS_REPORTING
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4782@185.249.40.236) Running State Change CS_REPORTING (Cur 11 Tot 635767)
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4782@185.249.40.236) State REPORTING
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:174 sofia/default/4782@185.249.40.236 Standard REPORTING, cause: WRONG_CALL_STATE
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4782@185.249.40.236) State REPORTING going to sleep
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:611 (sofia/default/4782@185.249.40.236) State Change CS_REPORTING -> CS_DESTROY
2023-04-26 08:16:02.588305 [DEBUG] switch_core_session.c:1726 Session 635756 (sofia/default/4782@185.249.40.236) Locked, Waiting on external entities
2023-04-26 08:16:02.588305 [NOTICE] switch_core_session.c:1744 Session 635756 (sofia/default/4782@185.249.40.236) Ended
2023-04-26 08:16:02.588305 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/4782@185.249.40.236 [CS_DESTROY]
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:739 (sofia/default/4782@185.249.40.236) Running State Change CS_DESTROY (Cur 10 Tot 635767)
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4782@185.249.40.236) State DESTROY
2023-04-26 08:16:02.588305 [DEBUG] mod_sofia.c:364 sofia/default/4782@185.249.40.236 SOFIA DESTROY
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:181 sofia/default/4782@185.249.40.236 Standard DESTROY
2023-04-26 08:16:02.588305 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4782@185.249.40.236) State DESTROY going to sleep
2023-04-26 08:16:08.268307 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [7985166681@136056.yoursipcloud.com] from ip 62.250.201.207
2023-04-26 08:16:08.868304 [NOTICE] switch_channel.c:1118 New Channel sofia/default/704@185.249.40.236 [ce5607ca-4f30-4461-aaea-73bff2194901]
2023-04-26 08:16:08.868304 [DEBUG] switch_core_state_machine.c:585 (sofia/default/704@185.249.40.236) Running State Change CS_NEW (Cur 11 Tot 635768)
2023-04-26 08:16:08.868304 [DEBUG] sofia.c:10280 sofia/default/704@185.249.