diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-25 22:31:51 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-25 22:31:51 +0000 |
commit | 701ba57042212fb040f92bd25f1ec3af40db2f43 (patch) | |
tree | 340230ce9bbc3b49326f8ff2fac3b659d1270a00 /apps | |
parent | f9d08103cac28c6411974f5553cf163faf7ff14e (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@2247 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_record.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |