[asterisk-users] SIP Qualify

Jason Parker jparker at digium.com
Mon Aug 14 18:53:30 MST 2006


If you're gonna top post...so am I.

I think you misunderstand what qualify is/does.  It appears that you believe that qualify=1000 means that it'll send out a qualify packet every 1000ms.  This isn't an unreasonable assumption, but it is wrong.  The qualify=1000 means that Asterisk will wait 1000ms for the device to respond to the qualify packet.  If after 1000ms there is no "yes, I'm here" packet, then it will be considered UNREACHABLE.  Qualify packets are sent out at a set interval, which, as you can see, is 60 seconds.  If the device was previously determined to be UNREACHABLE, the qualify packets will then be sent out every 10 seconds instead.

----- Original Message -----
From: Douglas Garstang <dgarstang at oneeighty.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>, Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Sent: Monday, August 14, 2006 6:42:26 PM GMT-0800
Subject: RE: [asterisk-users] SIP Qualify

In that case, if I set qualify=1000, and it still polls every 60s, then how can it consider it unreachable at 1000ms?
 
Doug.

	-----Original Message----- 
	From: Joshua Colp [mailto:jcolp at digium.com] 
	Sent: Mon 8/14/2006 1:42 PM 
	To: Asterisk Users Mailing List - Non-Commercial Discussion 
	Cc: 
	Subject: Re: [asterisk-users] SIP Qualify
	
	

	----- Original Message -----
	From: Douglas Garstang
	[mailto:dgarstang at oneeighty.com]
	To: Asterisk Users Mailing List -
	Non-Commercial Discussion [mailto:asterisk-users at lists.digium.com]
	Sent:
	Mon, 14 Aug 2006 20:24:35 -0300
	Subject: [asterisk-users] SIP Qualify
	
	
	> Ok, what's the deal with qualify in sip.conf. The docs on the voip wiki at:
	>
	> http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+qualify
	>
	> state that it can take either yes, no, of a number which represents how long
	> in milliseconds between polling. I set it to 1000, (ie qualify=1000), did a
	> reload,  and it's obviously polling at 60 seconds, not 1 seconds, as
	> evidenced from an ngrep trace.
	
	The value that qualify takes is the maximum time to accept before considering the device unreachable. If I set qualify to 200ms, and my device's qualify time is 250ms then the device will be considered unreachable.
	
	> I'm guessing the wiki is wrong, because it also says the default polling
	> period is 2s, not 60s.
	>
	> Can someone update that? Can ANYONE fix those pages on the voip wiki?
	
	Yes, you can. voip-info.org is a wiki that anyone can update/change/modify.
	
	> Doug.
	
	Joshua Colp
	Digium
	_______________________________________________
	--Bandwidth and Colocation provided by Easynews.com --
	
	asterisk-users mailing list
	To UNSUBSCRIBE or update options visit:
	   http://lists.digium.com/mailman/listinfo/asterisk-users
	





More information about the asterisk-users mailing list