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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 7 12:36:39 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-09 12:38 CDT
Last Modified:              2010-06-07 12:36 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0123071) svnbot (reporter) - 2010-06-07 12:36
 https://issues.asterisk.org/view.php?id=15685#c123071 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 268691

_U  branches/1.6.2/
U   branches/1.6.2/main/dsp.c

------------------------------------------------------------------------
r268691 | pabelanger | 2010-06-07 12:36:38 -0500 (Mon, 07 Jun 2010) | 18
lines

Merged revisions 268690 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r268690 | pabelanger | 2010-06-07 13:34:45 -0400 (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=268691 

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




More information about the asterisk-bugs mailing list