[asterisk-commits] eliel: branch group/appdocsxml r146012 - /team/group/appdocsxml/apps/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Oct 3 07:52:24 CDT 2008
Author: eliel
Date: Fri Oct 3 07:52:23 2008
New Revision: 146012
URL: http://svn.digium.com/view/asterisk?view=rev&rev=146012
Log:
Introduce GetCPEID() application XML documentation.
Modified:
team/group/appdocsxml/apps/app_getcpeid.c
Modified: team/group/appdocsxml/apps/app_getcpeid.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_getcpeid.c?view=diff&rev=146012&r1=146011&r2=146012
==============================================================================
--- team/group/appdocsxml/apps/app_getcpeid.c (original)
+++ team/group/appdocsxml/apps/app_getcpeid.c Fri Oct 3 07:52:23 2008
@@ -36,14 +36,19 @@
#include "asterisk/module.h"
#include "asterisk/adsi.h"
+/*** DOCUMENTATION
+ <application name="GetCPEID" language="en_US">
+ <synopsis>
+ Get ADSI CPE ID.
+ </synopsis>
+ <syntax />
+ <description>
+ <para>Obtains and displays ADSI CPE ID and other information in order
+ to properly setup <filename>dahdi.conf</filename> for on-hook operations.</para>
+ </description>
+ </application>
+ ***/
static char *app = "GetCPEID";
-
-static char *synopsis = "Get ADSI CPE ID";
-
-static char *descrip =
-" GetCPEID(): Obtains and displays ADSI CPE ID and other information in order\n"
-"to properly setup dahdi.conf for on-hook operations.\n";
-
static int cpeid_setstatus(struct ast_channel *chan, char *stuff[], int voice)
{
@@ -124,7 +129,7 @@
static int load_module(void)
{
- return ast_register_application(app, cpeid_exec, synopsis, descrip);
+ return ast_register_application_xml(app, cpeid_exec);
}
AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Get ADSI CPE ID");
More information about the asterisk-commits
mailing list