[SR-Users] How to call RPC functions from script

Marat Gareev maratkin94 at gmail.com
Mon Jul 4 16:04:37 CEST 2022


Thanks!

Seems that jsonrpc_exec is what I need.

пн, 4 июл. 2022 г. в 17:09, Barry Flanagan <barry at flantel.com>:

> 4 Jul 2022 12:30:41 Marat Gareev <maratkin94 at gmail.com>:
>
> > Hello!
> >
> > Is it possible to call RPC functions from script?
> > In particular, I'm interested in the ability to add new groups to the
> dispatcher.
> >
> https://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.r.add
>
> kamcli might do the trick for you.
>
> -Barry
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220704/ba84c873/attachment.htm>


More information about the sr-users mailing list