sercmd has help that lists the commands, one of which is mi. is there a way to list all mi sub-commands? i have tried
ip-proxy_ctl> help mi Execute MI command sip-proxy_ctl> mi help error: 500 - command not available
-- juha
Hello,
On 11/3/11 8:11 AM, Juha Heinanen wrote:
sercmd has help that lists the commands, one of which is mi. is there a way to list all mi sub-commands? i have tried
ip-proxy_ctl> help mi Execute MI command sip-proxy_ctl> mi help error: 500 - command not available
there is a MI command listing all MI commands available at that time: which.
You can run it over rpc, with: mi which
Other than that, mi commands don't have embedded help like rpc commands do, but they are documented in modules' readme. The alphabetic index is available at:
http://www.kamailio.org/wiki/alphaindexes/3.2.x/micommands
Cheers, Daniel
On 11/3/11 10:40 AM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
there is a MI command listing all MI commands available at that time: which.
ok, i didn't know about that. perhaps better name would be 'help' because at top level that name is used for listing.
AFAIK, 'which' command is there since fifo commands were introduced long time ago in ser 0.x.y.
not sure about renaming it to help, this is more appropriate for printing the help message of that command itself, imo. Cheers, Daniel