Summary: | ASTERISK-06504: [patch] Realtime queue members have been broken | ||
Reporter: | Terry Wilson (twilson) | Labels: | |
Date Opened: | 2006-03-08 11:51:20.000-0600 | Date Closed: | 2008-01-15 17:28:41.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_queue |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) queue_member.txt | |
Description: | With some changes to app_queue, realtime queue members have been broken. Before the change, the queue members were reloaded each time load_realtime_queue was called. After the change, queue members are only reloaded after doing a reload app_queue.so. If you are adding members directly to the database, this no longer works, as each time someone calls into the queue the members are no longer reloaded. A simple fix is attached. ****** STEPS TO REPRODUCE ****** Set up realtime queue members. Add a member to the queue_member table for your queue Dial in to the queue and you should be directed to your queue member Delete member from the queue_member table for your queue Dial in to the queue and you will still be directed to the queue member ****** ADDITIONAL INFORMATION ****** The patch is for the 1.2 branch, but the fix is the same for trunk. | ||
Comments: | By: Russell Bryant (russell) 2006-03-14 12:31:41.000-0600 Added to the 1.2 branch and the trunk in revisions 12925 and 12926, thanks! By: Digium Subversion (svnbot) 2008-01-15 17:28:40.000-0600 Repository: asterisk Revision: 12925 U branches/1.2/apps/app_queue.c ------------------------------------------------------------------------ r12925 | russell | 2008-01-15 17:28:39 -0600 (Tue, 15 Jan 2008) | 3 lines fix a problem with not loading realtime queue members by always reloading a realtime queue from the database even if it is found in the list (issue ASTERISK-6504) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=12925 By: Digium Subversion (svnbot) 2008-01-15 17:28:41.000-0600 Repository: asterisk Revision: 12926 _U trunk/ U trunk/apps/app_queue.c ------------------------------------------------------------------------ r12926 | russell | 2008-01-15 17:28:40 -0600 (Tue, 15 Jan 2008) | 11 lines Merged revisions 12925 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r12925 | russell | 2006-03-14 13:28:39 -0500 (Tue, 14 Mar 2006) | 3 lines fix a problem with not loading realtime queue members by always reloading a realtime queue from the database even if it is found in the list (issue ASTERISK-6504) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=12926 |