DTMF codes instead of "RING" for vgetty ?
Ray (ray@sonictech.net)
Sun, 16 May 1999 14:47:03 -0700
On Sun, May 16, 1999 at 01:20:19PM +0200, Gert Doering wrote:
> Hi,
>
> On Sun, May 16, 1999 at 04:09:18AM -0700, Ray wrote:
>
> Uh, no. All modems I have here *disable the "phone" jack* when the modem
> goes off-hook (to avoid hearing the modem beeps in the phone, and having
> the "telephone noise" on the phone line).
>
> Basically, the "line" jack is switched by relais between the modems I/O
> lines, and the "phone" jack.
>
> (Tested with the USR Courier, ZyXEL 1496, ZyXEL 2864 and some others).
>
> It might be different for your modem, but that would mean this discussion
> is just a big misunderstanding :-)
This is how it works for data/fax modes but if you put the modem into voice
mode #cls=8 then it should work as I've described. I've only tried this
with Rockwell based modems so I don't know how a Sportster Voice would
handle it but the Rockwell's all seem consistant. I guess it's possible
there is a difference between modems sold in the U.S. and those sold
elseware. If you have a Rockwell based voice modem sitting around could you
give it a try with #CLS=8 before doing an ATA and see if the phone (when
connected to the phone jack of the modem) still works?
>
> [..]
> > FWIW: Acording to the Rockwell command set docs I have, as long as the #VTD=
> > is set properly it shouldn't be necessary to do an ATA at all in order to
> > get DTMF tones. That's not to say I've been able to make it work but it
> > should.
>
> Please continue trying - if you can get it to work, send us the commands
> what has to be done, and we (we = Marc :) ) can try to integrate it into
> vgetty.
I think that all that is required is a hook to an external script in place
of the code that listens for "RING". Alternativly, maybe if mgetty/vgetty
just sees "RING" it behaves as normal but if it sees 't' it runs a
user/third party geterated script. The script could return with different
codes to tell vgetty to either:
1 Just go on as normal
2 Answer as voice:fax:data
3 Answer as fax
4 Answer as data
5 etc
Otherwise the script could be responsible for sending signals to the vgetty
process. and vgetty would just do #1 above.
Does any of the above sound reasonable?
--
Ray
maillists@sonictech.net
>
> gert
> --
> USENET is *not* the non-clickable part of WWW!
> //www.muc.de/~gert/
> Gert Doering - Munich, Germany gert@greenie.muc.de
> fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de
>