[Asterisk-Users] Calling IAX client behind NAT

Garry Taylor garry at steelclaws.net
Thu Oct 21 09:10:30 MST 2004


Open UDP port 4569 in your NAT and point it to the IP address of your *.
Works great for me!

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Eric Wieling
> Sent: Thursday, 21 October 2004 10:25 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Calling IAX client behind NAT
> 
> 
> Tell the client to register every 60 seconds.
> 
> alexandre::aldeia digital wrote:
> > Hi Joe,
> > 
> > The clients are FireFly softphone.
> > After setting qualify=yes, The asterisk give me the error:
> > 
> > Oct 21 10:23:23 NOTICE[8200]: chan_iax2.c:6155 iax2_poke_noanswer: 
> > Peer
> > 'teste' is now UNREACHABLE! Time: 0
> > 
> > *CLI> iax2 show peers
> > Name/Username    Host                 Mask             Port 
>      Status
> > teste            200.x.x.x  (D)  255.255.255.255  4569      
> UNREACHABLE
> > 
> > And I still can't connect to him.
> > 
> > iax.conf:
> > 
> > [teste]
> > type=friend
> > host=dynamic
> > secret=<snip>
> > callerid="9955"
> > qualify=yes
> > 
> > 
> > Thanks for any help.
> > 
> > Alexandre
> > 
> > 
> > Joe Dennick wrote:
> > 
> >> Add Qualify=yes
> >> To the iax.conf file entry for this client.  That causes 
> the client 
> >> to continue to contact the Asterisk server, thereby keeping the 
> >> session alive through the NAT.  Then when a call is imitated from 
> >> Asterisk to the client, it will just progress through the already 
> >> established session (the NAT device will actually assume it's a 
> >> response to a client-imitated request).
> >>
> >> Joe
> >>
> >> -----Original Message-----
> >> From: asterisk-users-bounces at lists.digium.com
> >> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alex 
> >> Barnes
> >> Sent: Thursday, October 21, 2004 7:07 AM
> >> To: Asterisk Users Mailing List - Non-Commercial Discussion
> >> Subject: RE: [Asterisk-Users] Calling IAX client behind NAT
> >>
> >>
> >> Try port forwarding 4569 on the client side.
> >>
> >> All the claims of "IAX doesn't require prt forwarding" on the wiki 
> >> site confused the hell out of me as I couldn't get incoming calls 
> >> working.
> >>
> >> Cheers
> >>
> >> alex
> >>
> >> -----Original Message-----
> >> From: alexandre::aldeia digital 
> [mailto:alepaes at ad2.com.br] Sent: 21
> >> October 2004 12:06
> >> 
> To: asterisk-users at lists.digium.com
> >> Subject: [Asterisk-Users] Calling IAX client behind NAT
> >>
> >>
> >> Hi,
> >>
> >> Sorry if this is a stupid question. Can I call a dynamic 
> registered 
> >> IAX   client localized behind a NAT ?
> >>
> >>
> >> Client(Firefly,DIAX) --> NAT --> INTERNET --> * (public IP) --> 
> >> SPA-2000
> >> (192.168...)
> >>
> >> The client can make calls to asterisk normally. But I 
> can't call the
> >> client(lol...:). With a tunnel (VPN) this functions ok, but is to 
> >> difficult to configuration by a simple user.
> >> The great deal with IAX is the extreme facility to connect 
> without any 
> >> configuration. In FireFly, dial a URL 
> iax://user:pass@domain is easy 
> >> to explain and maintain.
> >>
> >> Thanks,
> >>
> 
> 




More information about the asterisk-users mailing list