[asterisk-dev] [Code Review] 4035: Dialplan function to get first/head caller channel on queue

Paul Belanger reviewboard at asterisk.org
Tue Sep 30 18:15:13 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4035/#review13427
-----------------------------------------------------------


Why don't you make this more generic QUEUE_GET_CHANNEL() and accept a position argument?

- Paul Belanger


On Sept. 30, 2014, 8:04 a.m., Kristian Høgh wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4035/
> -----------------------------------------------------------
> 
> (Updated Sept. 30, 2014, 8:04 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-24365
>     https://issues.asterisk.org/jira/browse/ASTERISK-24365
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> The function returns the first caller in a specific queue.
> Noop(${QUEUE_GET_FIRSTCHANNEL(queuename)})
> "SIP/peer-00000002", if queue exist and is non-empty
> 
> 
> Diffs
> -----
> 
>   /trunk/apps/app_queue.c 424149 
> 
> Diff: https://reviewboard.asterisk.org/r/4035/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Kristian Høgh
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140930/98ad7d75/attachment-0001.html>


More information about the asterisk-dev mailing list