2022-06-13 12:19:29.721868 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.132 [e640ccab-9c00-4294-ba0f-0b7e6d8fc25a]
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_NEW (Cur 15 Tot 2596)
2022-06-13 12:19:29.721868 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.132 receiving invite from 185.249.40.132:5060 version: 1.10.5 -release-17-25569c1631 64bit
2022-06-13 12:19:29.721868 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.132:0.
2022-06-13 12:19:29.721868 [DEBUG] sofia.c:10403 IP 185.249.40.132 Approved by acl "default[]". Access Granted.
2022-06-13 12:19:29.721868 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [received][100]
2022-06-13 12:19:29.721868 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=root 1456421798 1456421798 IN IP4 185.249.40.132
s=Asterisk PBX 1.8.32.11
c=IN IP4 185.249.40.132
t=0 0
m=audio 18370 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2022-06-13 12:19:29.721868 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:29.721868 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-06-13 12:19:29.721868 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:29.721868 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-06-13 12:19:29.721868 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.132 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-06-13 12:19:29.721868 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.132 Original read codec set to PCMA:8
2022-06-13 12:19:29.721868 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-06-13 12:19:29.721868 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf send payload to 101 recv payload to 101
2022-06-13 12:19:29.721868 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.132) State Change CS_NEW -> CS_INIT
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.132) State NEW
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_INIT (Cur 15 Tot 2596)
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.132) State INIT
2022-06-13 12:19:29.721868 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.132 SOFIA INIT
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.132 Standard INIT
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.132) State Change CS_INIT -> CS_ROUTING
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.132) State INIT going to sleep
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_ROUTING (Cur 15 Tot 2596)
2022-06-13 12:19:29.721868 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.132) Callstate Change DOWN -> RINGING
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.132) State ROUTING
2022-06-13 12:19:29.721868 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.132 SOFIA ROUTING
2022-06-13 12:19:29.721868 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.132 Standard ROUTING
2022-06-13 12:19:29.721868 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31855004076 in context default
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-13 12:19:29.721868 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 87eddfe4-ad11-49ec-a04d-034175b79a25
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-06-13%2012%3A19%3A29
Event-Date-GMT: Mon,%2013%20Jun%202022%2010%3A19%3A29%20GMT
Event-Date-Timestamp: 1655115569721868
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 274807
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31652033157%40185.249.40.132
Unique-ID: e640ccab-9c00-4294-ba0f-0b7e6d8fc25a
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31652033157%40185.249.40.132
Channel-Call-UUID: e640ccab-9c00-4294-ba0f-0b7e6d8fc25a
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: 31652033157
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31652033157
Caller-Caller-ID-Number: 31652033157
Caller-Orig-Caller-ID-Name: 31652033157
Caller-Orig-Caller-ID-Number: 31652033157
Caller-Network-Addr: 185.249.40.132
Caller-ANI: 31652033157
Caller-Destination-Number: 31855004076
Caller-Unique-ID: e640ccab-9c00-4294-ba0f-0b7e6d8fc25a
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/31652033157%40185.249.40.132
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1655115569721868
Caller-Channel-Created-Time: 1655115569721868
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: e640ccab-9c00-4294-ba0f-0b7e6d8fc25a
variable_session_id: 2596
variable_sip_from_user: 31652033157
variable_sip_from_uri: 31652033157%40185.249.40.132
variable_sip_from_host: 185.249.40.132
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31652033157%40185.249.40.132
variable_sip_call_id: 5fc12fca3731a1a636ef07c9771a148a%40185.249.40.132%3A5060
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.132
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1655115569721868
variable_sip_received_ip: 185.249.40.132
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: 31652033157
variable_sip_from_tag: as52c9046c
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: 31652033157
variable_sip_cid_type: pid
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.132%3A5060%3Bbranch%3Dz9hG4bK37378cf8
variable_sip_from_display: 31652033157
variable_sip_full_from: %2231652033157%22%20%3Csip%3A31652033157%40185.249.40.132%3E%3Btag%3Das52c9046c
variable_sip_full_to: %3Csip%3A31855004076%40185.249.40.236%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
variable_sip_req_user: 31855004076
variable_sip_req_port: 5060
variable_sip_req_uri: 31855004076%40185.249.40.236%3A5060
variable_sip_req_host: 185.249.40.236
variable_sip_to_user: 31855004076
variable_sip_to_port: 5060
variable_sip_to_uri: 31855004076%40185.249.40.236%3A5060
variable_sip_to_host: 185.249.40.236
variable_sip_contact_user: 31652033157
variable_sip_contact_port: 5060
variable_sip_contact_uri: 31652033157%40185.249.40.132%3A5060
variable_sip_contact_host: 185.249.40.132
variable_sip_user_agent: MOR%20Softswitch
variable_sip_via_host: 185.249.40.132
variable_sip_via_port: 5060
variable_max_forwards: 70
variable_presence_id: 31652033157%40185.249.40.132
variable_sip_Privacy: none
variable_sip_h_Diversion: %3Csip%3A31855004076%40185.249.40.132%3E%3Breason%3Dunknown
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201456421798%201456421798%20IN%20IP4%20185.249.40.132%0D%0As%3DAsterisk%20PBX%201.8.32.11%0D%0Ac%3DIN%20IP4%20185.249.40.132%0D%0At%3D0%200%0D%0Am%3Daudio%2018370%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.249.40.132
variable_remote_media_port: 18370
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: e640ccab-9c00-4294-ba0f-0b7e6d8fc25a
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31652033157
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31652033157
Hunt-Caller-ID-Number: 31652033157
Hunt-Orig-Caller-ID-Name: 31652033157
Hunt-Orig-Caller-ID-Number: 31652033157
Hunt-Network-Addr: 185.249.40.132
Hunt-ANI: 31652033157
Hunt-Destination-Number: 31855004076
Hunt-Unique-ID: e640ccab-9c00-4294-ba0f-0b7e6d8fc25a
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/31652033157%40185.249.40.132
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1655115569721868
Hunt-Channel-Created-Time: 1655115569721868
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
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31855004076
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31855004076' limit 1
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31855004076' AND status=0 limit 1
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31855004076' and status=0 LIMIT 1
2022-06-13 12:19:29.721868 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31652033157 / 31652033157
2022-06-13 12:19:29.721868 [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 ="31855004076" LIMIT 1
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
2022-06-13 12:19:29.721868 [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.132") 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 "31855004076" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 9712192016]
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9712192016" AND deleted = 0 limit 1
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31855004076" AND (accountid = 0 OR status = 1) LIMIT 1
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 160
2022-06-13 12:19:29.721868 [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 = '^31855004076.*' OR patterns = '^3185500407.*' OR patterns = '^318550040.*' OR patterns = '^31855004.*' OR patterns = '^3185500.*' OR patterns = '^318550.*' OR patterns = '^31855.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-06-13 12:19:29.721868 [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 ="31855004076" AND A.accountid = '7' limit 1
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31855004076
2022-06-13 12:19:29.721868 [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 ="31855004076" LIMIT 1
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
2022-06-13 12:19:29.721868 [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 = '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 ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31855004076' OR routing_prefix = '3185500407' OR routing_prefix = '318550040' OR routing_prefix = '31855004' OR routing_prefix = '3185500' OR routing_prefix = '318550' OR routing_prefix = '31855' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 7
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 9712192016
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2022-06-13 12:19:29.721868 [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 ="31855004076" LIMIT 1
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : inbound
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 183
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31855004076
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 7
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 7 !!!
2022-06-13 12:19:29.721868 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2022-06-13 12:19:29.721868 [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 = 7 AND status=0 LIMIT 1
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:7
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:7
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 7
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
2022-06-13 12:19:29.721868 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : 134271.yoursipcloud.com
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
2022-06-13 12:19:29.721868 [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 = "42" AND accounts.status = 0
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
2022-06-13 12:19:29.721868 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : 134271.yoursipcloud.com
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 160 and status = 0 limit 1
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : 7
2022-06-13 12:19:29.721868 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : Ring Group
2022-06-13 12:19:29.721868 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 42 and status = 0 LIMIT 1
2022-06-13 12:19:29.761810 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
2022-06-13 12:19:29.761810 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
2022-06-13 12:19:29.761810 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "100"
2022-06-13 12:19:29.761810 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Recording Flag : 1
2022-06-13 12:19:29.761810 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Dlr Str : [sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|
2022-06-13 12:19:29.761810 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
2022-06-13 12:19:29.761810 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2022-06-13 12:19:29.761810 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2022-06-13 12:19:29.761810 [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="31855004076">
<condition field="destination_number" expression="31855004076">
<action application="set" data="effective_destination_number=31855004076"/>
<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=2022-06-13 10:19:29"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=7"/>
<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=ip"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:183|CODE:^31855004076.*|DESTINATION:31855004076|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=31652033157"/>
<action application="set" data="original_caller_id_number=31652033157"/>
<action application="limit" data="db 9712192016 user_9712192016 10 "/>
<action application="set" data="effective_caller_id_name=31652033157"/>
<action application="set" data="effective_caller_id_number=31652033157"/>
<action application="set" data="receiver_accid=160"/>
<action application="export" data="domain_name=134271.yoursipcloud.com"/>
<action application="export" data="sip_to_host=134271.yoursipcloud.com"/>
<action application="export" data="presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132"/>
<action application="export" data="call_type=7"/>
<action application="set" data="did_calltype=7"/>
<action application="set" data="did_extensions=42"/>
<action application="set" data="sip_h_P-ring_timeout=5"/>
<action application="set" data="group_confirm_key=exec"/>
<action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
<action application="set" data="ringback="/>
<action application="set" data="module_name=pbx"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/42/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="export" data="ring_group_transfer=true"/>
<action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|"/>
<action application="set" data="original_did_number=31855004076"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31652033157@185.249.40.132 parsing [default->31855004076] continue=false
Dialplan: sofia/default/31652033157@185.249.40.132 Regex (PASS) [31855004076] destination_number(31855004076) =~ /31855004076/ break=on-false
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_destination_number=31855004076)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(callstart=2022-06-13 10:19:29)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(account_id=7)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(parent_id=0)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(entity_id=3)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(call_processed=internal)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(call_direction=inbound)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(accountname=ip)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(origination_rates_did=ID:183|CODE:^31855004076.*|DESTINATION:31855004076|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(origination_rates=0)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_caller_id_name=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_caller_id_number=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.132 Action limit(db 9712192016 user_9712192016 10 )
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_caller_id_name=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(effective_caller_id_number=31652033157)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(receiver_accid=160)
Dialplan: sofia/default/31652033157@185.249.40.132 Action export(domain_name=134271.yoursipcloud.com)
Dialplan: sofia/default/31652033157@185.249.40.132 Action export(sip_to_host=134271.yoursipcloud.com)
Dialplan: sofia/default/31652033157@185.249.40.132 Action export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132)
Dialplan: sofia/default/31652033157@185.249.40.132 Action export(call_type=7)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(did_calltype=7)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(did_extensions=42)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(sip_h_P-ring_timeout=5)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(group_confirm_key=exec)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(ringback=)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(module_name=pbx)
Dialplan: sofia/default/31652033157@185.249.40.132 Action db(insert/pickup_any_group_${callgroup}/42/${uuid})
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/31652033157@185.249.40.132 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/31652033157@185.249.40.132 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/31652033157@185.249.40.132 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/31652033157@185.249.40.132 Action export(ring_group_transfer=true)
Dialplan: sofia/default/31652033157@185.249.40.132 Action bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
Dialplan: sofia/default/31652033157@185.249.40.132 Action set(original_did_number=31855004076)
2022-06-13 12:19:29.761810 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.132) State Change CS_ROUTING -> CS_EXECUTE
2022-06-13 12:19:29.761810 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.132) State ROUTING going to sleep
2022-06-13 12:19:29.761810 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.132) Running State Change CS_EXECUTE (Cur 15 Tot 2596)
2022-06-13 12:19:29.761810 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.132) State EXECUTE
2022-06-13 12:19:29.761810 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.132 SOFIA EXECUTE
2022-06-13 12:19:29.761810 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.132 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_destination_number=31855004076)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_destination_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(callstart=2022-06-13 10:19:29)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [callstart]=[2022-06-13 10:19:29]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(hangup_after_bridge=true)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(continue_on_fail=TRUE)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(account_id=7)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [account_id]=[7]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(parent_id=0)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(entity_id=3)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(call_processed=internal)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(call_direction=inbound)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(accountname=ip)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [accountname]=[ip]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(filename1=astpp.pbx.lua)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(origination_rates_did=ID:183|CODE:^31855004076.*|DESTINATION:31855004076|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [origination_rates_did]=[ID:183|CODE:^31855004076.*|DESTINATION:31855004076|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(origination_rates=0)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(original_caller_id_name=31652033157)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [original_caller_id_name]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(original_caller_id_number=31652033157)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [original_caller_id_number]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 limit(db 9712192016 user_9712192016 10 )
2022-06-13 12:19:29.761810 [DEBUG] switch_limit.c:124 incr called: 9712192016_user_9712192016 max:10, interval:0
2022-06-13 12:19:29.761810 [DEBUG] mod_db.c:194 Usage for 9712192016_user_9712192016 is now 1/10
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_caller_id_name=31652033157)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_caller_id_name]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(effective_caller_id_number=31652033157)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [effective_caller_id_number]=[31652033157]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(receiver_accid=160)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [receiver_accid]=[160]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(domain_name=134271.yoursipcloud.com)
2022-06-13 12:19:29.761810 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[134271.yoursipcloud.com]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(sip_to_host=134271.yoursipcloud.com)
2022-06-13 12:19:29.761810 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[134271.yoursipcloud.com]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.132)
2022-06-13 12:19:29.761810 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.132]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(call_type=7)
2022-06-13 12:19:29.761810 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(did_calltype=7)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [did_calltype]=[7]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(did_extensions=42)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [did_extensions]=[42]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(sip_h_P-ring_timeout=5)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [sip_h_P-ring_timeout]=[5]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(group_confirm_key=exec)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [group_confirm_key]=[exec]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(ringback=)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [ringback]=[UNDEF]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(module_name=pbx)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [module_name]=[pbx]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 db(insert/pickup_any_group_/42/e640ccab-9c00-4294-ba0f-0b7e6d8fc25a)
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 set(dialed_extension=transfer_call)
2022-06-13 12:19:29.761810 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.132 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(dialed_extension=transfer_call)
2022-06-13 12:19:29.761810 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2022-06-13 12:19:29.781828 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2022-06-13 12:19:29.781828 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 export(ring_group_transfer=true)
2022-06-13 12:19:29.781828 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [ring_group_transfer]=[true]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.132 bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/default/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
2022-06-13 12:19:29.781828 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [domain_name]=[134271.yoursipcloud.com] to event
2022-06-13 12:19:29.781828 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [sip_to_host]=[134271.yoursipcloud.com] to event
2022-06-13 12:19:29.781828 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.132] to event
2022-06-13 12:19:29.781828 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [call_type]=[7] to event
2022-06-13 12:19:29.781828 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2022-06-13 12:19:29.781828 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.132 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
2022-06-13 12:19:29.781828 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2022-06-13 12:19:29.781828 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2022-06-13 12:19:29.781828 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [76c30503-5a7a-4a43-9152-c81d1d9aca0a]
2022-06-13 12:19:29.781828 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_NEW -> CS_INIT
2022-06-13 12:19:29.781828 [DEBUG] switch_ivr_originate.c:3111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Setting leg timeout to 5
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_INIT (Cur 16 Tot 2597)
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT
2022-06-13 12:19:29.781828 [DEBUG] mod_sofia.c:93 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA INIT
2022-06-13 12:19:29.781828 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191@134271.yoursipcloud.com:5060 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1655096483 1655096484 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 19086 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
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard INIT
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_INIT -> CS_ROUTING
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT going to sleep
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_ROUTING (Cur 16 Tot 2597)
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING
2022-06-13 12:19:29.781828 [DEBUG] mod_sofia.c:154 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA ROUTING
2022-06-13 12:19:29.781828 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING going to sleep
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_CONSUME_MEDIA (Cur 16 Tot 2597)
2022-06-13 12:19:29.781828 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [calling][0]
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA going to sleep
2022-06-13 12:19:29.781828 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.236 [c04f057e-9ca7-47ed-8be9-94c37a77cd1a]
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_NEW (Cur 17 Tot 2598)
2022-06-13 12:19:29.781828 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.236 receiving invite from 185.249.40.236:5060 version: 1.10.5 -release-17-25569c1631 64bit
2022-06-13 12:19:29.781828 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.236:0.
2022-06-13 12:19:29.781828 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [received][100]
2022-06-13 12:19:29.781828 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=FreeSWITCH 1655096483 1655096484 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 19086 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2022-06-13 12:19:29.781828 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:29.781828 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-06-13 12:19:29.781828 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:29.781828 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-06-13 12:19:29.781828 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.236 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-06-13 12:19:29.781828 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.236 Original read codec set to PCMA:8
2022-06-13 12:19:29.781828 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-06-13 12:19:29.781828 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101 recv payload to 101
2022-06-13 12:19:29.781828 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.236) State Change CS_NEW -> CS_INIT
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.236) State NEW
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_INIT (Cur 17 Tot 2598)
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT
2022-06-13 12:19:29.781828 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.236 SOFIA INIT
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.236 Standard INIT
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.236) State Change CS_INIT -> CS_ROUTING
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT going to sleep
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_ROUTING (Cur 17 Tot 2598)
2022-06-13 12:19:29.781828 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.236) Callstate Change DOWN -> RINGING
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING
2022-06-13 12:19:29.781828 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.236 SOFIA ROUTING
2022-06-13 12:19:29.781828 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.236 Standard ROUTING
2022-06-13 12:19:29.781828 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31854832191 in context default
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-13 12:19:29.781828 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 87eddfe4-ad11-49ec-a04d-034175b79a25
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-06-13%2012%3A19%3A29
Event-Date-GMT: Mon,%2013%20Jun%202022%2010%3A19%3A29%20GMT
Event-Date-Timestamp: 1655115569781828
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 274907
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/31652033157%40185.249.40.236
Unique-ID: c04f057e-9ca7-47ed-8be9-94c37a77cd1a
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 31652033157%40185.249.40.236
Channel-Call-UUID: c04f057e-9ca7-47ed-8be9-94c37a77cd1a
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: 31652033157
Caller-Dialplan: XML
Caller-Caller-ID-Name: 31652033157
Caller-Caller-ID-Number: 31652033157
Caller-Orig-Caller-ID-Name: 31652033157
Caller-Orig-Caller-ID-Number: 31652033157
Caller-Network-Addr: 185.249.40.236
Caller-ANI: 31652033157
Caller-Destination-Number: 31854832191
Caller-Unique-ID: c04f057e-9ca7-47ed-8be9-94c37a77cd1a
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/31652033157%40185.249.40.236
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1655115569781828
Caller-Channel-Created-Time: 1655115569781828
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: c04f057e-9ca7-47ed-8be9-94c37a77cd1a
variable_session_id: 2598
variable_sip_from_user: 31652033157
variable_sip_from_uri: 31652033157%40185.249.40.236
variable_sip_from_host: 185.249.40.236
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/31652033157%40185.249.40.236
variable_sip_call_id: 26dd8db5-65a5-123b-e995-56465534f0d2
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 185.249.40.236
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1655115569781828
variable_sip_received_ip: 185.249.40.236
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_looped_call: true
variable_sip_from_user_stripped: 31652033157
variable_sip_from_tag: vvcUpF3cgQmmD
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: 31652033157
variable_sip_cid_type: pid
variable_sip_full_via: SIP/2.0/UDP%20185.249.40.236%3Brport%3D5060%3Bbranch%3Dz9hG4bKmFp8g6yBcD3Sp
variable_sip_from_display: 31652033157
variable_sip_full_from: %2231652033157%22%20%3Csip%3A31652033157%40185.249.40.236%3E%3Btag%3DvvcUpF3cgQmmD
variable_sip_full_to: %3Csip%3A31854832191%40134271.yoursipcloud.com%3A5060%3E
variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20REFER,%20NOTIFY,%20PUBLISH,%20SUBSCRIBE
variable_sip_req_user: 31854832191
variable_sip_req_port: 5060
variable_sip_req_uri: 31854832191%40134271.yoursipcloud.com%3A5060
variable_sip_req_host: 134271.yoursipcloud.com
variable_sip_to_user: 31854832191
variable_sip_to_port: 5060
variable_sip_to_uri: 31854832191%40134271.yoursipcloud.com%3A5060
variable_sip_to_host: 134271.yoursipcloud.com
variable_sip_contact_user: mod_sofia
variable_sip_contact_port: 5060
variable_sip_contact_uri: mod_sofia%40185.249.40.236%3A5060
variable_sip_contact_host: 185.249.40.236
variable_sip_user_agent: ASTPP
variable_sip_via_host: 185.249.40.236
variable_sip_via_rport: 5060
variable_max_forwards: 69
variable_presence_id: 31652033157%40185.249.40.236
variable_sip_Privacy: none
variable_sip_h_Diversion: %3Csip%3A31855004076%40185.249.40.132%3E%3Breason%3Dunknown
variable_sip_h_P-ring_timeout: 5
variable_sip_h_P-Accountcode: 160
variable_sip_h_P-call_type: custom_forward
variable_switch_r_sdp: v%3D0%0D%0Ao%3DFreeSWITCH%201655096483%201655096484%20IN%20IP4%20185.249.40.236%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%20185.249.40.236%0D%0At%3D0%200%0D%0Am%3Daudio%2019086%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 185.249.40.236
variable_remote_media_port: 19086
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: c04f057e-9ca7-47ed-8be9-94c37a77cd1a
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 31652033157
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 31652033157
Hunt-Caller-ID-Number: 31652033157
Hunt-Orig-Caller-ID-Name: 31652033157
Hunt-Orig-Caller-ID-Number: 31652033157
Hunt-Network-Addr: 185.249.40.236
Hunt-ANI: 31652033157
Hunt-Destination-Number: 31854832191
Hunt-Unique-ID: c04f057e-9ca7-47ed-8be9-94c37a77cd1a
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/31652033157%40185.249.40.236
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1655115569781828
Hunt-Channel-Created-Time: 1655115569781828
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
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31854832191
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31854832191' limit 1
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31854832191' AND status=0 limit 1
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31854832191' and status=0 LIMIT 1
2022-06-13 12:19:29.781828 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 31652033157 / 31652033157
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
2022-06-13 12:19:29.781828 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain134271.yoursipcloud.com
2022-06-13 12:19:29.781828 [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 ="31854832191" LIMIT 1
2022-06-13 12:19:29.781828 [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="31854832191" AND domains.domain="134271.yoursipcloud.com" limit 1
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 160]
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 160 limit 1
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31854832191" AND (accountid = 0 OR status = 1) LIMIT 1
2022-06-13 12:19:29.781828 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2022-06-13 12:19:29.781828 [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
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....31854832191
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....31854832191
2022-06-13 12:19:29.781828 [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 = '^31854832191.*' OR patterns = '^3185483219.*' OR patterns = '^318548321.*' OR patterns = '^31854832.*' OR patterns = '^3185483.*' OR patterns = '^318548.*' OR patterns = '^31854.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-06-13 12:19:29.781828 [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 ="31854832191" AND A.accountid = '160' limit 1
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31854832191
2022-06-13 12:19:29.781828 [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 ="31854832191" LIMIT 1
2022-06-13 12:19:29.781828 [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="31854832191" AND domains.domain="134271.yoursipcloud.com" limit 1
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2022-06-13 12:19:29.781828 [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 = '31854832191' OR number = '3185483219' OR number = '318548321' OR number = '31854832' OR number = '3185483' OR number = '318548' OR number = '31854' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31854832191*' OR number = '3185483219*' OR number = '318548321*' OR number = '31854832*' OR number = '3185483*' OR number = '318548*' OR number = '31854*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31854832191' OR routing_prefix = '3185483219' OR routing_prefix = '318548321' OR routing_prefix = '31854832' OR routing_prefix = '3185483' OR routing_prefix = '318548' OR routing_prefix = '31854' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 160
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 134271
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=160) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 8158
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland special
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 160
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-06-13 12:19:29.781828 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 160 !!!
2022-06-13 12:19:29.781828 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-06-13 12:19:29.781828 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1
2022-06-13 12:19:29.781828 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 12 limit 1
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99601.4842
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
2022-06-13 12:19:29.821802 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-06-13 12:19:29.821802 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-13 12:19:29.821802 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-06-13 12:19:29.821802 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' 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
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846856
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00210
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands 085 Personal Numbers
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99601.4842 balance Accountid 12 !!!
2022-06-13 12:19:29.821802 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 8158
2022-06-13 12:19:29.821802 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4
2022-06-13 12:19:29.821802 [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 = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' 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
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114263
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3185.*
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands 085 Personal Numbers
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3185.*
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : MOR
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-13 12:19:29.821802 [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 = 160 AND status=0 LIMIT 1
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2022-06-13 12:19:29.821802 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-13 12:19:29.821802 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2022-06-13 12:19:29.821802 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-06-13 12:19:29.821802 [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
2022-06-13 12:19:29.821802 [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
2022-06-13 12:19:29.821802 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31854832191
2022-06-13 12:19:29.821802 [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 ="31854832191" LIMIT 1
2022-06-13 12:19:29.821802 [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="31854832191">
<condition field="destination_number" expression="31854832191">
<action application="set" data="effective_destination_number=31854832191"/>
<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=2022-06-13 10:19:29"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=160"/>
<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:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12"/>
<action application="set" data="original_caller_id_name=Message To The Moon"/>
<action application="set" data="original_caller_id_number=31855004076"/>
<action application="limit" data="db 160 user_160 10 "/>
<action application="limit" data="hash CPS_160 CPS_user_160 1/1 "/>
<action application="set" data="effective_caller_id_name=Message To The Moon"/>
<action application="set" data="effective_caller_id_number=31855004076"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|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=0"/>
<action application="set" data="force_trunk_flag=8158"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31854832191"/>
<action application="export" data="presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/31652033157@185.249.40.236 parsing [default->31854832191] continue=false
Dialplan: sofia/default/31652033157@185.249.40.236 Regex (PASS) [31854832191] destination_number(31854832191) =~ /31854832191/ break=on-false
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_destination_number=31854832191)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(callstart=2022-06-13 10:19:29)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(account_id=160)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(parent_id=12)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(entity_id=0)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_processed=internal)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_direction=outbound)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(accountname=default)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_name=Message To The Moon)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_number=31855004076)
Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(db 160 user_160 10 )
Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(hash CPS_160 CPS_user_160 1/1 )
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_name=Message To The Moon)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_number=31855004076)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(calltype=STANDARD)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(trunk_id=4)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(provider_id=231)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(rate_flag=0)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(force_trunk_flag=8158)
Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/31652033157@185.249.40.236 Action set(intcall=0)
Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_id=31854832191)
Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers)
Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191)
Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191)
2022-06-13 12:19:29.821802 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.236) State Change CS_ROUTING -> CS_EXECUTE
2022-06-13 12:19:29.821802 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING going to sleep
2022-06-13 12:19:29.821802 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_EXECUTE (Cur 17 Tot 2598)
2022-06-13 12:19:29.821802 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.236) State EXECUTE
2022-06-13 12:19:29.821802 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.236 SOFIA EXECUTE
2022-06-13 12:19:29.821802 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.236 Standard EXECUTE
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_destination_number=31854832191)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_destination_number]=[31854832191]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(callstart=2022-06-13 10:19:29)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [callstart]=[2022-06-13 10:19:29]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(hangup_after_bridge=true)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(continue_on_fail=TRUE)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(account_id=160)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [account_id]=[160]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(parent_id=12)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [parent_id]=[12]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(entity_id=0)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_processed=internal)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_direction=outbound)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(accountname=default)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [accountname]=[default]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(filename1=astpp.pbx.lua)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [origination_rates]=[ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(original_caller_id_name=Message To The Moon)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_name]=[Message To The Moon]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(original_caller_id_number=31855004076)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(db 160 user_160 10 )
2022-06-13 12:19:29.821802 [DEBUG] switch_limit.c:124 incr called: 160_user_160 max:10, interval:0
2022-06-13 12:19:29.821802 [DEBUG] mod_db.c:194 Usage for 160_user_160 is now 1/10
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(hash CPS_160 CPS_user_160 1/1 )
2022-06-13 12:19:29.821802 [DEBUG] switch_limit.c:124 incr called: CPS_160_CPS_user_160 max:1, interval:1
2022-06-13 12:19:29.821802 [DEBUG] mod_hash.c:198 Usage for CPS_160_CPS_user_160 is now 1/1 for the last 1 seconds
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_name=Message To The Moon)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_name]=[Message To The Moon]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_number=31855004076)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_number]=[31855004076]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(calltype=STANDARD)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [termination_rates]=[ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(trunk_id=4)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(provider_id=231)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [provider_id]=[231]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(rate_flag=0)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(force_trunk_flag=8158)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [force_trunk_flag]=[8158]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=trunk_id=4)
2022-06-13 12:19:29.821802 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(intcall=0)
2022-06-13 12:19:29.821802 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [intcall]=[0]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_id=31854832191)
2022-06-13 12:19:29.821802 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31854832191]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers)
2022-06-13 12:19:29.841793 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers]
EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
2022-06-13 12:19:29.841793 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event
2022-06-13 12:19:29.841793 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_id]=[31854832191] to event
2022-06-13 12:19:29.841793 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event
2022-06-13 12:19:29.841793 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2022-06-13 12:19:29.841793 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2022-06-13 12:19:29.841793 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191 [77dd99fd-23db-4a62-a271-1877570d1304]
2022-06-13 12:19:29.841793 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191) State Change CS_NEW -> CS_INIT
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_INIT (Cur 18 Tot 2599)
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT
2022-06-13 12:19:29.841793 [DEBUG] mod_sofia.c:93 sofia/default/31854832191 SOFIA INIT
2022-06-13 12:19:29.841793 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1655085667 1655085668 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 29902 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
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191 Standard INIT
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191) State Change CS_INIT -> CS_ROUTING
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT going to sleep
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_ROUTING (Cur 18 Tot 2599)
2022-06-13 12:19:29.841793 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [calling][0]
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING
2022-06-13 12:19:29.841793 [DEBUG] mod_sofia.c:154 sofia/default/31854832191 SOFIA ROUTING
2022-06-13 12:19:29.841793 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING going to sleep
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_CONSUME_MEDIA (Cur 18 Tot 2599)
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA
2022-06-13 12:19:29.841793 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA going to sleep
2022-06-13 12:19:31.001843 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][180]
2022-06-13 12:19:31.001843 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191!
2022-06-13 12:19:31.001843 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191) Callstate Change DOWN -> RINGING
2022-06-13 12:19:31.041800 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.236!
2022-06-13 12:19:31.041800 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][180]
2022-06-13 12:19:31.041800 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.236!
2022-06-13 12:19:31.041800 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][180]
2022-06-13 12:19:31.041800 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191@134271.yoursipcloud.com:5060!
2022-06-13 12:19:31.041800 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change DOWN -> RINGING
2022-06-13 12:19:31.061792 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.132!
2022-06-13 12:19:31.061792 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [early][180]
2022-06-13 12:19:31.061792 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.132!
2022-06-13 12:19:31.441840 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][183]
2022-06-13 12:19:31.441840 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 3920374557 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 18260 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=ptime:20
2022-06-13 12:19:31.441840 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191!
2022-06-13 12:19:31.441840 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191) Callstate Change RINGING -> EARLY
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-06-13 12:19:31.441840 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191 Original read codec set to PCMA:8
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191 Set 2833 dtmf send payload to 101 recv payload to 101
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191] 185.249.40.236 port 29902 -> 185.249.40.253 port 18260 codec: 8 ms: 20
2022-06-13 12:19:31.441840 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191 Set 2833 dtmf send payload to 101
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191 Set 2833 dtmf receive payload to 101
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191 Set rtp dtmf delay to 40
2022-06-13 12:19:31.441840 [INFO] switch_ivr_originate.c:3801 Sending early media
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.236] 185.249.40.236 port 27312 -> 185.249.40.236 port 19086 codec: 8 ms: 20
2022-06-13 12:19:31.441840 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf receive payload to 101
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.236 Set rtp dtmf delay to 40
2022-06-13 12:19:31.441840 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1655088259 1655088260 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 27312 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
2022-06-13 12:19:31.441840 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.236!
2022-06-13 12:19:31.441840 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.236) Callstate Change RINGING -> EARLY
2022-06-13 12:19:31.441840 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191]
2022-06-13 12:19:31.441840 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][183]
2022-06-13 12:19:31.441840 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-06-13 12:19:31.441840 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_EXCHANGE_MEDIA (Cur 18 Tot 2599)
2022-06-13 12:19:31.441840 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191) State EXCHANGE_MEDIA
2022-06-13 12:19:31.441840 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-06-13 12:19:31.441840 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][183]
2022-06-13 12:19:31.441840 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=FreeSWITCH 1655088259 1655088260 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 27312 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2022-06-13 12:19:31.441840 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191@134271.yoursipcloud.com:5060!
2022-06-13 12:19:31.441840 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change RINGING -> EARLY
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191@134271.yoursipcloud.com:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-06-13 12:19:31.441840 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Original read codec set to PCMA:8
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101 recv payload to 101
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191@134271.yoursipcloud.com:5060] 185.249.40.236 port 19086 -> 185.249.40.236 port 27312 codec: 8 ms: 20
2022-06-13 12:19:31.441840 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf receive payload to 101
2022-06-13 12:19:31.441840 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set rtp dtmf delay to 40
EXECUTE [depth=0] sofia/default/31854832191@134271.yoursipcloud.com:5060 lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2022-06-13 12:19:31.481811 [NOTICE] switch_cpp.cpp:1447 [Astpp_Call-Ring Group] Ring group confirm flag :false
2022-06-13 12:19:31.481811 [DEBUG] switch_cpp.cpp:1191 sofia/default/31854832191@134271.yoursipcloud.com:5060 destroy/unlink session from object
2022-06-13 12:19:31.501830 [INFO] switch_ivr_originate.c:3801 Sending early media
2022-06-13 12:19:31.501830 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.132] 185.249.40.236 port 31362 -> 185.249.40.132 port 18370 codec: 8 ms: 20
2022-06-13 12:19:31.501830 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-06-13 12:19:31.501830 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf send payload to 101
2022-06-13 12:19:31.501830 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.132 Set 2833 dtmf receive payload to 101
2022-06-13 12:19:31.501830 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.132 Set rtp dtmf delay to 40
2022-06-13 12:19:31.501830 [DEBUG] mod_sofia.c:2593 Ring SDP:
v=0
o=FreeSWITCH 1655084209 1655084210 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 31362 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
2022-06-13 12:19:31.501830 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.132!
2022-06-13 12:19:31.501830 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.132) Callstate Change RINGING -> EARLY
2022-06-13 12:19:31.501830 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191@134271.yoursipcloud.com:5060]
2022-06-13 12:19:31.501830 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.132 entering state [early][183]
2022-06-13 12:19:31.501830 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-06-13 12:19:31.501830 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 18 Tot 2599)
2022-06-13 12:19:31.501830 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State EXCHANGE_MEDIA
2022-06-13 12:19:31.501830 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-06-13 12:19:31.561829 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-06-13 12:19:31.561829 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-06-13 12:19:31.641821 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-06-13 12:19:31.641821 [DEBUG] switch_ivr.c:632 sofia/default/31854832191 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/31854832191 sched_hangup(+6000 normal_clearing)
2022-06-13 12:19:31.641821 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191@134271.yoursipcloud.com:5060 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-06-13 12:19:31.641821 [DEBUG] switch_scheduler.c:252 Added task 975 switch_ivr_schedule_hangup (77dd99fd-23db-4a62-a271-1877570d1304) to run at 1655121571
2022-06-13 12:19:31.681818 [DEBUG] switch_ivr.c:632 sofia/default/31854832191@134271.yoursipcloud.com:5060 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/31854832191@134271.yoursipcloud.com:5060 sched_hangup(+6000 normal_clearing)
2022-06-13 12:19:31.681818 [DEBUG] switch_scheduler.c:252 Added task 976 switch_ivr_schedule_hangup (76c30503-5a7a-4a43-9152-c81d1d9aca0a) to run at 1655121571
2022-06-13 12:19:39.021805 [NOTICE] switch_channel.c:1118 New Channel sofia/default/183284@213.144.239.110:9933 [d672cfc3-848e-4c30-bc35-dc83a8f324e1]
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_NEW (Cur 19 Tot 2600)
2022-06-13 12:19:39.041804 [DEBUG] sofia.c:10280 sofia/default/183284@213.144.239.110:9933 receiving invite from 213.144.239.110:9933 version: 1.10.5 -release-17-25569c1631 64bit
2022-06-13 12:19:39.041804 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 213.144.239.110:0.
2022-06-13 12:19:39.041804 [DEBUG] sofia.c:10403 IP 213.144.239.110 Approved by acl "default[]". Access Granted.
2022-06-13 12:19:39.041804 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [received][100]
2022-06-13 12:19:39.041804 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=root 1914935251 1914935251 IN IP4 213.144.239.110
s=Asterisk PBX 11.4.0
c=IN IP4 213.144.239.110
t=0 0
m=audio 14244 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/183284@213.144.239.110:9933 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-06-13 12:19:39.041804 [DEBUG] switch_core_codec.c:111 sofia/default/183284@213.144.239.110:9933 Original read codec set to PCMA:8
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-06-13 12:19:39.041804 [DEBUG] switch_core_media.c:5911 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101 recv payload to 101
2022-06-13 12:19:39.041804 [DEBUG] sofia.c:7760 (sofia/default/183284@213.144.239.110:9933) State Change CS_NEW -> CS_INIT
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:604 (sofia/default/183284@213.144.239.110:9933) State NEW
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_INIT (Cur 19 Tot 2600)
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT
2022-06-13 12:19:39.041804 [DEBUG] mod_sofia.c:93 sofia/default/183284@213.144.239.110:9933 SOFIA INIT
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:40 sofia/default/183284@213.144.239.110:9933 Standard INIT
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:48 (sofia/default/183284@213.144.239.110:9933) State Change CS_INIT -> CS_ROUTING
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT going to sleep
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_ROUTING (Cur 19 Tot 2600)
2022-06-13 12:19:39.041804 [DEBUG] switch_channel.c:2332 (sofia/default/183284@213.144.239.110:9933) Callstate Change DOWN -> RINGING
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING
2022-06-13 12:19:39.041804 [DEBUG] mod_sofia.c:154 sofia/default/183284@213.144.239.110:9933 SOFIA ROUTING
2022-06-13 12:19:39.041804 [DEBUG] switch_core_state_machine.c:236 sofia/default/183284@213.144.239.110:9933 Standard ROUTING
2022-06-13 12:19:39.041804 [INFO] mod_dialplan_xml.c:637 Processing 0031681925032 <0031681925032>->31639570923 in context default
2022-06-13 12:19:39.041804 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-06-13 12:19:39.041804 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-13 12:19:39.041804 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 87eddfe4-ad11-49ec-a04d-034175b79a25
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-06-13%2012%3A19%3A39
Event-Date-GMT: Mon,%2013%20Jun%202022%2010%3A19%3A39%20GMT
Event-Date-Timestamp: 1655115579041804
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 275044
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
Unique-ID: d672cfc3-848e-4c30-bc35-dc83a8f324e1
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 183284%40213.144.239.110
Channel-Call-UUID: d672cfc3-848e-4c30-bc35-dc83a8f324e1
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: 0031681925032
Caller-Dialplan: XML
Caller-Caller-ID-Name: 0031681925032
Caller-Caller-ID-Number: 0031681925032
Caller-Orig-Caller-ID-Name: 0031681925032
Caller-Orig-Caller-ID-Number: 0031681925032
Caller-Network-Addr: 213.144.239.110
Caller-ANI: 0031681925032
Caller-Destination-Number: 31639570923
Caller-Unique-ID: d672cfc3-848e-4c30-bc35-dc83a8f324e1
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1655115579041804
Caller-Channel-Created-Time: 1655115579041804
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Channel-Resurrect-Time: 0
Caller-Channel-Bridged-Time: 0
Caller-Channel-Last-Hold: 0
Caller-Channel-Hold-Accum: 0
Caller-Screen-Bit: false
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: inbound
variable_uuid: d672cfc3-848e-4c30-bc35-dc83a8f324e1
variable_session_id: 2600
variable_sip_from_user: 183284
variable_sip_from_port: 9933
variable_sip_from_uri: 183284%40213.144.239.110%3A9933
variable_sip_from_host: 213.144.239.110
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/183284%40213.144.239.110%3A9933
variable_sip_call_id: 57a5b2f65cae56f078e2e41d4a3c2dd7%40213.144.239.110%3A9933
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 213.144.239.110
variable_sip_network_port: 9933
variable_sip_invite_stamp: 1655115579041804
variable_sip_received_ip: 213.144.239.110
variable_sip_received_port: 9933
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_sip_acl_authed_by: default
variable_sip_from_user_stripped: 183284
variable_sip_from_tag: as3c976619
variable_sofia_profile_name: default
variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
variable_recovery_profile_name: default
variable_sip_Remote-Party-ID: %220031681925032%22%20%3Csip%3A0031681925032%40213.144.239.110%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
variable_sip_cid_type: rpid
variable_sip_full_via: SIP/2.0/UDP%20213.144.239.110%3A9933%3Bbranch%3Dz9hG4bK5edda8d1%3Brport%3D9933
variable_sip_full_from: %3Csip%3A183284%40213.144.239.110%3A9933%3E%3Btag%3Das3c976619
variable_sip_full_to: %3Csip%3A31639570923%40emolife138.yoursipcloud.com%3E
variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
variable_sip_req_user: 31639570923
variable_sip_req_uri: 31639570923%40emolife138.yoursipcloud.com
variable_sip_req_host: emolife138.yoursipcloud.com
variable_sip_to_user: 31639570923
variable_sip_to_uri: 31639570923%40emolife138.yoursipcloud.com
variable_sip_to_host: emolife138.yoursipcloud.com
variable_sip_contact_user: 183284
variable_sip_contact_port: 9933
variable_sip_contact_uri: 183284%40213.144.239.110%3A9933
variable_sip_contact_host: 213.144.239.110
variable_sip_user_agent: FPBX-2.11.0(11.4.0)
variable_sip_via_host: 213.144.239.110
variable_sip_via_port: 9933
variable_sip_via_rport: 9933
variable_max_forwards: 70
variable_presence_id: 183284%40213.144.239.110
variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201914935251%201914935251%20IN%20IP4%20213.144.239.110%0D%0As%3DAsterisk%20PBX%2011.4.0%0D%0Ac%3DIN%20IP4%20213.144.239.110%0D%0At%3D0%200%0D%0Am%3Daudio%2014244%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 213.144.239.110
variable_remote_media_port: 14244
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: d672cfc3-848e-4c30-bc35-dc83a8f324e1
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 0031681925032
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: 0031681925032
Hunt-Caller-ID-Number: 0031681925032
Hunt-Orig-Caller-ID-Name: 0031681925032
Hunt-Orig-Caller-ID-Number: 0031681925032
Hunt-Network-Addr: 213.144.239.110
Hunt-ANI: 0031681925032
Hunt-Destination-Number: 31639570923
Hunt-Unique-ID: d672cfc3-848e-4c30-bc35-dc83a8f324e1
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1655115579041804
Hunt-Channel-Created-Time: 1655115579041804
Hunt-Channel-Answered-Time: 0
Hunt-Channel-Progress-Time: 0
Hunt-Channel-Progress-Media-Time: 0
Hunt-Channel-Hangup-Time: 0
Hunt-Channel-Transfer-Time: 0
Hunt-Channel-Resurrect-Time: 0
Hunt-Channel-Bridged-Time: 0
Hunt-Channel-Last-Hold: 0
Hunt-Channel-Hold-Accum: 0
Hunt-Screen-Bit: false
Hunt-Privacy-Hide-Name: false
Hunt-Privacy-Hide-Number: false
2022-06-13 12:19:39.041804 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-06-13 12:19:39.041804 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-06-13 12:19:39.041804 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-06-13 12:19:39.041804 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-06-13 12:19:39.041804 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-06-13 12:19:39.041804 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31639570923
2022-06-13 12:19:39.041804 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31639570923' limit 1
2022-06-13 12:19:39.041804 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31639570923' AND status=0 limit 1
2022-06-13 12:19:39.041804 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31639570923' and status=0 LIMIT 1
2022-06-13 12:19:39.041804 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-06-13 12:19:39.041804 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 0031681925032 / 0031681925032
2022-06-13 12:19:39.041804 [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 ="31639570923" LIMIT 1
2022-06-13 12:19:39.041804 [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="31639570923" AND domains.domain="emolife138.yoursipcloud.com" limit 1
2022-06-13 12:19:39.041804 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2022-06-13 12:19:39.041804 [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("213.144.239.110") 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 "31639570923" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2022-06-13 12:19:39.041804 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 183284]
2022-06-13 12:19:39.041804 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "183284" AND deleted = 0 limit 1
2022-06-13 12:19:39.061798 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31639570923.*' OR blocked_patterns = '^3163957092.*' OR blocked_patterns = '^316395709.*' OR blocked_patterns = '^31639570.*' OR blocked_patterns = '^3163957.*' OR blocked_patterns = '^316395.*' OR blocked_patterns = '^31639.*' OR blocked_patterns = '^3163.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 199 limit 1
2022-06-13 12:19:39.061798 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31639570923" AND (accountid = 0 OR status = 1) LIMIT 1
2022-06-13 12:19:39.061798 [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 = '^31639570923.*' OR patterns = '^3163957092.*' OR patterns = '^316395709.*' OR patterns = '^31639570.*' OR patterns = '^3163957.*' OR patterns = '^316395.*' OR patterns = '^31639.*' OR patterns = '^3163.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-06-13 12:19:39.061798 [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 ="31639570923" AND A.accountid = '199' limit 1
2022-06-13 12:19:39.061798 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31639570923
2022-06-13 12:19:39.061798 [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 ="31639570923" LIMIT 1
2022-06-13 12:19:39.061798 [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="31639570923" AND domains.domain="emolife138.yoursipcloud.com" limit 1
2022-06-13 12:19:39.061798 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2022-06-13 12:19:39.061798 [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 = '31639570923' OR number = '3163957092' OR number = '316395709' OR number = '31639570' OR number = '3163957' OR number = '316395' OR number = '31639' OR number = '3163' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31639570923*' OR number = '3163957092*' OR number = '316395709*' OR number = '31639570*' OR number = '3163957*' OR number = '316395*' OR number = '31639*' OR number = '3163*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '0031681925032' OR number = '003168192503' OR number = '00316819250' OR number = '0031681925' OR number = '003168192' OR number = '00316819' OR number = '0031681' OR number = '003168' OR number = '00316' OR number = '0031' OR number = '003' OR number = '00' OR number = '0' OR number ='--') OR (number = '0031681925032*' OR number = '003168192503*' OR number = '00316819250*' OR number = '0031681925*' OR number = '003168192*' OR number = '00316819*' OR number = '0031681*' OR number = '003168*' OR number = '00316*' OR number = '0031*' OR number = '003*' OR number = '00*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-06-13 12:19:39.061798 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-06-13 12:19:39.061798 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31639570923' OR routing_prefix = '3163957092' OR routing_prefix = '316395709' OR routing_prefix = '31639570' OR routing_prefix = '3163957' OR routing_prefix = '316395' OR routing_prefix = '31639' OR routing_prefix = '3163' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 189 limit 1
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 199
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 183284
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 383.2887
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 25
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31639570923.*' OR pattern = '^3163957092.*' OR pattern = '^316395709.*' OR pattern = '^31639570.*' OR pattern = '^3163957.*' OR pattern = '^316395.*' OR pattern = '^31639.*' OR pattern = '^3163.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 25 OR accountid=199) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1597624
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.04100
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment :
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 199
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your383.2887 balance Accountid 199 !!!
2022-06-13 12:19:39.081797 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-06-13 12:19:39.081797 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 189
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "189" AND deleted = 0 limit 1
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31639570923.*' OR blocked_patterns = '^3163957092.*' OR blocked_patterns = '^316395709.*' OR blocked_patterns = '^31639570.*' OR blocked_patterns = '^3163957.*' OR blocked_patterns = '^316395.*' OR blocked_patterns = '^31639.*' OR blocked_patterns = '^3163.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 189 limit 1
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 189
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 510514
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 106.8561
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31639570923.*' OR pattern = '^3163957092.*' OR pattern = '^316395709.*' OR pattern = '^31639570.*' OR pattern = '^3163957.*' OR pattern = '^316395.*' OR pattern = '^31639.*' OR pattern = '^3163.*' 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=189) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846860
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00605
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands Mobile
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 189
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your106.8561 balance Accountid 189 !!!
2022-06-13 12:19:39.081797 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 1597624
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4
2022-06-13 12:19:39.081797 [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 = '^31639570923.*' OR pattern = '^3163957092.*' OR pattern = '^316395709.*' OR pattern = '^31639570.*' OR pattern = '^3163957.*' OR pattern = '^316395.*' OR pattern = '^31639.*' OR pattern = '^3163.*' 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
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114267
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3163.*
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3163.*
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : MOR
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-13 12:19:39.081797 [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 = 199 AND status=0 LIMIT 1
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-13 12:19:39.081797 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2022-06-13 12:19:39.081797 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
2022-06-13 12:19:39.101796 [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
2022-06-13 12:19:39.101796 [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
2022-06-13 12:19:39.101796 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31639570923
2022-06-13 12:19:39.101796 [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 ="31639570923" LIMIT 1
2022-06-13 12:19:39.101796 [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="31639570923">
<condition field="destination_number" expression="31639570923">
<action application="set" data="effective_destination_number=31639570923"/>
<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=2022-06-13 10:19:39"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=199"/>
<action application="set" data="parent_id=189"/>
<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=emopbx"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189"/>
<action application="set" data="original_caller_id_name=0031681925032"/>
<action application="set" data="original_caller_id_number=0031681925032"/>
<action application="limit" data="db 183284 user_183284 10 "/>
<action application="limit" data="db 510514 user_510514 20 "/><action application="limit" data="hash CPS_510514 CPS_user_510514 1/1 "/>
<action application="set" data="effective_caller_id_name=0031681925032"/>
<action application="set" data="effective_caller_id_number=0031681925032"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:114267|CODE:^3163.*|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=0"/>
<action application="set" data="force_trunk_flag=1597624"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=31639570923"/>
<action application="export" data="presence_data=x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31639570923"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31639570923"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31639570923"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/183284@213.144.239.110:9933 parsing [default->31639570923] continue=false
Dialplan: sofia/default/183284@213.144.239.110:9933 Regex (PASS) [31639570923] destination_number(31639570923) =~ /31639570923/ break=on-false
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_destination_number=31639570923)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(callstart=2022-06-13 10:19:39)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(account_id=199)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(parent_id=189)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(entity_id=0)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_processed=internal)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_direction=outbound)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(accountname=emopbx)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_name=0031681925032)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_number=0031681925032)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 183284 user_183284 10 )
Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 510514 user_510514 20 )
Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(hash CPS_510514 CPS_user_510514 1/1 )
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_name=0031681925032)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_number=0031681925032)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(calltype=STANDARD)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(termination_rates=ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(trunk_id=4)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(provider_id=231)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(rate_flag=0)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(force_trunk_flag=1597624)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(intcall=0)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_id=31639570923)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31639570923)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31639570923)
Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31639570923)
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:287 (sofia/default/183284@213.144.239.110:9933) State Change CS_ROUTING -> CS_EXECUTE
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING going to sleep
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_EXECUTE (Cur 19 Tot 2600)
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE
2022-06-13 12:19:39.101796 [DEBUG] mod_sofia.c:209 sofia/default/183284@213.144.239.110:9933 SOFIA EXECUTE
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:329 sofia/default/183284@213.144.239.110:9933 Standard EXECUTE
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_destination_number=31639570923)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_destination_number]=[31639570923]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(callstart=2022-06-13 10:19:39)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [callstart]=[2022-06-13 10:19:39]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(hangup_after_bridge=true)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(continue_on_fail=TRUE)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(account_id=199)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [account_id]=[199]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(parent_id=189)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [parent_id]=[189]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(entity_id=0)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_processed=internal)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_direction=outbound)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(accountname=emopbx)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [accountname]=[emopbx]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(filename1=astpp.pbx.lua)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [origination_rates]=[ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846860|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_name=0031681925032)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_name]=[0031681925032]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_number=0031681925032)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_number]=[0031681925032]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 183284 user_183284 10 )
2022-06-13 12:19:39.101796 [DEBUG] switch_limit.c:124 incr called: 183284_user_183284 max:10, interval:0
2022-06-13 12:19:39.101796 [DEBUG] mod_db.c:194 Usage for 183284_user_183284 is now 5/10
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 510514 user_510514 20 )
2022-06-13 12:19:39.101796 [DEBUG] switch_limit.c:124 incr called: 510514_user_510514 max:20, interval:0
2022-06-13 12:19:39.101796 [DEBUG] mod_db.c:194 Usage for 510514_user_510514 is now 8/20
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(hash CPS_510514 CPS_user_510514 1/1 )
2022-06-13 12:19:39.101796 [DEBUG] switch_limit.c:124 incr called: CPS_510514_CPS_user_510514 max:1, interval:1
2022-06-13 12:19:39.101796 [DEBUG] mod_hash.c:198 Usage for CPS_510514_CPS_user_510514 is now 1/1 for the last 1 seconds
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_name=0031681925032)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_name]=[0031681925032]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_number=0031681925032)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_number]=[0031681925032]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(calltype=STANDARD)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(termination_rates=ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [termination_rates]=[ID:114267|CODE:^3163.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(trunk_id=4)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(provider_id=231)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [provider_id]=[231]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(rate_flag=0)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(force_trunk_flag=1597624)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [force_trunk_flag]=[1597624]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=trunk_id=4)
2022-06-13 12:19:39.101796 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(intcall=0)
2022-06-13 12:19:39.101796 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [intcall]=[0]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_id=31639570923)
2022-06-13 12:19:39.101796 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31639570923]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile)
2022-06-13 12:19:39.101796 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile]
EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31639570923)
2022-06-13 12:19:39.101796 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile] to event
2022-06-13 12:19:39.101796 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_id]=[31639570923] to event
2022-06-13 12:19:39.101796 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* // // 0.04100 |||SBCs // ^3163.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3163.* // Netherlands Mobile] to event
2022-06-13 12:19:39.101796 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2022-06-13 12:19:39.101796 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2022-06-13 12:19:39.101796 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31639570923 [32f5b1b7-947a-4b88-9aab-6989043c2a78]
2022-06-13 12:19:39.101796 [DEBUG] mod_sofia.c:5089 (sofia/default/31639570923) State Change CS_NEW -> CS_INIT
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31639570923) Running State Change CS_INIT (Cur 20 Tot 2601)
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31639570923) State INIT
2022-06-13 12:19:39.101796 [DEBUG] mod_sofia.c:93 sofia/default/31639570923 SOFIA INIT
2022-06-13 12:19:39.101796 [DEBUG] sofia_glue.c:1618 sofia/default/31639570923 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1655086973 1655086974 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 28606 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
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:40 sofia/default/31639570923 Standard INIT
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31639570923) State Change CS_INIT -> CS_ROUTING
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31639570923) State INIT going to sleep
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31639570923) Running State Change CS_ROUTING (Cur 20 Tot 2601)
2022-06-13 12:19:39.101796 [DEBUG] sofia.c:7326 Channel sofia/default/31639570923 entering state [calling][0]
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31639570923) State ROUTING
2022-06-13 12:19:39.101796 [DEBUG] mod_sofia.c:154 sofia/default/31639570923 SOFIA ROUTING
2022-06-13 12:19:39.101796 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31639570923) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31639570923) State ROUTING going to sleep
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31639570923) Running State Change CS_CONSUME_MEDIA (Cur 20 Tot 2601)
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31639570923) State CONSUME_MEDIA
2022-06-13 12:19:39.101796 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31639570923) State CONSUME_MEDIA going to sleep
2022-06-13 12:19:40.241807 [NOTICE] sofia.c:1089 Hangup sofia/default/788323@89.255.20.14 [CS_EXECUTE] [NORMAL_CLEARING]
2022-06-13 12:19:40.241807 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 7
2022-06-13 12:19:40.241807 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/788323@89.255.20.14]
2022-06-13 12:19:40.241807 [DEBUG] switch_ivr_bridge.c:820 sofia/default/788323@89.255.20.14 ending bridge by request from write function
2022-06-13 12:19:40.241807 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31174293194]
2022-06-13 12:19:40.241807 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/31174293194 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-06-13 12:19:40.241807 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31174293194) State EXCHANGE_MEDIA going to sleep
2022-06-13 12:19:40.241807 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31174293194) Running State Change CS_HANGUP (Cur 20 Tot 2601)
2022-06-13 12:19:40.241807 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31174293194) Callstate Change ACTIVE -> HANGUP
2022-06-13 12:19:40.241807 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31174293194) State HANGUP
2022-06-13 12:19:40.241807 [DEBUG] mod_sofia.c:447 sofia/default/31174293194 Overriding SIP cause 480 with 200 from the other leg
2022-06-13 12:19:40.241807 [DEBUG] mod_sofia.c:453 Channel sofia/default/31174293194 hanging up, cause: NORMAL_CLEARING
2022-06-13 12:19:40.261820 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31174293194 skip receive message [UNBRIDGE] (channel is hungup already)
2022-06-13 12:19:40.261820 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/788323@89.255.20.14 skip receive message [UNBRIDGE] (channel is hungup already)
2022-06-13 12:19:40.261820 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31174293194
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:60 sofia/default/31174293194 Standard HANGUP, cause: NORMAL_CLEARING
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31174293194) State HANGUP going to sleep
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31174293194) State Change CS_HANGUP -> CS_REPORTING
2022-06-13 12:19:40.261820 [DEBUG] switch_core_session.c:2905 sofia/default/788323@89.255.20.14 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:651 (sofia/default/788323@89.255.20.14) State EXECUTE going to sleep
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:585 (sofia/default/788323@89.255.20.14) Running State Change CS_HANGUP (Cur 20 Tot 2601)
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31174293194) Running State Change CS_REPORTING (Cur 20 Tot 2601)
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31174293194) State REPORTING
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:848 (sofia/default/788323@89.255.20.14) Callstate Change ACTIVE -> HANGUP
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:850 (sofia/default/788323@89.255.20.14) State HANGUP
2022-06-13 12:19:40.261820 [DEBUG] mod_sofia.c:453 Channel sofia/default/788323@89.255.20.14 hanging up, cause: NORMAL_CLEARING
2022-06-13 12:19:40.261820 [INFO] mod_json_cdr.c:271 Process [956fd8d4-bd80-4b68-8e57-1b940021bd4c.cdr.json]
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:60 sofia/default/788323@89.255.20.14 Standard HANGUP, cause: NORMAL_CLEARING
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:850 (sofia/default/788323@89.255.20.14) State HANGUP going to sleep
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:620 (sofia/default/788323@89.255.20.14) State Change CS_HANGUP -> CS_REPORTING
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:585 (sofia/default/788323@89.255.20.14) Running State Change CS_REPORTING (Cur 20 Tot 2601)
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:936 (sofia/default/788323@89.255.20.14) State REPORTING
2022-06-13 12:19:40.261820 [INFO] mod_json_cdr.c:271 Process [1d249e20-7245-49fb-9c35-f655eb437c9e.cdr.json]
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:174 sofia/default/31174293194 Standard REPORTING, cause: NORMAL_CLEARING
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31174293194) State REPORTING going to sleep
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31174293194) State Change CS_REPORTING -> CS_DESTROY
2022-06-13 12:19:40.261820 [DEBUG] switch_core_session.c:1726 Session 2558 (sofia/default/31174293194) Locked, Waiting on external entities
2022-06-13 12:19:40.261820 [NOTICE] switch_core_session.c:1744 Session 2558 (sofia/default/31174293194) Ended
2022-06-13 12:19:40.261820 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31174293194 [CS_DESTROY]
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31174293194) Running State Change CS_DESTROY (Cur 19 Tot 2601)
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31174293194) State DESTROY
2022-06-13 12:19:40.261820 [DEBUG] mod_sofia.c:364 sofia/default/31174293194 SOFIA DESTROY
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:181 sofia/default/31174293194 Standard DESTROY
2022-06-13 12:19:40.261820 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31174293194) State DESTROY going to sleep
2022-06-13 12:19:40.281801 [DEBUG] switch_core_state_machine.c:174 sofia/default/788323@89.255.20.14 Standard REPORTING, cause: NORMAL_CLEARING
2022-06-13 12:19:40.281801 [DEBUG] switch_core_state_machine.c:936 (sofia/default/788323@89.255.20.14) State REPORTING going to sleep
2022-06-13 12:19:40.281801 [DEBUG] switch_core_state_machine.c:611 (sofia/default/788323@89.255.20.14) State Change CS_REPORTING -> CS_DESTROY
2022-06-13 12:19:40.281801 [DEBUG] switch_core_session.c:1726 Session 2557 (sofia/default/788323@89.255.20.14) Locked, Waiting on external entities
2022-06-13 12:19:40.281801 [NOTICE] switch_core_session.c:1744 Session 2557 (sofia/default/788323@89.255.20.14) Ended
2022-06-13 12:19:40.281801 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/788323@89.255.20.14 [CS_DESTROY]
2022-06-13 12:19:40.281801 [DEBUG] switch_core_state_machine.c:739 (sofia/default/788323@89.255.20.14) Running State Change CS_DESTROY (Cur 18 Tot 2601)
2022-06-13 12:19:40.281801 [DEBUG] switch_core_state_machine.c:749 (sofia/default/788323@89.255.20.14) State DESTROY
2022-06-13 12:19:40.281801 [DEBUG] mod_sofia.c:364 sofia/default/788323@89.255.20.14 SOFIA DESTROY
2022-06-13 12:19:40.281801 [DEBUG] switch_core_state_machine.c:181 sofia/default/788323@89.255.20.14 Standard DESTROY
2022-06-13 12:19:40.281801 [DEBUG] switch_core_state_machine.c:749 (sofia/default/788323@89.255.20.14) State DESTROY going to sleep
2022-06-13 12:19:40.681802 [DEBUG] switch_scheduler.c:147 Deleting task 959 switch_ivr_schedule_hangup (956fd8d4-bd80-4b68-8e57-1b940021bd4c)
2022-06-13 12:19:41.381800 [DEBUG] sofia.c:7326 Channel sofia/default/31639570923 entering state [completing][200]
2022-06-13 12:19:41.381800 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=- 3920374624 1 IN IP4 185.249.40.253
s=-
c=IN IP4 185.249.40.253
t=0 0
m=audio 18326 RTP/AVP 8 101
a=rtpmap:101 telephone-event/8000
a=silenceSupp:off - - - -
a=ptime:20
2022-06-13 12:19:41.381800 [DEBUG] sofia.c:7326 Channel sofia/default/31639570923 entering state [ready][200]
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31639570923 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-06-13 12:19:41.381800 [DEBUG] switch_core_codec.c:111 sofia/default/31639570923 Original read codec set to PCMA:8
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:5911 sofia/default/31639570923 Set 2833 dtmf send payload to 101 recv payload to 101
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31639570923] 185.249.40.236 port 28606 -> 185.249.40.253 port 18326 codec: 8 ms: 20
2022-06-13 12:19:41.381800 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:8977 sofia/default/31639570923 Set 2833 dtmf send payload to 101
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:8984 sofia/default/31639570923 Set 2833 dtmf receive payload to 101
2022-06-13 12:19:41.381800 [DEBUG] switch_core_media.c:9007 sofia/default/31639570923 Set rtp dtmf delay to 40
2022-06-13 12:19:41.381800 [NOTICE] sofia.c:8504 Channel [sofia/default/31639570923] has been answered
2022-06-13 12:19:41.381800 [DEBUG] switch_channel.c:3865 (sofia/default/31639570923) Callstate Change DOWN -> ACTIVE
2022-06-13 12:19:41.401803 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/183284@213.144.239.110:9933] 185.249.40.236 port 23434 -> 213.144.239.110 port 14244 codec: 8 ms: 20
2022-06-13 12:19:41.401803 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2022-06-13 12:19:41.401803 [DEBUG] switch_core_media.c:8977 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101
2022-06-13 12:19:41.401803 [DEBUG] switch_core_media.c:8984 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf receive payload to 101
2022-06-13 12:19:41.401803 [DEBUG] switch_core_media.c:9007 sofia/default/183284@213.144.239.110:9933 Set rtp dtmf delay to 40
2022-06-13 12:19:41.401803 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/183284@213.144.239.110:9933:
v=0
o=FreeSWITCH 1655092147 1655092148 IN IP4 185.249.40.236
s=FreeSWITCH
c=IN IP4 185.249.40.236
t=0 0
m=audio 23434 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
2022-06-13 12:19:41.401803 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/183284@213.144.239.110:9933] has been answered
2022-06-13 12:19:41.401803 [DEBUG] switch_channel.c:3865 (sofia/default/183284@213.144.239.110:9933) Callstate Change RINGING -> ACTIVE
2022-06-13 12:19:41.401803 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [completed][200]
2022-06-13 12:19:41.401803 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31639570923]
2022-06-13 12:19:41.401803 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31639570923) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-06-13 12:19:41.401803 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31639570923) Running State Change CS_EXCHANGE_MEDIA (Cur 18 Tot 2601)
2022-06-13 12:19:41.401803 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31639570923) State EXCHANGE_MEDIA
2022-06-13 12:19:41.401803 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2022-06-13 12:19:41.421822 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [ready][200]
2022-06-13 12:19:41.481799 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2022-06-13 12:19:41.581805 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31639570923 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-06-13 12:19:41.601802 [DEBUG] switch_ivr.c:632 sofia/default/31639570923 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/31639570923 sched_hangup(+6000 normal_clearing)
2022-06-13 12:19:41.601802 [DEBUG] switch_scheduler.c:252 Added task 977 switch_ivr_schedule_hangup (32f5b1b7-947a-4b88-9aab-6989043c2a78) to run at 1655121581
2022-06-13 12:19:42.561834 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
Type control-D or /exit or /quit or /bye to exit.
2022-06-13 12:19:49.001814 [NOTICE] switch_channel.c:1118 New Channel sofia/default/7560301026@defochtel.superict.yoursipcloud.com [374a4c1e-7c29-4c50-a068-8a18368da898]
2022-06-13 12:19:49.001814 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Running State Change CS_NEW (Cur 19 Tot 2602)
2022-06-13 12:19:49.001814 [DEBUG] sofia.c:10280 sofia/default/7560301026@defochtel.superict.yoursipcloud.com receiving invite from 83.136.197.247:5060 version: 1.10.5 -release-17-25569c1631 64bit
2022-06-13 12:19:49.001814 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 83.136.197.247:0.
2022-06-13 12:19:49.001814 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [0621283161@defochtel.superict.yoursipcloud.com] from ip 83.136.197.247
2022-06-13 12:19:49.001814 [DEBUG] switch_core_state_machine.c:604 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State NEW
2022-06-13 12:19:49.001814 [DEBUG] sofia.c:2434 detaching session 374a4c1e-7c29-4c50-a068-8a18368da898
2022-06-13 12:19:49.021813 [DEBUG] sofia.c:2544 Re-attaching to session 374a4c1e-7c29-4c50-a068-8a18368da898
2022-06-13 12:19:49.041802 [DEBUG] sofia.c:10280 sofia/default/7560301026@defochtel.superict.yoursipcloud.com receiving invite from 83.136.197.247:5060 version: 1.10.5 -release-17-25569c1631 64bit
2022-06-13 12:19:49.041802 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 83.136.197.247:0.
2022-06-13 12:19:49.061833 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
2022-06-13 12:19:49.061833 [DEBUG] sofia.c:7326 Channel sofia/default/7560301026@defochtel.superict.yoursipcloud.com entering state [received][100]
2022-06-13 12:19:49.061833 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=7560301026 8000 8000 IN IP4 192.168.2.181
s=SIP Call
c=IN IP4 192.168.2.181
t=0 0
m=audio 5004 RTP/AVP 0 8 4 18 2 97 123 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:2 G726-32/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=20
a=rtpmap:123 opus/48000/2
a=fmtp:123 maxplaybackrate=16000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16,32-36,54
a=ptime:20
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G726-32:2:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [opus:123:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [opus:123:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/7560301026@defochtel.superict.yoursipcloud.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-06-13 12:19:49.061833 [DEBUG] switch_core_codec.c:111 sofia/default/7560301026@defochtel.superict.yoursipcloud.com Original read codec set to PCMU:0
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2022-06-13 12:19:49.061833 [DEBUG] switch_core_media.c:5911 sofia/default/7560301026@defochtel.superict.yoursipcloud.com Set 2833 dtmf send payload to 101 recv payload to 101
2022-06-13 12:19:49.061833 [DEBUG] sofia.c:7760 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State Change CS_NEW -> CS_INIT
2022-06-13 12:19:49.061833 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Running State Change CS_INIT (Cur 19 Tot 2602)
2022-06-13 12:19:49.061833 [DEBUG] switch_core_state_machine.c:628 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State INIT
2022-06-13 12:19:49.061833 [DEBUG] mod_sofia.c:93 sofia/default/7560301026@defochtel.superict.yoursipcloud.com SOFIA INIT
2022-06-13 12:19:49.061833 [DEBUG] switch_core_state_machine.c:40 sofia/default/7560301026@defochtel.superict.yoursipcloud.com Standard INIT
2022-06-13 12:19:49.061833 [DEBUG] switch_core_state_machine.c:48 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State Change CS_INIT -> CS_ROUTING
2022-06-13 12:19:49.061833 [DEBUG] switch_core_state_machine.c:628 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State INIT going to sleep
2022-06-13 12:19:49.061833 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Running State Change CS_ROUTING (Cur 19 Tot 2602)
2022-06-13 12:19:49.061833 [DEBUG] switch_channel.c:2332 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Callstate Change DOWN -> RINGING
2022-06-13 12:19:49.061833 [DEBUG] switch_core_state_machine.c:644 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State ROUTING
2022-06-13 12:19:49.061833 [DEBUG] mod_sofia.c:154 sofia/default/7560301026@defochtel.superict.yoursipcloud.com SOFIA ROUTING
2022-06-13 12:19:49.061833 [DEBUG] switch_core_state_machine.c:236 sofia/default/7560301026@defochtel.superict.yoursipcloud.com Standard ROUTING
2022-06-13 12:19:49.061833 [INFO] mod_dialplan_xml.c:637 Processing De Fochtel <7560301026>->0621283161 in context default
2022-06-13 12:19:49.061833 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-06-13 12:19:49.061833 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-13 12:19:49.061833 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
Event-Name: REQUEST_PARAMS
Core-UUID: 87eddfe4-ad11-49ec-a04d-034175b79a25
FreeSWITCH-Hostname: multitenant-1
FreeSWITCH-Switchname: multitenant-1
FreeSWITCH-IPv4: 185.249.40.236
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2022-06-13%2012%3A19%3A49
Event-Date-GMT: Mon,%2013%20Jun%202022%2010%3A19%3A49%20GMT
Event-Date-Timestamp: 1655115589061833
Event-Calling-File: mod_dialplan_xml.c
Event-Calling-Function: dialplan_xml_locate
Event-Calling-Line-Number: 608
Event-Sequence: 275178
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: sofia/default/7560301026%40defochtel.superict.yoursipcloud.com
Unique-ID: 374a4c1e-7c29-4c50-a068-8a18368da898
Call-Direction: inbound
Presence-Call-Direction: inbound
Channel-HIT-Dialplan: true
Channel-Presence-ID: 7560301026%40defochtel.superict.yoursipcloud.com
Channel-Call-UUID: 374a4c1e-7c29-4c50-a068-8a18368da898
Answer-State: ringing
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Read-Codec-Bit-Rate: 64000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Channel-Write-Codec-Bit-Rate: 64000
Caller-Direction: inbound
Caller-Logical-Direction: inbound
Caller-Username: 7560301026
Caller-Dialplan: XML
Caller-Caller-ID-Name: De%20Fochtel
Caller-Caller-ID-Number: 7560301026
Caller-Orig-Caller-ID-Name: De%20Fochtel
Caller-Orig-Caller-ID-Number: 7560301026
Caller-Network-Addr: 83.136.197.247
Caller-ANI: 7560301026
Caller-Destination-Number: 0621283161
Caller-Unique-ID: 374a4c1e-7c29-4c50-a068-8a18368da898
Caller-Source: mod_sofia
Caller-Context: default
Caller-Channel-Name: sofia/default/7560301026%40defochtel.superict.yoursipcloud.com
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1655115589061833
Caller-Channel-Created-Time: 1655115589061833
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: 374a4c1e-7c29-4c50-a068-8a18368da898
variable_session_id: 2602
variable_sip_from_user: 7560301026
variable_sip_from_uri: 7560301026%40defochtel.superict.yoursipcloud.com
variable_sip_from_host: defochtel.superict.yoursipcloud.com
variable_video_media_flow: disabled
variable_text_media_flow: disabled
variable_channel_name: sofia/default/7560301026%40defochtel.superict.yoursipcloud.com
variable_sip_call_id: 86334085-5060-8%40BJC.BGI.C.BIB
variable_sip_local_network_addr: 185.249.40.236
variable_sip_network_ip: 83.136.197.247
variable_sip_network_port: 5060
variable_sip_invite_stamp: 1655115589041802
variable_sip_received_ip: 83.136.197.247
variable_sip_received_port: 5060
variable_sip_via_protocol: udp
variable_sip_authorized: true
variable_Event-Name: REQUEST_PARAMS
variable_Core-UUID: 87eddfe4-ad11-49ec-a04d-034175b79a25
variable_FreeSWITCH-Hostname: multitenant-1
variable_FreeSWITCH-Switchname: multitenant-1
variable_FreeSWITCH-IPv4: 185.249.40.236
variable_FreeSWITCH-IPv6: %3A%3A1
variable_Event-Date-Local: 2022-06-13%2012%3A19%3A49
variable_Event-Date-GMT: Mon,%2013%20Jun%202022%2010%3A19%3A49%20GMT
variable_Event-Date-Timestamp: 1655115589041802
variable_Event-Calling-File: sofia.c
variable_Event-Calling-Function: sofia_handle_sip_i_invite
variable_Event-Calling-Line-Number: 10542
variable_Event-Sequence: 275169
variable_sip_number_alias: 7560301026
variable_sip_auth_username: 7560301026
variable_sip_auth_realm: defochtel.superict.yoursipcloud.com
variable_number_alias: 7560301026
variable_requested_user_name: 7560301026
variable_requested_domain_name: defochtel.superict.yoursipcloud.com
variable_effective_caller_id_name: De%20Fochtel
variable_effective_caller_id_number: 0855000146
variable_user_context: default
variable_sipcall: true
variable_sip_user: 7560301026
variable_accountcode: 829927
variable_user_name: 7560301026
variable_domain_name: defochtel.superict.yoursipcloud.com
variable_sip_from_user_stripped: 7560301026
variable_sip_from_tag: 524888189
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-Preferred-Identity: %22De%20Fochtel%22%20%3Csip%3A7560301026%40defochtel.superict.yoursipcloud.com%3E
variable_sip_cid_type: pid
variable_sip_full_via: SIP/2.0/UDP%20192.168.2.181%3A5060%3Bbranch%3Dz9hG4bK1829614120%3Brport%3D5060%3Breceived%3D83.136.197.247
variable_sip_from_display: De%20Fochtel
variable_sip_full_from: %22De%20Fochtel%22%20%3Csip%3A7560301026%40defochtel.superict.yoursipcloud.com%3E%3Btag%3D524888189
variable_sip_full_to: %3Csip%3A0621283161%40defochtel.superict.yoursipcloud.com%3E
variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20CANCEL,%20BYE,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20REFER,%20UPDATE
variable_sip_req_user: 0621283161
variable_sip_req_uri: 0621283161%40defochtel.superict.yoursipcloud.com
variable_sip_req_host: defochtel.superict.yoursipcloud.com
variable_sip_to_user: 0621283161
variable_sip_to_uri: 0621283161%40defochtel.superict.yoursipcloud.com
variable_sip_to_host: defochtel.superict.yoursipcloud.com
variable_sip_contact_user: 7560301026
variable_sip_contact_port: 5060
variable_sip_contact_uri: 7560301026%40192.168.2.181%3A5060
variable_sip_contact_host: 192.168.2.181
variable_sip_user_agent: Grandstream%20HT801%201.0.37.1
variable_sip_via_host: 192.168.2.181
variable_sip_via_port: 5060
variable_sip_via_rport: 5060
variable_max_forwards: 70
variable_presence_id: 7560301026%40defochtel.superict.yoursipcloud.com
variable_sip_Privacy: none
variable_sip_h_P-Access-Network-Info: IEEE-EUI-48%3Beui-48-addr%3D34-E3-80-77-A2-A1
variable_sip_h_P-Emergency-Info: IEEE-EUI-48%3Beui-48-addr%3DC0-74-AD-64-F6-05
variable_sip_nat_detected: true
variable_switch_r_sdp: v%3D0%0D%0Ao%3D7560301026%208000%208000%20IN%20IP4%20192.168.2.181%0D%0As%3DSIP%20Call%0D%0Ac%3DIN%20IP4%20192.168.2.181%0D%0At%3D0%200%0D%0Am%3Daudio%205004%20RTP/AVP%200%208%204%2018%202%2097%20123%209%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A2%20G726-32/8000%0D%0Aa%3Drtpmap%3A97%20iLBC/8000%0D%0Aa%3Dfmtp%3A97%20mode%3D20%0D%0Aa%3Drtpmap%3A123%20opus/48000/2%0D%0Aa%3Dfmtp%3A123%20maxplaybackrate%3D16000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16,32-36,54%0D%0Aa%3Dptime%3A20%0D%0A
variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
variable_rtp_use_codec_string: PCMA,PCMU
variable_remote_video_media_flow: inactive
variable_remote_text_media_flow: inactive
variable_remote_audio_media_flow: sendrecv
variable_audio_media_flow: sendrecv
variable_remote_media_ip: 192.168.2.181
variable_remote_media_port: 5004
variable_rtp_audio_recv_pt: 0
variable_rtp_use_codec_name: PCMU
variable_rtp_use_codec_rate: 8000
variable_rtp_use_codec_ptime: 20
variable_rtp_use_codec_channels: 1
variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
variable_read_codec: PCMU
variable_original_read_codec: PCMU
variable_read_rate: 8000
variable_original_read_rate: 8000
variable_write_codec: PCMU
variable_write_rate: 8000
variable_dtmf_type: rfc2833
variable_endpoint_disposition: RECEIVED
variable_call_uuid: 374a4c1e-7c29-4c50-a068-8a18368da898
Hunt-Direction: inbound
Hunt-Logical-Direction: inbound
Hunt-Username: 7560301026
Hunt-Dialplan: XML
Hunt-Caller-ID-Name: De%20Fochtel
Hunt-Caller-ID-Number: 7560301026
Hunt-Orig-Caller-ID-Name: De%20Fochtel
Hunt-Orig-Caller-ID-Number: 7560301026
Hunt-Network-Addr: 83.136.197.247
Hunt-ANI: 7560301026
Hunt-Destination-Number: 0621283161
Hunt-Unique-ID: 374a4c1e-7c29-4c50-a068-8a18368da898
Hunt-Source: mod_sofia
Hunt-Context: default
Hunt-Channel-Name: sofia/default/7560301026%40defochtel.superict.yoursipcloud.com
Hunt-Profile-Index: 1
Hunt-Profile-Created-Time: 1655115589061833
Hunt-Channel-Created-Time: 1655115589061833
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
2022-06-13 12:19:49.061833 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2022-06-13 12:19:49.061833 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2022-06-13 12:19:49.061833 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2022-06-13 12:19:49.061833 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2022-06-13 12:19:49.061833 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-06-13 12:19:49.061833 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 0621283161
2022-06-13 12:19:49.061833 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0621283161' limit 1
2022-06-13 12:19:49.061833 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0621283161' AND status=0 limit 1
2022-06-13 12:19:49.061833 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0621283161' and status=0 LIMIT 1
2022-06-13 12:19:49.061833 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2022-06-13 12:19:49.061833 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : De Fochtel / 0855000146
2022-06-13 12:19:49.061833 [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 ="0621283161" LIMIT 1
2022-06-13 12:19:49.061833 [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="0621283161" AND domains.domain="defochtel.superict.yoursipcloud.com" limit 1
2022-06-13 12:19:49.061833 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2022-06-13 12:19:49.061833 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 829927]
2022-06-13 12:19:49.061833 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "829927" AND deleted = 0 limit 1
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0621283161.*' OR blocked_patterns = '^062128316.*' OR blocked_patterns = '^06212831.*' OR blocked_patterns = '^0621283.*' OR blocked_patterns = '^062128.*' OR blocked_patterns = '^06212.*' OR blocked_patterns = '^0621.*' OR blocked_patterns = '^062.*' OR blocked_patterns = '^06.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 928 limit 1
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0621283161" AND (accountid = 0 OR status = 1) LIMIT 1
2022-06-13 12:19:49.101838 [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 = '^0621283161.*' OR patterns = '^062128316.*' OR patterns = '^06212831.*' OR patterns = '^0621283.*' OR patterns = '^062128.*' OR patterns = '^06212.*' OR patterns = '^0621.*' OR patterns = '^062.*' OR patterns = '^06.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 928 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-06-13 12:19:49.101838 [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 ="0621283161" AND A.accountid = '928' limit 1
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0621283161
2022-06-13 12:19:49.101838 [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 ="0621283161" LIMIT 1
2022-06-13 12:19:49.101838 [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="0621283161" AND domains.domain="defochtel.superict.yoursipcloud.com" limit 1
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2022-06-13 12:19:49.101838 [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 = '0621283161' OR number = '062128316' OR number = '06212831' OR number = '0621283' OR number = '062128' OR number = '06212' OR number = '0621' OR number = '062' OR number = '06' OR number = '0' OR number ='--') OR (number = '0621283161*' OR number = '062128316*' OR number = '06212831*' OR number = '0621283*' OR number = '062128*' OR number = '06212*' OR number = '0621*' OR number = '062*' OR number = '06*' OR number = '0*' OR number ='--') OR (number = '0855000146' OR number = '085500014' OR number = '08550001' OR number = '0855000' OR number = '085500' OR number = '08550' OR number = '0855' OR number = '085' OR number = '08' OR number = '0' OR number ='--') OR (number = '0855000146*' OR number = '085500014*' OR number = '08550001*' OR number = '0855000*' OR number = '085500*' OR number = '08550*' OR number = '0855*' OR number = '085*' OR number = '08*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0621283161' OR routing_prefix = '062128316' OR routing_prefix = '06212831' OR routing_prefix = '0621283' OR routing_prefix = '062128' OR routing_prefix = '06212' OR routing_prefix = '0621' OR routing_prefix = '062' OR routing_prefix = '06' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 754 limit 1
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 928
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 829927
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 9.8
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 41
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 41 AND status = 0
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 41 AND status = 0
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0621283161.*' OR pattern = '^062128316.*' OR pattern = '^06212831.*' OR pattern = '^0621283.*' OR pattern = '^062128.*' OR pattern = '^06212.*' OR pattern = '^0621.*' OR pattern = '^062.*' OR pattern = '^06.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 41 OR accountid=928) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-06-13 12:19:49.101838 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2022-06-13 12:19:49.101838 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Rates Not Found :
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Post Cdrs : 0
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 928
2022-06-13 12:19:49.101838 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="0621283161">
<condition field="destination_number" expression="0621283161">
<action application="log" data="WARNING Accountcode 829927. Dialed number (0621283161) origination rates not found!!"/>
<action application="set" data="original_caller_id_name=De Fochtel"/>
<action application="set" data="original_caller_id_number=De Fochtel"/>
<action application="set" data="error_cdr=1"/>
<action application="set" data="callstart=2022-06-13 10:19:49"/>
<action application="set" data="account_id=928"/>
<action application="set" data="parent_id=754"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="sip_ignore_remote_cause=true"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="effective_destination_number=0621283161"/>
<action application="set" data="last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND"/>
<action application="hangup" data="ORIGINATION_RATE_NOT_FOUND"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com parsing [default->0621283161] continue=false
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Regex (PASS) [0621283161] destination_number(0621283161) =~ /0621283161/ break=on-false
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action log(WARNING Accountcode 829927. Dialed number (0621283161) origination rates not found!!)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(original_caller_id_name=De Fochtel)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(original_caller_id_number=De Fochtel)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(error_cdr=1)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(callstart=2022-06-13 10:19:49)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(account_id=928)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(parent_id=754)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(call_direction=outbound)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(sip_ignore_remote_cause=true)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(call_processed=internal)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(effective_destination_number=0621283161)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
Dialplan: sofia/default/7560301026@defochtel.superict.yoursipcloud.com Action hangup(ORIGINATION_RATE_NOT_FOUND)
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:287 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State Change CS_ROUTING -> CS_EXECUTE
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:644 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State ROUTING going to sleep
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Running State Change CS_EXECUTE (Cur 19 Tot 2602)
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:651 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State EXECUTE
2022-06-13 12:19:49.101838 [DEBUG] mod_sofia.c:209 sofia/default/7560301026@defochtel.superict.yoursipcloud.com SOFIA EXECUTE
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:329 sofia/default/7560301026@defochtel.superict.yoursipcloud.com Standard EXECUTE
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com log(WARNING Accountcode 829927. Dialed number (0621283161) origination rates not found!!)
2022-06-13 12:19:49.101838 [WARNING] mod_dptools.c:1866 Accountcode 829927. Dialed number (0621283161) origination rates not found!!
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(original_caller_id_name=De Fochtel)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [original_caller_id_name]=[De Fochtel]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(original_caller_id_number=De Fochtel)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [original_caller_id_number]=[De Fochtel]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(error_cdr=1)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [error_cdr]=[1]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(callstart=2022-06-13 10:19:49)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [callstart]=[2022-06-13 10:19:49]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(account_id=928)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [account_id]=[928]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(parent_id=754)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [parent_id]=[754]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(call_direction=outbound)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(sip_ignore_remote_cause=true)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [sip_ignore_remote_cause]=[true]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(call_processed=internal)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(effective_destination_number=0621283161)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [effective_destination_number]=[0621283161]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
2022-06-13 12:19:49.101838 [DEBUG] mod_dptools.c:1672 SET sofia/default/7560301026@defochtel.superict.yoursipcloud.com [last_bridge_hangup_cause]=[ORIGINATION_RATE_NOT_FOUND]
EXECUTE [depth=0] sofia/default/7560301026@defochtel.superict.yoursipcloud.com hangup(ORIGINATION_RATE_NOT_FOUND)
2022-06-13 12:19:49.101838 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/7560301026@defochtel.superict.yoursipcloud.com [CS_EXECUTE] [NORMAL_CLEARING]
2022-06-13 12:19:49.101838 [DEBUG] switch_core_session.c:2905 sofia/default/7560301026@defochtel.superict.yoursipcloud.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:651 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State EXECUTE going to sleep
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Running State Change CS_HANGUP (Cur 19 Tot 2602)
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:848 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Callstate Change RINGING -> HANGUP
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State HANGUP
2022-06-13 12:19:49.101838 [DEBUG] mod_sofia.c:453 Channel sofia/default/7560301026@defochtel.superict.yoursipcloud.com hanging up, cause: NORMAL_CLEARING
2022-06-13 12:19:49.101838 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:60 sofia/default/7560301026@defochtel.superict.yoursipcloud.com Standard HANGUP, cause: NORMAL_CLEARING
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:850 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State HANGUP going to sleep
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:620 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State Change CS_HANGUP -> CS_REPORTING
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:585 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Running State Change CS_REPORTING (Cur 19 Tot 2602)
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:936 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State REPORTING
2022-06-13 12:19:49.101838 [INFO] mod_json_cdr.c:271 Process [374a4c1e-7c29-4c50-a068-8a18368da898.cdr.json]
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:174 sofia/default/7560301026@defochtel.superict.yoursipcloud.com Standard REPORTING, cause: NORMAL_CLEARING
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:936 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State REPORTING going to sleep
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:611 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State Change CS_REPORTING -> CS_DESTROY
2022-06-13 12:19:49.101838 [DEBUG] switch_core_session.c:1726 Session 2602 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Locked, Waiting on external entities
2022-06-13 12:19:49.101838 [NOTICE] switch_core_session.c:1744 Session 2602 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Ended
2022-06-13 12:19:49.101838 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/7560301026@defochtel.superict.yoursipcloud.com [CS_DESTROY]
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:739 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) Running State Change CS_DESTROY (Cur 18 Tot 2602)
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:749 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State DESTROY
2022-06-13 12:19:49.101838 [DEBUG] mod_sofia.c:364 sofia/default/7560301026@defochtel.superict.yoursipcloud.com SOFIA DESTROY
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:181 sofia/default/7560301026@defochtel.superict.yoursipcloud.com Standard DESTROY
2022-06-13 12:19:49.101838 [DEBUG] switch_core_state_machine.c:749 (sofia/default/7560301026@defochtel.superict.yoursipcloud.com) State DESTROY going to sleep