ZyXEL Elite and mgetty + sendfax
Marc Eberhard (marc@t2262dj.ppp.lrz-muenchen.de)
Wed, 17 Jan 1996 20:20:36 +0100
Hi Marc!
> - says 01/17 10:26:15 yS0 vgetty: voice_handle_event got event 0x2009 with data 0x0
in voice_event.h:
#define LOOP_BREAK (0x2009)
Interesting. What did you do to produce this event? Apart from that,
vgetty should simply ignore it.
> when I do some DTMF (it has never recognized any, I had to kill the
> getty process to finish recording). Well it has recognized some in this
> format:
> 01/17 09:35:23 yS0 ZyXEL 2864: [10]*[10]1[10]2[10]3[10]#[10]*[10]l
Strange.
> of course I did not configure any dtmf handler, but # does not work
> to hangup.
Hmmm, but this is in vgetty_event.c. Complete logfile please... this
single line, doesn't tell me, where the problem is.
> - I tried this:
>
> gzip -d < file.au.gz | autopvf | pvttoadpcm4
>
> but there is no *adpcm* in the 0.99 distribution. (Should I simply link
> it to something ?). I used the adpcm from 0.98 and it worked. But
I renamed pvftoadpcm* to pvftozyxel*, because we're going to add
formats for different modems and the old name was no longer
appropriate.
> vgetty did not want to play it. After some tweaking and using of the
> voice.magic I found that the filetype created was ZyXEL 1496. With
> emacs I edited to 2864 and this -worked- (simply there are some
> errors in the log, but the text is quite hearable).
As I wrote in my announce for the new code (see voice/Announce), I
changed the header for the raw modem data. pvftozyxel* produces a raw
modem data file with 1496 in the header. I will add an option to
pvftozyxel* to output a 2864 in the header (it's on my ToDo list
(#12)). Meanwhile you can simply change the 1496 to 2864 in your copy
of pvf_zyxel.c.
> - vplay to the modem (vplay beep -s -l ttyS0) works, also with the
> trick above for sending a au file.
vplay? You mean vm, right? Fine, that the beep and with some tricks
the voice playing option works. This means the basic things are ok. :-)
I'm sorry for not being able to do very much at the moment, but I'm
running extremly short on time at least until April. I very much
appreciate any help in debugging the new code (especially unified
diffs that fix bugs). Thanks to all you brave vgetty testers around
the world!
Bye,
Marc
-------------------------------------------------------------------------------
Email: Marc.Eberhard@Physik.TU-Muenchen.DE
WWW: http://WWW.Physik.TU-Muenchen.DE/~eberha/