From 15b35972ff82e52864edd7b280c45c678e491002 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Sat, 6 Oct 2012 01:47:00 +0000 Subject: Update documentation for MessageSend application/command's From field for XMPP When using the channel technology agnostic application/AMI command MessageSend, the "From" field is technically optional for the SIP channel driver. However, if being sent by the XMPP resource module (either res_xmpp or res_jabber), the "From" field is necessary, and must correspond to a defined account. This patch updates the documentation for this application/AMI command to reflect this. (closes issue ASTERISK-20405) Reported by: Leif Madsen ........ Merged revisions 374611 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374612 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_xmpp.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'res') diff --git a/res/res_xmpp.c b/res/res_xmpp.c index bec68b786..3a2ad13c9 100644 --- a/res/res_xmpp.c +++ b/res/res_xmpp.c @@ -284,6 +284,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Specifying a prefix of xmpp: will send the message as an XMPP chat message. + + Specifying a prefix of xmpp: will specify the + account defined in xmpp.conf to send the message from. + Note that this field is required for XMPP messages. + ***/ /*! \brief Supported general configuration flags */ -- cgit v1.2.3