<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Not having received any input on this, and being pressed for
time, I went for the simplest route and modified QUEUE_MEMBER.
I'll submit the patch when I find the time. Meanwhile, it is
available on request.</p>
<p>Nik<br>
</p>
<div class="moz-cite-prefix">On 14. 02. 2021. 09:16, Nikša Baldun
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:46eb9811-8d61-3af4-bb59-aea39a5d4589@voxdiversa.hr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>How would AGI help one to get this information, apart from
parsing text output and log files?<br>
</p>
<div class="moz-cite-prefix">On 14. 02. 2021. 07:52, JP Loh wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKPSa2LH-LokmRLKypw+aHKxqd7gy6+SaS5n86-NAo1gAjkFiw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">Is AGI not an option?</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Feb 14, 2021 at 1:44
AM Nikša Baldun <<a href="mailto:it@voxdiversa.hr"
moz-do-not-send="true">it@voxdiversa.hr</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
there is currently no way (AFAIK) to get a list of all
queues from <br>
dialplan, and also no way to get a pause reason for a
member. I am going <br>
to add a couple of dialplan functions for that. The first
one should <br>
obviously be called QUEUE_LIST and accept no parameters. For
the second <br>
one, I am not sure whether it would be better to add a new
function or <br>
modify QUEUE_MEMBER. I am leaning towards new function,
because I would <br>
like to get both pause status and reason in one function
call, and also <br>
I would like to make the queuename parameter optional. So
perhaps <br>
QUEUE_PAUSE_STATUS([queuename],interface) which returns <br>
<pause_status>,<pause_reason>. The alternative
is to add new option to <br>
QUEUE_MEMBER (called "pause_reason" or similar).<br>
<br>
Nik<br>
<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.api-digital.com</a>
--<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a
href="http://lists.digium.com/mailman/listinfo/asterisk-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
</blockquote>
</body>
</html>