Hi,>----- Original Message ----- >From: info@freecomm.9966.org >Subject: [Asterisk-Users] IAX quesitons please.>Hello,everyone, > I encoutered some difficult with IAX when I run the asterisk. > > ><---->internet <--> asterisk + NAT <--> DIAX>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 >>public IP:211.11.11.11 >private IP:192.168.1.10 >>the windows box running DIAX lies behind the NAT,it's IP is 192.168.1.12>Question1: >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 ofDIAX>and alway got the same result. Why?This is something normal. When you are inside your network use your internal server IP address. Usually the NAT router does not permit to connect to the external IP address from inside.>Question2: >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: > >== Everyone is busy at this timeTake care that there is an issue with DIAX and IAX2... after some time (aprox.1min.) the other part does not ring anymore. I work on this now. Have you registered the external DIAX with the external IP address of the server? BR, Dan
Hello,everyone, I encoutered some difficult with IAX when I run the asterisk. <---->internet <--> asterisk + NAT <--> DIAX 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 public IP:211.11.11.11 private IP:192.168.1.10 the windows box running DIAX lies behind the NAT,it's IP is 192.168.1.12 the iax.conf like this: ...... [marko] type=friend host=dynamic username=marko secret=moofoo context=fromsip auth=plaintext ...... the extensions.conf like this: ..... exten => 45678,1,Dial(IAX2/marko) ..... Question1: 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? Question2: 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: == Everyone is busy at this time Any help will be apprecated. Sorry for my poot English. Regards. franc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031218/b1d5f13b/attachment.htm
> >Question2: > >If I dial the IAX2 user registed to my * inside my NAT,it willsuccess,but> >if I dial other IAX2 user registed to my * in the internet (not inside > >my NAT),I alway get the result: > > > >== Everyone is busy at this time > > Take care that there is an issue with DIAX and IAX2... after some time > (aprox.1min.) the other part does not ring anymore. I work on this now. > Have you registered the external DIAX with the external IP address of the > server? >Surely. The external DIAX registered with the external IP address of the * server.> BR, > Dan > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users