- Tixbox Asterisk VOIP server on company's LAN network.
- Remote client with Linksys SPA 942 VOIP phone trying to connect to Asterisk VOIP server via WAN (no VPN).
- Remote client has a static external IP address 184.108.40.206
- SonicWall firewall on company's network is configured as follows:
- The firewall has a range of 8 external IP addresses, and one IP address (220.127.116.11) is dedicated to the VOIP service.
- All incoming traffic from 18.104.22.168 to 22.214.171.124 is allowed and routed to the VOIP server.
- All outgoing traffic from the VOIP server is allowed and routed via 126.96.36.199.
- Draytek Vigor firewall on client's side doesn't have any special setup. All outgoing traffic is allowed, and all incoming traffic is blocked by NAT.
The remote VOIP client can successfully connect and register with the VOIP server. During incoming and outgoing calls, VOIP phones ring, but when answered, no voice is heard by either party.
The issue was resolved by adding following text to /etc/asterisk/sip_nat.conf on the Trixbox VOIP server and rebooting Asterisk.
188.8.131.52 - external IP address dedicated the VOIP service.
10.1.0.0/255.255.0.0 - local office network subnet.
Leave your comment