[Home]

Summary:ASTERISK-10788: [patch] QUEUE_MEMBER_COUNT doesn't load realtime queue members
Reporter:Atis Lezdins (atis)Labels:
Date Opened:2007-11-16 08:31:09.000-0600Date Closed:2007-11-16 09:54:20.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) queue_member_count_rt.patch
Description:Realtime queue members are loaded only on access in one of those cases:
* Call goes to queue
* CLI command "queue show <name>" issued

QUEUE_MEMBER_COUNT is generally used to analyze queue status, before call is sent there, so it is naturally expected for it to load actual realtime queue if it's not there.
Comments:By: Digium Subversion (svnbot) 2007-11-16 09:26:11.000-0600

Repository: asterisk
Revision: 89323

U   branches/1.4/apps/app_queue.c

------------------------------------------------------------------------
r89323 | mmichelson | 2007-11-16 09:26:11 -0600 (Fri, 16 Nov 2007) | 5 lines

Make realtime queues accessible from the QUEUE_MEMBER_COUNT function.

(closes issue ASTERISK-10788, reported and patched by atis, with small modifications from me)


------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-11-16 09:42:17.000-0600

Repository: asterisk
Revision: 89324

_U  trunk/
U   trunk/apps/app_queue.c

------------------------------------------------------------------------
r89324 | mmichelson | 2007-11-16 09:42:16 -0600 (Fri, 16 Nov 2007) | 13 lines

Merged revisions 89323 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89323 | mmichelson | 2007-11-16 09:28:22 -0600 (Fri, 16 Nov 2007) | 5 lines

Make realtime queues accessible from the QUEUE_MEMBER_COUNT function.

(closes issue ASTERISK-10788, reported and patched by atis, with small modifications from me)


........

------------------------------------------------------------------------

By: Atis Lezdins (atis) 2007-11-16 09:42:36.000-0600

This should be also done for proposed QUEUE() and MEMBER() functions if they exist already.



By: Mark Michelson (mmichelson) 2007-11-16 09:54:19.000-0600

It has been added to the QUEUE_MEMBER() function in trunk as well, in revision 89324.

Thanks for bringing up this issue.