Hello,


On 3/10/12 7:54 PM, Uri Shacked wrote:
Hi,
 
it worked. i had some kind of error in my config.
a question - can XMLRPC and XHTTP work together on the same config? is there no collision there?

yes, they can work together, just set exclusive url_skip/url_match parameters for each module.

Cheers,
Daniel
 
BR,
Uri
>Hello,
>
>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.
>
>Also, if the http request is not sending content length header, set the
>global parameter:
>
>http://www.kamailio.org/wiki/cookbooks/devel/core#tcp_accept_no_cl
>
>Cheers,
>Daniel
>
>On Tue, Mar 6, 2012 at 9:56 AM, Uri Shacked <ushacked at gmail.com> wrote:
>
> hi,
>
> i need to start some kind of proccess in my kamailio server (manualy, not
> by timer).
> the best way i can think of is to send a HTTP request.
>
> i can do it with the XMLRPC module, but i get an error because i dont
> realy send XML.
> i try the XHTTP module. but the event_rout[xhttp_request] does not run.
>
> i get :
> 19(2796) ERROR: <core> [tcp_read.c:965]: ERROR: tcp_read_req: bad request,
> state=7, error=4 buf:
> POST / HTTP/1.0
> User-Agent: Fiddler
> Host: 10.2.0.55:5060
>
> parsed:
> POST / HTTP/1.0
> User-Agent: Fiddler
> Host: 10.2.0.55:5060
> any ideas?


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/