Hello,you can use exec module to run kamctl commands.
On 3/13/12 7:08 PM, Reda Aouad wrote:Hi,
Can we call MI commands from the script ?I'm thinking about reloading dispatcher or hash table from database for example..
Also, there is a new module that allow to trigger RPC commands from config, upon sending a http request:
http://kamailio.org/docs/modules/devel/modules/xhttp_rpc.html
Cheers,
Daniel
-- Daniel-Constantin Mierla Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany http://www.asipto.com/index.php/kamailio-advanced-training/