[asterisk-dev] [svn-commits] mjordan: trunk r374612 - in /trunk: ./ main/message.c res/res_xmpp.c

Matthew Jordan mjordan at digium.com
Mon Oct 8 11:55:44 CDT 2012


On 10/08/2012 03:19 AM, Olle E. Johansson wrote:
> 
> 6 okt 2012 kl. 03:47 skrev SVN commits to the Digium repositories <svn-commits at lists.digium.com>:
> 
>> When using the channel technology agnostic application/AMI command MessageSend,
>> the "From" field is technically optional for the SIP channel driver. 
> 
> The From: header is mandatory in a SIP message. Do we take the From from somewhere else in this case?

Yes.  If the From: header is not specified in the MessageSend
application for a message determined to be SIP, the From header in the
SIP MESSAGE request defaults to "asterisk" <sip:asterisk@[address:port]>.

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org





More information about the asterisk-dev mailing list