From: Mark Michelson Date: Fri, 14 Nov 2008 21:19:58 +0000 (+0000) Subject: Revision 155513 of chan_sip.c in trunk inadvertently X-Git-Tag: 1.6.2.0-beta1~858 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6254c5cd2f134c96b2739e7de95ab90b00d5bb99;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@156962 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d1c77c4063..70a220bf42 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -20114,6 +20114,7 @@ static int sipsock_read(int *id, int fd, short events, void *ignore) return -1; } + req.len = res; req.socket.fd = sipsock; req.socket.type = SIP_TRANSPORT_UDP; req.socket.ser = NULL;