[asterisk-bugs] [Asterisk 0014338]: set_member_paused ignores return-value from update_realtime_member_field

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Mar 1 16:07:11 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14338 
====================================================================== 
Reported By:                fiddur
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14338
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 142677 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-27 02:02 CST
Last Modified:              2009-03-01 16:07 CST
====================================================================== 
Summary:                    set_member_paused ignores return-value from
update_realtime_member_field
Description: 
In app_queue.c, update_realtime_member_field returns a value indicating
success or failure, but when it is called from set_member_paused, the
return value is ignored.    In my case, I think that's why it doesn't bark
when it failes to pause a queue_member with autopause.  The logs just
states that the member is paused automatically, but no changes are made to
the queue_member_table. 
====================================================================== 

---------------------------------------------------------------------- 
 (0100959) svnbot (reporter) - 2009-03-01 16:07
 http://bugs.digium.com/view.php?id=14338#c100959 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 179222

U   branches/1.6.0/apps/app_queue.c

------------------------------------------------------------------------
r179222 | mmichelson | 2009-03-01 16:07:10 -0600 (Sun, 01 Mar 2009) | 13
lines

Add error checking when updating the "paused" field of a realtime queue
member.

This code already existed in trunk and 1.6.1, but was not in 1.6.0 prior
to
this commit.


(closes issue http://bugs.digium.com/view.php?id=14338)
Reported by: fiddur
Patches:
      14338.patch uploaded by mmichelson (license 60)
Tested by: fiddur


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

http://svn.digium.com/view/asterisk?view=rev&revision=179222 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-01 16:07 svnbot         Checkin                                      
2009-03-01 16:07 svnbot         Note Added: 0100959                          
======================================================================




More information about the asterisk-bugs mailing list