[asterisk-dev] Missing queue dialplan functions
Nikša Baldun
it at voxdiversa.hr
Sun Feb 14 02:16:52 CST 2021
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/20210214/e7e00528/attachment.html>
More information about the asterisk-dev
mailing list