[asterisk-bugs] [Asterisk 0018937]: [patch] 'Silence' is truncated in Record()

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 7 18:20:36 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18937 
====================================================================== 
Reported By:                var
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18937
Category:                   Applications/app_record
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.17 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-07 16:59 CST
Last Modified:              2011-03-07 18:20 CST
====================================================================== 
Summary:                    [patch] 'Silence' is truncated in Record()
Description: 
When using Record with the silence detection feature, the stream is written
out to the given file. However, if only 'silence' is detected, this file is
then truncated to the first second of the recording (8016 bytes for alaw
e1).

This causes a problem for IVR applications, even if only silence is
detected it can still be of use in data collection as silence may not
really be all silence (e.g. someone talking quietly) or this data is
utilised for other verification reasons. Silence detection should not have
right to remove any recorded data, at the very least it should be a
configuration or argument option.
====================================================================== 

---------------------------------------------------------------------- 
 (0132710) var (reporter) - 2011-03-07 18:20
 https://issues.asterisk.org/view.php?id=18937#c132710 
---------------------------------------------------------------------- 
Patch has been submitted, this patch gives the option 'u' to Record
allowing no truncation when silence is detected. The default is to
truncate, as this is the current functionality in 1.6.2.17.

This has been tested and confirmed as working. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-07 18:20 var            Note Added: 0132710                          
======================================================================




More information about the asterisk-bugs mailing list