[asterisk-users] Monitor events?

James FitzGibbon james.fitzgibbon at gmail.com
Mon Jul 9 10:12:58 CDT 2007


On 7/9/07, Daniel Gradecak <daniel at gradecak.com> wrote:

> are you sure the monitor is started and sotoped via the dialplan ?



If you're using Monitor() or MixMonitor(), then just add a UserEvent() call
just before it in the dialplan.

If you're doing monitoring of queues, it's a bit trickier - you have to
watch for Join events to see what calls are being enqueued, then when you
see a Link event for that call, you can assume (based on local policy) that
the monitoring has started (assuming there was no Leave event in the
meantime - the logic in your AMI client has to match the logic in your
dialplan that deals with queues obviously)

If you're talking about automon, there's no support for that, but a cursory
examination of the code doesn't show any reason why it couldn't be added.
Look at builtin_automonitor() in res_features.c.

-- 
j.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070709/60e3c967/attachment.htm 


More information about the asterisk-users mailing list