]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue.c: Fix setting QUEUE_MEMBER 'paused' and 'ringinuse'. 05/1105/2
authorRichard Mudgett <rmudgett@digium.com>
Fri, 14 Aug 2015 17:55:28 +0000 (12:55 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 18 Aug 2015 20:25:21 +0000 (15:25 -0500)
commite5f5b9f384eef0389a7e35d40c91d3586869a125
tree94e55cf48ad0d909b8e7aaf8d2577d356a4f4f9a
parentab373f2ceffcad3a497663027199f4f4a81f644b
app_queue.c: Fix setting QUEUE_MEMBER 'paused' and 'ringinuse'.

Setting the 'paused' and 'ringinuse' options on a queue member using the
dialplan function QUEUE_MEMBER did not behave the same way as the
equivalent dialplan applications or AMI actions.

* Made queue_function_mem_write() call the set_member_paused() and
set_member_value() for the 'paused' and 'ringinuse' options respectively.
A beneficial side effect is that the queue name is now optional and sets
the value in all queues the interface is a member.

* Update QUEUE_MEMBER XML documentation.

* Fix error checking in QUEUE_MEMBER() write.

ASTERISK-25215 #close
Reported by: Lorne Gaetz

Change-Id: I3a016be8dc94d63a9cc155295ff9c9afa5f707cb
apps/app_queue.c