<div dir="ltr">I use a Perl script that monitors AMI events.  It also checks the state of all queues and members and generates some basic HTML pages for monitoring the queues. It's not perfect, nor would I call it pretty, but it gets the job done.<div><br></div><div>If you are interested, I can send it to you.</div><div><br></div><div>Dale</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 25, 2015 at 7:18 PM, John Kiniston <span dir="ltr"><<a href="mailto:johnkiniston@gmail.com" target="_blank">johnkiniston@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Thank you Kevin, I've looked at your solution and while I agree it's not ideal it does appear to be something that might work for me.<br><br></div>I'll see if I can maybe backport the QUEUE_MEMBER stuff to 1.8 from 11.<br><br></div>I'm also exploring an idea with a co-worker of using an AMI listener that will fire off actions in response to the member being paused and doing things that way.<br><br></div>I looked at parsing the log but sadly the log uses the Member Name in the log instead of the actual device so I don't have a way of knowing what handset they are logged into the queue from.<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Mar 25, 2015 at 12:13 PM, Kevin Larsen <span dir="ltr"><<a href="mailto:kevin.larsen@pioneerballoon.com" target="_blank">kevin.larsen@pioneerballoon.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><span><br></span><tt><font>First, let me say I feel dirty for even posting this.
It is probably far from ideal, but it does get the job done. I had the
same issue. Also, I am using Asterisk 11. I just looked and it doesn't
appear that the QUEUE_MEMBER function supports the paused option in 1.8.
To be honest, I am not sure if there is a good replacement for what I have
done below in the 1.8 series.</font></tt>
<br>
<br></span><span class=""><tt><font>It isn't elegant and if you have a lot of queues/queue
members to check, it will constitute a lot of looping, but it does work.
Like you, I would like to have a way to check the pause status of a member
easier. If the queue application could call a subroutine with it autopaused
someone, that would actually make an elegant solution, but for now, this
was the way I could see to do it.</font></tt>
<br>
<br><tt><font>You could maybe call a script that would parse the
queue_log file looking for an agents status and pass that back into the
dialplan.</font></tt><br></span><span class="HOEnZb"><font color="#888888">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></font></span></blockquote></div><span class=""><br><br clear="all"><br>-- <br><div>A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.<br>---Heinlein</div>
</span></div></div></div></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>