On Tue, Jun 27, 2017 at 03:50:17PM +0800, 赵国杰 wrote:
I want to know how many users are currently registered
to my
kamailio server. I understand can be used to achieve this. I'm
wondering if there's RESTful or RPC interface that can be
requested by external service.
Yes there are RPC interfaces (I see atleast 3 looking at the stable
modules list). In the default supplied kamailio.cfg there are examples
for the XMLRPC module. My guess the best fit for you will be
https://www.kamailio.org/docs/modules/stable/modules/jsonrpcs.html