[svn-commits] mmichelson: trunk r131824 - /trunk/apps/app_senddtmf.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 17 16:26:42 CDT 2008


Author: mmichelson
Date: Thu Jul 17 16:26:41 2008
New Revision: 131824

URL: http://svn.digium.com/view/asterisk?view=rev&rev=131824
Log:
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)


Modified:
    trunk/apps/app_senddtmf.c

Modified: trunk/apps/app_senddtmf.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_senddtmf.c?view=diff&rev=131824&r1=131823&r2=131824
==============================================================================
--- trunk/apps/app_senddtmf.c (original)
+++ trunk/apps/app_senddtmf.c Thu Jul 17 16:26:41 2008
@@ -40,11 +40,13 @@
 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)
 {




More information about the svn-commits mailing list