[asterisk-bugs] [Asterisk 0011235]: silence threshold put to configuration
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Dec 24 21:12:12 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-24-2007 21:12 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
======================================================================
----------------------------------------------------------------------
Corydon76 - 12-24-07 21:12
----------------------------------------------------------------------
I really don't think that parsing the file each time is really a good way
to go. I would prefer that you parse the file once at load (and perhaps
additionally at reload) and save the value in a static variable, returning
it when requested.
Issue History
Date Modified Username Field Change
======================================================================
12-24-07 21:12 Corydon76 Note Added: 0075908
======================================================================
More information about the asterisk-bugs
mailing list