[OpenSIPS-Users] Call MI functions from script

Schneur Rosenberg rosenberg11219 at gmail.com
Thu Feb 27 15:17:14 EST 2020


I don't know if you can, but I assume you can always write a external
script with xmlrpc and use the exec in a timer route to execute the script.

On Tue, Feb 25, 2020, 9:40 PM Grant Bagdasarian <grantbagdasarian at gmail.com>
wrote:

> Hello,
>
> Is it possible to call MI functions from within the OpenSips script?
> For instance, call the domain_reload function inside a timer_route to
> refresh the domains every N seconds? I know this may be a bad example,
> since the domain module supports caching and realtime mode, but I hope
> you get the idea.
>
> I've been going through the documentation (mainly modules), but
> couldn't find anything that allows me to perform these tasks.
>
> Regards,
>
> Grant
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200227/7af5e495/attachment.html>


More information about the Users mailing list