[asterisk-bugs] [Asterisk 0015685]: [patch] WaitForSilence never exits - no dsp.conf

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 7 12:34:45 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15685 
====================================================================== 
Reported By:                david_s5
Assigned To:                pabelanger
====================================================================== 
Project:                    Asterisk
Issue ID:                   15685
Category:                   Applications/app_waitforsilence
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 211031 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-09 12:38 CDT
Last Modified:              2010-06-07 12:34 CDT
====================================================================== 
Summary:                    [patch] WaitForSilence never exits - no dsp.conf
Description: 
WaitForSilence to anything other than 1, WaitForSilence never exits

It is a bug in dsp.c. It does not properly init
thresholds[THRESHOLD_SILENCE] 
if the conf file is missing and does not warn if the file is missing.. 

I found that because I did not have a dsp.conf file in /etc/asterisk the
dialplan entry exten => s,1,WaitForSilence(4000,1,60) would be stuck. 


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0016439 [patch] silencethreshold=0 when dsp.con...
====================================================================== 

---------------------------------------------------------------------- 
 (0123070) svnbot (reporter) - 2010-06-07 12:34
 https://issues.asterisk.org/view.php?id=15685#c123070 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 268690

U   trunk/main/dsp.c

------------------------------------------------------------------------
r268690 | pabelanger | 2010-06-07 12:34:44 -0500 (Mon, 07 Jun 2010) | 11
lines

Set threshold for silence detection defaults to 256

(closes issue https://issues.asterisk.org/view.php?id=15685)
Reported by: david_s5
Patches:
      dsp-silence-threshold-init.diff uploaded by dant (license 670)
      issue15685.patch.v5 uploaded by pabelanger (license 224)
Tested by: danti

Review: https://reviewboard.asterisk.org/r/670/

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=268690 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-07 12:34 svnbot         Checkin                                      
2010-06-07 12:34 svnbot         Note Added: 0123070                          
======================================================================




More information about the asterisk-bugs mailing list