[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
Tue Feb 9 08:21:46 CST 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16709 
====================================================================== 
Reported By:                nahuelgreco
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16709
Category:                   Channels/chan_dahdi/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
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-02-09 08:21 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. 

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-09 08:21 lmadsen        Target Version            => 1.8             
2010-02-09 08:21 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list