[Asterisk-Users] Calling IAX client behind NAT

alexandre::aldeia digital alepaes at ad2.com.br
Thu Oct 21 05:41:49 MST 2004


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,
> 
> Alexandre
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> This email and any attached files are confidential and copyright
> protected.  If you are not the addressee, any dissemination,
> distribution or copying of this communication is strictly prohibited.
> Unless otherwise expressly agreed in writing, nothing stated in this
> communication shall be legally binding.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.771 / Virus Database: 518 - Release Date: 9/28/2004
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.771 / Virus Database: 518 - Release Date: 9/28/2004
>  
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list