<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
On 3/13/12 7:08 PM, Reda Aouad wrote:
<blockquote
cite="mid:CAA30pc76B_NRgAAB_iGDN2qhDJfYYL5kRtpFfkmDY2mmipCgqg@mail.gmail.com"
type="cite">
<div dir="ltr"><font color="#3366ff"><font><font
face="tahoma,sans-serif">Hi,</font></font></font>
<div><font color="#3366ff"><font><font face="tahoma,sans-serif"><br>
</font></font></font></div>
<div><font color="#3366ff"><font><font face="tahoma,sans-serif">Can
we call MI commands from the script ?</font></font></font></div>
<div><font color="#3366ff"><font><font face="tahoma,sans-serif">I'm
thinking about reloading dispatcher or hash table from
database for example..</font></font></font></div>
</div>
</blockquote>
you can use exec module to run kamctl commands.<br>
<br>
Also, there is a new module that allow to trigger RPC commands from
config, upon sending a http request:<br>
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/devel/modules/xhttp_rpc.html">http://kamailio.org/docs/modules/devel/modules/xhttp_rpc.html</a><br>
<br>
Cheers,<br>
Daniel<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
<a class="moz-txt-link-freetext" href="http://www.asipto.com/index.php/kamailio-advanced-training/">http://www.asipto.com/index.php/kamailio-advanced-training/</a></pre>
</body>
</html>