Remote VoIP Phone Unifi Network
-
I'm sure that once I hear how to fix this I will probably have a "doh" moment but for now, I have an issue I can't seem to be able to fix. Here is the setup.
FreePBX Location:
- Unifi network with all devices running latest firmware
- Unifi controller v6.0.22
- FreePBX v14.0.13.40 setup and running onsite with 55 extensions.
- Everything is working as expected here with no issues.
- Fixed public IP
- Local network 192.168.0.0/24 - flat network - no VLAN for voip
Remote Network:
- Unifi network with all devices running latest firmware
- Unifi controller v6.0.22
- 1 single phone to be connected back to the main office FreePBX (no local PBX)
- Fixed public IP
- Local network 192.168.100.0/24 - flat network - no VLAN for voip
I've disabled SIP CONNTRACK MODULE for both networks.
I've port forwarded 5060 to the FreePBX server limiting access to the remote public IP
I've added the remote IP to the "networks" tab on FreePBX
Asterisk info shows the remote extension is registered however "UNREACHABLE" (see screenshot)
I've checked FreePBX and the IP address is not banned/blocked.I can make a call from the remote extension and it rings at its destination however once I answer, there is no sound from either phones. This is true whether I'm dialing a direct extension or calling a landline or cell phone. It rings but no audio so I suspect some firewall setting may have been missed.
The issue appears to be RTP related.Wondering if anyone can help me figure out what I've missed.
-
@NashBrydges said in Remote VoIP Phone Unifi Network:
I've port forwarded 5060 to the FreePBX server limiting access to the remote public IP
You have to port forward the RTP range also. It is UDP 10000-20000 by default.
-
@NashBrydges said in Remote VoIP Phone Unifi Network:
Asterisk info shows the remote extension is registered however "UNREACHABLE" (see screenshot)
This is not registered. this is an issue with NAT.
-
@NashBrydges said in Remote VoIP Phone Unifi Network:
I've added the remote IP to the "networks" tab on FreePBX
Have you restarted the server or issued
fwconsole restart
? -
@JaredBusch Yeah that was the first thing I tried but didn't help. I am going to port forward the RTP ports on the FreePBX network and give that another try.
-
@NashBrydges said in Remote VoIP Phone Unifi Network:
FreePBX v14.0.13.40 setup and running onsite with 55 extensions.
FYI, this needs updated.
https://www.mangolassi.it/topic/21589/upgrade-freepbx-14-to-freepbx-15 -
@NashBrydges said in Remote VoIP Phone Unifi Network:
I am going to port forward the RTP ports on the FreePBX network and give that another try.
That should resolve the RTP audio issues.
-
@JaredBusch Are you suggesting that an upgrade could fix this issue?
I port forwarded 10000-20000 to the FreePBX and still no joy.
-
@NashBrydges said in Remote VoIP Phone Unifi Network:
Are you suggesting that an upgrade could fix this issue?
No, the things are unrelated. Simply behind by almost a year is not normally a good thing.
-
@NashBrydges said in Remote VoIP Phone Unifi Network:
@JaredBusch Are you suggesting that an upgrade could fix this issue?
I port forwarded 10000-20000 to the FreePBX and still no joy.
Then you have something wrong in your network settings, because no RTP is 100% a NAT issue.
-
@JaredBusch Yeah, I'm relatively new with this client and trying to fix their most critical problems first. Agree, that needs to be upgraded.
-
Have you considered putting a VPN between the sites? That will remove the NAT completely.
-
@scottalanmiller said in Remote VoIP Phone Unifi Network:
Have you considered putting a VPN between the sites? That will remove the NAT completely.
@scottalanmiller - Agreed, especially if you have unifi at both sites it should be quick and easy (assuming they are on the same controller).
-
@NashBrydges - What phone are you using? Is it a Grandstream by chance?
-
@syko24 said in Remote VoIP Phone Unifi Network:
@scottalanmiller said in Remote VoIP Phone Unifi Network:
Have you considered putting a VPN between the sites? That will remove the NAT completely.
@scottalanmiller - Agreed, especially if you have unifi at both sites it should be quick and easy (assuming they are on the same controller).
Exactly, that's what I was thinking.
-
@scottalanmiller Yes I have, and given the phone is a Yealink, I think that capability exists however this is not my ideal workaround. I'd like to fix the actual problem without having to go VPN. But if there is no fix that I can find, I may not have any other choice.
-
@syko24 Yealink T57W
-
@NashBrydges said in Remote VoIP Phone Unifi Network:
I've added the remote IP to the "networks" tab on FreePBX
My brain just caught up.
Remove this. It is not a "local" network because it is going through NAT.
-
@NashBrydges said in Remote VoIP Phone Unifi Network:
@scottalanmiller Yes I have, and given the phone is a Yealink, I think that capability exists however this is not my ideal workaround. I'd like to fix the actual problem without having to go VPN. But if there is no fix that I can find, I may not have any other choice.
I shoudl clarify that I don't want a site to site VPN. The only acceptable VPN solution would be the device VPN.
-
@NashBrydges said in Remote VoIP Phone Unifi Network:
@scottalanmiller Yes I have, and given the phone is a Yealink, I think that capability exists however this is not my ideal workaround. I'd like to fix the actual problem without having to go VPN. But if there is no fix that I can find, I may not have any other choice.
The phones have nothing to do with a site to site VPN between two routers.