Hello
     Thanks for replying. I read the module doc, it's too brief and i still don't know how to modify the config to enable a jsonrpc server. Right now I execute:
      kamcmd -s udp:localhost:5060 ul.dump and there's no response. By the way, I want to use jsonrpc via tcp, not http.

Thanks
jesse





At 2017-06-27 16:37:38, "Daniel Tryba" <d.tryba@pocos.nl> wrote: >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 > > >_______________________________________________ >Kamailio (SER) - Users Mailing List >sr-users@lists.kamailio.org >https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users