[asterisk-bugs] [Asterisk 0010424]: Allow realtime members on non realtime queues/A member with priorty < 0 is logged out

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Aug 21 13:28:08 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10424 
====================================================================== 
Reported By:                irroot
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   10424
Category:                   Applications/app_queue
Reproducibility:            N/A
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.10  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-10-2007 02:18 CDT
Last Modified:              08-21-2007 13:28 CDT
====================================================================== 
Summary:                    Allow realtime members on non realtime queues/A
member with priorty < 0 is logged out
Description: 

hi there some trivial patches extending on the recent changes (adding
update_realtime_members) it seems to make logic sence to allow realtime
agents on non realtime queues (ive been doing this for over a year
already).

ive also been setting the priorty field in SQL to a negitive value as
opposed to deleteing the agent to log them off and then back to there
existing value to log them on again.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 08-21-07 13:28  
---------------------------------------------------------------------- 
I've uploaded a patch (realtime_pause.patch) which takes care of writing
the paused status of a member to realtime.

It is similar to your earlier patch (asterisk-1.4.10.patch.queue) except
that I made a generic function to update a field for a realtime queue
member. You'll see what I mean when you look at the patch.

Using this function I uploaded as a base, it will be trivial to update
whatever fields for a member we wish to update. The eventual goal will be
to persist data in exactly the same way that is done in the astdb if you
used persistentmembers=yes. This way, a reload will not cause problems. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-21-07 13:28  putnopvut      Note Added: 0069196                          
======================================================================




More information about the asterisk-bugs mailing list