yate/yate.8

126 lines
3.3 KiB
Groff

.\"
.\" YATE - Yet Another Telephony Engine
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
.\"
.\"
.TH YATE 8 "September 2005" "YATE" "Telephony Engine"
.SH NAME
\fByate\fP \- launch the YATE telephony engine
.SH SYNOPSIS
.B yate
.RI [options]
.RI [commands]
.SH DESCRIPTION
.B yate
is a telephony engine that supports client, PBX and IVR functions trough plugins.
.SH OPTIONS
.SS General
.TP
.B \-h, \-\-help
Display a short help message and exit
.TP
.B \-V, \-\-version
Display program version and exit
.TP
.B \-v
Verbose debugging (you can use more than once)
.TP
.B \-q
Quieter debugging (you can use more than once)
.TP
.B \-d
Daemonify, suppress output unless logged
.TP
.B \-s
Supervised, restart if crashes or locks up
.TP
.B \-l \fIfilename\fR
Log to file \- should be used whenever running in daemon mode
.TP
.B \-p \fIfilename\fR
Write PID of the supervisor or primary thread to file
.TP
.B \-n \fIconfigname\fR
Use specified configuration name, overrides default "yate"
.TP
.B \-c \fIpathname\fR
Path to conf files directory, overrides compiled-in value
.TP
.B \-m \fIpathname\fR
Path to modules directory, overrides compiled-in value.SS Debugging (may not be compiled in)
.TP
.B \-D[options]
Special debugging options
.TP
.B \-Da
Abort (coredumps if allowed) if bugs are encountered
.TP
.B \-Dm
Attempt to debug mutex deadlocks by setting a maximum 10s limit
.TP
.B \-Dc
Call
.I dlclose()
until it gets an error
.TP
.B \-Dl
Attempt load modules without having their symbols globally visible
.TP
.B \-Di
Reinitialize after first initialization
.TP
.B \-Dx
Exit immediately after initialization
.TP
.B \-Dw
Delay for one second the creation of the first worker thread
.TP
.B \-Do
Colorize the output using ANSI control character sequences
.TP
.B \-Dt
Add start time relative timestamps to debugging messages
.SH COMMANDS
Each command is sent to the YATE modules immediately after initialization.
Modules define command syntax so that is not described here. Please look at
the documentation for each module.
.SH SIGNALS
.TP
\- SIGTERM and SIGINT (Ctrl\-C) will cleanly stop the engine
.TP
\- SIGHUP and SIGQUIT (Ctrl\-\\) will reinitialize the modules
.TP
\- SIGUSR1 will initiate a gracefull restart (when no plugin is busy)
.TP
\- SIGUSR2 will initiate an immediate restart
.SH BUGS
Under various
.B *BSD
implementations the
.I dlclose()
function is broken and may generate a segfault on exit.
.PP
Some
.B libpthread
implementations are broken and may fail to start the threads or fail to cleanup
when the thread terminates.
.SH AUTHORS
Paul Chitescu <paulc-devel@null.ro>
.br
Diana Cionoiu <diana@diana.null.ro>
.SH SEE ALSO
.BR yate-config (8)