Skip to content
Snippets Groups Projects
Commit ee6a480a authored by Eliel C. Sardanons's avatar Eliel C. Sardanons
Browse files

Add Flash() application XML documentation.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent cdc31b1e
No related branches found
No related tags found
No related merge requests found
...@@ -43,16 +43,24 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") ...@@ -43,16 +43,24 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/translate.h" #include "asterisk/translate.h"
#include "asterisk/image.h" #include "asterisk/image.h"
static char *app = "Flash"; /*** DOCUMENTATION
<application name="Flash" language="en_US">
static char *synopsis = "Flashes a DAHDI Trunk"; <synopsis>
Flashes a DAHDI Trunk.
static char *descrip = </synopsis>
"Performs a flash on a DAHDI trunk. This can be used\n" <syntax />
"to access features provided on an incoming analogue circuit\n" <description>
"such as conference and call waiting. Use with SendDTMF() to\n" <para>Performs a flash on a DAHDI trunk. This can be used to access features
"perform external transfers\n"; provided on an incoming analogue circuit such as conference and call waiting.
Use with SendDTMF() to perform external transfers.</para>
</description>
<see-also>
<ref type="application">SendDTMF</ref>
</see-also>
</application>
***/
static char *app = "Flash";
static inline int dahdi_wait_event(int fd) static inline int dahdi_wait_event(int fd)
{ {
...@@ -105,7 +113,7 @@ static int unload_module(void) ...@@ -105,7 +113,7 @@ static int unload_module(void)
static int load_module(void) static int load_module(void)
{ {
return ast_register_application(app, flash_exec, synopsis, descrip); return ast_register_application_xml(app, flash_exec);
} }
AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Flash channel application"); AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Flash channel application");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment