Implement a new element in AstXML for AMI actions documentation.
authorEliel C. Sardanons <eliels@gmail.com>
Fri, 22 May 2009 17:52:35 +0000 (17:52 +0000)
committerEliel C. Sardanons <eliels@gmail.com>
Fri, 22 May 2009 17:52:35 +0000 (17:52 +0000)
commit2c882626a0ebbfe6dfe9d89cb495765a218e978d
treee1c6ca80d913c0e0aa3166a40d7b8e4461cd62d1
parent3c7db3b7e84c8dbf1f561f8e37b23add5332d456
Implement a new element in AstXML for AMI actions documentation.

A new xml element was created to manage the AMI actions documentation,
using AstXML.
To register a manager action using XML documentation it is now possible
using ast_manager_register_xml().
The CLI command 'manager show command' can be used to show the parsed
documentation.

Example manager xml documentation:
<manager name="ami action name" language="en_US">
    <synopsis>
        AMI action synopsis.
    </synopsis>
    <syntax>
        <xi:include xpointer="xpointer(...)" /> <-- for ActionID
        <parameter name="header1" required="true">
    <para>Description</para>
</parameter>
...
    </syntax>
    <description>
        <para>AMI action description</para>
    </description>
    <see-also>
     ...
    </see-also>
</manager>

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 files changed:
apps/app_meetme.c
apps/app_queue.c
apps/app_senddtmf.c
apps/app_voicemail.c
channels/chan_agent.c
channels/chan_dahdi.c
channels/chan_iax2.c
channels/chan_sip.c
channels/chan_skinny.c
doc/appdocsxml.dtd
include/asterisk/manager.h
include/asterisk/pbx.h
include/asterisk/xmldoc.h
main/db.c
main/features.c
main/manager.c
main/pbx.c
main/xmldoc.c
res/res_agi.c