Hello,<br><br>can you get the http request with ngrep and send it here? It will be helpful to see it all, not only what kamailio could parse.<br><br>Also, if the http request is not sending content length header, set the global parameter:<br>
<br><a href="http://www.kamailio.org/wiki/cookbooks/devel/core#tcp_accept_no_cl">http://www.kamailio.org/wiki/cookbooks/devel/core#tcp_accept_no_cl</a><br><br>Cheers,<br>Daniel<br><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 9:56 AM, Uri Shacked <span dir="ltr">&lt;<a href="mailto:ushacked@gmail.com">ushacked@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>hi,</div>
<div> </div>
<div>i need to start some kind of proccess in my kamailio server (manualy, not by timer).</div>
<div>the best way i can think of is to send a HTTP request.</div>
<div> </div>
<div>i can do it with the XMLRPC module, but i get an error because i dont realy send XML.</div>
<div>i try the XHTTP module. but the event_rout[xhttp_request] does not run.</div>
<div> </div>
<div>i get :</div>
<div>19(2796) ERROR: &lt;core&gt; [tcp_read.c:965]: ERROR: tcp_read_req: bad request, state=7, error=4 buf:<br>POST / HTTP/1.0<br>User-Agent: Fiddler<br>Host: <a href="http://10.2.0.55:5060" target="_blank">10.2.0.55:5060</a></div>

<div><br>parsed:<br>POST / HTTP/1.0<br>User-Agent: Fiddler<br>Host: <a href="http://10.2.0.55:5060" target="_blank">10.2.0.55:5060</a><br></div>
<div>any ideas?</div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Daniel-Constantin Mierla<br>  <a href="http://www.asipto.com">http://www.asipto.com</a><br>