Can't get outgoing call working

maurizio261

New Member
May 7, 2020
23
1
3
39
Hi to everybody,
i'm get stuck with outbound call, i've just added a gateway on my pbx, but after that inbound works perfect but outgoing still get rejected.
I've also tryed to erase all the outbound rules and rewrite them up but nothing change. Here some logs of the call.

2024-10-20 16:11:35.017999 100.00% [NOTICE] switch_channel.c:1142 New Channel sofia/internal/205@10.0.0.23 [5ce971a3-c08a-4a57-a901-309bcdb910de]
2024-10-20 16:11:35.017999 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/205@10.0.0.23) Running State Change CS_NEW (Cur 1 Tot 88)
2024-10-20 16:11:35.017999 100.00% [INFO] sofia.c:10459 sofia/internal/205@10.0.0.23 receiving invite from 10.0.0.129:60441 version: 1.10.11 -release 64bit call-id: EneUauy0V_E-a3A0UXwTiw..
2024-10-20 16:11:35.017999 100.00% [DEBUG] sofia.c:10553 verifying acl "providers" for ip/port 10.0.0.129:0.
2024-10-20 16:11:35.017999 100.00% [DEBUG] switch_core_state_machine.c:600 (sofia/internal/205@10.0.0.23) State NEW
2024-10-20 16:11:35.017999 100.00% [DEBUG] sofia.c:2419 detaching session 5ce971a3-c08a-4a57-a901-309bcdb910de
2024-10-20 16:11:35.237998 100.00% [DEBUG] sofia.c:2532 Re-attaching to session 5ce971a3-c08a-4a57-a901-309bcdb910de
2024-10-20 16:11:35.237998 100.00% [INFO] sofia.c:10459 sofia/internal/205@10.0.0.23 receiving invite from 10.0.0.129:60441 version: 1.10.11 -release 64bit call-id: EneUauy0V_E-a3A0UXwTiw..
2024-10-20 16:11:35.237998 100.00% [DEBUG] sofia.c:10553 verifying acl "providers" for ip/port 10.0.0.129:0.
2024-10-20 16:11:35.257855 100.00% [DEBUG] sofia.c:11674 Setting NAT mode based on via received
2024-10-20 16:11:35.257855 100.00% [DEBUG] sofia.c:7493 Channel sofia/internal/205@10.0.0.23 entering state [received][100]
2024-10-20 16:11:35.257855 100.00% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=Z 0 859145359 IN IP4 10.6.0.2
s=Z
c=IN IP4 10.6.0.2
t=0 0
m=audio 58558 RTP/AVP 106 9 98 101 0 8 3
a=rtpmap:106 opus/48000/2
a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1
a=rtpmap:98 telephone-event/48000
a=fmtp:98 0-16
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtcp-mux

2024-10-20 16:11:35.257855 100.00% [DEBUG] sofia.c:7906 (sofia/internal/205@10.0.0.23) State Change CS_NEW -> CS_INIT
2024-10-20 16:11:35.257855 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/205@10.0.0.23) Running State Change CS_INIT (Cur 1 Tot 88)
2024-10-20 16:11:35.257855 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/205@10.0.0.23) State INIT
2024-10-20 16:11:35.257855 100.00% [DEBUG] mod_sofia.c:97 sofia/internal/205@10.0.0.23 SOFIA INIT
2024-10-20 16:11:35.257855 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/internal/205@10.0.0.23 Standard INIT
2024-10-20 16:11:35.257855 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/internal/205@10.0.0.23) State Change CS_INIT -> CS_ROUTING
2024-10-20 16:11:35.257855 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/205@10.0.0.23) State INIT going to sleep
2024-10-20 16:11:35.257855 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/205@10.0.0.23) Running State Change CS_ROUTING (Cur 1 Tot 88)
2024-10-20 16:11:35.257855 100.00% [DEBUG] switch_channel.c:2399 (sofia/internal/205@10.0.0.23) Callstate Change DOWN -> RINGING
2024-10-20 16:11:35.257855 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/internal/205@10.0.0.23) State ROUTING
2024-10-20 16:11:35.257855 100.00% [DEBUG] mod_sofia.c:158 sofia/internal/205@10.0.0.23 SOFIA ROUTING
2024-10-20 16:11:35.257855 100.00% [DEBUG] switch_core_state_machine.c:230 sofia/internal/205@10.0.0.23 Standard ROUTING
2024-10-20 16:11:35.257855 100.00% [INFO] mod_dialplan_xml.c:639 Processing 205 <205>->3474408900 in context 10.0.0.23
2024-10-20 16:11:35.277914 100.00% [NOTICE] switch_cpp.cpp:1466 [xml_handler] multiple key:dialplan:10.0.0.23
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->user_exists] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_exists] ${loopback_leg}() =~ /^B$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [user_exists] () =~ // break=on-false
Dialplan: sofia/internal/205@10.0.0.23 Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 set(user_exists=false)
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_dptools.c:1671 SET sofia/internal/205@10.0.0.23 [user_exists]=[false]
Dialplan: sofia/internal/205@10.0.0.23 Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 set(from_user_exists=true)
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_dptools.c:1671 SET sofia/internal/205@10.0.0.23 [from_user_exists]=[true]
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->caller-details] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [caller-details] ${caller_destination}() =~ /^$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Action set(caller_destination=${destination_number}) INLINE
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 set(caller_destination=3474408900)
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_dptools.c:1671 SET sofia/internal/205@10.0.0.23 [caller_destination]=[3474408900]
Dialplan: sofia/internal/205@10.0.0.23 Action set(caller_id_name=${caller_id_name}) INLINE
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 set(caller_id_name=205)
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_dptools.c:1671 SET sofia/internal/205@10.0.0.23 [caller_id_name]=[205]
Dialplan: sofia/internal/205@10.0.0.23 Action set(caller_id_number=${caller_id_number})
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->global-variables] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [global-variables] () =~ // break=on-false
Dialplan: sofia/internal/205@10.0.0.23 Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->domain-variables] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [domain-variables] () =~ // break=on-false
Dialplan: sofia/internal/205@10.0.0.23 Action export(origination_callee_id_name=${caller_destination})
Dialplan: sofia/internal/205@10.0.0.23 Action set(operator=1000) INLINE
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 set(operator=1000)
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_dptools.c:1671 SET sofia/internal/205@10.0.0.23 [operator]=[1000]
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->clear_sip_auto_answer] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->is_loopback] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [is_loopback] ${is_follow_me_loopback}() =~ /true/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->call-direction] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [call-direction] ${call_direction}() =~ /^$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Action export(call_direction=local) INLINE
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 export(call_direction=local)
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_direction]=[local]
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->user_record] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 set(from_user_record=)
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_dptools.c:1671 SET sofia/internal/205@10.0.0.23 [from_user_record]=[UNDEF]
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->rtp_has_crypto] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [rtp_has_crypto] ${rtp_has_crypto}() =~ /^(AEAD_AES_256_GCM_8|AEAD_AES_128_GCM_8|AES_CM_256_HMAC_SHA1_80|AES_CM_192_HMAC_SHA1_80|AES_CM_128_HMAC_SHA1_80|AES_CM_256_HMAC_SHA1_32|AES_CM_192_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_32|AES_CM_128_NULL_AUTH)$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->redial] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [redial] destination_number(3474408900) =~ /^(redial|\*870)$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [redial] () =~ // break=never
Dialplan: sofia/internal/205@10.0.0.23 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->speed_dial] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [speed_dial] destination_number(3474408900) =~ /^\*0(.*)$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->user_hold_music] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [user_hold_music] ${user_exists}(false) =~ /true/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->default_caller_id] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [default_caller_id] ${call_direction}(local) =~ /outbound/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->+390575405040.d417] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (PASS) [+390575405040.d417] ${user_exists}(false) =~ /false/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [+390575405040.d417] destination_number(3474408900) =~ /^(d\{4,17})$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->RING IN] continue=
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [RING IN] destination_number(3474408900) =~ /^501$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->agent_status] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [agent_status] destination_number(3474408900) =~ /^\*22$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [agent_status] destination_number(3474408900) =~ /^(?:agent\+|\*22)(.+)$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->agent_status_id] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [agent_status_id] destination_number(3474408900) =~ /^\*23$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->agent-status-break] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [agent-status-break] destination_number(3474408900) =~ /^\*24$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [agent-status-break] destination_number(3474408900) =~ /^(?:agent\+|\*24)(.+)$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->group-intercept] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [group-intercept] destination_number(3474408900) =~ /^\*8$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->page-extension] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [page-extension] destination_number(3474408900) =~ /^\*8(\d{2,7})$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->eavesdrop] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [eavesdrop] destination_number(3474408900) =~ /^\*33(\d{2,7})$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->call_privacy] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call_privacy] destination_number(3474408900) =~ /^\*67(\d+)$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->call_return] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call_return] destination_number(3474408900) =~ /^\*69$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->intercept-ext] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [intercept-ext] destination_number(3474408900) =~ /^\*\*(\d+)$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [intercept-ext] destination_number(3474408900) =~ /^\*\*$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->intercept-ext-polycom] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [intercept-ext-polycom] destination_number(3474408900) =~ /^\*97(\d+)$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->number_queue] continue=
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [number_queue] destination_number(3474408900) =~ /^\*800(.*)$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->dx] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [dx] destination_number(3474408900) =~ /^dx$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->att_xfer] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [att_xfer] destination_number(3474408900) =~ /^att_xfer$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->extension-to-voicemail] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [extension-to-voicemail] ${user_exists}(false) =~ /^true$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->send_to_voicemail] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [send_to_voicemail] destination_number(3474408900) =~ /^\*99(\d{2,10})$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->vmain] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [vmain] destination_number(3474408900) =~ /^vmain$|^\*4000$|^\*98$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [vmain] destination_number(3474408900) =~ /^(vmain$|^\*4000$|^\*98|voicemail\+)(\d{2,12})$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->xfer_vm] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [xfer_vm] destination_number(3474408900) =~ /^xfer_vm$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->is_transfer] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [is_transfer] destination_number(3474408900) =~ /^is_transfer$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->vmain_user] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [vmain_user] destination_number(3474408900) =~ /^\*97$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->cf] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [cf] destination_number(3474408900) =~ /^cf$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->delay_echo] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [delay_echo] destination_number(3474408900) =~ /^\*9195$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->echo] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [echo] destination_number(3474408900) =~ /^\*9196$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->milliwatt] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [milliwatt] destination_number(3474408900) =~ /^\*9197$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->is_zrtp_secure] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 ANTI-Action eval(not_secure)
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->tone_stream] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [tone_stream] destination_number(3474408900) =~ /^\*9198$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->is_secure] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->hold_music] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [hold_music] destination_number(3474408900) =~ /^\*9664$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->recordings] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [recordings] destination_number(3474408900) =~ /^\*(732)$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->directory] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [directory] destination_number(3474408900) =~ /^\*411$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->wake-up] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [wake-up] destination_number(3474408900) =~ /^\*(925)$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->valet_park] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [valet_park] destination_number(3474408900) =~ /^(park)?\+?\*(59[0-9][0-9])$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [valet_park] destination_number(3474408900) =~ /^(park)?\+?\*(59[0-9][0-9])$/ break=never
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [valet_park] destination_number(3474408900) =~ /^(park)?\+?\*(59[0-9][0-9])$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->operator-forward] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [operator-forward] destination_number(3474408900) =~ /^\*000$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->do-not-disturb] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [do-not-disturb] destination_number(3474408900) =~ /^\*77$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [do-not-disturb] destination_number(3474408900) =~ /^\*78$|\*363$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [do-not-disturb] destination_number(3474408900) =~ /^\*79$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [do-not-disturb] destination_number(3474408900) =~ /^dnd\+205$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->call_screen] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->call-forward] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call-forward] destination_number(3474408900) =~ /^\*72(\d{2,20})$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call-forward] destination_number(3474408900) =~ /^\*72$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call-forward] destination_number(3474408900) =~ /^\*73$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call-forward] destination_number(3474408900) =~ /^\*74$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call-forward] destination_number(3474408900) =~ /^forward\+(\Q205\E)(?:\/(\d+))?$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->ring-group-forward] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [ring-group-forward] destination_number(3474408900) =~ /^\*75$/ break=on-true
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->call-forward-not-registered] continue=
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call-forward-not-registered] ${user_exists}(false) =~ /true/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->follow-me] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [follow-me] destination_number(3474408900) =~ /^\*21$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->call-forward-all] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [call-forward-all] ${forward_all_enabled}() =~ /true/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->follow-me-destinations] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [follow-me-destinations] ${user_exists}(false) =~ /^true$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->talking clock date and time] continue=
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [talking clock date and time] destination_number(3474408900) =~ /^\*9172$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->talking clock time] continue=
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [talking clock time] destination_number(3474408900) =~ /^\*9170$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->talking clock date] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [talking clock date] destination_number(3474408900) =~ /^\*9171$/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->local_extension] continue=true
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [local_extension] ${user_exists}(false) =~ /true/ break=on-false
Dialplan: sofia/internal/205@10.0.0.23 parsing [10.0.0.23->voicemail] continue=false
Dialplan: sofia/internal/205@10.0.0.23 Regex (FAIL) [voicemail] ${user_exists}(false) =~ /true/ break=on-false
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:281 (sofia/internal/205@10.0.0.23) State Change CS_ROUTING -> CS_EXECUTE
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/internal/205@10.0.0.23) State ROUTING going to sleep
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/205@10.0.0.23) Running State Change CS_EXECUTE (Cur 1 Tot 88)
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/internal/205@10.0.0.23) State EXECUTE
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_sofia.c:213 sofia/internal/205@10.0.0.23 SOFIA EXECUTE
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:323 sofia/internal/205@10.0.0.23 Standard EXECUTE
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 set(caller_id_number=205)
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_dptools.c:1671 SET sofia/internal/205@10.0.0.23 [caller_id_number]=[205]
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 set(RFC2822_DATE=Sun, 20 Oct 2024 16:11:35 +0200)
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_dptools.c:1671 SET sofia/internal/205@10.0.0.23 [RFC2822_DATE]=[Sun, 20 Oct 2024 16:11:35 +0200]
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 export(origination_callee_id_name=3474408900)
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [origination_callee_id_name]=[3474408900]
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 hash(insert/10.0.0.23-last_dial/205/3474408900)
EXECUTE [depth=0] sofia/internal/205@10.0.0.23 eval(not_secure)
2024-10-20 16:11:35.277914 100.00% [NOTICE] switch_core_state_machine.c:382 sofia/internal/205@10.0.0.23 has executed the last dialplan instruction, hanging up.
2024-10-20 16:11:35.277914 100.00% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/internal/205@10.0.0.23 [CS_EXECUTE] [NORMAL_CLEARING]
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/internal/205@10.0.0.23) State EXECUTE going to sleep
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/205@10.0.0.23) Running State Change CS_HANGUP (Cur 1 Tot 88)
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:844 (sofia/internal/205@10.0.0.23) Callstate Change RINGING -> HANGUP
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/205@10.0.0.23) State HANGUP
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_sofia.c:469 Channel sofia/internal/205@10.0.0.23 hanging up, cause: NORMAL_CLEARING
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:59 sofia/internal/205@10.0.0.23 Standard HANGUP, cause: NORMAL_CLEARING
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/205@10.0.0.23) State HANGUP going to sleep
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:616 (sofia/internal/205@10.0.0.23) State Change CS_HANGUP -> CS_REPORTING
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/205@10.0.0.23) Running State Change CS_REPORTING (Cur 1 Tot 88)
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/205@10.0.0.23) State REPORTING
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:168 sofia/internal/205@10.0.0.23 Standard REPORTING, cause: NORMAL_CLEARING
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/205@10.0.0.23) State REPORTING going to sleep
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:607 (sofia/internal/205@10.0.0.23) State Change CS_REPORTING -> CS_DESTROY
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_session.c:1744 Session 88 (sofia/internal/205@10.0.0.23) Locked, Waiting on external entities
2024-10-20 16:11:35.277914 100.00% [NOTICE] switch_core_session.c:1762 Session 88 (sofia/internal/205@10.0.0.23) Ended
2024-10-20 16:11:35.277914 100.00% [NOTICE] switch_core_session.c:1766 Close Channel sofia/internal/205@10.0.0.23 [CS_DESTROY]
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:735 (sofia/internal/205@10.0.0.23) Running State Change CS_DESTROY (Cur 0 Tot 88)
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/205@10.0.0.23) State DESTROY
2024-10-20 16:11:35.277914 100.00% [DEBUG] mod_sofia.c:380 sofia/internal/205@10.0.0.23 SOFIA DESTROY
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:175 sofia/internal/205@10.0.0.23 Standard DESTROY
2024-10-20 16:11:35.277914 100.00% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/205@10.0.0.23) State DESTROY going to sleep


Any ideas?
thank you in advance
 

pbxgeek

Active Member
Jan 19, 2021
159
58
28
37
I don’t see you setting outbound caller ID. Most carriers will reject calls without proper caller ID.
 

maurizio261

New Member
May 7, 2020
23
1
3
39
You mean the outbound caller ID in the extension menu? I've set it up but seem's like it doesn't working...the strange thing is that I've a copy of that vm, approx same configuration (gateway, extension...) and it works without problems...i've done some setting on the outbound route, I believe I've messed something up... Or I don't know
 

pbxgeek

Active Member
Jan 19, 2021
159
58
28
37
Often, you need to flush the cache when you make changes in the system. I would try setting the caller ID in the dialplan first to confirm the issue.
 

maurizio261

New Member
May 7, 2020
23
1
3
39
Ok I even flush the cache so we got it, just for double check where in the dial plan? I've only added it on the extension menu
 

pbxgeek

Active Member
Jan 19, 2021
159
58
28
37
Under domain-variables dialplan you can add a record like this.
Code:
default_outbound_caller_id_number=+1xxxxxxxxxxx

1729523759757.png