[asterisk-bugs] [Asterisk 0016241]: [patch] issues in processing "Action: Events" eventmask

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 21 09:50:29 CST 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16241 
====================================================================== 
Reported By:                vnovy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16241
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 227580 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-13 06:32 CST
Last Modified:              2009-12-21 09:50 CST
====================================================================== 
Summary:                    [patch] issues in processing "Action: Events"
eventmask
Description: 
1/ Incorrect check if eventmask is number in function strings_to_mask

2/ "Action: events" with "eventmask: on" returns no answer.
When "eventmask: on" all eventmask values in perms structure are ORed
including  "all" with value -1, so function strings_to_mask returns -1 as
current mask. This value is interpreted as error by action_events function
and no response is sent

3/ "Action: events" with "eventmask: all" returns no answer.
"all" is in list of valid eventmask values, but value -1 causes same
problem as in 2/ 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-21 09:50 lmadsen        Description Updated                          
2009-12-21 09:50 lmadsen        Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list