[asterisk-commits] mmichelson: branch 1.6.1 r156963 - in /branches/1.6.1: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 14 15:21:24 CST 2008


Author: mmichelson
Date: Fri Nov 14 15:21:24 2008
New Revision: 156963

URL: http://svn.digium.com/view/asterisk?view=rev&rev=156963
Log:
Merged revisions 156962 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r156962 | mmichelson | 2008-11-14 15:19:58 -0600 (Fri, 14 Nov 2008) | 7 lines

Revision 155513 of chan_sip.c in trunk inadvertently 
removed a very important line to set the "len" field
for incoming SIP requests. The result was that all incoming
SIP messages appeared to be 0-length, meaning Asterisk
could do no meaningful processing of anything SIP-related


........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/channels/chan_sip.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=156963&r1=156962&r2=156963
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Fri Nov 14 15:21:24 2008
@@ -19278,6 +19278,7 @@
 		return -1;
 	}
 
+	req.len = res;
 	req.socket.fd 	= sipsock;
 	req.socket.type = SIP_TRANSPORT_UDP;
 	req.socket.ser	= NULL;




More information about the asterisk-commits mailing list