[asterisk-bugs] [Asterisk 0016455]: [patch] Manager hooks don't execute if there aren't any manager sessions

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 28 16:53:05 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16455 
====================================================================== 
Reported By:                atis
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   16455
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.6.0.22
Asterisk Version:           SVN 
JIRA:                       SWP-560 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-12-16 11:27 CST
Last Modified:              2010-01-28 16:53 CST
====================================================================== 
Summary:                    [patch] Manager hooks don't execute if there aren't
any manager sessions
Description: 
I propose to add simple variable to count manager hooks.

Two sample patches attached, not sure which would be best.

All 1.6.x branches affected.
====================================================================== 

---------------------------------------------------------------------- 
 (0117341) svnbot (reporter) - 2010-01-28 16:53
 https://issues.asterisk.org/view.php?id=16455#c117341 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 243988

U   branches/1.6.1/main/manager.c

------------------------------------------------------------------------
r243988 | jpeeler | 2010-01-28 16:53:05 -0600 (Thu, 28 Jan 2010) | 11
lines

Ensure manager hooks are executed when there are no manager sessions.

Conditional expanded to check for hooks before aborting manager event
processing. The other two changes are just optimizations.

(closes issue https://issues.asterisk.org/view.php?id=16455)
Reported by: atis
Patches:
     manager_hooks_16.patch uploaded by atis (license 242)
Tested by: atis

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-28 16:53 svnbot         Checkin                                      
2010-01-28 16:53 svnbot         Note Added: 0117341                          
======================================================================




More information about the asterisk-bugs mailing list