.\" $Id$ .TH opensipsctl 8 21.06.2006 opensips "OpenSIPS" .\" Process with .\" groff -man -Tascii opensipsctl.8 .\" .SH NAME opensipsctl \- opensips control tool .SH SYNOPSIS .B opensipsctl .BI command [ .BI parameters ] .SH DESCRIPTION .B opensipsctl is a shell script to control .B OpenSIPS SIP server It can be used to manage users, domains, aliases and other server options .SH FILES .PD 0 .I /etc/opensips/.opensipsctlrc .br .I /usr/local/etc/opensips/.opensipsctlrc .br .I ~/.opensipsctlrc .br .SH COMMANDS .TP 12 .B \-h Displays a short usage description, including all available options. .TP .B moni show internal status .TP .B ps show running processes .TP .B fifo send raw FIFO commands .TP .B ping ping a URI (OPTIONS) .TP .B cisco_restart restart a Cisco phone (NOTIFY) .TP 16 .I SUBSCRIBER management: .TP .B add add a new subscriber (*) .TP .B passwd change user's password (*) .TP .B rm delete a user (*) .TP .B alias show [] show aliases .TP .B alias rm remove an alias .TP .B alias add add an aliases .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 .B alias_db show show alias details .TP .B alias_db list list aliases for uri .TP .B alias_db add add an alias (*) .TP .B alias_db rm remove an alias (*) .TP .B alias_db help help message .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 [description] add gateway .TP .B dispatcher rmgw delete gateway .TP .B speeddial show show speeddial details .TP .B speeddial list list speeddial for uri .TP .B speeddial add [] add a speedial (*) .TP .B speeddial rm remove a speeddial (*) .TP .B speeddial help help message .TP 16 .I AVP management: .TP .B avp list [\-T table] [\-u ] \ [\-a attribute] [\-v value] [\-t type] list AVPs .TP .B avp add [\-T table] \ add AVP (*) .TP .B avp rm [\-T table] [\-u ] \ [\-a attribute] [\-v value] [\-t type] remove AVP (*) .TP .B avp help help message .TP 16 .I ACL (Access Control Lists) management .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 USRLOC (User Location) management .TP .B ul show [] show in-RAM online users .TP .B ul rm [] delete user's UsrLoc entries .TP .B ul add introduce a permanent UrLoc entry .TP .B ul add introduce a temporary UrLoc entry .TP .B showdb [] show online users flushed in DB .TP 16 .I DOMAIN management .TP .B domain show show list of served domains .TP .B domain add add a new served domain .TP .B domain rm remove a served domain .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. .PP IP addresses must be entered in dotted quad format e.g. 1.2.3.4 .SH AUTHORS see .B /usr/share/doc/opensipsAUTHORS .SH SEE ALSO .BR opensips(8), opensips.cfg(5) .PP Full documentation on opensips is available at .I http://www.opensips.org/. .PP Mailing lists: .nf users@opensips.org - opensips user community .nf devel@opensips.org - opensips development, new features and unstable version