From: Mark Michelson Date: Thu, 17 Jul 2008 21:26:41 +0000 (+0000) Subject: Document that the duration of dtmf may be passed to X-Git-Tag: 1.6.2.0-beta1~1653 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84282953d8ffb4eec136cbf6e1edc86108e83ac1;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/trunk@131824 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_senddtmf.c b/apps/app_senddtmf.c index 67bd4feaa7..9863ce0121 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) {