<div dir="ltr"><div>Hi,</div>
<div> </div>
<div>it worked. i had some kind of error in my config.</div>
<div>a question - can XMLRPC and XHTTP work together on the same config? is there no collision there?</div>
<div> </div>
<div>BR,</div>
<div>Uri</div>
<div>>Hello,<br>><br>>can you get the http request with ngrep and send it here? It will be<br>>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<br>
>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>>On Tue, Mar 6, 2012 at 9:56 AM, Uri Shacked <<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">ushacked at gmail.com</a>> wrote:<br>><br>><i> hi,<br></i>><i><br></i>><i> i need to start some kind of proccess in my kamailio server (manualy, not<br>
</i>><i> by timer).<br></i>><i> the best way i can think of is to send a HTTP request.<br></i>><i><br></i>><i> i can do it with the XMLRPC module, but i get an error because i dont<br></i>><i> realy send XML.<br>
</i>><i> i try the XHTTP module. but the event_rout[xhttp_request] does not run.<br></i>><i><br></i>><i> i get :<br></i>><i> 19(2796) ERROR: <core> [tcp_read.c:965]: ERROR: tcp_read_req: bad request,<br>
</i>><i> state=7, error=4 buf:<br></i>><i> POST / HTTP/1.0<br></i>><i> User-Agent: Fiddler<br></i>><i> Host: <a href="http://10.2.0.55:5060">10.2.0.55:5060</a><br></i>><i><br></i>><i> parsed:<br></i>><i> POST / HTTP/1.0<br>
</i>><i> User-Agent: Fiddler<br></i>><i> Host: <a href="http://10.2.0.55:5060">10.2.0.55:5060</a><br></i>><i> any ideas?<br></i></div></div>