TeleFlow Forums
http://teleflow.org/phpbb/

@REC_TIME SYSTEM VARIABLE
http://teleflow.org/phpbb/viewtopic.php?f=11&t=119
Page 1 of 1

Author:  kbolin [ Tue May 11, 2004 2:46 pm ]
Post subject: 

@REC_TIME does not seem to be set after record step.. Any clues

Author:  Chris [ Tue May 11, 2004 5:31 pm ]
Post subject: 

You will need to create this value yourself if you want it. This variable wasn't properly supported, and was ultimately removed (although, it remains, but doesn't get set by the record step). It should have been removed from the help as well. In any case, here is how to capture the duration of a recording: <br> <br>In the step prior to the record step, create a variable called @START_ELAPSE, and set it to @CALL_ELAPSE (the current duration of the current call). When the record step completes, capture the @CALL_ELAPSE to a variable called @END_ELAPSE. Then, using a math step, set your new @RECORDING_LENGTH variable to be equal to @END_ELAPSE - @START_ELAPSE. You will now have the length/duration of the recording in the @RECORDING_LENGTH variable.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/