Go to the first, previous, next, last section, table of contents.
mgetty
and sendfax
work with isdn4linux (i4l), but there
are a number if things to point out.
For data calls via ISDN V.110 or X.75 async modem emulation, you can put
mgetty on a `/dev/ttyI*' device and mgetty will handle so-called
"asynchronous ISDN" connections fine. To make sure that mgetty will
pick up the phone, set your local ISDN number with AT&E<number>
from init-chat
(otherwise isdn4linux will just ignore incoming
calls).
As far as I can see, i4l will always signal the caller ID for incoming calls as "CALLER NUMBER: ..." to mgetty. Mgetty can handle this just fine.
If you want to see the destination number for incoming calls, add
ATS23.2=1
to the init-chat
. This will make i4l signal
the dialed MSN number as CALLED NUMBER: 12345
, and mgetty will
then pass it on as $CALLED_ID to fax scripts and so on. This is
implemented since Linux 2.4.10, or in earlier Versions with Jan
Oberlaender's patch
(http://www.stud.uni-karlsruhe.de/~uslk/i4l-callednumber.tar.gz).
Alternatively, you can set ATS23.0=1
. This will make i4l signal
the dialed MSN number as RING/12345
. Unfortunately, it will be
recognized by mgetty as caller ID, not destination MSN, so you might need
to do some fiddling with 'ring.c' to get this fixed.
For the full list of available AT commands, consult the i4l docs (for example in `/usr/src/linux/Documentation/isdn/README'.
For ISDN PPP calls with synchronous PPP (which is the "normal" way to do
PPP over ISDN), you do not need mgetty
. PPPoISDN calls
are handled by ipppd
, which is part of isdn4linux. Mgetty can
only handle PPP-over-X.75 or PPP-over-V110, which is something that is
only used for WAP connections or with old terminal adaptors.
Fax support with isdn4linux is a tricky issue. For most ISDN cards, this will NOT WORK. It only works for cards that have a fax chip (or separate CPU) on board, and can be accessed with the fax class 2/2.0 command set. It will work fine with the Diehl Server BRI ISDN card (active), and that's the only card I know that will work as of June 2001. Accessing ISDN fax via CAPI is NOT supported.
There's a small catch: modem autodetection will make mgetty think that
your ttyI device doesn't support fax (because most cards can't do it). So
you need to set modem-type c2.0
in `mgetty.config' and/or
`sendfax.config' to force class 2.0 mode.
Voice support with vgetty
should work (use your ttyI device
as an answering machine, etc.). I have not tried it yet - talk to the
mgetty or i4l mailing lists if it doesn't work.
Go to the first, previous, next, last section, table of contents.