[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 Jan 26 15:06:31 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:                     new
Asterisk Version:           SVN 
JIRA:                        
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-01-26 15:06 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-01-26 15:06 nahuelgreco    Summary                  Added a config
parameter to report span and/or channels alarms using AMI => [patch] Added a
config parameter to report span and/or channels alarms using AMI
======================================================================




More information about the asterisk-bugs mailing list