[asterisk-commits] twilson: branch russell/messaging r324766 - /team/russell/messaging/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 23 18:30:37 CDT 2011


Author: twilson
Date: Thu Jun 23 18:30:34 2011
New Revision: 324766

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324766
Log:
Set the Via properly on an outbound out-of-call MESSAGE

Modified:
    team/russell/messaging/channels/chan_sip.c

Modified: team/russell/messaging/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/russell/messaging/channels/chan_sip.c?view=diff&rev=324766&r1=324765&r2=324766
==============================================================================
--- team/russell/messaging/channels/chan_sip.c (original)
+++ team/russell/messaging/channels/chan_sip.c Thu Jun 23 18:30:34 2011
@@ -13175,6 +13175,7 @@
 	struct ast_msg_var_iterator *i;
 	const char *var, *val;
 
+	build_via(p);
 	initreqprep(&req, p, SIP_MESSAGE, NULL);
 	ast_string_field_set(p, msg_body, ast_msg_get_body(msg));
 	initialize_initreq(p, &req);




More information about the asterisk-commits mailing list