voice:fax:data

Matthias Prinz (root@tintin.rhein-main.de)
Sun, 8 Sep 1996 22:50:02 +0200


Hi,

I am using vgetty with linux and this creatix LC 144 VF.

My voice.conf says:

ring_answer_mode voice:fax:data

Voice works.
Fax works.
Data doesn't.

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.

If I switch to ring_answer_mode data, it works.

What is wrong?


Below I post the highlights of the logfile.

Any help would be appreciated.

Matthias

--
09/08 18:18:54 dem  vgetty: experimental test release 0.5.3 / 06Aug96
09/08 18:18:54 dem  mgetty: experimental test release 0.99-Aug07
09/08 18:18:54 dem  reading program vgetty configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
09/08 18:18:54 dem  reading port modem configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
09/08 18:18:54 dem   conf lib: read: 'voice_log_level 6'

...

09/08 18:18:54 dem   conf lib: read: 'rings 5'
09/08 18:18:54 dem   conf lib: read: 'ring_answer_mode voice:fax:data'
09/08 18:18:54 dem   conf lib: read: 'sigusr1_answer_mode fax:data'
09/08 18:18:54 dem   conf lib: read: 'force_autodetect false'
09/08 18:18:54 dem   conf lib: read: 'toll_saver_rings 0'

...

09/08 18:19:01 dem   removing lock file
09/08 18:19:01 dem  waiting...
09/08 18:39:37 dem    select returned 1
09/08 18:39:37 dem   checking lockfiles, locking the line
09/08 18:39:37 dem   makelock(modem) called
09/08 18:39:37 dem   do_makelock: lock='/usr/spool/uucp/LCK..modem'
09/08 18:39:37 dem   lock made
09/08 18:39:37 dem    vgetty: number of rings (5) was set directly
09/08 18:39:37 dem    vgetty: decremented number of rings (5) by 0
09/08 18:39:37 dem  waiting for ``RING''
09/08 18:39:37 dem   got: [0d]
09/08 18:39:37 dem    CND: OK[0a]RING[0d]
09/08 18:39:37 dem    CND: RING ** found **
09/08 18:39:37 dem  waiting for ``RING''
09/08 18:39:37 dem   got: [0a][0d][0a]RING[0d]
09/08 18:39:41 dem    CND: RING ** found **
09/08 18:39:41 dem  waiting for ``RING''
09/08 18:39:41 dem   got: [0a][0d][0a]RING[0d]
09/08 18:39:45 dem    CND: RING ** found **
09/08 18:39:45 dem  waiting for ``RING''
09/08 18:39:45 dem   got: [0a][0d][0a]RING[0d]
09/08 18:39:50 dem    CND: RING ** found **
09/08 18:39:50 dem  waiting for ``RING''
09/08 18:39:50 dem   got: [0a][0d][0a]RING[0d]
09/08 18:39:55 dem    CND: RING ** found **
09/08 18:39:55 dem    vgetty: answer mode was set directly
09/08 18:39:55 dem    vgetty: answer mode is [data|fax|voice]
09/08 18:39:55 dem    vgetty: opening list file /var/spool/voice/messages/Index
09/08 18:39:55 dem    vgetty: found 1 messages, picked message number 1
09/08 18:39:55 dem    vgetty: message name is /var/spool/voice/messages/nachAbendessen
09/08 18:39:55 dem   vgetty: entering voice mode
09/08 18:39:55 dem   vgetty: installing signal handlers
09/08 18:39:55 dem   voice command: 'AT#CLS?' -> ''
09/08 18:39:55 dem    vgetty: AT#CLS?
09/08 18:39:55 dem    Rockwell: AT#CLS?
09/08 18:39:55 dem    Rockwell: 0
09/08 18:39:55 dem    Rockwell: OK
09/08 18:39:55 dem   voice command: 'AT#CLS=8' -> 'OK'
09/08 18:39:55 dem    vgetty: AT#CLS=8
09/08 18:39:55 dem    Rockwell: AT#CLS=8
09/08 18:39:55 dem    Rockwell: OK
09/08 18:39:55 dem   voice command: 'ATA' -> 'VCON'
09/08 18:39:55 dem    vgetty: ATA
09/08 18:39:55 dem    Rockwell: ATA
09/08 18:39:56 dem    Rockwell: VCON
09/08 18:39:56 dem  playing voice file /var/spool/voice/messages/nachAbendessen
09/08 18:39:56 dem   vgetty: raw modem data header found
09/08 18:39:56 dem   vgetty: modem type Rockwell found
09/08 18:39:56 dem   vgetty: compression method 0x0002
09/08 18:39:56 dem   voice command: 'AT#VBS=2' -> 'OK'
09/08 18:39:56 dem    vgetty: AT#VBS=2
09/08 18:39:56 dem    Rockwell: AT#VBS=2
09/08 18:39:56 dem    Rockwell: OK
09/08 18:39:56 dem   voice command: 'AT#VTX' -> 'CONNECT'
09/08 18:39:56 dem    vgetty: AT#VTX
09/08 18:39:56 dem    Rockwell: AT#VTX
09/08 18:39:56 dem    Rockwell: CONNECT
09/08 18:39:56 dem   tio_set_flow_control( HARD )
09/08 18:39:56 dem    vgetty: <DATA 180 bytes>
09/08 18:39:56 dem    vgetty: <DATA 180 bytes>
09/08 18:39:56 dem    vgetty: <DATA 181 bytes>

...

09/08 18:39:59 dem    vgetty: <DATA 162 bytes>
09/08 18:39:59 dem    vgetty: <DLE><ETX>
09/08 18:39:59 dem   voice command: '' -> 'VCON'
09/08 18:39:59 dem    Rockwell: VCON
09/08 18:40:05 dem   voice command: 'AT#VTS=[933,0,15]' -> 'OK'
09/08 18:40:05 dem    vgetty: AT#VTS=[933,0,15]
09/08 18:40:05 dem    Rockwell: AT#VTS=[933,0,15]
09/08 18:40:07 dem    Rockwell: OK
09/08 18:40:07 dem  recording voice file /var/spool/voice/incoming/va01022.rmd
09/08 18:40:07 dem   voice command: 'AT#VBS=2' -> 'OK'
09/08 18:40:07 dem    vgetty: AT#VBS=2
09/08 18:40:07 dem    Rockwell: AT#VBS=2
09/08 18:40:07 dem    Rockwell: OK
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 )
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
09/08 18:41:49 dem    vgetty: !
09/08 18:41:52 dem    Read a DLE
09/08 18:41:52 dem    DLE followed by char(3): 
09/08 18:41:52 dem    Rockwell: <DATA 0 bytes>
09/08 18:41:52 dem    Rockwell: <DLE><ETX>
09/08 18:41:52 dem    Rockwell: VCON
09/08 18:41:52 dem   voice command: 'AT#VTS=[933,0,15]' -> 'OK'
09/08 18:41:52 dem    vgetty: AT#VTS=[933,0,15]
09/08 18:41:52 dem    Rockwell: AT#VTS=[933,0,15]
09/08 18:41:54 dem    Rockwell: OK
09/08 18:41:54 ##### executing message program, dev=modem, pid=1022

09/08 18:41:54 dem  vgetty: Executing shell script /var/spool/voice/mx.sh with shell /bin/sh
09/08 18:41:54 dem    vgetty: opening pipes
09/08 18:41:54 dem    vgetty: forking shell
09/08 18:41:54 dem   vgetty: HELLO SHELL
09/08 18:41:55 dem   vgetty: shell exited normally with status 0x0000
09/08 18:41:55 dem   voice command: 'AT#VLS=0' -> 'OK'
09/08 18:41:55 dem    vgetty: AT#VLS=0
09/08 18:41:55 dem    Rockwell: AT#VLS=0
09/08 18:41:55 dem    Rockwell: OK
09/08 18:41:55 dem   vgetty: leaving voice mode
09/08 18:41:55 dem   voice command: 'AT#CLS=0' -> 'OK'
09/08 18:41:55 dem    vgetty: AT#CLS=0
09/08 18:41:55 dem    Rockwell: AT#CLS=0
09/08 18:41:56 dem    Rockwell: OK
09/08 18:41:56 dem   vgetty: restoring signal handlers
09/08 18:41:56 dem  closing voice modem device
09/08 18:41:56 dem   removing lock file
09/08 18:41:56 ##### message keep, length=00:01:45, name='', caller=none, dev=modem, pid=1022

09/08 18:41:56 dem    vgetty: creating message flag file /var/spool/voice/.flag
--
-- 
System Administrator on Tintin			Ruth@Tintin.Rhein-Main.De