vgetty and redhat 6.0 and USR-I-modem and isdn4linux

Marc SCHAEFER (schaefer@alphanet.ch)
24 Aug 1999 1908:03:18 +0200


Gerhard Zuber <zuber@berlin.snafu.de> wrote:
> I have redhat 6.0 and linux 2.2.11 (unpatched)

has (filesystem integrity and network buffer memory clogging) bugs.
Either use 2.2.10 or 2.2.12pre-*. But this hasn't anything to do
with mgetty :)

> currently is running USR-Courier-I-Modem in fax/data-mode and
> isdn4linux in data-mode with mgetty. they are working properly.

hem, isn't this modem a plain serial modem ?  So why is isdn4linux
used (I was assuming that this was only for ISDN passive or
active ISA/PCI cards, not for plain modems). I have absolutely
no experience with isdn4linux.

> if one dials in in voice-mode, there should be played some senseful
> message. Nothing should be recorded, but if the dialer is pressing
> some keys on the DTMF-keypad, some actions should be started. Here
> I want to go online with the linux-box.

With the ZyXEL 2864I I have, you can detect if the call is X.75 or
fax/modem/voice (because of the different CONNECT message). mgetty/vgetty
handles this. Then, you can use calle_d_ MSN discrimination to ensure
the voice (as opposed to fax/modem) was called.

> 08/24 00:49:53 yS2   voice command: 'ATI' -> ''
> 08/24 00:49:53 yS2    vgetty: ATI
> 08/24 00:49:53 yS2    serial port: 6401

around line 60 in voice/libvoice/detect.c, add this:

{ati, "6401", NULL, &US_Robotics},

and please report detection success/failure and also if you can
play with the modem more (vm, vgetty, etc), recording/playing, etc.