[SR-Users] Invoking RPC commands over HTTP

Daniel-Constantin Mierla miconda at gmail.com
Fri Mar 2 10:12:12 CET 2018


Hello,

you can do jsonrpc over http/s by using jsonrpcs+xhttp modules --
example at:

  -
https://www.kamailio.org/docs/modules/stable/modules/jsonrpcs.html#jsonrpcs.f.jsonrpc_dispatch

There is also an xmlrpc module that works over http/s.

Cheers,
Daniel

On 02.03.18 09:57, Ben Hood wrote:
> Hi,
>
> What is the idiomatic way to call an RPC from a remote HTTP client in
> the 5.1.x series?
>
> I'd like to invoke mtree.reload from a remote HTTP client.
>
> My goal is to avoid a dependency on kamcmd on the remote client system
> - it would be nice to be able to issue a HTTP RPC which could be
> implemented in any environment.
>
> Or should I be looking to implement a BINRPC client on the remote system?
>
> TIA,
>
> Ben
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com




More information about the sr-users mailing list