extension dialing between two fusionpbx's

Status
Not open for further replies.

mrjoli021

Member
Jul 20, 2017
128
2
18
46
I have two FusionPBX's in different sites and I need to be able to transfer 4 digit calls between them. FusionPBX1 (1.1.1.1) has extensions 3XXX and FusionPBX2 (2.2.2.2) has extensions 1XXX. Extensions dont overlap with each other. My oubound route on FusionPBX1 is all extension with 1xxx go to 2.2.2.2. 2.2.2.2 gets the invite, but then drops the call. I have added the IP to the domain's ACL list and created an inbound routes.

How can I change it to be 1000@2.2.2.2 instead of FreeSwitch@2.2.2.2?

What am I missing?



2019-09-23 01:35:10.323508 [DEBUG] sofia.c:10337 verifying acl "domains" for ip/port 1.1.1.1:0.
2019-09-23 01:35:10.323508 [WARNING] sofia_reg.c:1793 SIP auth challenge (INVITE) on sofia profile 'internal' for [1000@2.2.2.2] from ip 1.1.1.1
2019-09-23 01:35:10.323508 [DEBUG] switch_core_state_machine.c:604 (sofia/internal/FreeSWITCH@2.2.2.2) State NEW
2019-09-23 01:35:10.323508 [DEBUG] sofia.c:2426 detaching session b37449e4-fccd-4b40-9bfd-362fcc6b907c
2019-09-23 01:35:10.323508 [DEBUG] sofia.c:2535 Re-attaching to session b37449e4-fccd-4b40-9bfd-362fcc6b907c
2019-09-23 01:35:10.343509 [DEBUG] sofia.c:10243 sofia/internal/FreeSWITCH@2.2.2.2 receiving invite from 1.1.1.1:5080 version: 1.10.1 -release-12-f9990221e6 64bit
2019-09-23 01:35:10.343509 [DEBUG] sofia.c:10337 verifying acl "domains" for ip/port 1.1.1.1:0.
2019-09-23 01:35:10.343509 [WARNING] sofia_reg.c:2930 Can't find user [FreeSWITCH@2.2.2.2] from 1.1.1.1
You must define a domain called '2.2.2.2' in your directory and add a user with the id="FreeSWITCH" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2019-09-23 01:35:10.343509 [WARNING] sofia_reg.c:1738 SIP auth failure (INVITE) on sofia profile 'internal' for [1000@2.2.2.2] from ip 1.1.1.1
2019-09-23 01:35:10.343509 [NOTICE] sofia.c:2424 Hangup sofia/internal/FreeSWITCH@2.2.2.2 [CS_NEW] [CALL_REJECTED]
2019-09-23 01:35:10.363509 [DEBUG] sofia.c:1540 Channel is already hungup.
 

randyrtx

New Member
Sep 16, 2019
6
0
1
53
if your gateway is set the the internal profile it will require authentication on the SIP invite. If you use the external you can get it to authenticate it by IP.
 

mrjoli021

Member
Jul 20, 2017
128
2
18
46
I am coming on the external side. How do I add the IP authentication?
 
Last edited:

randyrtx

New Member
Sep 16, 2019
6
0
1
53
so on your external profile you will see which ACL is uses by looking at the sip profile for apply-inbound-acl. Mine is set to domains so I would use the domains ACL to set the 2.2.2.2/32 and type is Allow
 

mrjoli021

Member
Jul 20, 2017
128
2
18
46
Is there another place to add the IP authentication? I have added the ACL and I am still getting the same issue.
 

randyrtx

New Member
Sep 16, 2019
6
0
1
53
in your gateway settings is profile = external?

from the capture above it looks as though it is internal =sofia/internal/FreeSWITCH@2.2.2.2
 
Last edited:
Status
Not open for further replies.