[asterisk-bugs] [Asterisk 0016241]: [patch] issues in processing "Action: Events" eventmask
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Nov 13 09:02:11 CST 2009
A NOTE has been added to this issue.
======================================================================
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: feedback
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-11-13 09:02 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/
======================================================================
----------------------------------------------------------------------
(0113785) vnovy (reporter) - 2009-11-13 09:02
https://issues.asterisk.org/view.php?id=16241#c113785
----------------------------------------------------------------------
Patch attached, I hope format is Ok
Issue History
Date Modified Username Field Change
======================================================================
2009-11-13 09:02 vnovy Note Added: 0113785
======================================================================
More information about the asterisk-bugs
mailing list