[asterisk-bugs] [Asterisk 0011235]: silence threshold put to configuration

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 25 08:56:47 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11235 
====================================================================== 
Reported By:                philipps
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11235
Category:                   Applications/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89245 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-13-2007 11:45 CST
Last Modified:              12-25-2007 08:56 CST
====================================================================== 
Summary:                    silence threshold put to configuration
Description: 
Hi,
Below is the patch to get silence threshold from /etc/asterisk/dsp.conf
file instead of having it hardcoded. It is assumed, that dsp.conf has the
following contents:

[default]
silencethreshold=256

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

---------------------------------------------------------------------- 
 philipps - 12-25-07 08:56  
---------------------------------------------------------------------- 
Corydon76, 
The setting is picked up from file once into a static variable, pls look
at ast_dsp_get_threshold_from_settings .
However, the file is parsed the very first time the setting is requested.

Is the asterisk settings policy is to get everything from files at
load/reload? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-25-07 08:56  philipps       Note Added: 0075921                          
======================================================================




More information about the asterisk-bugs mailing list