We have installed Asterisk 126.96.36.199 after NAT. However, there’s a problems for remote clients using X-Lite Version 3.0 soft phone. Users can register and hear the ringing tone when dial to an extension. But, there’s no sound can be heard from the X-Lite client. There’s no problem when connecting with VPN.
Our setting is,
X-Lite <—> NAT (broadand router) <—> INTERNET <—> NAT (broadband router)(fix ip) <—> Asterisk 188.8.131.52 (192.168.0.1)
SIP.CONF file has configured for using nat already
dtmfmode = rfc2833
alwaysauthreject = yes
nat = route ; tried YES, no change
canreinvite=nonat ;tried NO, no change.
TRIED following alternatives
- externip = xxx.xxx.xxx.xxx:5060 ; No sound in remote client even with VPN
- externip = host.domain.com:5060 ;remote client can hear sound in VPN connection only.
host = dynamic
username = 1234
canreinvite = no
qualify = yes
disallow = all
allow = gsm
allow = ulaw
Port forwarding rules have been created on the router to Asterisk Server.
port forwarded are
5060 TCP/UDP to 192.168.0.1
5061 TCP/UDP to 192.168.0.1
3078 TCP/UDP to 192.168.0.1
10001-20000 UDP to 192.168.0.1
When enabled the RTP DEBUG in the console, I can see that server sending packet to the remote client’s private address. And the peers’s Address is the correct public address of the router for the remote client.
Can anyone help me to resolve this issue ? So, we can use remote client without VPN?