summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2014-07-24 13:00:59 +0000
committerKinsey Moore <kmoore@digium.com>2014-07-24 13:00:59 +0000
commit4445ee7fc093810e791e9855815f07da2a60619d (patch)
tree9d10faa91a9927c01486dc635d56485b534abb7e /doc
parentccc6e8bd170ed6a53158e2307237c99b6f33d6e6 (diff)
AMI: Allow for command response documentation
Allow for responses to AMI actions/commands to be documented properly in XML and displayed via the CLI. Response events are documented exactly as standard AMI events are documented. Review: https://reviewboard.asterisk.org/r/3812/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'doc')
-rw-r--r--doc/appdocsxml.dtd6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/appdocsxml.dtd b/doc/appdocsxml.dtd
index a81b64400..65167d559 100644
--- a/doc/appdocsxml.dtd
+++ b/doc/appdocsxml.dtd
@@ -26,11 +26,15 @@
<!ATTLIST agi language CDATA #REQUIRED>
<!ATTLIST agi module CDATA #IMPLIED>
- <!ELEMENT manager (synopsis?,syntax?,description?,see-also?)>
+ <!ELEMENT manager (synopsis?,syntax?,description?,see-also?,responses?)>
<!ATTLIST manager name CDATA #REQUIRED>
<!ATTLIST manager language CDATA #REQUIRED>
<!ATTLIST manager module CDATA #IMPLIED>
+ <!ELEMENT responses (list-elements?,(managerEvent|xi:include))>
+
+ <!ELEMENT list-elements (managerEvent+|xi:include+)>
+
<!ELEMENT managerEvent (managerEventInstance+)>
<!ATTLIST managerEvent name CDATA #REQUIRED>
<!ATTLIST managerEvent language CDATA #REQUIRED>