sipw - sipwitch service daemon
This is a service daemon for the SIP protocol. This daemon enables sip devices
and softphone applications to register as well as to route messages for the
SIP protocol between arbitrary endpoints, both locally and remote over the
Internet using DNS to resolve destination uri's. As a telephone system,
offers call redirection, speed dials, call forwarding, sms style
instant messaging, and the ability to ring multiple user agents tied together
under a common user id.
daemon is also being used as a mediator for desktop telephony.
For this purpose, sip users become the same as normal login accounts which
happen to be in a specific group of sipusers, and sipw
will assume a
role for VoIP services similar to what gstreamer does for media.
Normally the sipw
daemon is started from an init script or upstart rather
than manually, and hence only those options setable in the
config file can be set. However, the sipw
daemon can be manually started, both in the foreground for testing, and in the
background. If this is done, a number of options may be passed to it directly
- Execute the sipw daemon detached in the background
- Set the pthread concurrency level for the sipw
- Specify debug logging level (0-9). When run in
foreground debug messages are shown on the console. When in background
they are saved in the sipwitch log file.
- Execute the sipw daemon in the foreground, with
output shown on stdout or stderr.
- Execute the sipw daemon under control of gdb for
- Specify the group id that the sipw daemon
will execute as for receiving control messages or access to daemon managed
- Execute the sipw daemon under valgrind to validate
basic memory management.
- Execute the sipw daemon under valgrind for full
memory leak detection.
- Disable use of local (system) user accounts entirely.
- Load only these specified plugins from
- Execute the sipw daemon under the realtime (fifo)
schedule, and specify a realtime process priority level (1-9).
- The sipw daemon will automatically restart if it
exits or crashes other than from a manually specified reason. This is
often used on BSD systems when sipw is started from an rc
- Logs sip messages the sipw daemon sends and
- Print the currently installed version of sipwitch to
was written by David Sugar <email@example.com>.
Report bugs to firstname.lastname@example.org or email@example.com.
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.