[Asterisk-Users] Calling IAX client behind NAT
Garry Taylor
garry at steelclaws.net
Thu Oct 21 09:57:35 MST 2004
I am a bit puzzled then by your problem, as I use Firefly when I am
traveling and have not had a single problem. I can even use Firefly through
Symmetric NATs, that xlite will just never connect through. Dumb question,
but are you using the third-party version of firefly?
Here is a firefly extension in my iax.conf
[3006]
type=friend
username=3006
secret=<snip>
auth=md5
context=internal
host=dynamic
notransfer=yes
trunk=no
canreinvite=no
callerid="Test User" <3006>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> alexandre::aldeia digital
> Sent: Thursday, 21 October 2004 11:23 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Calling IAX client behind NAT
>
>
> Hi,
>
> But this is not my problem.
> Asterisk have a public IP.
> The NAT occurs on "road" clients. I don't have control in
> this to make a
> port forward. If anyone have connect to me, I simply give a URL like:
>
> iax://user:pass@domain
>
> And the user connects and talk perfectly. But after this, I
> want to call
> this user from my asterisk and this is not possible.
>
> P.S. : I don't find in FireFly nothing about the register time...
>
> Thanks for all.
>
> Garry Taylor wrote:
> > 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,
> >>>>
> >>
> >>
> >
> > _______________________________________________
> > 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
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To
> UNSUBSCRIBE or update options visit:
>
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list