Problems with "vm" and "vgetty" after upgrading to 1.1.12
"Luiz Otavio L. Zorzella" (zorzella@conexware.com)
Wed, 15 Apr 1998 22:48:32 +0200
After I upgraded to mgetty 1.1.12 (from 1.1.9), I begun to have
problems with vm and vgetty (I don't use it for fax).
While vgetty "records" empty files instead of message, vm can't play
my old files. It just stalls for while, and gives the prompt again.
I'm sending the log file from vm (which is easier to replicate), but I
can also send one from vm if you wish.
My system is GNU/Debian pre-2.0/Linux 2.0.33, Pentium. I installed
through the debian package. Modem USR Sportster Voice 33.6K.
Any help is appreciated. Thanks is advance.
Here goes the log:
04/15 13:40:09 vgetty: experimental test release 0.7.4 / 21Jan98
04/15 13:40:09 mgetty: experimental test release 1.1.12-Jan27
04/15 13:40:09 reading program vm configuration from config file /etc/mgetty/voice.conf
04/15 13:40:09 opening voice modem device
04/15 13:40:09 voice open 'ttyS1'
04/15 13:40:09 makelock(ttyS1) called
04/15 13:40:09 do_makelock: lock='/var/lock/LCK..ttyS1'
04/15 13:40:09 lock made
04/15 13:40:09 opened voice modem device /dev/ttyS1
04/15 13:40:09 reading port ttyS1 configuration from config file /etc/mgetty/voice.conf
04/15 13:40:09 reading /etc/mgetty/voice.conf...
04/15 13:40:09 conf lib: read: 'part generic'
04/15 13:40:09 found CT_KEYWORD part generic
04/15 13:40:09 conf lib: read: 'voice_log_level 5'
04/15 13:40:09 conf lib: read: 'voice_dir /var/spool/voice'
04/15 13:40:09 conf lib: read: 'phone_owner root'
04/15 13:40:09 conf lib: read: 'phone_group phone'
04/15 13:40:09 conf lib: read: 'phone_mode 0660'
04/15 13:40:09 conf lib: read: 'message_flag_file .flag'
04/15 13:40:09 conf lib: read: 'receive_dir incoming'
04/15 13:40:09 conf lib: read: 'message_dir messages'
04/15 13:40:09 conf lib: read: 'message_list Index'
04/15 13:40:09 conf lib: read: 'backup_message standard.rmd'
04/15 13:40:09 conf lib: read: 'port_speed 38400'
04/15 13:40:09 conf lib: read: 'voice_shell /bin/sh'
04/15 13:40:09 conf lib: read: 'port_timeout 10'
04/15 13:40:09 conf lib: read: 'dial_timeout 90'
04/15 13:40:09 conf lib: read: 'command_delay 100'
04/15 13:40:09 conf lib: read: 'dtmf_len 30'
04/15 13:40:09 conf lib: read: 'dtmf_threshold 40'
04/15 13:40:09 conf lib: read: 'dtmf_wait 7'
04/15 13:40:09 conf lib: read: 'ignore_fax_dle false'
04/15 13:40:09 conf lib: read: 'raw_data false'
04/15 13:40:09 conf lib: read: 'rec_compression 0'
04/15 13:40:09 conf lib: read: 'rec_speed 0'
04/15 13:40:09 conf lib: read: 'rec_silence_len 70'
04/15 13:40:09 conf lib: read: 'rec_silence_threshold 40'
04/15 13:40:09 conf lib: read: 'rec_remove_silence false'
04/15 13:40:09 conf lib: read: 'rec_max_len 300'
04/15 13:40:09 conf lib: read: 'rec_min_len 0'
04/15 13:40:09 conf lib: read: 'do_hard_flow true'
04/15 13:40:09 conf lib: read: 'beep_frequency 933'
04/15 13:40:09 conf lib: read: 'beep_length 1500'
04/15 13:40:09 conf lib: read: 'max_tries 3'
04/15 13:40:09 conf lib: read: 'retry_delay 5'
04/15 13:40:09 conf lib: read: 'watchdog_timeout 60'
04/15 13:40:09 conf lib: read: 'receive_gain -1'
04/15 13:40:09 conf lib: read: 'transmit_gain -1'
04/15 13:40:09 conf lib: read: 'enable_command_echo true'
04/15 13:40:09 conf lib: read: 'poll_interval 10'
04/15 13:40:09 conf lib: read: 'program vgetty'
04/15 13:40:09 conf lib: read: 'rings 4'
04/15 13:40:09 conf lib: read: 'answer_mode voice:fax:data'
04/15 13:40:09 conf lib: read: 'force_autodetect false'
04/15 13:40:09 conf lib: read: 'toll_saver_rings 0'
04/15 13:40:09 conf lib: read: 'rec_always_keep true'
04/15 13:40:09 conf lib: read: 'button_program '
04/15 13:40:09 conf lib: read: 'call_program '
04/15 13:40:09 conf lib: read: 'dtmf_program dtmf.sh'
04/15 13:40:09 conf lib: read: 'message_program '
04/15 13:40:09 conf lib: read: 'do_message_light false'
04/15 13:40:09 conf lib: read: 'program vm'
04/15 13:40:09 conf lib: read: 'voice_devices ttyS1'
04/15 13:40:09 conf lib: read: 'dialout_timeout 90'
04/15 13:40:09 conf lib: read: 'program pvf'
04/15 13:40:09 conf lib: read: 'port ttyS0'
04/15 13:40:09 section: port ttyS0, ignore
04/15 13:40:09 conf lib: read: 'port ttyS5'
04/15 13:40:09 section: port ttyS5, ignore
04/15 13:40:09 conf lib: read: 'ring_type virtual'
04/15 13:40:09 conf lib: read: 'answer_mode fax:data'
04/15 13:40:09 conf lib: read: 'ring_type ring'
04/15 13:40:09 conf lib: read: 'ring_type ring1'
04/15 13:40:09 key: 'part', type=6, flags=4, data=(ignored)
04/15 13:40:09 key: 'program', type=6, flags=4, data=(ignored)
04/15 13:40:09 key: 'port', type=6, flags=4, data=(ignored)
04/15 13:40:09 key: 'ring_type', type=6, flags=4, data=(ignored)
04/15 13:40:09 key: 'voice_log_level', type=0, flags=3, data=5
04/15 13:40:09 key: 'voice_devices', type=1, flags=3, data=ttyS1
04/15 13:40:09 key: 'port_speed', type=0, flags=3, data=38400
04/15 13:40:09 key: 'port_timeout', type=0, flags=3, data=10
04/15 13:40:09 key: 'dtmf_len', type=0, flags=3, data=30
04/15 13:40:09 key: 'dtmf_threshold', type=0, flags=3, data=40
04/15 13:40:09 key: 'dtmf_wait', type=0, flags=3, data=7
04/15 13:40:09 key: 'rec_compression', type=0, flags=3, data=0
04/15 13:40:09 key: 'rec_speed', type=0, flags=3, data=0
04/15 13:40:09 key: 'rec_silence_len', type=0, flags=3, data=70
04/15 13:40:09 key: 'rec_silence_threshold', type=0, flags=3, data=40
04/15 13:40:09 key: 'rec_remove_silence', type=3, flags=3, data=FALSE
04/15 13:40:09 key: 'rec_max_len', type=0, flags=3, data=300
04/15 13:40:09 key: 'receive_gain', type=0, flags=3, data=-1
04/15 13:40:09 key: 'transmit_gain', type=0, flags=3, data=-1
04/15 13:40:09 key: 'rings', type=1, flags=1, data=3
04/15 13:40:09 key: 'answer_mode', type=1, flags=1, data=voice:fax:data
04/15 13:40:09 key: 'toll_saver_rings', type=0, flags=1, data=0
04/15 13:40:09 key: 'rec_always_keep', type=3, flags=1, data=TRUE
04/15 13:40:09 key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
04/15 13:40:09 key: 'phone_owner', type=1, flags=3, data=root
04/15 13:40:09 key: 'phone_group', type=1, flags=3, data=phone
04/15 13:40:09 key: 'phone_mode', type=0, flags=3, data=432
04/15 13:40:09 key: 'message_flag_file', type=1, flags=3, data=.flag
04/15 13:40:09 key: 'receive_dir', type=1, flags=3, data=incoming
04/15 13:40:09 key: 'message_dir', type=1, flags=3, data=messages
04/15 13:40:09 key: 'message_list', type=1, flags=3, data=Index
04/15 13:40:09 key: 'backup_message', type=1, flags=3, data=standard.rmd
04/15 13:40:09 key: 'dialout_timeout', type=0, flags=3, data=90
04/15 13:40:09 key: 'beep_frequency', type=0, flags=3, data=933
04/15 13:40:09 key: 'beep_length', type=0, flags=3, data=1500
04/15 13:40:09 key: 'raw_data', type=3, flags=3, data=FALSE
04/15 13:40:09 key: 'max_tries', type=0, flags=3, data=3
04/15 13:40:09 key: 'retry_delay', type=0, flags=3, data=5
04/15 13:40:09 key: 'voice_shell', type=1, flags=3, data=/bin/sh
04/15 13:40:09 key: 'button_program', type=1, flags=1, data=
04/15 13:40:09 key: 'call_program', type=1, flags=1, data=
04/15 13:40:09 key: 'dtmf_program', type=1, flags=1, data=dtmf.sh
04/15 13:40:09 key: 'message_program', type=1, flags=1, data=
04/15 13:40:09 key: 'do_message_light', type=3, flags=1, data=FALSE
04/15 13:40:09 key: 'do_hard_flow', type=3, flags=3, data=TRUE
04/15 13:40:09 key: 'force_autodetect', type=3, flags=1, data=FALSE
04/15 13:40:09 key: 'watchdog_timeout', type=0, flags=3, data=60
04/15 13:40:09 key: 'rec_min_len', type=0, flags=3, data=0
04/15 13:40:09 key: 'command_delay', type=0, flags=3, data=100
04/15 13:40:09 key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
04/15 13:40:09 key: 'dial_timeout', type=0, flags=3, data=90
04/15 13:40:09 key: 'enable_command_echo', type=3, flags=3, data=TRUE
04/15 13:40:09 key: 'poll_interval', type=0, flags=3, data=10
04/15 13:40:09 tss: set speed to 38400 (017)
04/15 13:40:09 tio_set_flow_control( HARD )
04/15 13:40:09 detecting voice modem type
04/15 13:40:09 voice command: '' -> 'OK|ATE1'
04/15 13:40:09 voice command: 'ATI' -> ''
04/15 13:40:10 US Robotics detected
04/15 13:40:10 US Robotics voice modem
04/15 13:40:10 This is a driver beta version. V0.4.b3
04/15 13:40:10 voice command: 'AT&H1&R2&I0' -> 'OK'
04/15 13:40:10 tio_set_flow_control( HARD )
04/15 13:40:10 voice command: 'AT#VTD=3F,3F,3F' -> 'OK'
04/15 13:40:10 VTD setup successful
04/15 13:40:10 voice command: 'AT#VSD=1#VSS=1#VSP=70' -> 'OK'
04/15 13:40:10 vm: entering voice mode
04/15 13:40:10 vm: Installing signal handlers
04/15 13:40:10 voice command: 'AT#CLS?' -> ''
04/15 13:40:11 voice command: '' -> 'OK'
04/15 13:40:11 voice command: 'AT#CLS=8' -> 'OK'
04/15 13:40:11 voice command: 'AT#VLS=4' -> 'OK|VCON'
04/15 13:40:11 playing voice file m1.old
04/15 13:40:11 vm: raw modem data header found
04/15 13:40:11 vm: modem type US Robotics found
04/15 13:40:11 vm: compression method 0x0002, speed 8000, bits 0
04/15 13:40:11 voice command: 'AT#VSM=129,8000' -> 'OK'
04/15 13:40:11 voice command: 'AT#VBS=2' -> 'OK'
04/15 13:40:12 voice command: 'AT' -> 'OK'
04/15 13:40:12 tio_set_flow_control( HARD XON_OUT )
04/15 13:40:12 voice command: 'ATE0#VTX' -> 'CONNECT'
04/15 13:40:12 vm: could not write buffer to voice modem: Success
04/15 13:40:12 vm: play_file command failed: Protocol wrong type for socket
04/15 13:40:12 voice command: 'AT#VLS=0H0' -> 'OK|VCON'
04/15 13:40:23 vm: timeout while reading character from voice modem: Protocol wrong type for socket
04/15 13:40:23 vm: leaving voice mode
04/15 13:40:23 voice command: 'AT#CLS=8' -> 'OK'
04/15 13:40:34 vm: timeout while reading character from voice modem: Protocol wrong type for socket
04/15 13:40:34 vm: Restoring signal handlers
04/15 13:40:34 closing voice modem device
04/15 13:40:34 removing lock file
--
Luiz Otavio L. Zorzella Product Engineer
zorzella@conexware.com http://www.conexware.com