[SR-Users] MI Command in Script

Reda Aouad reda.aouad at gmail.com
Thu Mar 15 12:09:29 CET 2012


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 at gmail.com>wrote:

>  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/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120315/8cee83cd/attachment.htm>


More information about the sr-users mailing list