<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<br>
On 3/10/12 7:54 PM, Uri Shacked wrote:
<blockquote
cite="mid:CAMMbDhR2bj5qrpAXbeC4x7_=VTKDGjhzG_Nd4ohwgJ27yEqB=w@mail.gmail.com"
type="cite">
<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>
</blockquote>
<br>
yes, they can work together, just set exclusive url_skip/url_match
parameters for each module.<br>
<br>
Cheers,<br>
Daniel<br>
<blockquote
cite="mid:CAMMbDhR2bj5qrpAXbeC4x7_=VTKDGjhzG_Nd4ohwgJ27yEqB=w@mail.gmail.com"
type="cite">
<div dir="ltr">
<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 moz-do-not-send="true"
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
moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://10.2.0.55:5060">10.2.0.55:5060</a><br>
</i>><i> any ideas?<br>
</i></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
<a class="moz-txt-link-freetext" href="http://www.asipto.com/index.php/kamailio-advanced-training/">http://www.asipto.com/index.php/kamailio-advanced-training/</a></pre>
</body>
</html>