[asterisk-commits] mvanbaak: branch group/appdocsxml r143134 - /team/group/appdocsxml/apps/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Sep 15 13:39:58 CDT 2008
Author: mvanbaak
Date: Mon Sep 15 13:39:57 2008
New Revision: 143134
URL: http://svn.digium.com/view/asterisk?view=rev&rev=143134
Log:
rework senddtmf xml documentation
Modified:
team/group/appdocsxml/apps/app_senddtmf.c
Modified: team/group/appdocsxml/apps/app_senddtmf.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_senddtmf.c?view=diff&rev=143134&r1=143133&r2=143134
==============================================================================
--- team/group/appdocsxml/apps/app_senddtmf.c (original)
+++ team/group/appdocsxml/apps/app_senddtmf.c Mon Sep 15 13:39:57 2008
@@ -40,31 +40,24 @@
<synopsis>
Sends arbitrary DTMF digits
</synopsis>
+ <syntax>
+ <argument name="digits" required="true">
+ <para>List of digits 0-9,*#,abcd</para>
+ </argument>
+ <argument name="timeout_ms" required="false">
+ <para>Amount of time to wait in ms between tones. (defaults to .25s)</para>
+ </argument>
+ <argument name="duration_ms" required="false">
+ <para>Duration of each digit</para>
+ </argument>
+ </syntax>
<description>
- DTMF digits sent to a channel with half second pause
- It will pass all digits or terminate if it encounters an error.
+ <para>DTMF digits sent to a channel with half second pause</para>
+ <para>It will pass all digits or terminate if it encounters an error.</para>
</description>
- <option name="digits" required="true">
- List of digits 0-9,*#,abcd
- </option>
- <option name="timeout_ms">
- Amount of time to wait in ms between tones
- </option>
</application>
***/
static char *app = "SendDTMF";
-/*
-static char *synopsis = "Sends arbitrary DTMF digits";
-
-static char *descrip =
-" 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"
-" 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 asterisk-commits
mailing list