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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 5 21:45:16 CDT 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:                     ready for testing
Asterisk Version:           1.6.2.17 
JIRA:                       SWP-3215 
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-04-05 21:45 CDT
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0133421) var (reporter) - 2011-04-05 21:45
 https://issues.asterisk.org/view.php?id=18937#c133421 
---------------------------------------------------------------------- 
Over the month this ticket has been active, testing has been done on my end
with simultaneous and singular user sessions producing over 240 recordings.
Quality checking on the audio, and logging, has been completed and shows no
problems when silence is not truncated (new patches flag in use).

Testing Environment

System: Debian 6.0 x86
Kernel: 2.6.32-5-686
Asterisk: 1.6.2.17-rc3 through 1.6.2.17.2
Dahdi (tools and linux): 2.4.0 and 2.4.1

The patch was made to keep current functionality and to provide what may
be considered the more appropriate behaviour of the Record feature, perhaps
a more direct replacement can be made in the future. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-05 21:45 var            Note Added: 0133421                          
======================================================================




More information about the asterisk-bugs mailing list