Extensions cannot call each other

Status
Not open for further replies.

Neoscopio

New Member
Oct 6, 2021
12
1
3
54
I have a new installation working, I've configured two extensions for desk sip gs phones, but they cannot call each other.
I must be missing something: Do I need to create an inbound route for extensions? I have a IVR working on 9000 extension but phones could not call the ivr until I created an inbound route for 9000 in context public. Makes no sense, so I must be doing something wrong. (I've also changed the acl entries to accept by default. )

Relevant log messages are (101 calling 201, registered in two different geographical locations, and networks)

Can anyone help ??? Thanks


Code:
2021-10-27 11:06:39.016316 [NOTICE] switch_channel.c:1118 New Channel sofia/internal/101@pbx.mydomain.com [cc0f03bd-d469-47fc-b446-d7eda3bfe3ba]
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/101@pbx.mydomain.com) Running State Change CS_NEW (Cur 1 Tot 14543)
2021-10-27 11:06:39.016316 [DEBUG] sofia.c:10279 sofia/internal/101@pbx.mydomain.com receiving invite from 89.154.65.103:5064 version: 1.10.3 -release 64bit
2021-10-27 11:06:39.016316 [DEBUG] sofia.c:10373 verifying acl "domains" for ip/port 89.154.65.103:0.
2021-10-27 11:06:39.016316 [DEBUG] sofia.c:10402 IP 89.154.65.103 Approved by acl "domains[]". Access Granted.
2021-10-27 11:06:39.016316 [DEBUG] sofia.c:11476 Setting NAT mode based on via port
2021-10-27 11:06:39.016316 [DEBUG] sofia.c:7325 Channel sofia/internal/101@pbx.mydomain.com entering state [received][100]
2021-10-27 11:06:39.016316 [INFO] mod_dialplan_xml.c:637 Processing 101 <101>->201 in context public
Dialplan: sofia/internal/101@pbx.mydomain.com parsing [public->caller-details] continue=true
Dialplan: sofia/internal/101@pbx.mydomain.com Regex (PASS) [caller-details] () =~ // break=never
Dialplan: sofia/internal/101@pbx.mydomain.com Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/internal/101@pbx.mydomain.com export(call_direction=inbound)
2021-10-27 11:06:39.016316 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/internal/101@pbx.mydomain.com Action set(caller_destination=${sip_to_user}) INLINE
EXECUTE [depth=0] sofia/internal/101@pbx.mydomain.com set(caller_destination=201)
2021-10-27 11:06:39.016316 [DEBUG] mod_dptools.c:1672 SET sofia/internal/101@pbx.mydomain.com [caller_destination]=[201]
Dialplan: sofia/internal/101@pbx.mydomain.com Action set(caller_id_name=${caller_id_name}) INLINE
EXECUTE [depth=0] sofia/internal/101@pbx.mydomain.com set(caller_id_name=101)
2021-10-27 11:06:39.016316 [DEBUG] mod_dptools.c:1672 SET sofia/internal/101@pbx.mydomain.com [caller_id_name]=[101]
Dialplan: sofia/internal/101@pbx.mydomain.com Action set(caller_id_number=${caller_id_number})
Dialplan: sofia/internal/101@pbx.mydomain.com parsing [public->901020304] continue=false
Dialplan: sofia/internal/101@pbx.mydomain.com Regex (FAIL) [901020304] destination_number(201) =~ /^\+?351?(901020304)$/ break=on-false
Dialplan: sofia/internal/101@pbx.mydomain.com parsing [public->] continue=false
Dialplan: sofia/internal/101@pbx.mydomain.com Regex (FAIL) [] destination_number(201) =~ /^(9000)$/ break=on-false
Dialplan: sofia/internal/101@pbx.mydomain.com parsing [public->not-found] continue=false
Dialplan: sofia/internal/101@pbx.mydomain.com Regex (PASS) [not-found] () =~ // break=on-false
Dialplan: sofia/internal/101@pbx.mydomain.com Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/internal/101@pbx.mydomain.com export(call_direction=inbound)
2021-10-27 11:06:39.016316 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/internal/101@pbx.mydomain.com Action set(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/internal/101@pbx.mydomain.com set(call_direction=inbound)
2021-10-27 11:06:39.016316 [DEBUG] mod_dptools.c:1672 SET sofia/internal/101@pbx.mydomain.com [call_direction]=[inbound]
Dialplan: sofia/internal/101@pbx.mydomain.com Action log(WARNING [inbound routes] 404 not found ${sip_network_ip})
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:287 (sofia/internal/101@pbx.mydomain.com) State Change CS_ROUTING -> CS_EXECUTE
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:644 (sofia/internal/101@pbx.mydomain.com) State ROUTING going to sleep
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/101@pbx.mydomain.com) Running State Change CS_EXECUTE (Cur 1 Tot 14543)
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:651 (sofia/internal/101@pbx.mydomain.com) State EXECUTE
2021-10-27 11:06:39.016316 [DEBUG] mod_sofia.c:209 sofia/internal/101@pbx.mydomain.com SOFIA EXECUTE
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:329 sofia/internal/101@pbx.mydomain.com Standard EXECUTE
EXECUTE [depth=0] sofia/internal/101@pbx.mydomain.com set(caller_id_number=101)
2021-10-27 11:06:39.016316 [DEBUG] mod_dptools.c:1672 SET sofia/internal/101@pbx.mydomain.com [caller_id_number]=[101]
EXECUTE [depth=0] sofia/internal/101@pbx.mydomain.com log(WARNING [inbound routes] 404 not found 89.154.65.103)
2021-10-27 11:06:39.016316 [WARNING] mod_dptools.c:1866 [inbound routes] 404 not found 89.154.65.103
2021-10-27 11:06:39.016316 [NOTICE] switch_core_state_machine.c:386 sofia/internal/101@pbx.mydomain.com has executed the last dialplan instruction, hanging up.
2021-10-27 11:06:39.016316 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/internal/101@pbx.mydomain.com [CS_EXECUTE] [NORMAL_CLEARING]
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:651 (sofia/internal/101@pbx.mydomain.com) State EXECUTE going to sleep
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/101@pbx.mydomain.com) Running State Change CS_HANGUP (Cur 1 Tot 14543)
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/101@pbx.mydomain.com) Callstate Change RINGING -> HANGUP
2021-10-27 11:06:39.016316 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/101@pbx.mydomain.com) State HANGUP
2021-10-27 11:06:39.016316 [DEBUG] mod_sofia.c:453 Channel sofia/internal/101@pbx.mydomain.com hanging up, cause: NORMAL_CLEARING
 
Status
Not open for further replies.