[asterisk-bugs] [Asterisk 0016609]: Record() doesn't produce recorded file on hangup with 'x' option

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 15 13:18:37 CST 2010


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16609 
====================================================================== 
Reported By:                dominii
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16609
Category:                   Applications/app_record
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-14 20:17 CST
Last Modified:              2010-01-15 13:18 CST
====================================================================== 
Summary:                    Record() doesn't produce recorded file on hangup
with 'x' option
Description: 
According to 'core show application Record':
x: Ignore all terminator keys (DTMF) and keep recording until hangup.

However, the using the following AEL dialplan code:
6000 => {
   Answer;
   Record(/tmp/foo.wav,5,15,x);
}

you will be able to place a call to extension 6000.  After hanging up,
${RECORD_STATUS} is set to 'HANGUP', but ${RECORDED_FILE} is empty and
'/tmp/foo.wav' is not created.
====================================================================== 

---------------------------------------------------------------------- 
 (0116738) lmadsen (administrator) - 2010-01-15 13:18
 https://issues.asterisk.org/view.php?id=16609#c116738 
---------------------------------------------------------------------- 
I don't think that is a bug. I think you also need the 'k' option in order
to keep the recording once the channel hangs up. Otherwise Asterisk will
just discard the recording. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-15 13:18 lmadsen        Note Added: 0116738                          
2010-01-15 13:18 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list