data-calls with vgetty 1.1.5 and Creatix LC 144 VF
Dr. Matthias Prinz (matthias@Tintin.Rhein-Main.De)
Sun, 4 May 1997 17:52:47 +0200
Well, some time ago I got this letter from Marc:
===========================================================================
From: Marc Eberhard <marc@poseidon.thphy.uni-duesseldorf.de>
...
Subject: Re: voice:fax:data
To: Ruth@tintin.Rhein-Main.De
Date: Mon, 7 Oct 1996 07:56:18 +0200 (MET DST)
Cc: mgetty@muc.de
...
Hi!
Dr. Matthias Prinz wrote:
> What you are saying is,
> this modem ist hardware-wise incapable of detecting a data calling tone?
Yes, exactly.
> To try this out, I set ring_answer_mode to fax:data and had someone call.
> It worked perfectly.
Sure.
> To me it seems that is modem can detect a data calling tone otherwise it would
> not connect in the case of fax:data.
Wrong. When answer_mode is set to data:fax, the modem doesn't detect
anything, it simply starts a data:fax connection.
> So what is the difference between this two cases?
In the first case, the modem has to _detect_ a fax calling tone _while_
playing or recording a message in voice mode. In the second case it doesn't
detect anything, it simply switches to data:fax mode and starts the
connection. That's the difference.
From: hifi@scorpio.in-berlin.de (Gernot Zander)
> > To me it seems that is modem can detect a data calling tone otherwise it would
> > not connect in the case of fax:data.
>
> No.
> In data:fax there is no need to detect data-CNG, because data
> is the default.
>
> My USR isn't able to detect the data-CNG in voice:data:fax, only
> the fax-CNG is detected.
Thanks Gernot! That's exactly what I said: The modem is the problem.
Bye,
Marc
-------------------------------------------------------------------------------
Email: Marc.Eberhard@Uni-Duesseldorf.DE
WWW: http://Poseidon.ThPhy.Uni-Duesseldorf.DE/~marc/
===============================================================================
Well, something seems to have changed since then!
I called from my fathers computer (Windows 3.11, Laplink, Elsa 28.8 TQV)
and my modem and vgetty did seem to detect the calling tone!
The greeting message is interupted halfway and modems beep themselves into a
CONNECT.
So this part works now with vgetty 1.1.5 and Creatix LC 144 VF. Maybe the modem
is not the problem. Maybe someone explains this to me.
I could be happy.
But after the CONNECT, something goes wrong. I include the logfile. It might be
a problem of this Laplink software, but at the moment I do not have anything
else and it seems to work well as far as sending faxes are concerned.
I might have set something wrong in the mgetty.config or login.config.
Could someone point me in the right direction as to where to look for getting
this to work?
Any help would be appreciated.
Matthias
05/04 16:30:17 dem waiting...
05/04 16:32:15 dem select returned 1
05/04 16:32:15 dem checking lockfiles, locking the line
05/04 16:32:15 dem makelock(modem) called
05/04 16:32:15 dem do_makelock: lock='/var/lock/LCK..modem'
05/04 16:32:15 dem lock made
05/04 16:32:15 dem vgetty: number of rings (4) was set directly
05/04 16:32:15 dem vgetty: decremented number of rings (4) by 0
05/04 16:32:15 dem waiting for ``RING_''
05/04 16:32:15 dem got: [0d]
05/04 16:32:15 dem CND: OK[0a]RING[0d]
05/04 16:32:15 dem CND: RING ** found **
05/04 16:32:15 dem waiting for ``RING_''
05/04 16:32:15 dem got: [0a][0d][0a]RING[0d]
05/04 16:32:19 dem CND: RING ** found **
05/04 16:32:19 dem waiting for ``RING_''
05/04 16:32:19 dem got: [0a][0d][0a]RING[0d]
05/04 16:32:25 dem CND: RING ** found **
05/04 16:32:25 dem waiting for ``RING_''
05/04 16:32:25 dem got: [0a][0d][0a]RING[0d]
05/04 16:32:31 dem CND: RING ** found **
05/04 16:32:31 dem reading ring_type ring configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
05/04 16:32:31 dem reading /usr/local/etc/mgetty+sendfax/voice.conf...
05/04 16:32:31 dem conf lib: read: 'part generic'
05/04 16:32:31 dem found CT_KEYWORD part generic
05/04 16:32:31 dem conf lib: read: 'voice_log_level 6'
05/04 16:32:31 dem conf lib: read: 'voice_dir /var/spool/voice'
05/04 16:32:31 dem conf lib: read: 'message_flag_file .flag'
05/04 16:32:31 dem conf lib: read: 'receive_dir incoming'
05/04 16:32:31 dem conf lib: read: 'message_dir messages'
05/04 16:32:31 dem conf lib: read: 'message_list Index'
05/04 16:32:31 dem conf lib: read: 'backup_message standard.rmd'
05/04 16:32:31 dem conf lib: read: 'port_speed 38400'
05/04 16:32:31 dem conf lib: read: 'voice_shell /bin/sh'
05/04 16:32:31 dem conf lib: read: 'port_timeout 10'
05/04 16:32:31 dem conf lib: read: 'dial_timeout 90'
05/04 16:32:31 dem conf lib: read: 'command_delay 100'
05/04 16:32:31 dem conf lib: read: 'dtmf_len 30'
05/04 16:32:31 dem conf lib: read: 'dtmf_threshold 40'
05/04 16:32:31 dem conf lib: read: 'dtmf_wait 7'
05/04 16:32:31 dem conf lib: read: 'ignore_fax_dle false'
05/04 16:32:31 dem conf lib: read: 'raw_data false'
05/04 16:32:31 dem conf lib: read: 'rec_compression 0'
05/04 16:32:31 dem conf lib: read: 'rec_speed 0'
05/04 16:32:31 dem conf lib: read: 'rec_silence_len 70'
05/04 16:32:31 dem conf lib: read: 'rec_silence_threshold 40'
05/04 16:32:31 dem conf lib: read: 'rec_remove_silence false'
05/04 16:32:31 dem conf lib: read: 'rec_max_len 300'
05/04 16:32:31 dem conf lib: read: 'rec_min_len 0'
05/04 16:32:31 dem conf lib: read: 'do_hard_flow true'
05/04 16:32:31 dem conf lib: read: 'beep_frequency 933'
05/04 16:32:31 dem conf lib: read: 'beep_length 150'
05/04 16:32:31 dem conf lib: read: 'max_tries 3'
05/04 16:32:31 dem conf lib: read: 'retry_delay 5'
05/04 16:32:31 dem conf lib: read: 'watchdog_timeout 60'
05/04 16:32:31 dem conf lib: read: 'receive_gain -1'
05/04 16:32:31 dem conf lib: read: 'transmit_gain -1'
05/04 16:32:31 dem conf lib: read: 'enable_command_echo true'
05/04 16:32:31 dem conf lib: read: 'program vgetty'
05/04 16:32:31 dem conf lib: read: 'rings 4'
05/04 16:32:31 dem conf lib: read: 'answer_mode voice:fax:data'
05/04 16:32:31 dem conf lib: read: 'force_autodetect false'
05/04 16:32:31 dem conf lib: read: 'toll_saver_rings 0'
05/04 16:32:31 dem conf lib: read: 'rec_always_keep true'
05/04 16:32:31 dem conf lib: read: 'button_program '
05/04 16:32:31 dem conf lib: read: 'call_program '
05/04 16:32:31 dem conf lib: read: 'dtmf_program dtmf.sh'
05/04 16:32:31 dem conf lib: read: 'message_program mx.sh'
05/04 16:32:31 dem conf lib: read: 'do_message_light false'
05/04 16:32:31 dem conf lib: read: 'program vm'
05/04 16:32:31 dem conf lib: read: 'voice_devices modem'
05/04 16:32:31 dem conf lib: read: 'dialout_timeout 90'
05/04 16:32:31 dem conf lib: read: 'program pvf'
05/04 16:32:31 dem conf lib: read: 'port ttyS0'
05/04 16:32:31 dem key: 'part', type=6, flags=4, data=(ignored)
05/04 16:32:31 dem key: 'program', type=6, flags=4, data=(ignored)
05/04 16:32:31 dem key: 'port', type=6, flags=4, data=(ignored)
05/04 16:32:31 dem key: 'ring_type', type=6, flags=4, data=(ignored)
05/04 16:32:31 dem key: 'voice_log_level', type=0, flags=3, data=6
05/04 16:32:31 dem key: 'voice_devices', type=1, flags=0, data=(empty)
05/04 16:32:31 dem key: 'port_speed', type=0, flags=3, data=38400
05/04 16:32:31 dem key: 'port_timeout', type=0, flags=3, data=10
05/04 16:32:31 dem key: 'dtmf_len', type=0, flags=3, data=30
05/04 16:32:31 dem key: 'dtmf_threshold', type=0, flags=3, data=40
05/04 16:32:31 dem key: 'dtmf_wait', type=0, flags=3, data=7
05/04 16:32:31 dem key: 'rec_compression', type=0, flags=3, data=0
05/04 16:32:31 dem key: 'rec_speed', type=0, flags=3, data=0
05/04 16:32:31 dem key: 'rec_silence_len', type=0, flags=3, data=70
05/04 16:32:31 dem key: 'rec_silence_threshold', type=0, flags=3, data=40
05/04 16:32:31 dem key: 'rec_remove_silence', type=3, flags=3, data=FALSE
05/04 16:32:31 dem key: 'rec_max_len', type=0, flags=3, data=300
05/04 16:32:31 dem key: 'receive_gain', type=0, flags=3, data=-1
05/04 16:32:31 dem key: 'transmit_gain', type=0, flags=3, data=-1
05/04 16:32:31 dem key: 'rings', type=1, flags=3, data=4
05/04 16:32:31 dem key: 'answer_mode', type=1, flags=3, data=voice:fax:data
05/04 16:32:31 dem key: 'toll_saver_rings', type=0, flags=3, data=0
05/04 16:32:31 dem key: 'rec_always_keep', type=3, flags=3, data=TRUE
05/04 16:32:31 dem key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
05/04 16:32:31 dem key: 'message_flag_file', type=1, flags=3, data=.flag
05/04 16:32:31 dem key: 'receive_dir', type=1, flags=3, data=incoming
05/04 16:32:31 dem key: 'message_dir', type=1, flags=3, data=messages
05/04 16:32:31 dem key: 'message_list', type=1, flags=3, data=Index
05/04 16:32:31 dem key: 'backup_message', type=1, flags=3, data=standard.rmd
05/04 16:32:31 dem key: 'dialout_timeout', type=0, flags=1, data=90
05/04 16:32:31 dem key: 'beep_frequency', type=0, flags=3, data=933
05/04 16:32:31 dem key: 'beep_length', type=0, flags=3, data=150
05/04 16:32:31 dem key: 'raw_data', type=3, flags=3, data=FALSE
05/04 16:32:31 dem key: 'max_tries', type=0, flags=3, data=3
05/04 16:32:31 dem key: 'retry_delay', type=0, flags=3, data=5
05/04 16:32:32 dem key: 'voice_shell', type=1, flags=3, data=/bin/sh
05/04 16:32:32 dem key: 'button_program', type=1, flags=3, data=
05/04 16:32:32 dem key: 'call_program', type=1, flags=3, data=
05/04 16:32:32 dem key: 'dtmf_program', type=1, flags=3, data=dtmf.sh
05/04 16:32:32 dem key: 'message_program', type=1, flags=3, data=mx.sh
05/04 16:32:32 dem key: 'do_message_light', type=3, flags=3, data=FALSE
05/04 16:32:32 dem key: 'do_hard_flow', type=3, flags=3, data=TRUE
05/04 16:32:32 dem key: 'force_autodetect', type=3, flags=3, data=FALSE
05/04 16:32:32 dem key: 'watchdog_timeout', type=0, flags=3, data=60
05/04 16:32:32 dem key: 'rec_min_len', type=0, flags=3, data=0
05/04 16:32:32 dem key: 'command_delay', type=0, flags=3, data=100
05/04 16:32:32 dem key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
05/04 16:32:32 dem key: 'dial_timeout', type=0, flags=3, data=90
05/04 16:32:32 dem key: 'enable_command_echo', type=3, flags=3, data=TRUE
05/04 16:32:32 dem vgetty: answer mode was set directly
05/04 16:32:32 dem vgetty: answer mode is [data|fax|voice]
05/04 16:32:32 dem vgetty: opening list file /var/spool/voice/messages/Index
05/04 16:32:32 dem vgetty: found 1 messages, picked message number 1
05/04 16:32:32 dem vgetty: message name is /var/spool/voice/messages/hallo6.rmd
05/04 16:32:32 dem vgetty: entering voice mode
05/04 16:32:32 dem vgetty: Installing signal handlers
05/04 16:32:32 dem vgetty: queued event 0x4000 at position 0003
05/04 16:32:32 dem voice command: 'AT#CLS?' -> ''
05/04 16:32:32 dem vgetty: AT#CLS?
05/04 16:32:32 dem Rockwell: AT#CLS?
05/04 16:32:32 dem Rockwell: 0
05/04 16:32:32 dem voice command: '' -> 'OK'
05/04 16:32:32 dem Rockwell: OK
05/04 16:32:32 dem voice command: 'AT#CLS=8' -> 'OK'
05/04 16:32:32 dem vgetty: AT#CLS=8
05/04 16:32:32 dem Rockwell: AT#CLS=8
05/04 16:32:32 dem Rockwell: OK
05/04 16:32:32 dem vgetty: queued event 0x4000 at position 0004
05/04 16:32:32 dem voice command: 'ATA' -> 'VCON'
05/04 16:32:32 dem vgetty: ATA
05/04 16:32:32 dem Rockwell: ATA
05/04 16:32:32 dem Rockwell: VCON
05/04 16:32:32 dem playing voice file /var/spool/voice/messages/hallo6.rmd
05/04 16:32:32 dem vgetty: raw modem data header found
05/04 16:32:32 dem vgetty: modem type Rockwell found
05/04 16:32:32 dem vgetty: compression method 0x0002, speed 7200, bits 2
05/04 16:32:32 dem vgetty: queued event 0x4000 at position 0005
05/04 16:32:32 dem voice command: 'AT#VBS=2' -> 'OK'
05/04 16:32:33 dem vgetty: AT#VBS=2
05/04 16:32:33 dem Rockwell: AT#VBS=2
05/04 16:32:33 dem Rockwell: OK
05/04 16:32:33 dem vgetty: queued event 0x4000 at position 0006
05/04 16:32:33 dem vgetty: unqueued event 0x4000 at position 0000
05/04 16:32:33 dem vgetty: voice_handle_event got event 0x4000 with data <_>
05/04 16:32:33 dem vgetty: unqueued event 0x4000 at position 0001
05/04 16:32:33 dem vgetty: voice_handle_event got event 0x4000 with data <_>
05/04 16:32:33 dem vgetty: unqueued event 0x4000 at position 0002
05/04 16:32:33 dem vgetty: voice_handle_event got event 0x4000 with data <_>
05/04 16:32:33 dem vgetty: unqueued event 0x4000 at position 0003
05/04 16:32:33 dem vgetty: voice_handle_event got event 0x4000 with data <_>
05/04 16:32:33 dem vgetty: unqueued event 0x4000 at position 0004
05/04 16:32:33 dem vgetty: voice_handle_event got event 0x4000 with data <_>
05/04 16:32:33 dem vgetty: unqueued event 0x4000 at position 0005
05/04 16:32:33 dem vgetty: voice_handle_event got event 0x4000 with data <_>
05/04 16:32:33 dem vgetty: unqueued event 0x4000 at position 0006
05/04 16:32:33 dem vgetty: voice_handle_event got event 0x4000 with data <_>
05/04 16:32:33 dem voice command: 'AT&K3' -> 'OK'
05/04 16:32:33 dem vgetty: AT&K3
05/04 16:32:33 dem Rockwell: AT&K3
05/04 16:32:33 dem Rockwell: OK
05/04 16:32:33 dem tio_set_flow_control( HARD XON_OUT )
05/04 16:32:33 dem voice command: 'AT#VTX' -> 'CONNECT'
05/04 16:32:33 dem vgetty: AT#VTX
05/04 16:32:33 dem Rockwell: AT#VTX
05/04 16:32:33 dem Rockwell: CONNECT
05/04 16:32:33 dem vgetty: <DATA 180 bytes>
...
05/04 16:32:34 dem vgetty: <DATA 181 bytes>
05/04 16:32:34 dem vgetty: <DATA 182 bytes>
05/04 16:32:34 dem vgetty: queued event 0x4000 at position 0010
05/04 16:32:34 dem vgetty: <DATA 180 bytes>
05/04 16:32:34 dem vgetty: unqueued event 0x4000 at position 0010
05/04 16:32:34 dem vgetty: voice_handle_event got event 0x4000 with data <_>
05/04 16:32:34 dem vgetty: <DATA 183 bytes>
05/04 16:32:35 dem Rockwell: <DLE> <e>
05/04 16:32:35 dem vgetty: queued event 0x2004 at position 0011
05/04 16:32:35 dem vgetty: unqueued event 0x2004 at position 0011
05/04 16:32:35 dem vgetty: voice_handle_event got event 0x2004 with data <_>
05/04 16:32:35 dem vgetty: flushing output queue
05/04 16:32:35 dem vgetty: flushed output queue
05/04 16:32:35 dem vgetty: <NUL> <DLE> <CAN> <DLE> <ETX>
05/04 16:32:35 dem voice command: '' -> 'OK|VCON'
05/04 16:32:35 dem Rockwell: VCON
05/04 16:32:35 dem voice command: 'AT' -> 'OK'
05/04 16:32:35 dem vgetty: AT
05/04 16:32:35 dem Rockwell: AT
05/04 16:32:36 dem Rockwell: OK
05/04 16:32:36 dem vgetty: trying data connection
05/04 16:32:36 dem vgetty: queued event 0x4000 at position 0012
05/04 16:32:36 dem voice command: 'AT#CLS=0' -> 'OK'
05/04 16:32:36 dem vgetty: AT#CLS=0
05/04 16:32:36 dem Rockwell: AT#CLS=0
05/04 16:32:37 dem Rockwell: OK
05/04 16:32:37 dem voice command: 'AT+FAA=0' -> 'OK'
05/04 16:32:37 dem vgetty: AT+FAA=0
05/04 16:32:37 dem Rockwell: AT+FAA=0
05/04 16:32:37 dem Rockwell: OK
05/04 16:32:37 dem vgetty: Restoring signal handlers
05/04 16:32:37 dem send: ATA[0d]
05/04 16:32:37 dem waiting for ``CONNECT''
05/04 16:32:37 dem got: ATA[0d]
05/04 16:32:37 dem CND: ATA[0d][0a]CONNECT ** found **
05/04 16:32:55 dem send:
05/04 16:32:55 dem waiting for ``_''
05/04 16:32:55 dem got: 38400/REL[0d]
05/04 16:32:55 dem CND: CONNECT 38400/REL
05/04 16:32:55 dem CND: found: 38400/REL[0a] ** found **
05/04 16:32:55 dem waiting for line to clear (VTIME), read:
05/04 16:32:55 dem looking for utmp entry... (my PID: 768)
05/04 16:32:55 dem utmp + wtmp entry made
05/04 16:32:56 dem tio_set_flow_control( HARD )
05/04 16:32:56 dem print welcome banner (/etc/issue)
05/04 16:32:56 dem getlogname (no opts), read:[aa][00][c0][00][00][0d]
05/04 16:32:56 dem input finished with '\r', setting ICRNL ONLCR
05/04 16:32:56 dem tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
05/04 16:32:56 dem login: use login config file /usr/local/etc/mgetty+sendfax/login.config
05/04 16:32:56 dem match: user='*@', key=''
05/04 16:32:56 dem match: user='*@', key='/FIDO/'
05/04 16:32:56 dem match: user='*@', key=''
05/04 16:32:56 dem match: user='*@', key=''
05/04 16:32:56 dem match: user='*@', key='matthias'
05/04 16:32:56 dem match: user='*@', key='wprinz'
05/04 16:32:56 dem match: user='*@', key='cprinz'
05/04 16:32:56 dem match: user='*@', key='*'*** hit!
05/04 16:32:56 dem calling login: cmd='/bin/login', argv[]='login *@'
05/04 16:32:56 ##### data dev=modem, pid=768, caller=, conn='38400/REL', name='', cmd='/bin/login', user='*@'
05/04 16:32:56 dem setenv: 'CALLER_ID='
05/04 16:32:56 dem setenv: 'CONNECT=38400/REL'
--
--
Matthias Prinz
--
Matthias Prinz
.