Table of Contents
Table of Contents
The module exports a RPC command to execute MI commands.
The other way around not implemented (MI command to execute RPC) -- to be investigated if worth the effort.
The following modules must be loaded before this module:
No dependencies on other Kamailio modules.
Execute a MI command.
Depending on the version (e.g. mi, mi_dg) it formats the output in a similar way to the corresponding kamailio mi module:
mi
- uses a special, "pretty" format
which generates nicer (more readable) output when used with
sercmd.
mi_dg
- uses an output format similar to
the kamailio mi_datagram module.
mi_fifo
- uses an output format similar
to the kamailio mi_fifo module.
mi_xmlrpc
- uses an output format similar
to the kamailio mi_xmlrpc module.
Name: mi
Parameters:
_mi_command_ - the MI command to execute (mandatory).
_parameters_ - the MI command parameters (optional).
Example using 'sercmd':
sercmd> mi uptime Now:: Thu Sep 24 18:17:15 2009 Up since:: Thu Sep 24 17:35:45 2009 Up time:: 2490 [sec]