[asterisk-bugs] [Asterisk 0013669]: If the user hangup during recording, recorded file isn't removed

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 14 11:42:26 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13669 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13669
Category:                   Applications/app_record
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 148329 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-10 15:59 CDT
Last Modified:              2008-10-14 11:42 CDT
====================================================================== 
Summary:                    If the user hangup during recording, recorded file
isn't removed
Description: 
this behaviour doesn't comply with application help text:
"If the user should hangup during a recording, all data will be lost and
the
application will teminate."

please also fix typo - missing 'r' in word 'teminate'

====================================================================== 

---------------------------------------------------------------------- 
 (0093609) pj (reporter) - 2008-10-14 11:42
 http://bugs.digium.com/view.php?id=13669#c93609 
---------------------------------------------------------------------- 
channel is answered by Record() application itself, by default (ie. without
specifying 'n' option). 
If I use simplest form:
Record(/tmp/test.alaw);
stored file contains what user said
If use with 'n' option - to not answer call:
Record(/tmp/test.alaw,,,n);
stored file is empty as expected, but also isn't cleared from filesystem
I really don't know, what is reason for 'n' option, what it can be usefull
:-\ 
In case with 'n' option, this warning also appears on cli:
WARNING[29188]: format_pcm.c:124 pcm_seek: negative offset -2000,
resetting to 0 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-14 11:42 pj             Note Added: 0093609                          
======================================================================




More information about the asterisk-bugs mailing list