2002-07-29 05:05:37 +04:00
|
|
|
.\" $NetBSD: isdntel.8,v 1.5 2002/07/29 01:05:37 wiz Exp $
|
2001-01-06 16:00:10 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" last edit-date: [Mon Dec 13 23:05:59 1999]
|
2001-04-09 17:43:47 +04:00
|
|
|
.\"
|
2001-01-06 16:00:10 +03:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2002-07-29 05:05:37 +04:00
|
|
|
.\" $Id: isdntel.8,v 1.5 2002/07/29 01:05:37 wiz Exp $
|
2001-01-06 16:00:10 +03:00
|
|
|
.\"
|
|
|
|
.Dd July 11, 1998
|
|
|
|
.Dt ISDNTEL 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm isdntel
|
|
|
|
.Nd isdn4bsd telephone answering management utility
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm isdntel
|
|
|
|
.Op Fl a Ar aliasfile
|
|
|
|
.Op Fl d Ar spooldir
|
|
|
|
.Op Fl p Ar playcommand
|
|
|
|
.Op Fl t Ar timeout
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2001-04-09 17:43:47 +04:00
|
|
|
is used to provide an
|
|
|
|
.Dq answering machine
|
|
|
|
functionality for incoming telephone voice messages.
|
2001-01-06 16:00:10 +03:00
|
|
|
.Pp
|
|
|
|
The following options are supported:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl a
|
2001-04-09 17:43:47 +04:00
|
|
|
Use
|
2001-01-06 16:00:10 +03:00
|
|
|
.Ar aliasfile
|
|
|
|
as the pathname for an aliasfile containing aliases for phone numbers. The
|
|
|
|
default path is
|
2001-04-09 17:43:47 +04:00
|
|
|
.Pa /etc/isdn/isdntel.alias .
|
2001-01-06 16:00:10 +03:00
|
|
|
The format of an alias entry is the number string followed by one or more
|
|
|
|
spaces or tabs. The rest of the line is taken as the alias string. Comments
|
2001-04-09 17:43:47 +04:00
|
|
|
are introduced by a leading blank, tab or
|
|
|
|
.Dq #
|
|
|
|
character.
|
2001-01-06 16:00:10 +03:00
|
|
|
.It Fl d
|
|
|
|
Use
|
|
|
|
.Ar spooldir
|
|
|
|
as the directory where the incoming voice messages are stored by the
|
2001-04-09 17:43:47 +04:00
|
|
|
.Dq answ
|
|
|
|
script called by
|
2001-01-06 16:00:10 +03:00
|
|
|
.Xr isdnd 8 .
|
|
|
|
This defaults to the directory
|
2001-04-09 17:43:47 +04:00
|
|
|
.Pa /var/isdn .
|
2001-01-06 16:00:10 +03:00
|
|
|
The format of a voice message filename is:
|
|
|
|
.Pp
|
|
|
|
.Dl YYMMDDhhmmss-dest_number-source_number-length_in_secs
|
|
|
|
.It Fl p
|
|
|
|
Use
|
|
|
|
.Ar playcommand
|
|
|
|
as the command string to execute for playing a voice message to some audio
|
|
|
|
output facility. The characters
|
|
|
|
.Em %s
|
|
|
|
are replaced by the currently selected filename. The default string is
|
2002-02-08 04:36:18 +03:00
|
|
|
.Em cat %s | alaw2ulaw \*[Gt]/dev/audio
|
2001-01-06 16:00:10 +03:00
|
|
|
.It Fl t
|
|
|
|
The value for
|
|
|
|
.Ar timeout
|
|
|
|
specifies the time in seconds the program rereads the spool directory
|
|
|
|
when there is no keyboard activity.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The screen output should be obvious. If in doubt, consult the source.
|
|
|
|
.Sh SEE ALSO
|
2002-07-29 05:05:37 +04:00
|
|
|
.Xr isdntel 4 ,
|
2001-04-09 17:43:47 +04:00
|
|
|
.Xr isdnd.rc 5 ,
|
2001-01-06 16:00:10 +03:00
|
|
|
.Xr isdnd 8
|
2001-04-09 17:43:47 +04:00
|
|
|
.Sh AUTHORS
|
2001-01-06 16:00:10 +03:00
|
|
|
The
|
|
|
|
.Nm
|
2001-04-09 17:43:47 +04:00
|
|
|
utility and this manual page were written by
|
2001-01-06 16:00:10 +03:00
|
|
|
.An Hellmuth Michaelis Aq hm@kts.org .
|