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