[asterisk-commits] trunk r29435 - /trunk/apps/app_record.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon May 22 08:48:23 MST 2006
Author: file
Date: Mon May 22 10:48:22 2006
New Revision: 29435
URL: http://svn.digium.com/view/asterisk?rev=29435&view=rev
Log:
don't stop recording until hangup (no terminator) (issue #7168 reported by julien23)
Modified:
trunk/apps/app_record.c
Modified: trunk/apps/app_record.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_record.c?rev=29435&r1=29434&r2=29435&view=diff
==============================================================================
--- trunk/apps/app_record.c (original)
+++ trunk/apps/app_record.c Mon May 22 10:48:22 2006
@@ -62,7 +62,8 @@
" 'n' : do not answer, but record anyway if line not yet answered\n"
" 'q' : quiet (do not play a beep tone)\n"
" 's' : skip recording if the line is not yet answered\n"
-" 't' : use alternate '*' terminator key instead of default '#'\n"
+" 't' : use alternate '*' terminator key (DTMF) instead of default '#'\n"
+" 'x' : ignore all terminator keys (DTMF) and keep recording until hangup\n"
"\n"
"If filename contains '%d', these characters will be replaced with a number\n"
"incremented by one each time the file is recorded. \n\n"
@@ -167,6 +168,8 @@
option_append = 1;
if (strchr(options, 't'))
terminator = '*';
+ if (strchr(options, 'x'))
+ terminator = 0;
if (strchr(options, 'q'))
option_quiet = 1;
}
More information about the asterisk-commits
mailing list