projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
655abd1
)
Revision 155513 of chan_sip.c in trunk inadvertently
author
Mark Michelson
<mmichelson@digium.com>
Fri, 14 Nov 2008 21:19:58 +0000
(21:19 +0000)
committer
Mark Michelson
<mmichelson@digium.com>
Fri, 14 Nov 2008 21:19:58 +0000
(21:19 +0000)
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
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
d1c77c4
..
70a220b
100644
(file)
--- 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;