[asterisk-commits] eliel: branch eliel/manager-xmldoc r196229 - /team/eliel/manager-xmldoc/apps/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 22 11:13:05 CDT 2009
Author: eliel
Date: Fri May 22 11:13:01 2009
New Revision: 196229
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196229
Log:
Move AMI action VoicemailUsersList documentation to XML docs.
Modified:
team/eliel/manager-xmldoc/apps/app_voicemail.c
Modified: team/eliel/manager-xmldoc/apps/app_voicemail.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/eliel/manager-xmldoc/apps/app_voicemail.c?view=diff&rev=196229&r1=196228&r2=196229
==============================================================================
--- team/eliel/manager-xmldoc/apps/app_voicemail.c (original)
+++ team/eliel/manager-xmldoc/apps/app_voicemail.c Fri May 22 11:13:01 2009
@@ -298,6 +298,16 @@
context.</para>
</description>
</function>
+ <manager name="VoicemailUsersList" language="en_US">
+ <synopsis>
+ List All Voicemail User Information.
+ </synopsis>
+ <syntax>
+ <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" />
+ </syntax>
+ <description>
+ </description>
+ </manager>
***/
#ifdef IMAP_STORAGE
@@ -11150,7 +11160,7 @@
res |= ast_register_application_xml(app3, vm_box_exists);
res |= ast_register_application_xml(app4, vmauthenticate);
res |= ast_custom_function_register(&mailbox_exists_acf);
- res |= ast_manager_register("VoicemailUsersList", EVENT_FLAG_CALL | EVENT_FLAG_REPORTING, manager_list_voicemail_users, "List All Voicemail User Information");
+ res |= ast_manager_register_xml("VoicemailUsersList", EVENT_FLAG_CALL | EVENT_FLAG_REPORTING, manager_list_voicemail_users);
if (res)
return res;
More information about the asterisk-commits
mailing list