[asterisk-users] realtime queue callers

Vieri rentorbuy at yahoo.com
Tue Apr 29 13:47:16 CDT 2008


--- Atis Lezdins <atis at iq-labs.net> wrote:

> So, I suppose if
> MySQL dies in
> middle of operation, SELECT should fail and Asterisk
> should just
> continue with what it has in memory. Btw, You should
> be able to also
> use static or dynamic queue members (not realtime)
> in combination with
> realtime queue calls.

That's what I would like to do: use dynamic queue
members but rely on mysql for monitoring active queue
calls.

> Btw, I never experienced that MySQL dies, it's more
> often that Asterisk dies.

I agree. But I did have a strange case at one point.
Would like to reduce point of failures anyway, as much
as possible.

> So, are You interested in applying this patch
> yourself?

I just wrote a simple AMI script which parses the
output of "show queues" and sends relevant data to my
custom application via sockets. The only problem is
that I need to periodically run the script (cron) so
it's rather "inefficient". Maybe I could trigger the
script on particular Manager events (such as "run the
script which parses 'show queues' only when I receive
Agent* events).

I don't want you to make the effort of finding that
patch (as it seems you don't have it at hand now) if I
may not "need it". However, I think that your patch
should hit SVN and I wouldn't mind testing it.

Thanks,

Vieri



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the asterisk-users mailing list