CONTEXT -> PUBLIC

Status
Not open for further replies.

Matias

New Member
Feb 3, 2017
2
0
1
52
Hi,
My FusionPBX 4.2.2 is running in a Raspberry PI 3. My installation also includes a Cisco SPA-3102 as Gateway to connect to phone Line.
This gateway has the PSTN Line Registered (REGED) in external profile(port 5080) and Line 1 registered as a normal extension (6003) in internal profile.
I also have more extensions linked to soft phones.

I can can make calls between extensions (included de SPA3102 Line 1). I can receive calls from the outside an being received in Line 1 extension.
Finally I can make outside calls with soft phones but not with Line 1 Extension because it automatically goes to "Public Context" and ends call because "No route to destination".

I've tried registering gateway to internal profiles, change ACL of internal, etc. Can you help me solving this issue?

Regards

1) sofia status:

freeswitch@raspberrypi> sofia status
Name Type Data State
=================================================================================================
external-ipv6 profile sip:mod_sofia@[::1]:5080 RUNNING (0)
10.10.0.26 alias internal ALIASED
external profile sip:mod_sofia@10.10.0.26:5080 RUNNING (0)
external::0c2dddec-fe5d-461e-9d61-d950095ea93f gateway sip:spa3102@10.10.0.20:5080 REGED
internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0)
internal profile sip:mod_sofia@10.10.0.26:5060 RUNNING (0)
=================================================================================================

2) Fs_cli log:
2017-03-05 15:01:55.480732 [INFO] mod_dialplan_xml.c:637 Processing 6003 <6003>->113 in context public
Dialplan: sofia/internal/6003@10.10.0.26 parsing [public->spa3102] continue=false
Dialplan: sofia/internal/6003@10.10.0.26 Regex (FAIL) [spa3102] destination_number(113) =~ /^(s)$/ break=on-false
2017-03-05 15:01:55.500718 [INFO] switch_core_state_machine.c:311 No Route, Aborting
2017-03-05 15:01:55.500718 [NOTICE] switch_core_state_machine.c:312 Hangup sofia/internal/6003@10.10.0.26 [CS_ROUTING] [NO_ROUTE_DESTINATION]

3) Registrations:
User Agent LAN IP IP Port Hostname Status Ping
6000@10.10.0.26 Linphone_iPhone.6s_iOS10.2.1/3.16.2 (belle-sip/1.5.0) 10.10.0.38 5060 raspberrypi Registered(UDP)(unknown) exp(2017-03-05 15:43:10) expsecs(1856) 0.00
6003@10.10.0.26 Linksys/SPA3102-5.2.13(GW002) 10.10.0.20 10.10.0.20 5060 raspberrypi Registered(UDP)(unknown) exp(2017-03-05 16:03:56) expsecs(3102) 0.00
spa3102@10.10.0.26 FreeSWITCH 10.10.0.26 5080 raspberrypi Registered(UDP)(unknown) exp(2017-03-05 15:23:43) expsecs(689) 0.00
 
Status
Not open for further replies.