<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
The reason that IAX2 is considered good for NAT issues is that it uses
only one port for both control messages and voice traffic as opposed to
SIP that uses a predictable port for control messages and an
unpredictable one for voice/video traffic.<br>
<br>
If both servers are behind NAT servers, you <i>will</i> need to ensure
that the appropriate UDP port (by default 4569) are forwarded to your
Asterisk servers.&nbsp; Only this port is required - RTP isn't used by IAX2.<br>
<br>
bilal ghayyad wrote:
<blockquote cite="mid:994536.35143.qm@web53906.mail.re2.yahoo.com"
 type="cite">
  <pre wrap="">Hi List;

I heared that IAX is good for NATing issues, but I do
not know if it can help me in that senario:

I have two Asterisks machines in different sites and
both are behind NAT (both have private IP address), I
need to link these two asterisks with IAX trunk (if it
help really in such senario), but I do not know if it
will work without doing special routing settings on
the router (like TCP/UDP port mapping or IP
forwarding)? How that will be it if possible? Or I
have to do a kind of port mapping?

If I will need to use port mapping, then I have to map
the TCP and UDP ports that are determined in iax.conf
and rtp.conf files at site A for asterisk ip address
at site A? Or I have to map the TCP and UDP ports that
are in iax.conf and rtp.conf at site B for asterisk ip
address at site A? In other words, if I am at site B
then I have to go for router B and do mapping for
TCP/UDP ports of the asterisk at site B or the
asterisk at site A?

Any help.
Regards
Bilal


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  <a class="moz-txt-link-freetext" href="http://tools.search.yahoo.com/newsearch/category.php?category=shopping">http://tools.search.yahoo.com/newsearch/category.php?category=shopping</a>

_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
  </pre>
</blockquote>
</body>
</html>