Hi, I'm new to Trixbox and noticed my router (Actiontec that comes with Verizon FIOS) has an advanced setting called SIP ALG. It is currently disabled, but based on what I've read I'm guessing that if I enable it I won't have to forward any ports and the router will handle all NAT traversal issues for SIP calls. Is this correct? If so - how do I tell the router which local machine is the Trixbox? There's no setting for that (or does the router figure that out by querying the different devices on the LAN?).
SIP ALG
If you want to receive calls you will still need port forwards. Also according to
http://www.voip-info.org/wiki/view/Routers+SIP+ALG
You should leave it disabled because it might break the SIP traffic all together.
It is almost guaranteed that turning on whatever SIP application layer gateway your home-level router has will break your ability to make phone calls. The most common scenario our support people see is that you'll be able to register, but unable to make calls. That is why we recommend that customers turn off any SIP ALG on their routers, unless it is a high-end router with excellent support.
Excellent, thanks for the very quick feedback. I will simply do the port forwarding.
May I ask a related question - I understand that I may not need to forward all of the 10000 ports in the 10-20 range, depending on the volume of calls I plan to make. is that correct, and if so is there an algorithm for determining how many ports to open up?
The RTP ports you need to forward depend solely on your SIP provider.
Your local RTP settings will determine the port range on which trixbox SENDS RTP traffic, this is the setting that you can limit. If your SIP provider sends RTP traffic over 10K-20K, you have to choice to forward all of them to your trixbox, because there is no way to control which ports your provider will use.
Got it, thanks very much.
RTP packets have both source and destination ports.
For outgoing packets, destination port is set external (provider, extern device...) and can be anything in 1024....65535 range
For outgoing packets, source ports is set by asterisk rtp.conf
The default range (10.000 20.000) can be altered in rtp.conf
Set up firewall to only filter on ports set by asterisk
Member Since:
2008-07-31