
how-to block ads
|
 DracoFelis Premium join:2003-06-15
| Re: How multiple ATAs can be behind same NAT router? said by artisticcheese :How on IP level it'll work if you have several ATA on internal network with different VOIP providers using the same SIP port number. If you make sure both the SIP (call setup) and RTP (voice) ports are different, than it works quite well. Because in that case, you use the ports to uniquely identify the adapter.
OTOH you asked about the same ports being used. In that case, it's much more of a YMMV thing. Because when you are using the same ports, the ONLY THING that is keeping the mapping (of port to adapter) correct is the NAT tables in your router (in much the same way that the NAT tables in your router allow multiple PCs on your LAN to web browse on port 80 at the same time). This will sometimes work, but there is many things that could go wrong (which is why I have my multiple adapters on different ports).
For example, if you have each adapter (that is using the same ports) registered with a different provider, the NAT tables (in your router) may know (if it's a smart enough router) that inbound calls from the IP address of provider x go to the adapter that is "registered" with provider x. But how is the router supposed to know which adapter to send a call to, when that "provider" is registered on multiple adapters behind your LAN? And, even worse, how is your router supposed to know which adapter to send an anonymous (call from a non-registered party) call supposed to (in the case of different ports, the port numbers keep this straight, but the NAT tables in the router don't have such queues when different port numbers are used).
Bottom line: I personally prefer to keep my VoIP adapters (behind my home NAT router, and a single public IP) all on different ports, to avoid problems. Yes, I realize that things might work OK with just my router's NAT, but that would still be "asking for trouble". But by keeping the ports (I use for VoIP) unique, I keep things unambiguous (and therefore avoid possible headaches as to which adapter which signal is for). | |
|  |  |  artisticcheese
join:2004-11-09 Carrollton, TX | Re: How multiple ATAs can be behind same NAT router? I thought UDP are packets are sent and received on the same port number so on router side it shall be receiving also on 5060? | |
|  |  |  |  |  |  |  |  | |  |
|