From: Jonathan Rose Date: Fri, 13 Dec 2013 21:35:50 +0000 (+0000) Subject: documentation: Add PJSIP technology to messaging documentation X-Git-Tag: 13.0.0-beta1~754 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=661ac149115dd23c421c1445a1d07f92249db243;p=thirdparty%2Fasterisk.git documentation: Add PJSIP technology to messaging documentation ........ Merged revisions 403796 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403797 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/message.c b/main/message.c index 132ef302a3..ef2c97f1fa 100644 --- a/main/message.c +++ b/main/message.c @@ -122,12 +122,14 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") A To URI for the message. + A From URI for the message if needed for the message technology being used to send this message. + @@ -165,12 +167,14 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") The URI the message is to be sent to. + A From URI for the message if needed for the message technology being used to send this message. + diff --git a/res/res_pjsip_messaging.c b/res/res_pjsip_messaging.c index 00923b23ba..f5f419b1f5 100644 --- a/res/res_pjsip_messaging.c +++ b/res/res_pjsip_messaging.c @@ -23,6 +23,16 @@ core ***/ +/*** DOCUMENTATION + + The from parameter can be a configured endpoint + or in the form of "display-name" <URI>. + + + Specifying a prefix of pjsip: will send the + message as a SIP MESSAGE request. + + ***/ #include "asterisk.h" #include "pjsua-lib/pjsua.h"