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@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


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to