aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_senddtmf.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-17 21:27:57 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-17 21:27:57 +0000
commit106b8fe198c7683bc5a74edc783df187ed608a7c (patch)
treee61e649eb1721379fbc4ca832bcd266e54d82463 /apps/app_senddtmf.c
parenta7241b70ba5cf93916104ead5b3447237835f564 (diff)
Merged revisions 131824 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r131824 | mmichelson | 2008-07-17 16:26:41 -0500 (Thu, 17 Jul 2008) | 10 lines Document that the duration of dtmf may be passed to the SendDTMF application. Also correct the default pause between digits. (closes issue #13102) Reported by: eliel Patches: app_senddtmf.c.patch uploaded by eliel (license 64) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@131830 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_senddtmf.c')
-rw-r--r--apps/app_senddtmf.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/app_senddtmf.c b/apps/app_senddtmf.c
index 67bd4feaa..9863ce012 100644
--- a/apps/app_senddtmf.c
+++ b/apps/app_senddtmf.c
@@ -40,11 +40,13 @@ static char *app = "SendDTMF";
static char *synopsis = "Sends arbitrary DTMF digits";
static char *descrip =
-" SendDTMF(digits[,timeout_ms]): Sends DTMF digits on a channel. \n"
-" Accepted digits: 0-9, *#abcd, w (.5s pause)\n"
+" SendDTMF(digits[,[timeout_ms][,duration_ms]]): Sends DTMF digits on a channel. \n"
+" Accepted digits: 0-9, *#abcd, (default .25s pause between digits)\n"
" The application will either pass the assigned digits or terminate if it\n"
-" encounters an error.\n";
-
+" encounters an error.\n"
+" Optional Params: \n"
+" timeout_ms: pause between digits.\n"
+" duration_ms: duration of each digit.\n";
static int senddtmf_exec(struct ast_channel *chan, void *vdata)
{