From 6254c5cd2f134c96b2739e7de95ab90b00d5bb99 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Fri, 14 Nov 2008 21:19:58 +0000 Subject: 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 --- channels/chan_sip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d1c77c406..70a220bf4 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; -- cgit v1.2.3