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;
}
It doesn't appear to be working.
In GUI > SIP ADMIN MENU > Command Services > XMLRPC Commands it just returns NO RESULT for any command I try.
Fresh Install Kamailio v5.1 Siremis from master branch https://github.com/asipto/siremis.git Debian v9 with PHP v7.0
php-mysql php-gd php-curl php-xml php-xmlrpc php-json libapache2-mod-php php-pear
Installed XML_RPC
In kamailio.cfg I have
It doesn't appear to be working. In GUI > SIP ADMIN MENU > Command Services > XMLRPC Commands it just returns NO RESULT for any command I try.
There are no errors in kamailio or apache2 logs.