[Home]

Summary:ASTERISK-10440: on "reload app_queue.so" Dynamic queue members are deleted
Reporter:Darren Philips (dazza76)Labels:
Date Opened:2007-10-03 22:36:05Date Closed:2007-10-04 16:41:52
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:if reload app_queue.so is run in console PersistentMembers are not reloaded from the Database.


****** ADDITIONAL INFORMATION ******

From Console
queue add member Local/300@Hunt to QUEUE-One
queue show
reload app_queue.so
queue show
Comments:By: Darren Philips (dazza76) 2007-10-03 22:39:00

sorry this should be in  Applications/app_queue
and version 1.4.12

By: Mark Michelson (mmichelson) 2007-10-04 16:17:13

Thanks for the steps for reproducing. I've got it reproduced locally and I'm trying to narrow down where the deletion is happening.

By: Digium Subversion (svnbot) 2007-10-04 16:36:40

Repository: asterisk
Revision: 84692

U   branches/1.4/apps/app_queue.c

------------------------------------------------------------------------
r84692 | mmichelson | 2007-10-04 16:36:39 -0500 (Thu, 04 Oct 2007) | 5 lines

Don't allocate space for queue members unless it's needed. You end up deleting dynamic members on a reload. Not good.

closes issue (ASTERISK-10440, reported by dazza76, patched by me)


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

By: Digium Subversion (svnbot) 2007-10-04 16:39:48

Repository: asterisk
Revision: 84693

_U  trunk/
U   trunk/apps/app_queue.c

------------------------------------------------------------------------
r84693 | mmichelson | 2007-10-04 16:39:47 -0500 (Thu, 04 Oct 2007) | 13 lines

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

........
r84692 | mmichelson | 2007-10-04 16:57:03 -0500 (Thu, 04 Oct 2007) | 5 lines

Don't allocate space for queue members unless it's needed. You end up deleting dynamic members on a reload. Not good.

closes issue (ASTERISK-10440, reported by dazza76, patched by me)


........

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