<!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> I encoutered some difficult with IAX when I run
the asterisk. </DIV>
<DIV> </DIV>
<DIV><BR><---->internet <--> asterisk + NAT <--> DIAX</DIV>
<DIV> </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> </DIV>
<DIV>public IP:211.11.11.11<BR>private IP:192.168.1.10</DIV>
<DIV> </DIV>
<DIV><BR>the windows box running DIAX lies behind the NAT,it's IP is
192.168.1.12</DIV>
<DIV> </DIV>
<DIV><BR>the iax.conf like this:</DIV>
<DIV> </DIV>
<DIV>...... </DIV>
<DIV> </DIV>
<DIV>[marko]<BR>type=friend<BR>host=dynamic<BR>username=marko<BR>secret=moofoo<BR>context=fromsip<BR>auth=plaintext</DIV>
<DIV> </DIV>
<DIV>......</DIV>
<DIV> </DIV>
<DIV><BR>the extensions.conf like this:</DIV>
<DIV> </DIV>
<DIV>.....<BR>exten => 45678,1,Dial(IAX2/marko)<BR>.....</DIV>
<DIV> </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> </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> </DIV>
<DIV> == Everyone is busy at this time</DIV>
<DIV> </DIV>
<DIV>Any help will be apprecated. Sorry for my poot English.</DIV>
<DIV> </DIV>
<DIV>Regards.</DIV>
<DIV> </DIV>
<DIV>
franc</FONT></DIV></BODY></HTML>