vgetty && answering distinctive ring
Russell Nelson (nelson@crynwr.com)
17 Apr 1997 14:36:37 -0000
Gert Doering writes:
> And always remember: mgetty/vgetty versions 1.1.X are *test releases*. So
> *do not delete* your old installation unless you are *sure* that the new
> one works.
I'm still seeing the symptoms I reported earlier, where vgetty never
picks up the phone. mgetty has no trouble. The binary characters
towards the end get printed with each successive ring.
04/17 10:30:50 yS0 vgetty: experimental test release 0.7.2 / 12Apr97
04/17 10:30:50 yS0 mgetty: experimental test release 1.1.5-Apr16
04/17 10:30:50 yS0 vgetty.c compiled at Apr 17 1997, 10:10:39
04/17 10:30:50 yS0 reading configuration data for port 'ttyS0'
04/17 10:30:50 yS0 reading /usr/local/etc/mgetty+sendfax/mgetty.config...
04/17 10:30:50 yS0 conf lib: read: 'debug 4'
04/17 10:30:50 yS0 conf lib: read: 'fax-id +1-315-268-9201'
04/17 10:30:50 yS0 conf lib: read: 'speed 38400'
04/17 10:30:50 yS0 conf lib: read: 'port ttyS0'
04/17 10:30:50 yS0 section: port ttyS0, **found**
04/17 10:30:50 yS0 conf lib: read: 'init-chat "" \dATQ0V1H0 OK ATS0=0S12=0S40.2=1Q0&D3&C1 OK'
04/17 10:30:50 yS0 key: 'speed', type=0, flags=3, data=38400
04/17 10:30:50 yS0 key: 'switchbd', type=0, flags=1, data=0
04/17 10:30:50 yS0 key: 'direct', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'blocking', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'port-owner', type=1, flags=1, data=uucp
04/17 10:30:50 yS0 key: 'port-group', type=1, flags=1, data=modem
04/17 10:30:50 yS0 key: 'port-mode', type=0, flags=1, data=432
04/17 10:30:50 yS0 key: 'toggle-dtr', type=3, flags=1, data=TRUE
04/17 10:30:50 yS0 key: 'toggle-dtr-waittime', type=0, flags=1, data=500
04/17 10:30:50 yS0 key: 'data-only', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'fax-only', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'modem-type', type=1, flags=1, data=auto
04/17 10:30:50 yS0 key: 'init-chat', type=2, flags=3, data= \dATQ0V1H0 OK ATS0=0S12=0S40.2=1Q0&D3&C1 OK
04/17 10:30:50 yS0 key: 'force-init-chat', type=2, flags=1, data= \d\d\d\d+++\d\d\d
\dATQ0V1H0 OK
04/17 10:30:50 yS0 key: 'modem-check-time', type=0, flags=1, data=3600
04/17 10:30:50 yS0 key: 'rings', type=0, flags=2, data=6
04/17 10:30:50 yS0 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
04/17 10:30:50 yS0 key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c
04/17 10:30:50 yS0 key: 'answer-chat-timeout', type=0, flags=1, data=80
04/17 10:30:50 yS0 key: 'autobauding', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'ringback', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'ringback-time', type=0, flags=1, data=30
04/17 10:30:50 yS0 key: 'ignore-carrier', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'issue-file', type=1, flags=1, data=/etc/issue
04/17 10:30:50 yS0 key: 'prompt-waittime', type=0, flags=1, data=500
04/17 10:30:50 yS0 key: 'login-prompt', type=1, flags=1, data=@!login:
04/17 10:30:50 yS0 key: 'login-time', type=0, flags=1, data=240
04/17 10:30:50 yS0 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
04/17 10:30:50 yS0 key: 'fax-id', type=1, flags=3, data=+1-315-268-9201
04/17 10:30:50 yS0 key: 'fax-server-file', type=1, flags=0, data=(empty)
04/17 10:30:50 yS0 key: 'diskspace', type=0, flags=1, data=1024
04/17 10:30:50 yS0 key: 'notify', type=1, flags=1, data=faxadmin
04/17 10:30:50 yS0 key: 'fax-owner', type=1, flags=1, data=uucp
04/17 10:30:50 yS0 key: 'fax-group', type=1, flags=0, data=(empty)
04/17 10:30:50 yS0 key: 'fax-mode', type=0, flags=1, data=432
04/17 10:30:50 yS0 key: 'debug', type=0, flags=2, data=10
04/17 10:30:50 yS0 key: 'statistics-chat', type=2, flags=0, data=(empty)
04/17 10:30:50 yS0 key: 'statistics-file', type=1, flags=0, data=(empty)
04/17 10:30:50 yS0 key: 'gettydefs', type=1, flags=1, data=n
04/17 10:30:50 yS0 key: 'term', type=1, flags=0, data=(empty)
04/17 10:30:50 yS0 reading generic configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
04/17 10:30:50 yS0 reading /usr/local/etc/mgetty+sendfax/voice.conf...
04/17 10:30:50 yS0 conf lib: read: 'part generic'
04/17 10:30:50 yS0 section: part generic, **found**
04/17 10:30:50 yS0 conf lib: read: 'voice_log_level 6'
04/17 10:30:50 yS0 conf lib: read: 'voice_dir /var/spool/voice'
04/17 10:30:50 yS0 conf lib: read: 'message_flag_file .flag'
04/17 10:30:50 yS0 conf lib: read: 'receive_dir incoming'
04/17 10:30:50 yS0 conf lib: read: 'message_dir messages'
04/17 10:30:50 yS0 conf lib: read: 'message_list Index'
04/17 10:30:50 yS0 conf lib: read: 'backup_message standard.rmd'
04/17 10:30:50 yS0 conf lib: read: 'port_speed 38400'
04/17 10:30:50 yS0 conf lib: read: 'voice_shell /bin/sh'
04/17 10:30:50 yS0 conf lib: read: 'port_timeout 5'
04/17 10:30:50 yS0 conf lib: read: 'command_delay 500'
04/17 10:30:50 yS0 conf lib: read: 'dtmf_len 30'
04/17 10:30:50 yS0 conf lib: read: 'dtmf_threshold 40'
04/17 10:30:50 yS0 conf lib: read: 'dtmf_wait 7'
04/17 10:30:50 yS0 conf lib: read: 'raw_data false'
04/17 10:30:50 yS0 conf lib: read: 'rec_compression 0'
04/17 10:30:50 yS0 conf lib: read: 'rec_silence_len 70'
04/17 10:30:50 yS0 conf lib: read: 'rec_silence_threshold 40'
04/17 10:30:50 yS0 conf lib: read: 'rec_remove_silence false'
04/17 10:30:50 yS0 conf lib: read: 'rec_max_len 300'
04/17 10:30:50 yS0 conf lib: read: 'rec_min_len 0'
04/17 10:30:50 yS0 conf lib: read: 'do_hard_flow true'
04/17 10:30:50 yS0 conf lib: read: 'beep_frequency 933'
04/17 10:30:50 yS0 conf lib: read: 'beep_length 150'
04/17 10:30:50 yS0 conf lib: read: 'max_tries 3'
04/17 10:30:50 yS0 conf lib: read: 'retry_delay 5'
04/17 10:30:50 yS0 conf lib: read: 'watchdog_timeout 30'
04/17 10:30:50 yS0 conf lib: read: 'program vgetty'
04/17 10:30:50 yS0 found CT_KEYWORD program vgetty
04/17 10:30:50 yS0 conf lib: read: 'speaker_answer_volume 100'
04/17 10:30:50 yS0 conf lib: read: 'rings 4'
04/17 10:30:50 yS0 conf lib: read: 'answer_mode voice:fax:data'
04/17 10:30:50 yS0 conf lib: read: 'force_autodetect false'
04/17 10:30:50 yS0 conf lib: read: 'toll_saver_rings 0'
04/17 10:30:50 yS0 conf lib: read: 'rec_always_keep true'
04/17 10:30:50 yS0 conf lib: read: 'button_program '
04/17 10:30:50 yS0 conf lib: read: 'call_program '
04/17 10:30:50 yS0 conf lib: read: 'dtmf_program dtmf.sh'
04/17 10:30:50 yS0 conf lib: read: 'message_program /var/spool/voice/vg_message'
04/17 10:30:50 yS0 conf lib: read: 'do_message_light false'
04/17 10:30:50 yS0 conf lib: read: 'program vm'
04/17 10:30:50 yS0 conf lib: read: 'voice_devices '
04/17 10:30:50 yS0 conf lib: read: 'dialout_timeout 90'
04/17 10:30:50 yS0 conf lib: read: 'speaker_play_volume 100'
04/17 10:30:50 yS0 conf lib: read: 'program pvf'
04/17 10:30:50 yS0 conf lib: read: 'port ttyS0'
04/17 10:30:50 yS0 conf lib: read: 'port ttyS5'
04/17 10:30:50 yS0 conf lib: read: 'ring_type virtual'
04/17 10:30:50 yS0 conf lib: read: 'answer_mode fax:data'
04/17 10:30:50 yS0 conf lib: read: 'ring_type ring'
04/17 10:30:50 yS0 conf lib: read: 'ring_type ring3'
04/17 10:30:50 yS0 conf lib: read: 'rings 1'
04/17 10:30:50 yS0 conf lib: read: 'answer_mode fax:data'
04/17 10:30:50 yS0 key: 'part', type=6, flags=4, data=(ignored)
04/17 10:30:50 yS0 key: 'program', type=6, flags=4, data=(ignored)
04/17 10:30:50 yS0 key: 'port', type=6, flags=4, data=(ignored)
04/17 10:30:50 yS0 key: 'ring_type', type=6, flags=4, data=(ignored)
04/17 10:30:50 yS0 key: 'voice_log_level', type=0, flags=3, data=6
04/17 10:30:50 yS0 key: 'voice_devices', type=1, flags=0, data=(empty)
04/17 10:30:50 yS0 key: 'port_speed', type=0, flags=3, data=38400
04/17 10:30:50 yS0 key: 'port_timeout', type=0, flags=3, data=5
04/17 10:30:50 yS0 key: 'dtmf_len', type=0, flags=3, data=30
04/17 10:30:50 yS0 key: 'dtmf_threshold', type=0, flags=3, data=40
04/17 10:30:50 yS0 key: 'dtmf_wait', type=0, flags=3, data=7
04/17 10:30:50 yS0 key: 'rec_compression', type=0, flags=3, data=0
04/17 10:30:50 yS0 key: 'rec_speed', type=0, flags=1, data=0
04/17 10:30:50 yS0 key: 'rec_silence_len', type=0, flags=3, data=70
04/17 10:30:50 yS0 key: 'rec_silence_threshold', type=0, flags=3, data=40
04/17 10:30:50 yS0 key: 'rec_remove_silence', type=3, flags=3, data=FALSE
04/17 10:30:50 yS0 key: 'rec_max_len', type=0, flags=3, data=300
04/17 10:30:50 yS0 key: 'receive_gain', type=0, flags=1, data=-1
04/17 10:30:50 yS0 key: 'transmit_gain', type=0, flags=1, data=-1
04/17 10:30:50 yS0 key: 'rings', type=1, flags=1, data=3
04/17 10:30:50 yS0 key: 'answer_mode', type=1, flags=1, data=voice:fax:data
04/17 10:30:50 yS0 key: 'toll_saver_rings', type=0, flags=1, data=0
04/17 10:30:50 yS0 key: 'rec_always_keep', type=3, flags=1, data=TRUE
04/17 10:30:50 yS0 key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
04/17 10:30:50 yS0 key: 'message_flag_file', type=1, flags=3, data=.flag
04/17 10:30:50 yS0 key: 'receive_dir', type=1, flags=3, data=incoming
04/17 10:30:50 yS0 key: 'message_dir', type=1, flags=3, data=messages
04/17 10:30:50 yS0 key: 'message_list', type=1, flags=3, data=Index
04/17 10:30:50 yS0 key: 'backup_message', type=1, flags=3, data=standard.rmd
04/17 10:30:50 yS0 key: 'dialout_timeout', type=0, flags=1, data=90
04/17 10:30:50 yS0 key: 'beep_frequency', type=0, flags=3, data=933
04/17 10:30:50 yS0 key: 'beep_length', type=0, flags=3, data=150
04/17 10:30:50 yS0 key: 'raw_data', type=3, flags=3, data=FALSE
04/17 10:30:50 yS0 key: 'max_tries', type=0, flags=3, data=3
04/17 10:30:50 yS0 key: 'retry_delay', type=0, flags=3, data=5
04/17 10:30:50 yS0 key: 'voice_shell', type=1, flags=3, data=/bin/sh
04/17 10:30:50 yS0 key: 'button_program', type=1, flags=1, data=
04/17 10:30:50 yS0 key: 'call_program', type=1, flags=1, data=
04/17 10:30:50 yS0 key: 'dtmf_program', type=1, flags=1, data=dtmf.sh
04/17 10:30:50 yS0 key: 'message_program', type=1, flags=1, data=
04/17 10:30:50 yS0 key: 'do_message_light', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'do_hard_flow', type=3, flags=3, data=TRUE
04/17 10:30:50 yS0 key: 'force_autodetect', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'watchdog_timeout', type=0, flags=3, data=30
04/17 10:30:50 yS0 key: 'rec_min_len', type=0, flags=3, data=0
04/17 10:30:50 yS0 key: 'command_delay', type=0, flags=3, data=500
04/17 10:30:50 yS0 key: 'ignore_fax_dle', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'dial_timeout', type=0, flags=1, data=90
04/17 10:30:50 yS0 key: 'enable_command_echo', type=3, flags=1, data=TRUE
04/17 10:30:50 yS0 reading program vgetty configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
04/17 10:30:50 yS0 something foul in config line: 'speaker_answer_volume 100'
04/17 10:30:50 yS0 (keyword 'speaker_answer_volume' not found)
04/17 10:30:50 yS0 reading port ttyS0 configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
04/17 10:30:50 yS0 reading /usr/local/etc/mgetty+sendfax/voice.conf...
04/17 10:30:50 yS0 conf lib: read: 'part generic'
04/17 10:30:50 yS0 found CT_KEYWORD part generic
04/17 10:30:50 yS0 conf lib: read: 'voice_log_level 6'
04/17 10:30:50 yS0 conf lib: read: 'voice_dir /var/spool/voice'
04/17 10:30:50 yS0 conf lib: read: 'message_flag_file .flag'
04/17 10:30:50 yS0 conf lib: read: 'receive_dir incoming'
04/17 10:30:50 yS0 conf lib: read: 'message_dir messages'
04/17 10:30:50 yS0 conf lib: read: 'message_list Index'
04/17 10:30:50 yS0 conf lib: read: 'backup_message standard.rmd'
04/17 10:30:50 yS0 conf lib: read: 'port_speed 38400'
04/17 10:30:50 yS0 conf lib: read: 'voice_shell /bin/sh'
04/17 10:30:50 yS0 conf lib: read: 'port_timeout 5'
04/17 10:30:50 yS0 conf lib: read: 'command_delay 500'
04/17 10:30:50 yS0 conf lib: read: 'dtmf_len 30'
04/17 10:30:50 yS0 conf lib: read: 'dtmf_threshold 40'
04/17 10:30:50 yS0 conf lib: read: 'dtmf_wait 7'
04/17 10:30:50 yS0 conf lib: read: 'raw_data false'
04/17 10:30:50 yS0 conf lib: read: 'rec_compression 0'
04/17 10:30:50 yS0 conf lib: read: 'rec_silence_len 70'
04/17 10:30:50 yS0 conf lib: read: 'rec_silence_threshold 40'
04/17 10:30:50 yS0 conf lib: read: 'rec_remove_silence false'
04/17 10:30:50 yS0 conf lib: read: 'rec_max_len 300'
04/17 10:30:50 yS0 conf lib: read: 'rec_min_len 0'
04/17 10:30:50 yS0 conf lib: read: 'do_hard_flow true'
04/17 10:30:50 yS0 conf lib: read: 'beep_frequency 933'
04/17 10:30:50 yS0 conf lib: read: 'beep_length 150'
04/17 10:30:50 yS0 conf lib: read: 'max_tries 3'
04/17 10:30:50 yS0 conf lib: read: 'retry_delay 5'
04/17 10:30:50 yS0 conf lib: read: 'watchdog_timeout 30'
04/17 10:30:50 yS0 conf lib: read: 'program vgetty'
04/17 10:30:50 yS0 conf lib: read: 'speaker_answer_volume 100'
04/17 10:30:50 yS0 conf lib: read: 'rings 4'
04/17 10:30:50 yS0 conf lib: read: 'answer_mode voice:fax:data'
04/17 10:30:50 yS0 conf lib: read: 'force_autodetect false'
04/17 10:30:50 yS0 conf lib: read: 'toll_saver_rings 0'
04/17 10:30:50 yS0 conf lib: read: 'rec_always_keep true'
04/17 10:30:50 yS0 conf lib: read: 'button_program '
04/17 10:30:50 yS0 conf lib: read: 'call_program '
04/17 10:30:50 yS0 conf lib: read: 'dtmf_program dtmf.sh'
04/17 10:30:50 yS0 conf lib: read: 'message_program /var/spool/voice/vg_message'
04/17 10:30:50 yS0 conf lib: read: 'do_message_light false'
04/17 10:30:50 yS0 conf lib: read: 'program vm'
04/17 10:30:50 yS0 conf lib: read: 'voice_devices '
04/17 10:30:50 yS0 conf lib: read: 'dialout_timeout 90'
04/17 10:30:50 yS0 conf lib: read: 'speaker_play_volume 100'
04/17 10:30:50 yS0 conf lib: read: 'program pvf'
04/17 10:30:50 yS0 conf lib: read: 'port ttyS0'
04/17 10:30:50 yS0 section: port ttyS0, **found**
04/17 10:30:50 yS0 conf lib: read: 'port ttyS5'
04/17 10:30:50 yS0 section: port ttyS5, ignore
04/17 10:30:50 yS0 conf lib: read: 'ring_type virtual'
04/17 10:30:50 yS0 conf lib: read: 'answer_mode fax:data'
04/17 10:30:50 yS0 conf lib: read: 'ring_type ring'
04/17 10:30:50 yS0 conf lib: read: 'ring_type ring3'
04/17 10:30:50 yS0 conf lib: read: 'rings 1'
04/17 10:30:50 yS0 conf lib: read: 'answer_mode fax:data'
04/17 10:30:50 yS0 key: 'part', type=6, flags=4, data=(ignored)
04/17 10:30:50 yS0 key: 'program', type=6, flags=4, data=(ignored)
04/17 10:30:50 yS0 key: 'port', type=6, flags=4, data=(ignored)
04/17 10:30:50 yS0 key: 'ring_type', type=6, flags=4, data=(ignored)
04/17 10:30:50 yS0 key: 'voice_log_level', type=0, flags=3, data=6
04/17 10:30:50 yS0 key: 'voice_devices', type=1, flags=0, data=(empty)
04/17 10:30:50 yS0 key: 'port_speed', type=0, flags=3, data=38400
04/17 10:30:50 yS0 key: 'port_timeout', type=0, flags=3, data=5
04/17 10:30:50 yS0 key: 'dtmf_len', type=0, flags=3, data=30
04/17 10:30:50 yS0 key: 'dtmf_threshold', type=0, flags=3, data=40
04/17 10:30:50 yS0 key: 'dtmf_wait', type=0, flags=3, data=7
04/17 10:30:50 yS0 key: 'rec_compression', type=0, flags=3, data=0
04/17 10:30:50 yS0 key: 'rec_speed', type=0, flags=1, data=0
04/17 10:30:50 yS0 key: 'rec_silence_len', type=0, flags=3, data=70
04/17 10:30:50 yS0 key: 'rec_silence_threshold', type=0, flags=3, data=40
04/17 10:30:50 yS0 key: 'rec_remove_silence', type=3, flags=3, data=FALSE
04/17 10:30:50 yS0 key: 'rec_max_len', type=0, flags=3, data=300
04/17 10:30:50 yS0 key: 'receive_gain', type=0, flags=1, data=-1
04/17 10:30:50 yS0 key: 'transmit_gain', type=0, flags=1, data=-1
04/17 10:30:50 yS0 key: 'rings', type=1, flags=3, data=4
04/17 10:30:50 yS0 key: 'answer_mode', type=1, flags=3, data=voice:fax:data
04/17 10:30:50 yS0 key: 'toll_saver_rings', type=0, flags=3, data=0
04/17 10:30:50 yS0 key: 'rec_always_keep', type=3, flags=3, data=TRUE
04/17 10:30:50 yS0 key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
04/17 10:30:50 yS0 key: 'message_flag_file', type=1, flags=3, data=.flag
04/17 10:30:50 yS0 key: 'receive_dir', type=1, flags=3, data=incoming
04/17 10:30:50 yS0 key: 'message_dir', type=1, flags=3, data=messages
04/17 10:30:50 yS0 key: 'message_list', type=1, flags=3, data=Index
04/17 10:30:50 yS0 key: 'backup_message', type=1, flags=3, data=standard.rmd
04/17 10:30:50 yS0 key: 'dialout_timeout', type=0, flags=1, data=90
04/17 10:30:50 yS0 key: 'beep_frequency', type=0, flags=3, data=933
04/17 10:30:50 yS0 key: 'beep_length', type=0, flags=3, data=150
04/17 10:30:50 yS0 key: 'raw_data', type=3, flags=3, data=FALSE
04/17 10:30:50 yS0 key: 'max_tries', type=0, flags=3, data=3
04/17 10:30:50 yS0 key: 'retry_delay', type=0, flags=3, data=5
04/17 10:30:50 yS0 key: 'voice_shell', type=1, flags=3, data=/bin/sh
04/17 10:30:50 yS0 key: 'button_program', type=1, flags=3, data=
04/17 10:30:50 yS0 key: 'call_program', type=1, flags=3, data=
04/17 10:30:50 yS0 key: 'dtmf_program', type=1, flags=3, data=dtmf.sh
04/17 10:30:50 yS0 key: 'message_program', type=1, flags=3, data=/var/spool/voice/vg_message
04/17 10:30:50 yS0 key: 'do_message_light', type=3, flags=3, data=FALSE
04/17 10:30:50 yS0 key: 'do_hard_flow', type=3, flags=3, data=TRUE
04/17 10:30:50 yS0 key: 'force_autodetect', type=3, flags=3, data=FALSE
04/17 10:30:50 yS0 key: 'watchdog_timeout', type=0, flags=3, data=30
04/17 10:30:50 yS0 key: 'rec_min_len', type=0, flags=3, data=0
04/17 10:30:50 yS0 key: 'command_delay', type=0, flags=3, data=500
04/17 10:30:50 yS0 key: 'ignore_fax_dle', type=3, flags=1, data=FALSE
04/17 10:30:50 yS0 key: 'dial_timeout', type=0, flags=1, data=90
04/17 10:30:50 yS0 key: 'enable_command_echo', type=3, flags=1, data=TRUE
04/17 10:30:50 yS0 check for lockfiles
04/17 10:30:50 yS0 checklock: no active process has lock, will remove
04/17 10:30:50 yS0 locking the line
04/17 10:30:50 yS0 makelock(ttyS0) called
04/17 10:30:50 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
04/17 10:30:50 yS0 lock made
04/17 10:30:50 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
04/17 10:30:50 yS0 lowering DTR to reset Modem
04/17 10:30:51 yS0 tss: set speed to 38400 (017)
04/17 10:30:51 yS0 tio_set_flow_control( HARD )
04/17 10:30:51 yS0 waiting for line to clear (VTIME), read:
04/17 10:30:51 yS0 send: \dATQ0V1H0[0d]
04/17 10:30:52 yS0 waiting for ``OK''
04/17 10:30:52 yS0 got: ATQ0V1H0[0d]
04/17 10:30:52 yS0 CND: ATQ0V1H0[0d][0a]OK ** found **
04/17 10:30:52 yS0 send: ATS0=0S12=0S40.2=1Q0&D3&C1[0d]
04/17 10:30:52 yS0 waiting for ``OK''
04/17 10:30:52 yS0 got: [0d]
04/17 10:30:52 yS0 CND: OK[0a]ATS0=0S12=0S40.2=1Q0&D3&C1[0d]
04/17 10:30:52 yS0 CND: ATS0=0S12=0S40.2=1Q0&D3&C1[0d][0a]OK ** found **
04/17 10:30:52 yS0 mdm_send: 'ATI'
04/17 10:30:52 yS0 got:[0d][0a]ATI[0d]
04/17 10:30:52 yS0 mdm_identify: string 'ATI'
04/17 10:30:52 yS0 got:[0d][0a]1496[0d]
04/17 10:30:52 yS0 mdm_identify: string '1496'
04/17 10:30:52 yS0 ZyXEL 1496 detected
04/17 10:30:52 yS0 got:[0a][0d][0a]OK[0d]
04/17 10:30:52 yS0 mdm_identify: string 'OK' -> OK
04/17 10:30:52 yS0 mdm_send: 'AT+FCLASS=2.0'
04/17 10:30:52 yS0 got:[0a]AT+FCLASS=2.0[0d]
04/17 10:30:52 yS0 mdm_command: string 'AT+FCLASS=2.0'
04/17 10:30:52 yS0 got:[0d][0a]OK[0d]
04/17 10:30:52 yS0 mdm_command: string 'OK' -> OK
04/17 10:30:52 yS0 mdm_send: 'AT+FAA=1;+FCR=1'
04/17 10:30:52 yS0 got:[0a]AT+FAA=1;+FCR=1[0d]
04/17 10:30:52 yS0 mdm_command: string 'AT+FAA=1;+FCR=1'
04/17 10:30:52 yS0 got:[0d][0a]OK[0d]
04/17 10:30:52 yS0 mdm_command: string 'OK' -> OK
04/17 10:30:52 yS0 mdm_send: 'AT+FBO=1'
04/17 10:30:52 yS0 got:[0a]AT+FBO=1[0d]
04/17 10:30:52 yS0 mdm_command: string 'AT+FBO=1'
04/17 10:30:52 yS0 got:[0d][0a]OK[0d]
04/17 10:30:52 yS0 mdm_command: string 'OK' -> OK
04/17 10:30:52 yS0 mdm_send: 'AT+FNR=1,1,1,0'
04/17 10:30:52 yS0 got:[0a]AT+FNR=1,1,1,0[0d]
04/17 10:30:52 yS0 mdm_command: string 'AT+FNR=1,1,1,0'
04/17 10:30:52 yS0 got:[0d][0a]OK[0d]
04/17 10:30:52 yS0 mdm_command: string 'OK' -> OK
04/17 10:30:52 yS0 mdm_send: 'AT+FLI="+1-315-268-9201"'
04/17 10:30:52 yS0 got:[0a]AT+FLI="+1-315-268-9201"[0d]
04/17 10:30:52 yS0 mdm_command: string 'AT+FLI="+1-315-268-9201"'
04/17 10:30:52 yS0 got:[0d][0a]OK[0d]
04/17 10:30:52 yS0 mdm_command: string 'OK' -> OK
04/17 10:30:52 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
04/17 10:30:52 yS0 got:[0a]AT+FCC=1,5,0,2,0,0,0,0[0d]
04/17 10:30:52 yS0 mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
04/17 10:30:52 yS0 got:[0d][0a]OK[0d]
04/17 10:30:52 yS0 mdm_command: string 'OK' -> OK
04/17 10:30:52 yS0 tss: set speed to 38400 (017)
04/17 10:30:52 yS0 tio_set_flow_control( HARD )
04/17 10:30:52 yS0 detecting voice modem type
04/17 10:30:52 yS0 vgetty: ATE1
04/17 10:30:52 yS0 voice command: '' -> 'OK|ATE1'
04/17 10:30:53 yS0 serial port: ATE1
04/17 10:30:53 yS0 serial port: OK
04/17 10:30:53 yS0 voice command: 'ATI' -> ''
04/17 10:30:53 yS0 vgetty: ATI
04/17 10:30:53 yS0 serial port: ATI
04/17 10:30:53 yS0 serial port: 1496
04/17 10:30:53 yS0 ZyXEL 1496: OK
04/17 10:30:54 yS0 ZyXEL 1496 detected
04/17 10:30:54 yS0 vgetty: queued event 0x4000 at position 0000
04/17 10:30:54 yS0 voice command: 'ATI1' -> ''
04/17 10:30:54 yS0 vgetty: ATI1
04/17 10:30:54 yS0 ZyXEL 1496: ATI1
04/17 10:30:54 yS0 ZyXEL 1496: 34629
04/17 10:30:54 yS0 ZyXEL 1496: U1496E V 6.13 M
04/17 10:30:54 yS0 voice command: '' -> 'OK'
04/17 10:30:55 yS0 ZyXEL 1496: OK
04/17 10:30:55 yS0 ROM release 6.13 detected
04/17 10:30:55 yS0 initializing ZyXEL 1496 voice modem
04/17 10:30:55 yS0 voice command: 'ATS40.3=1 S40.4=1 S40.5=1 S40.6=1' -> 'OK'
04/17 10:30:55 yS0 vgetty: ATS40.3=1 S40.4=1 S40.5=1 S40.6=1
04/17 10:30:55 yS0 ZyXEL 1496: ATS40.3=1 S40.4=1 S40.5=1 S40.6=1
04/17 10:30:55 yS0 ZyXEL 1496: OK
04/17 10:30:55 yS0 voice command: 'ATS39.6=1 S39.7=0 +VIT=60' -> 'OK'
04/17 10:30:56 yS0 vgetty: ATS39.6=1 S39.7=0 +VIT=60
04/17 10:30:56 yS0 ZyXEL 1496: ATS39.6=1 S39.7=0 +VIT=60
04/17 10:30:56 yS0 ZyXEL 1496: OK
04/17 10:30:56 yS0 voice command: 'AT+VDH=12 +VDD=6' -> 'OK'
04/17 10:30:56 yS0 vgetty: AT+VDH=12 +VDD=6
04/17 10:30:56 yS0 ZyXEL 1496: AT+VDH=12 +VDD=6
04/17 10:30:56 yS0 ZyXEL 1496: OK
04/17 10:30:56 yS0 voice command: 'AT+VSD=12,70' -> 'OK'
04/17 10:30:57 yS0 vgetty: AT+VSD=12,70
04/17 10:30:57 yS0 ZyXEL 1496: AT+VSD=12,70
04/17 10:30:57 yS0 ZyXEL 1496: OK
04/17 10:30:57 yS0 voice command: 'AT+VGT=191' -> 'OK'
04/17 10:30:57 yS0 vgetty: AT+VGT=191
04/17 10:30:57 yS0 ZyXEL 1496: AT+VGT=191
04/17 10:30:57 yS0 ZyXEL 1496: OK
04/17 10:30:57 yS0 voice command: 'AT+VGR=191' -> 'OK'
04/17 10:30:58 yS0 vgetty: AT+VGR=191
04/17 10:30:58 yS0 ZyXEL 1496: AT+VGR=191
04/17 10:30:58 yS0 ZyXEL 1496: OK
04/17 10:30:58 yS0 voice command: 'AT+VNH=1' -> 'OK'
04/17 10:30:59 yS0 vgetty: AT+VNH=1
04/17 10:30:59 yS0 ZyXEL 1496: AT+VNH=1
04/17 10:30:59 yS0 ZyXEL 1496: OK
04/17 10:30:59 yS0 waiting for line to clear (VTIME), read:
04/17 10:30:59 yS0 removing lock file
04/17 10:30:59 yS0 waiting...
04/17 10:31:13 yS0 select returned 1
04/17 10:31:13 yS0 checking lockfiles, locking the line
04/17 10:31:13 yS0 makelock(ttyS0) called
04/17 10:31:13 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
04/17 10:31:13 yS0 lock made
04/17 10:31:13 yS0 vgetty: number of rings (4) was set directly
04/17 10:31:13 yS0 vgetty: decremented number of rings (4) by 0
04/17 10:31:13 yS0 waiting for ``RING_''
04/17 10:31:13 yS0 got: [0d]
04/17 10:31:13 yS0 CND: OK[0a]RING 3
04/17 10:31:13 yS0 found action string: ``RING 3''
04/17 10:31:13 yS0 waiting for ``RING_''
04/17 10:31:13 yS0 got: [0d]
04/17 10:31:13 yS0 CND: RING 3[0a]TIME: 04-17 10:28 [0d]
04/17 10:31:16 yS0 CND: TIME: 04-17 10:28
04/17 10:31:16 yS0 CND: found: 04-17 10:28[0a]CALLER NUMBER: 3152655655[0d]
04/17 10:31:16 yS0 CND: CALLER NUMBER: 3152655655
04/17 10:31:16 yS0 CND: found: 3152655655[0a][0d][0a]RING 3
04/17 10:31:19 yS0 found action string: ``RING 3''
04/17 10:31:19 yS0 waiting for ``RING_''
04/17 10:31:19 yS0 got: [0d]
04/17 10:31:19 yS0 CND: RING 3[0a][0d][0a]RING 3
04/17 10:31:25 yS0 found action string: ``RING 3''
04/17 10:31:25 yS0 waiting for ``RING_''
04/17 10:31:25 yS0 got: [0d]
04/17 10:31:25 yS0 CND: RING 3[0a][0d][0a]RING 3
04/17 10:31:31 yS0 found action string: ``RING 3''
04/17 10:31:31 yS0 reading ring_type ring3 configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
04/17 10:31:31 yS0 reading /usr/local/etc/mgetty+sendfax/voice.conf...
04/17 10:31:31 yS0 conf lib: read: 'part generic'
04/17 10:31:31 yS0 found CT_KEYWORD part generic
04/17 10:31:31 yS0 conf lib: read: 'voice_log_level 6'
04/17 10:31:31 yS0 conf lib: read: 'voice_dir /var/spool/voice'
04/17 10:31:31 yS0 conf lib: read: 'message_flag_file .flag'
04/17 10:31:31 yS0 conf lib: read: 'receive_dir incoming'
04/17 10:31:31 yS0 conf lib: read: 'message_dir messages'
04/17 10:31:31 yS0 conf lib: read: 'message_list Index'
04/17 10:31:31 yS0 conf lib: read: 'backup_message standard.rmd'
04/17 10:31:31 yS0 conf lib: read: 'port_speed 38400'
04/17 10:31:31 yS0 conf lib: read: 'voice_shell /bin/sh'
04/17 10:31:31 yS0 conf lib: read: 'port_timeout 5'
04/17 10:31:31 yS0 conf lib: read: 'command_delay 500'
04/17 10:31:31 yS0 conf lib: read: 'dtmf_len 30'
04/17 10:31:31 yS0 conf lib: read: 'dtmf_threshold 40'
04/17 10:31:31 yS0 conf lib: read: 'dtmf_wait 7'
04/17 10:31:31 yS0 conf lib: read: 'raw_data false'
04/17 10:31:31 yS0 conf lib: read: 'rec_compression 0'
04/17 10:31:31 yS0 conf lib: read: 'rec_silence_len 70'
04/17 10:31:31 yS0 conf lib: read: 'rec_silence_threshold 40'
04/17 10:31:31 yS0 conf lib: read: 'rec_remove_silence false'
04/17 10:31:31 yS0 conf lib: read: 'rec_max_len 300'
04/17 10:31:31 yS0 conf lib: read: 'rec_min_len 0'
04/17 10:31:31 yS0 conf lib: read: 'do_hard_flow true'
04/17 10:31:31 yS0 conf lib: read: 'beep_frequency 933'
04/17 10:31:31 yS0 conf lib: read: 'beep_length 150'
04/17 10:31:31 yS0 conf lib: read: 'max_tries 3'
04/17 10:31:31 yS0 conf lib: read: 'retry_delay 5'
04/17 10:31:31 yS0 conf lib: read: 'watchdog_timeout 30'
04/17 10:31:31 yS0 conf lib: read: 'program vgetty'
04/17 10:31:31 yS0 conf lib: read: 'speaker_answer_volume 100'
04/17 10:31:31 yS0 conf lib: read: 'rings 4'
04/17 10:31:31 yS0 conf lib: read: 'answer_mode voice:fax:data'
04/17 10:31:31 yS0 conf lib: read: 'force_autodetect false'
04/17 10:31:31 yS0 conf lib: read: 'toll_saver_rings 0'
04/17 10:31:31 yS0 conf lib: read: 'rec_always_keep true'
04/17 10:31:31 yS0 conf lib: read: 'button_program '
04/17 10:31:31 yS0 conf lib: read: 'call_program '
04/17 10:31:31 yS0 conf lib: read: 'dtmf_program dtmf.sh'
04/17 10:31:31 yS0 conf lib: read: 'message_program /var/spool/voice/vg_message'
04/17 10:31:31 yS0 conf lib: read: 'do_message_light false'
04/17 10:31:31 yS0 conf lib: read: 'program vm'
04/17 10:31:31 yS0 conf lib: read: 'voice_devices '
04/17 10:31:31 yS0 conf lib: read: 'dialout_timeout 90'
04/17 10:31:31 yS0 conf lib: read: 'speaker_play_volume 100'
04/17 10:31:31 yS0 conf lib: read: 'program pvf'
04/17 10:31:31 yS0 conf lib: read: 'port ttyS0'
04/17 10:31:31 yS0 conf lib: read: 'port ttyS5'
04/17 10:31:31 yS0 conf lib: read: 'ring_type virtual'
04/17 10:31:31 yS0 section: ring_type virtual, ignore
04/17 10:31:31 yS0 conf lib: read: 'answer_mode fax:data'
04/17 10:31:31 yS0 conf lib: read: 'ring_type ring'
04/17 10:31:31 yS0 section: ring_type ring, ignore
04/17 10:31:31 yS0 conf lib: read: 'ring_type ring3'
04/17 10:31:31 yS0 section: ring_type ring3, **found**
04/17 10:31:31 yS0 conf lib: read: 'rings 1'
04/17 10:31:31 yS0 conf lib: read: 'answer_mode fax:data'
04/17 10:31:31 yS0 key: 'part', type=6, flags=4, data=(ignored)
04/17 10:31:31 yS0 key: 'program', type=6, flags=4, data=(ignored)
04/17 10:31:31 yS0 key: 'port', type=6, flags=4, data=(ignored)
04/17 10:31:31 yS0 key: 'ring_type', type=6, flags=4, data=(ignored)
04/17 10:31:31 yS0 key: 'voice_log_level', type=0, flags=3, data=6
04/17 10:31:31 yS0 key: 'voice_devices', type=1, flags=0, data=(empty)
04/17 10:31:31 yS0 key: 'port_speed', type=0, flags=3, data=38400
04/17 10:31:31 yS0 key: 'port_timeout', type=0, flags=3, data=5
04/17 10:31:31 yS0 key: 'dtmf_len', type=0, flags=3, data=30
04/17 10:31:31 yS0 key: 'dtmf_threshold', type=0, flags=3, data=40
04/17 10:31:31 yS0 key: 'dtmf_wait', type=0, flags=3, data=7
04/17 10:31:31 yS0 key: 'rec_compression', type=0, flags=3, data=0
04/17 10:31:31 yS0 key: 'rec_speed', type=0, flags=1, data=0
04/17 10:31:31 yS0 key: 'rec_silence_len', type=0, flags=3, data=70
04/17 10:31:31 yS0 key: 'rec_silence_threshold', type=0, flags=3, data=40
04/17 10:31:31 yS0 key: 'rec_remove_silence', type=3, flags=3, data=FALSE
04/17 10:31:31 yS0 key: 'rec_max_len', type=0, flags=3, data=300
04/17 10:31:31 yS0 key: 'receive_gain', type=0, flags=1, data=75
04/17 10:31:31 yS0 key: 'transmit_gain', type=0, flags=1, data=75
04/17 10:31:31 yS0 key: 'rings', type=1, flags=3, data=1
04/17 10:31:31 yS0 key: 'answer_mode', type=1, flags=3, data=fax:data
04/17 10:31:31 yS0 key: 'toll_saver_rings', type=0, flags=3, data=0
04/17 10:31:31 yS0 key: 'rec_always_keep', type=3, flags=3, data=TRUE
04/17 10:31:31 yS0 key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
04/17 10:31:31 yS0 key: 'message_flag_file', type=1, flags=3, data=.flag
04/17 10:31:31 yS0 key: 'receive_dir', type=1, flags=3, data=incoming
04/17 10:31:31 yS0 key: 'message_dir', type=1, flags=3, data=messages
04/17 10:31:31 yS0 key: 'message_list', type=1, flags=3, data=Index
04/17 10:31:31 yS0 key: 'backup_message', type=1, flags=3, data=standard.rmd
04/17 10:31:31 yS0 key: 'dialout_timeout', type=0, flags=1, data=90
04/17 10:31:31 yS0 key: 'beep_frequency', type=0, flags=3, data=933
04/17 10:31:31 yS0 key: 'beep_length', type=0, flags=3, data=150
04/17 10:31:31 yS0 key: 'raw_data', type=3, flags=3, data=FALSE
04/17 10:31:31 yS0 key: 'max_tries', type=0, flags=3, data=3
04/17 10:31:31 yS0 key: 'retry_delay', type=0, flags=3, data=5
04/17 10:31:31 yS0 key: 'voice_shell', type=1, flags=3, data=/bin/sh
04/17 10:31:31 yS0 key: 'button_program', type=1, flags=3, data=
04/17 10:31:31 yS0 key: 'call_program', type=1, flags=3, data=
04/17 10:31:31 yS0 key: 'dtmf_program', type=1, flags=3, data=dtmf.sh
04/17 10:31:31 yS0 key: 'message_program', type=1, flags=3, data=/var/spool/voice/vg_message
04/17 10:31:31 yS0 key: 'do_message_light', type=3, flags=3, data=FALSE
04/17 10:31:31 yS0 key: 'do_hard_flow', type=3, flags=3, data=TRUE
04/17 10:31:31 yS0 key: 'force_autodetect', type=3, flags=3, data=FALSE
04/17 10:31:31 yS0 key: 'watchdog_timeout', type=0, flags=3, data=30
04/17 10:31:31 yS0 key: 'rec_min_len', type=0, flags=3, data=0
04/17 10:31:31 yS0 key: 'command_delay', type=0, flags=3, data=500
04/17 10:31:31 yS0 key: 'ignore_fax_dle', type=3, flags=1, data=FALSE
04/17 10:31:31 yS0 key: 'dial_timeout', type=0, flags=1, data=90
04/17 10:31:31 yS0 key: 'enable_command_echo', type=3, flags=1, data=TRUE
04/17 10:31:31 yS0 vgetty: answer mode was set directly
04/17 10:31:31 yS0 vgetty: answer mode is [data|fax]
04/17 10:31:31 yS0 vgetty: trying data and fax connection
04/17 10:31:31 yS0 vgetty: queued event 0x4000 at position 0001
04/17 10:31:31 yS0 voice command: 'AT+FCLASS=2.0' -> 'OK'
04/17 10:31:31 yS0 vgetty: AT+FCLASS=2.0
04/17 10:31:31 yS0 ZyXEL 1496: AT+FCLASS=2.0
04/17 10:31:31 yS0 ZyXEL 1496: OK[e6][80][98][80][fe][98][9e][98][e6][80][98][80][e6][80][98][80][18][e6][86][98][f8][98]~[fe][00][f8][1e][f8][e6][80][98][80][e6][80][98][80][18][e6][86][98][f8][98]~[fe][00][f8][1e][f8][e6][80][98][80][e6][80][98][80][18][e6][86][98][f8][98]~[fe][00][f8][1e][f8][e6][80][98][80]
04/17 10:31:55 yS0 vgetty: timeout while reading character from voice modem: Operation not permitted
04/17 10:31:55 yS0 vgetty: Could not switch to data or fax mode: Operation not permitted
--
.