<div dir="auto"><div>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.<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 25, 2020, 9:40 PM Grant Bagdasarian <<a href="mailto:grantbagdasarian@gmail.com">grantbagdasarian@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Is it possible to call MI functions from within the OpenSips script?<br>
For instance, call the domain_reload function inside a timer_route to<br>
refresh the domains every N seconds? I know this may be a bad example,<br>
since the domain module supports caching and realtime mode, but I hope<br>
you get the idea.<br>
<br>
I've been going through the documentation (mainly modules), but<br>
couldn't find anything that allows me to perform these tasks.<br>
<br>
Regards,<br>
<br>
Grant<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div></div>