1

I have a trixbox server and every works find except the external SIPs. Inside net all sound goes fine, but if I use a SIP phone outside the net, I can connect, I can receive calls but I there is no sound.

I have this text in the sip_nat.conf:

nat=yes
externhost=xxxxx.dyndns.org
localnet=192.168.1.0/255.255.255.0
localhost=192.168.1.210
externrefresh=10
qualify=yes

And I have the ports from 5036 to 5082, 4569 and from 10000 to 20000 redirected to 192.168.1.210 on TCP and UDP.

What's wrong?

tombull89
  • 2,954
  • 8
  • 42
  • 52

2 Answers2

1

You may need to configure the RTP ports, the reason you can initiate the call and you cannot hear is because SIP uses one port for data (5060) and a random one for voice (RTP).

In /etc/asterisk/rtp.conf:

[general]
;
; RTP start and RTP end configure start and end addresses
;
rtpstart=10000
rtpend=20000
ghm1014
  • 954
0

Try specifying the external ip address:

nat=yes
externip = X.X.X.X
externhost=xxxxx.dyndns.org
localnet=192.168.1.0/255.255.255.0
localhost=192.168.1.210
externrefresh=10
qualify=yes

And restart asterisk.

93196.93
  • 291