First, you have to load the ctl module in your config, see module's readme:
http://kamailio.org/docs/modules/3.0.x/modules/ctl.html
If you use default configuration in the ctl module and sercmd, with kamailio on the same system, then just launch sercmd.
Among features:
- command history
- connection or single command mode
- tab completion
- double tab to list available options
- execute all MI commands from Kamailio core and modules (module mi_rpc must be loaded)
- execute RPC commands (core, tm and other modules)
- over one hundred commands available from core and modules
- change config variables during runtime (module cfg_rpc must be loaded)
- option to format the output
- connection to Kamailio via udp, tcp or unix sockets
- help message for each command
Screenshots:
- show available commands
- list registered phones via MI
- list TCP options via RPC
Next post to be about asynchronous tcp.
No comments:
Post a Comment