voice:fax:data

Marc Eberhard (marc@poseidon.thphy.uni-duesseldorf.de)
Tue, 10 Sep 1996 08:15:32 +0200


Hi Matthias!

Matthias Prinz wrote:
> Vgetty answers the phone, plays the message, waits and hangs up.
> The other modem waits long enough, we set the timeout to 99 secs.

> I can even hear the beeping from the calling modem while the message is
> played and afterwards.

Not all modems can detect all beeps and tones send. Since the logfile
dosen't show a DATA_CALLING_TONE (event 0x2002), I assume your modem can not
detect this one. 

> If I switch to ring_answer_mode data, it works.

Yes, sure. With answer_mode set to data vgetty will immediately switch to
data mode.

> What is wrong?

> 09/08 18:40:07 dem   voice command: 'AT#VRX' -> 'CONNECT'
> 09/08 18:40:07 dem    vgetty: AT#VRX
> 09/08 18:40:07 dem    Rockwell: AT#VRX
> 09/08 18:40:07 dem    Rockwell: CONNECT
> 09/08 18:40:07 dem   tio_set_flow_control( HARD )

Here the modem is recording.

> 09/08 18:41:18 dem    Read a DLE
> 09/08 18:41:18 dem    DLE followed by char(16): 
> 09/08 18:41:49 dem    Read a DLE
> 09/08 18:41:49 dem    DLE followed by char(113): q
> 09/08 18:41:49 dem    vgetty: voice_handle_event got event 0x2006 with data 0x0
> 09/08 18:41:49 dem    vgetty: vgetty_handle_event got event 0x2006 with data 0x0

This is SILENCE_DETECTED. 

> 09/08 18:41:56 ##### message keep, length=00:01:45, name='', caller=none, dev=modem, pid=1022

To me it looks the following: Your modem can not detect a data calling tone,
so it will play the welcome message and start recording. The data calling
tone from the other modem produces enough noise to make your modem think,
there is someone leaving a message. At the end it reports silence after
voice energy present, so vgetty assumes it was a normal voice call. What
happens if you turn the data calling tone off on the calling modem? Then
vgetty will also play the welcome message and start recording, but will
report no voice energy present after the usual silence timeout and switch to
data mode, because it assumes a quiet caller is a modem. So I would say:
Switch the data calling tone off and try again. I'm pretty sure it will work
then.

Bye,
Marc

-------------------------------------------------------------------------------
Email: Marc.Eberhard@Uni-Duesseldorf.DE
WWW:   http://WWW.ThPhy.Uni-Duesseldorf.DE/~marc/