[Asterisk-Users] IAX2 connectivity problem (qualify=yes)

Andrew Thompson asteriskuser at aktzero.com
Mon Nov 17 14:54:06 MST 2003


----- Original Message ----- 
From: "Olle E. Johansson" <oej at edvina.net>
To: <asterisk-users at lists.digium.com>
Sent: Monday, November 17, 2003 3:58 PM
Subject: Re: [Asterisk-Users] IAX2 connectivity problem (qualify=yes)


> WipeOut wrote:
> 
> > Philipp von Klitzing wrote:
> > 
> >> Hi there,
> >>
> >> I still have issues with the IAX connection between two servers (one 
> >> static (server A), one dynamic (server B), none behind NAT):
> >>
> >> B registers with A, and "iax2 show registry" shows that everything is 
> >> fine. However, after a while if I check on server A with "iax2 show 
> >> peers" I see a status of UKNOWN (in iax.conf there is a qualify=yes 
> >> statement for server B).
> >>
> >> The problem is that the connection to server B regularly gets worse 
> >> than 2000 ms and is thus temporarily listed as unavailable - fine so 
> >> far, that is correct. But at some point server A stops to pick up the 
> >> working (!) connection and permanently shows status UNKOWN although 
> >> the connection is fine again (40 ms or so). It does help to issue a 
> >> "reload" on server A, but that's for sure not the way it should be... 
> >> without that "reload" server B will be permanently unavailable.
> >>
> >> Has anyone else seen this? Suggestions?
> 
> >>
> > Try "qualify=3000" which will increase the time between checks.. 
> > Although it sounds like there is more to this problem than just 
> > increasing the time..
> 
> Is there any way to get server B to re-register with certain intervals,
> like we do in SIP? We discussed dynamic hosts earlier, and if I don't
> remember incorrectly, IAX never re-registers, it just keeps the line
> forever and keeps the IP number.

I'm not a hundred percent sure if this is the same thing, but when I'm running asterisk -vvvc, I see messages every few minutes stating that IAX/laptop(an iaxcomm user) has registered.

> 
> In this situation an expire time for IAX registration would support
> the dynamic host, host B.
> 
> Just speculation on my behalf, nothing implemented or even planned...
> /O
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
-----
Andrew Thompson


More information about the asterisk-users mailing list