[asterisk-commits] twilson: trunk r325046 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 27 19:07:52 CDT 2011


Author: twilson
Date: Mon Jun 27 19:07:47 2011
New Revision: 325046

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=325046
Log:
Don't forget to build the Via when sending MESSAGE

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=325046&r1=325045&r2=325046
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jun 27 19:07:47 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