.\" $Id$ .TH kamctl 8 05.02.2009 Kamailio "Kamailio" .\" Process with .\" groff -man -Tascii kamctl.8 .\" .SH NAME kamctl \- Kamailio control tool .SH SYNOPSIS .B kamctl .BI command [ .BI parameters ] .SH DESCRIPTION .B kamctl is a shell script to control .B Kamailio SIP server It can be used to manage users, domains, aliases and other server options. .SH COMMANDS .TP 16 .I Daemon Commands: .TP .B start Start Kamalio .TP .B restart Restart Kamalio .TP .B stop Stop Kamalio .TP .B online Display online users .TP .B monitor Show server's internal status .TP .B ping Ping with SIP OPTIONS .TP 16 .I Access control list (acl) management commands: .TP .B acl show [] Show user membership .TP .B acl grant Grant user membership (*) .TP .B acl revoke [] Grant user membership(s) (*) .TP 16 .I Least cost routes (lcr) management command: .TP .B lcr dump Show in memory gateways and routes tables .TP .B lcr reload Reload lcr gateways and routes .TP 16 .I Carrierroute tables('cr') management commands: .TP .B cr show Show tables .TP .B cr reload Reload tables .TP .B cr dump Show in memory tables .TP .B cr addrt Add a tree .TP .B cr rmrt Remove a tree .TP .B cr addcarrier Add a carrier (prob, strip, rewrite_prefix, rewrite_suffix, flags, mask and comment are optional arguments) .TP .B cr rmcarrier Remove a carrier .TP 16 .I Remote-Party-ID (RPID) management commands: .TP .B rpid add Add rpid for a user (*) .TP .B rpid rm Set rpid to NULL for a user (*) .TP .B rpid show Show rpid of a user .TP 16 .I Subscriber management commands: .TP .B add Add a new subscriber (*) .TP .B passwd Change user's password (*) .TP .B rm Delete a user (*) .TP 16 .I Commands to manage 'trusted': .TP .B trusted show Show db content .TP .B trusted dump Show cache content .TP .B trusted reload Reload db table into cache .TP .B trusted add Add a new entry (from_pattern and tag are optional arguments) .TP .B trusted rm Remove all entres for the given src_ip .TP 16 .I Dispatcher management commands: .TP .B dispatcher show Show dispatcher gateways .TP .B dispatcher reload Reload dispatcher gateways .TP .B dispatcher dump Show in memory dispatcher gateways .TP .B dispatcher addgw Add gateway .TP .B dispatcher rmgw Delete gateway .TP 16 .I Cisco restart command: .TP .B cisco_restart Restart phone configured for .TP 16 .I User location('ul') or aliases management commands: .B ul show [] Show in-RAM online users .TP .B ul show --brief Show in-RAM online users in short format .TP .B ul rm [] Delete user's usrloc entries .TP .B ul add Introduce a permanent usrloc entry .TP .B ul add Introduce a temporary usrloc entry .TP .B ul add Introduce a temporary usrloc entry including a path .TP 16 .I Fifo commands: .TP .B fifo Send raw FIFO command .SH FILES .PD 0 .I /etc/kamailio/.kamctlrc .br .I /usr/local/etc/kamailio/.kamctlrc .br .I ~/.kamctlrc .br .SH NOTES .PP Commands labeled with (*) will prompt for a MySQL password. If the environment variable PW is set, the password will not be prompted. .SH AUTHORS see .B /usr/share/doc/kamailio/AUTHORS .SH SEE ALSO .BR kamailio(8), .BR kamailio.cfg(5) .PP Full documentation on Kamailio is available at .I http://www.kamailio.org/. .PP Mailing lists: .nf users@lists.kamailio.org - Kamailio user community .nf devel@lists.kamailio.org - Kamailio development, new features and unstable version