diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-11-14 21:19:58 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-11-14 21:19:58 +0000 |
commit | 6254c5cd2f134c96b2739e7de95ab90b00d5bb99 (patch) | |
tree | 3e647d10b22e3d076caa1e3917d3dfe0edd37be7 | |
parent | 655abd1757c5f6950db852afa8572c79dc41b09e (diff) |
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
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |