Thanks.
Yes I am having the route config as well:
# XMLRPC routing
#!ifdef WITH_XMLRPC
route[XMLRPC] {
# allow XMLRPC from localhost
if ((method=="POST" || method=="GET")
&& (src_ip==127.0.0.1)) {
# close connection only for xmlrpclib user agents (there is
a bug in
# xmlrpclib: it waits for EOF before interpreting the
response).
if ($hdr(User-Agent) =~ "xmlrpclib")
set_reply_close();
set_reply_no_connect();
dispatch_rpc();
exit;
}
send_reply("403", "Forbidden");
exit;
}
#!endif
But I am not sure , where I have missed in the config.
Thanks & Kind Regards,
Logeshwaran G
On Thu, Aug 17, 2017 at 1:05 PM, Sebastian Damm <[email protected]> wrote:
> On Thu, Aug 17, 2017 at 9:13 AM, Logeshwaran G <[email protected]>
> wrote:
> > Also If I commented the dispatch_rpc();
> > Kamailio is running but it dosent accepting the http request.
> > Please Guide me.
>
> Actually, it is all documented in the xmlrpc module. My example was
> for using jsonrpc, xmlrpc works a bit different.
>
> http://www.kamailio.net/docs/modules/5.0.x/modules/xmlrpc.html
>
> The xmlrpc module doesn't depend on the xhttp module, it works
> standalone. You need to specify the route name where xmlrpc requests
> will end up. In this route you call dispatch_rpc(), just as example
> 1.8 shows you: http://www.kamailio.net/docs/modules/5.0.x/modules/xmlrpc.
> html#idp29963340
>
> BR
> Sebastian
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users