[asterisk-commits] mmichelson: trunk r156962 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 14 15:19:59 CST 2008
Author: mmichelson
Date: Fri Nov 14 15:19:58 2008
New Revision: 156962
URL: http://svn.digium.com/view/asterisk?view=rev&rev=156962
Log:
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:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=156962&r1=156961&r2=156962
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Nov 14 15:19:58 2008
@@ -20114,6 +20114,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