[asterisk-commits] file: branch 1.8 r411584 - /branches/1.8/apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 1 11:49:02 CDT 2014
Author: file
Date: Tue Apr 1 11:48:55 2014
New Revision: 411584
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=411584
Log:
app_queue: Fix a bug where realtime members would be deleted during reload causing waiting callers to get ejected.
This patch causes realtime queue members to remain in queues during the reload process. Previously these
members would be removed causing any waiting callers to be ejected from the queue with a reason of "EXITEMPTY".
ASTERISK-23547 #close
ASTERISK-23547 #comment Patch app_queue_fix_realtime_reload_1.8_trunk.patch submitted by Italo Rossi (license 6409)
Review: https://reviewboard.asterisk.org/r/3404/
Modified:
branches/1.8/apps/app_queue.c
Modified: branches/1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_queue.c?view=diff&rev=411584&r1=411583&r2=411584
==============================================================================
--- branches/1.8/apps/app_queue.c (original)
+++ branches/1.8/apps/app_queue.c Tue Apr 1 11:48:55 2014
@@ -6952,7 +6952,7 @@
static int mark_member_dead(void *obj, void *arg, int flags)
{
struct member *member = obj;
- if (!member->dynamic) {
+ if (!member->dynamic && !member->realtime) {
member->delme = 1;
}
return 0;
More information about the asterisk-commits
mailing list