[asterisk-dev] Missing queue dialplan functions
Nikša Baldun
it at voxdiversa.hr
Sun Feb 21 07:50:28 CST 2021
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.
Nik
On 14. 02. 2021. 09:16, Nikša Baldun wrote:
>
> How would AGI help one to get this information, apart from parsing
> text output and log files?
>
> On 14. 02. 2021. 07:52, JP Loh wrote:
>> Is AGI not an option?
>>
>> On Sun, Feb 14, 2021 at 1:44 AM Nikša Baldun <it at voxdiversa.hr
>> <mailto:it at voxdiversa.hr>> wrote:
>>
>> Hello,
>>
>> there is currently no way (AFAIK) to get a list of all queues from
>> dialplan, and also no way to get a pause reason for a member. I
>> am going
>> to add a couple of dialplan functions for that. The first one should
>> obviously be called QUEUE_LIST and accept no parameters. For the
>> second
>> one, I am not sure whether it would be better to add a new
>> function or
>> modify QUEUE_MEMBER. I am leaning towards new function, because I
>> would
>> like to get both pause status and reason in one function call,
>> and also
>> I would like to make the queuename parameter optional. So perhaps
>> QUEUE_PAUSE_STATUS([queuename],interface) which returns
>> <pause_status>,<pause_reason>. The alternative is to add new
>> option to
>> QUEUE_MEMBER (called "pause_reason" or similar).
>>
>> Nik
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by
>> http://www.api-digital.com <http://www.api-digital.com> --
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>> <http://lists.digium.com/mailman/listinfo/asterisk-dev>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20210221/2e4e1bc9/attachment.html>
More information about the asterisk-dev
mailing list