When using realtime queues, app_queue wasn't updating the strategy if it was changed...
authorTerry Wilson <twilson@digium.com>
Fri, 12 Dec 2008 23:48:26 +0000 (23:48 +0000)
committerTerry Wilson <twilson@digium.com>
Fri, 12 Dec 2008 23:48:26 +0000 (23:48 +0000)
commit74de8fdaa7e785ff3937ef17a7973381d3f5e201
treeed6626becf010f242807d2a849f6e15dd19cd39a
parentbabd4e6876c01360f67a0b5b2d2453999648f96b
When using realtime queues, app_queue wasn't updating the strategy if it was changed in the realtime backend.  This patch resolves the issue for almost all situations.  It is currently not supported to switch to the linear strategy via realtime since the ao2_container for members will have been set to have multiple buckets and therefore the members would be unordered.

(closes issue #14034)
Reported by: cristiandimache
Tested by: otherwiseguy, cristiandimache

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c