[asterisk-bugs] [Asterisk 0016709]: [patch] Added a config parameter to report span and/or channels alarms using AMI
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Mar 3 11:37:32 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16709
======================================================================
Reported By: nahuelgreco
Assigned To: jpeeler
======================================================================
Project: Asterisk
Issue ID: 16709
Category: Channels/chan_dahdi/NewFeature
Reproducibility: N/A
Severity: feature
Priority: normal
Status: assigned
Target Version: 1.8
Asterisk Version: SVN
JIRA: SWP-812
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 243328
Request Review:
======================================================================
Date Submitted: 2010-01-26 15:05 CST
Last Modified: 2010-03-03 11:37 CST
======================================================================
Summary: [patch] Added a config parameter to report span
and/or channels alarms using AMI
Description:
In chan_dahdi.c current version, the alarms are reported per channel using
AMI. This is usually not a desired behavior, because a channel is never
really alarmed, only his span. I added a new config parameter,
"reportalarms", with the following possible values:
- "channels": report each channel alarms (current behavior, default for
backward compatibility).
- "spans": report an "SpanAlarm" event when the span of any configured
channel is alarmed.
- "all": report channel and span alarms (aggregated behavior)
- "none": do not report any alarms.
I'm attaching the patch with the changes applied to trunk rev 243328.
======================================================================
----------------------------------------------------------------------
(0118869) svnbot (reporter) - 2010-03-03 11:37
https://issues.asterisk.org/view.php?id=16709#c118869
----------------------------------------------------------------------
Repository: asterisk
Revision: 250392
U trunk/CHANGES
U trunk/channels/chan_dahdi.c
U trunk/configs/chan_dahdi.conf.sample
------------------------------------------------------------------------
r250392 | jpeeler | 2010-03-03 11:37:31 -0600 (Wed, 03 Mar 2010) | 15
lines
Add new config option to control AMI alarm event reporting in chan_dahdi.
New config parameter "reportalarms" added in chan_dahdi.conf which
supports the
following possible values:
"channels": report each channel alarms (current behavior, default for
backward compatibility)
"spans": report an "SpanAlarm" event when the span of any configured
channel is alarmed
"all": report channel and span alarms (aggregated behavior)
"none": do not report any alarms
(closes issue https://issues.asterisk.org/view.php?id=16709)
Reported by: nahuelgreco
Patches:
chan_dahdi.c.reportalarms.patch uploaded by nahuelgreco (license
162)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=250392
Issue History
Date Modified Username Field Change
======================================================================
2010-03-03 11:37 svnbot Note Added: 0118869
======================================================================
More information about the asterisk-bugs
mailing list