From 462cfbe8ae667e7ae33e53d0b1a92012ad98f2e4 Mon Sep 17 00:00:00 2001 From: James Golovich Date: Wed, 25 Feb 2004 22:31:51 +0000 Subject: Bug #1087. Fix wav49 format so it can be played. Make file functions looking for extension use f->exts instead of f->name. Fix bug where error message didn't print file extension. Fix comments in header file. Everything is completely backwards compatible git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2247 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_record.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/app_record.c') diff --git a/apps/app_record.c b/apps/app_record.c index 732922ebf..29d98f760 100755 --- a/apps/app_record.c +++ b/apps/app_record.c @@ -30,13 +30,13 @@ static char *app = "Record"; static char *synopsis = "Record to a file"; static char *descrip = -" Record(filename:extension|silence): Records from the channel into a given\n" +" Record(filename:format|silence): Records from the channel into a given\n" "filename. If the file exists it will be overwritten. \n" -"- 'extension' is the extension of the file type to be recorded (wav, gsm, etc).\n" +"- 'format' is the format of the file type to be recorded (wav, gsm, etc).\n" "- 'silence' is the number of seconds of silence to allow before returning.\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" -"Extensions: g723, g729, gsm, h263, ulaw, alaw, vox, wav, WAV\n\n" +"Formats: g723, g729, gsm, h263, ulaw, alaw, vox, wav, WAV\n\n" "Returns -1 when the user hangs up.\n"; STANDARD_LOCAL_USER; -- cgit v1.2.3