summaryrefslogtreecommitdiff
path: root/res/res_xmpp.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2012-07-19 22:17:13 +0000
committerMatthew Jordan <mjordan@digium.com>2012-07-19 22:17:13 +0000
commit86ff5585fd4de538c65bcbdce54cd9ef74b4e784 (patch)
treeec6bdea2bbe0e590e472ef43d47fd51bd15d39d6 /res/res_xmpp.c
parentf80278792480fe432a32608773f172576dc84839 (diff)
Add the ability to specify technology specific documentation
A number of applications/AMI commands in Asterisk have specific behavioral differences depending on the resource or channel technology those applications are executed on. For example, the MessageSend application/ command is technology agnostic, but how the channel drivers that support that functionality behave is dependant on the protocols and channel driver implementation. Prior to this patch, those details were either documented in the application/command documentation itself, or were left undocumented. This patch adds a new element to the documentation schema, <info/>. An info node is essentially a piece of technology specific reference information that can be included by any top level XML documentation node. For example, the MessageSend application can now include XMPP/SIP specific information, where that technology specific information can be defined in chan_motif/res_xmpp/ chan_sip. Likewise, that information can also be included in the MessageSend AMI command. Review: https://reviewboard.asterisk.org/r/2049 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_xmpp.c')
-rw-r--r--res/res_xmpp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/res_xmpp.c b/res/res_xmpp.c
index 643eaa7c2..93916c583 100644
--- a/res/res_xmpp.c
+++ b/res/res_xmpp.c
@@ -270,6 +270,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<para>Sends a message to a Jabber Client.</para>
</description>
</manager>
+ <info name="XMPPMessageToInfo" language="en_US" tech="XMPP">
+ <para>Specifying a prefix of <literal>xmpp:</literal> will send the
+ message as an XMPP chat message.</para>
+ </info>
***/
/*! \brief Supported general configuration flags */