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...
https://kamailio.org/docs/modules/devel/modules/jsonrpcs.html#jsonrpcs.f.jso...
Regards, --Sergiu
On Mon, Jul 4, 2022 at 7:33 AM Marat Gareev maratkin94@gmail.com wrote:
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... __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
4 Jul 2022 12:30:41 Marat Gareev maratkin94@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...
kamcli might do the trick for you.
-Barry
Thanks!
Seems that jsonrpc_exec is what I need.
пн, 4 июл. 2022 г. в 17:09, Barry Flanagan barry@flantel.com:
4 Jul 2022 12:30:41 Marat Gareev maratkin94@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...
kamcli might do the trick for you.
-Barry __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Have in mind that changes of records (and reload commands) are not expected (and not designed) to be done often. This applies to most of the modules (permissions, dispatcher, ...) offering such commands.
If you have a very dynamic logic of getting next hop address, you better use rtjson module for routing.
Cheers, Daniel
On 04.07.22 16:04, Marat Gareev wrote:
Thanks!
Seems that jsonrpc_exec is what I need.
пн, 4 июл. 2022 г. в 17:09, Barry Flanagan barry@flantel.com:
4 Jul 2022 12:30:41 Marat Gareev <maratkin94@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@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
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: