sipcontrol man page

sipwitch — script control and manage GNU sipwitch server.


sipwitchctl command [arguments...]


The sipwitchctl command allows one to interact with a running sipwitch daemon instance on the current machine. This can be used to create management shell scripts or to perform basic service operations, using the sipwitch fifo control interface. Normally this command would be used only by root or someone in an admin group that the sipwitch daemon is running under. If the sipwitch daemon is started by an ordinary user, the command can be used by the same user to control that daemon instance.

terminate running daemon with core for debugging.
activate ext ipaddr
register a static sip extension manually on a fixed address.
list active call sessions on the server.
verify running daemon for deadlocks or other problems.
concurrency level
set concurrency level of the daemon. See pthread_setconcurrency.
return server contact address for autoconfig.
digest userid [realm [type]]
compute a sip digest for the server realm.
disable conf-id...
remove /etc/sipwitch.d configurations.
stop and shutdown the running sipwitch daemon.
drop user|callid
drop specified calls either by a user or call id.
dump server configuration to stdout.
enable conf-id...
enable /etc/sipwitch.d configurations.
display server events as received.
grant group
grants directory access to system group.
history [size]
set size or dump recent error log history.
ifdown iface
notify server interface went down.
ifup iface
notify server interface came up.
message ext “Text”
send a short text message to a registered extension.
print access policy list and peering (published) addresss.
period interval
dump periodic stats for specified minute interval, often used for cron.
dump server periodic statistics. See “stats”.
dump all user agent registrations to stdout.
realm [new-realm [digest-type]]
set or show the server realm.
release ext
deactivate an extension registered with the daemon.
load server configuration while live.
force server restart.
dump sip messages from when trace is enabled.
create snapshot diagnostic file from daemon.
state id
set daemon to specified state id.
dump server call statistics.
server mapped call status list.
trace on|off|clear
Set or clear server sip message tracing.
dump user cache.
verbose level
set daemon error logging verbosity.

Exit Status

Normally exit status is 0 if the request was successfully processed by the sipwitch service daemon. An exit status of 0x indicates an error in the sipwitch utility, such as invalid argument parsing. An error of 1x indicates some communication failure with the server, and a error of 2x is related to errors on server processed requests.


sipwitch was written by David Sugar <dyfet@gnutelephony.org>.

Reporting Bugs

Report bugs to sipwitch-devel@gnu.org or bugs@gnutelephony.org.


GNU SIP Witch GNU Telephony January 2009