[asterisk-users] Asterisk Realtime pounds MySQL
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Wed Aug 27 09:55:16 CDT 2008
On Wednesday 27 August 2008 09:29:55 Tilghman Lesher wrote:
> On Wednesday 27 August 2008 08:56:02 J.M. wrote:
> > On Mon, Aug 25, 2008 at 6:21 PM, Tilghman Lesher <
> >
> > tilghman at mail.jeffandtilghman.com> wrote:
> > > Given that this is the case, we may want to do one of the following:
> > > a) document that qualify=yes is incompatible with realtime, unless
> > > rtcachefriends is turned on, b) automatically disallow qualify=yes if
> > > the peer is realtime and caching is not turned on, or c) automatically
> > > cache realtime peers whose qualify field is set to yes.
> >
> > What about an option d) If qualify=yes then Asterisk checks every 2
> > seconds, if qualify=no then Asterisk does not check, and if
> > qualify=<numeric value> then Asterisk checks every <numeric value>
> > milliseconds. That would seem to conform to how it behaves in sip.conf
> > (reference:
> > http://www.voip-info.org/wiki-Asterisk+config+sip.conf).
>
> Uh, no, you're misreading the documentation. Qualify never checks every
> 2 seconds; the qualification time is the time in which a host must respond,
> not the frequency with which Asterisk checks the host. The frequency is
> usually only once every 60 seconds.
I have implemented option B, with a clear warning in the logs not to do this.
Testing is requested.
http://bugs.digium.com/view.php?id=13383
--
Tilghman
More information about the asterisk-users
mailing list