vgetty; unexpected byte error
Vladimir Turin (vova@mics.msu.su)
Sat, 05 Apr 1997 21:46:14 +0400
Suresh Rajagopalan wrote:
>
> Hi;
>
> Using 1.1.2 on a Zyxel 1496 (ver 6.17) I get the following error while
> trying to
> play a rmd file or do any kind of DTMF detection. DTMF detection works
> sometimes but fails at other times with "unexpected byte" error msgs:
>
Do not try to write to the stderr from the shell script.
This is 'feature' of vgetty - if shell script writes
anything to the descriptor #2, vgetty receives
this data "from" voice modem.
Someone :-) have to cure it.
Regards,
Vladimir.
> 03/24 16:54:04 yS1 vgetty: Executing shell script
> /usr/local/etc/mgetty+sendfax/dtmf2.sh with shell /bin/sh
> 03/24 16:54:04 yS1 playing voice file /var/spool/voice/messages/hello.rmd
> 03/24 16:54:12 yS1 vgetty: unexpected byte <E> from voice modem
> 03/24 16:54:12 yS1 vgetty: unexpected byte <N> from voice modem
> 03/24 16:54:12 yS1 vgetty: unexpected byte <D> from voice modem
> 03/24 16:54:12 yS1 vgetty: unexpected byte <
> 03/24 16:54:50 yS1 vgetty: timeout while reading character from voice
> modem:
> Interrupted system call
> 03/24 16:54:50 yS1 vgetty: Could not handle event, something failed:
> Unknown
> error
> 03/24 16:54:50 yS1 vgetty: experimental test release 0.7.1 / 20Feb97
> 03/24 16:54:50 yS1 mgetty: experimental test release 1.1.2-Feb20
>
> 03/24 16:55:03 yS1 playing voice file /var/spool/voice/messages/hello.rmd
> 03/24 16:55:11 yS1 vgetty: unexpected byte <R> from voice modem
> 03/24 16:55:11 yS1 vgetty: unexpected byte <E> from voice modem
> 03/24 16:55:11 yS1 vgetty: unexpected byte <A> from voice modem
> 03/24 16:55:11 yS1 vgetty: unexpected byte <D> from voice modem
> 03/24 16:55:11 yS1 vgetty: unexpected byte <Y> from voice modem
.