1998-12-27 21:47:14 +00:00
|
|
|
.\"
|
1999-03-07 16:12:47 +00:00
|
|
|
.\" Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
|
1998-12-27 21:47:14 +00:00
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
1999-03-07 16:12:47 +00:00
|
|
|
.\" $Id: isdntelctl.8,v 1.6 1999/02/16 10:40:18 hm Exp $
|
1998-12-27 21:47:14 +00:00
|
|
|
.\"
|
1999-03-07 16:12:47 +00:00
|
|
|
.\" last edit-date: [Sun Feb 14 10:20:38 1999]
|
1998-12-27 21:47:14 +00:00
|
|
|
.\"
|
|
|
|
.Dd December 14, 1998
|
|
|
|
.Dt isdntelctl 8
|
|
|
|
.Sh NAME
|
|
|
|
.Nm isdntelctl
|
|
|
|
.Nd control isdn4bsd telephone sound format conversion
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl c
|
|
|
|
.Op Fl g
|
|
|
|
.Op Fl u Ar unit
|
|
|
|
.Op Fl A
|
|
|
|
.Op Fl U
|
1999-03-07 16:12:47 +00:00
|
|
|
.Op Fl R
|
1998-12-27 21:47:14 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm isdntelctl
|
|
|
|
is part of the isdn4bsd package and is used to configure the sound format
|
|
|
|
conversion facilities of the /dev/i4btel interfaces.
|
|
|
|
.Pp
|
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl c
|
|
|
|
Clear the telephone input queue.
|
|
|
|
.It Fl g
|
|
|
|
Get the sound format currently in use.
|
|
|
|
.It Fl u
|
|
|
|
Set the /dev/i4btel unit number. The default value is zero to access
|
|
|
|
device /dev/i4btel0.
|
|
|
|
.It Fl A
|
|
|
|
Set sound format to A-Law.
|
|
|
|
.It Fl U
|
|
|
|
Set sound format to u-Law.
|
1999-03-07 16:12:47 +00:00
|
|
|
.It Fl R
|
|
|
|
Set sound format to canonical (regular) A-Law format.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
By default, isdn4bsd sends and receives audio in A-Law as provided by the
|
|
|
|
hardware. However, these samples cannot easily be processed further as the
|
|
|
|
sample word is bit-reversed. Both the u-Law and canonical A-Law formats
|
|
|
|
store samples in a way suitable for post-processing by e.\ g. sox(1).
|
1998-12-27 21:47:14 +00:00
|
|
|
.Pp
|
|
|
|
.Sh FILES
|
|
|
|
/dev/i4btel<n>
|
|
|
|
|
|
|
|
.Sh STANDARDS
|
|
|
|
A-Law and u-Law are specified in ITU Recommendation G.711.
|
|
|
|
|
|
|
|
.Sh EXAMPLES
|
|
|
|
The command:
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
isdntelctl -g
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
displays the currently used sound format for device /dev/i4btel0.
|
|
|
|
|
|
|
|
.Sh AUTHOR
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility and this manpage were written by Hellmuth Michaelis. He can be
|
|
|
|
contacted at hm@kts.org.
|