aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_record.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-30 05:13:25 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-30 05:13:25 +0000
commitc8c5aa94b7f7f9731b40bf77b2d0c4f59014cd85 (patch)
tree792fb108bdfc45a6d15ce6038a3f27a722e4e859 /apps/app_record.c
parent6e383ebc0b3acf0efeb99639b6a5bad7974bd4d2 (diff)
Improve documentation of app_record (bug #942)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2093 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_record.c')
-rwxr-xr-xapps/app_record.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/app_record.c b/apps/app_record.c
index 8547de36b..732922ebf 100755
--- a/apps/app_record.c
+++ b/apps/app_record.c
@@ -30,10 +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"
-"filename. If the file exists it will be overwritten. The 'extension'\n"
-"is the extension of the file type to be recorded (wav, gsm, etc).\n"
-"'silence' is the number of seconds of silence to allow before returning.\n"
+" Record(filename:extension|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"
+"- '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"
"Returns -1 when the user hangs up.\n";
STANDARD_LOCAL_USER;