No subject


Wed Jun 27 05:48:46 CEST 2012


<BLOCKQUOTE>
    SIP requires a Content-Length header for TCP transport. But most HTTP clients do not set the content length for normal GET requests. Therefore, the core must be configured to allow incoming requests without content length header:<BR>
    <BR>
    tcp_accept_no_cl=yes<BR>
</BLOCKQUOTE>
<BR>
Regards,<BR>
<BR>
Peter<BR>
<BR>
On Mon, 2012-07-09 at 10:42 +0100, Peter Dunkley wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    Hi,<BR>
    <BR>
    That is before the event_route is executed.<BR>
    <BR>
    It might be worth trying to increase the size of tcp_rd_buf_size.<BR>
    <BR>
    Regards,<BR>
    <BR>
    Peter<BR>
    <BR>
    On Mon, 2012-07-09 at 12:27 +0300, Juha Heinanen wrote: 
    <BLOCKQUOTE TYPE=CITE>
<PRE>
Peter Dunkley writes:

&gt; The nathelper stuff works for me, and is useful if your client doesn't
&gt; support the various extensions.

ok, i'll check if sipml5 supports gruu once i manage to make it send
register request.  currently initial GET fails like this:

Jul  9 11:29:43 siika /usr/sbin/sip-proxy[9153]: ERROR: &lt;core&gt; [tcp_read.c:1292]: ERROR: tcp_read_req: bad request, state=7, error=4 buf:#012GET / HTTP/1.1#015#012Upgrade: websocket#015#012Connection: Upgrade#015#012Host: 192.98.103.10#015#012Origin: <A HREF="https://localhost">https://localhost</A>#015#012Sec-WebSocket-Protocol: sip#015#012Sec-WebSocket-Key: 3uCSAAgsydjW9+RD857uXg==#015#012Sec-WebSocket-Version: 13#015#012Sec-WebSocket-Extensions: x-webkit-deflate-frame#015#012#015#012#012parsed:#012GET / HTTP/1.1#015#012Upgrade: websocket#015#012Connection: Upgrade#015#012Host: 192.98.103.10#015#012Origin: <A HREF="https://localhost">https://localhost</A>#015#012Sec-WebSocket-Protocol: sip#015#012Sec-WebSocket-Key: 3uCSAAgsydjW9+RD857uXg==#015#012Sec-WebSocket-Version: 13#015#012Sec-WebSocket-Extensions: x-webkit-deflate-frame#015#012#015#012

i'm not sure if this error is generated before
event_route[xhttp:request] is executed.

-- juha

_______________________________________________
sr-dev mailing list
<A HREF="mailto:sr-dev at lists.sip-router.org">sr-dev at lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>
</PRE>
    </BLOCKQUOTE>
    <BR>
    <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
_______________________________________________
sr-dev mailing list
<A HREF="mailto:sr-dev at lists.sip-router.org">sr-dev at lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>

</PRE>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-x3wPy7ewVXcl6j4LuWSO--




More information about the sr-dev mailing list