- Joined
- Dec 16, 2021
- Messages
- 14
- Reaction score
- 4
I'm fairly sure this has nothing specifically to do with the yealink phones, rather how 3cx handles IP phones in general (speculating at this point).
I recently have implemented hairpin NAT for our 3cx server to avoid split-dns for LAN and WAN clients. This is working as expected so far. Clients connect to the PBX via the public IP of the PBX, even when internal. The only downsides to this are:
My guess is I have created a scenario where my IP phones are now "remote" and require something like STUN to receive connections from the PBX, but the behavior I am seeing is leaving me a bit uncertain. The IP Phones calling each other ring and connect without issue. Echo tests work fine. Is this expected for "remote" IP phones without any special config? What kind of solution might help me here?
I recently have implemented hairpin NAT for our 3cx server to avoid split-dns for LAN and WAN clients. This is working as expected so far. Clients connect to the PBX via the public IP of the PBX, even when internal. The only downsides to this are:
- All traffic must now go through our WAN router, this is acceptable
- The PBX sees all LAN clients connecting from the WAN routers' LAN IP on its subnet due to NAT. For example, if the PBX is at 192.168.0.10 and a LAN client is at 192.168.4.20, the LAN Client connects to the PBX via a public IP, say 132.132.132.129. The PBX sees the connection coming from the WAN's IP at 192.168.0.1. So, all LAN connections look like they are coming from one IP. I'm not sure if this really causes any problem, except obviously that the PBX has no way to directly initiate connections with a LAN phone/client.
- IP Phone to IP Phone, no audio either direction.
- App (desktop or mobile) to/from IP Phone. No issues.
- Public number to/from IP Phone. No issues.
- App (desktop or mobile) to/from each other or public number. No issues.
- Echo test (*777) from IP phones work fine. No issues.
My guess is I have created a scenario where my IP phones are now "remote" and require something like STUN to receive connections from the PBX, but the behavior I am seeing is leaving me a bit uncertain. The IP Phones calling each other ring and connect without issue. Echo tests work fine. Is this expected for "remote" IP phones without any special config? What kind of solution might help me here?