[SR-Users] XHTTP or XMLRPC modules

Daniel-Constantin Mierla miconda at gmail.com
Sat Mar 10 11:52:33 CET 2012


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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Daniel-Constantin Mierla
  http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120310/f6b2831f/attachment.htm>


More information about the sr-users mailing list