<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff><FONT face=Arial size=2>
<DIV>Hello,everyone,</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; I encoutered some difficult with IAX when I run 
the asterisk. </DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&lt;----&gt;internet &lt;--&gt; asterisk + NAT &lt;--&gt; DIAX</DIV>
<DIV>&nbsp;</DIV>
<DIV>my * box and NAT are at the same linux box which connecting to the internet 
using ADSL. The box has two network cards and two IP address,such as </DIV>
<DIV>&nbsp;</DIV>
<DIV>public IP:211.11.11.11<BR>private IP:192.168.1.10</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>the windows box running DIAX lies behind the NAT,it's IP is 
192.168.1.12</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>the iax.conf like this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>...... </DIV>
<DIV>&nbsp;</DIV>
<DIV>[marko]<BR>type=friend<BR>host=dynamic<BR>username=marko<BR>secret=moofoo<BR>context=fromsip<BR>auth=plaintext</DIV>
<DIV>&nbsp;</DIV>
<DIV>......</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>the extensions.conf like this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>.....<BR>exten =&gt; 45678,1,Dial(IAX2/marko)<BR>.....</DIV>
<DIV>&nbsp;</DIV>
<DIV>Question1:<BR>I use the DIAX register to the *, if I set the server IP in 
the DIAX to 192.168.1.10,then it will OK, but if I set the server IP in the DIAX 
to 211.11.11.11, then I will fail to register. I have tried all version of DIAX 
and alway got the same result. Why?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Question2:<BR>If I dial the IAX2 user registed to my * inside my NAT,it 
will success,but if I dial other IAX2 user registed to my * in the internet (not 
inside my NAT),I alway get the result:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; == Everyone is busy at this time</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any help will be apprecated. Sorry for my poot English.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
franc</FONT></DIV></BODY></HTML>