Scroll to navigation

sipwitchctl(1) GNU Telephony sipwitchctl(1)

NAME

sipwitch - script control and manage GNU sipwitch server.

SYNOPSIS

sipwitchctl command [arguments...]

DESCRIPTION

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.
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.
set concurrency level of the daemon. See pthread_setconcurrency.
return server contact address for autoconfig.
compute a sip digest for the server realm.
remove /etc/sipwitch.d configurations.
stop and shutdown the running sipwitch daemon.
drop specified calls either by a user or call id.
dump server configuration to stdout.
enable /etc/sipwitch.d configurations.
display server events as received.
grants directory access to system group.
set size or dump recent error log history.
notify server interface went down.
notify server interface came up.
send a short text message to a registered extension.
print access policy list and peering (published) addresss.
dump periodic stats for specified minute interval, often used for cron.
dump server periodic statistics. See ``stats''.
dump all user agent registrations to stdout.
set or show the server realm.
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.
set daemon to specified state id.
dump server call statistics.
server mapped call status list.
Set or clear server sip message tracing.
dump user cache.
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.

AUTHOR

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

REPORTING BUGS

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

COPYRIGHT

Copyright © 2009-2014 David Sugar, Tycho Softworks.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

January 2009 GNU SIP Witch