Hi,
Can we call MI commands from the script ? I'm thinking about reloading dispatcher or hash table from database for example..
Thanks Reda
Hello,
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..
you can use exec module to run kamctl commands.
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
Thank you Daniel I was discovering the exec module while you replied, and just thought it would be useful for running mi commands !
I am using the exec module to send emails. Is there another way to do it?
Thanks Reda
On Thu, Mar 15, 2012 at 12:05, Daniel-Constantin Mierla miconda@gmail.comwrote:
Hello,
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..
you can use exec module to run kamctl commands.
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, Germanyhttp://www.asipto.com/index.php/kamailio-advanced-training/