Please help me with vgetty part II
Giovanni Biscuolo (giovanni.biscuolo@libero.it)
Sun, 28 Nov 1999 22:00:30 +0100
After I understood that my USR Robotics Sportser modem (probably) can't
affordably record
voice messages for it detects a dial tone when the caller is speaking, I
disabled voice answering mode
(answer_mode fax:data).
Now the modem fails to answer, this is the log:
11/26 16:33:37 yS0 waiting...
11/26 16:34:11 yS0 select returned -1
11/26 16:34:11 yS0 checking lockfiles, locking the line
11/26 16:34:11 yS0 makelock(ttyS0) called
11/26 16:34:11 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
11/26 16:34:11 yS0 lock made
11/26 16:34:11 yS0 vgetty: number of rings (6) was set directly
11/26 16:34:11 yS0 vgetty: decremented number of rings (6) by 0
11/26 16:34:11 yS0 waiting for ``RING_''
11/26 16:34:11 yS0 got: ``found''
11/26 16:34:11 yS0 waiting for ``RING_''
11/26 16:34:11 yS0 got: ``found''
11/26 16:34:11 yS0 waiting for ``RING_''
11/26 16:34:11 yS0 got: ``found''
11/26 16:34:11 yS0 waiting for ``RING_''
11/26 16:34:11 yS0 got: ``found''
11/26 16:34:11 yS0 waiting for ``RING_''
11/26 16:34:11 yS0 got: ``found''
11/26 16:34:11 yS0 waiting for ``RING_''
11/26 16:34:11 yS0 got: ``found''
11/26 16:34:11 yS0 CND: check no: 'none'
11/26 16:34:11 yS0 reading ring_type virtual configuration from config
file /etc/mgetty+sendfax/voice.conf
11/26 16:34:11 yS0 reading /etc/mgetty+sendfax/voice.conf...
11/26 16:34:11 yS0 conf lib: read: 'part generic'
11/26 16:34:11 yS0 found CT_KEYWORD part generic
11/26 16:34:11 yS0 conf lib: read: 'voice_log_level 6'
11/26 16:34:11 yS0 conf lib: read: 'voice_dir /var/spool/voice'
11/26 16:34:11 yS0 conf lib: read: 'phone_owner root'
11/26 16:34:11 yS0 conf lib: read: 'phone_group root'
11/26 16:34:11 yS0 conf lib: read: 'phone_mode 0664'
11/26 16:34:11 yS0 conf lib: read: 'message_flag_file .flag'
11/26 16:34:11 yS0 conf lib: read: 'receive_dir incoming'
11/26 16:34:11 yS0 conf lib: read: 'message_dir messages'
11/26 16:34:11 yS0 conf lib: read: 'message_list Index'
11/26 16:34:11 yS0 conf lib: read: 'backup_message standard.rmd'
11/26 16:34:11 yS0 conf lib: read: 'port_speed 115200'
11/26 16:34:11 yS0 conf lib: read: 'voice_shell /bin/sh'
11/26 16:34:11 yS0 conf lib: read: 'port_timeout 20'
11/26 16:34:11 yS0 conf lib: read: 'dial_timeout 90'
11/26 16:34:11 yS0 conf lib: read: 'command_delay 100'
11/26 16:34:11 yS0 conf lib: read: 'dtmf_len 30'
11/26 16:34:11 yS0 conf lib: read: 'dtmf_threshold 50'
11/26 16:34:11 yS0 conf lib: read: 'dtmf_wait 7'
11/26 16:34:11 yS0 conf lib: read: 'ignore_fax_dle false'
11/26 16:34:11 yS0 conf lib: read: 'raw_data false'
11/26 16:34:11 yS0 conf lib: read: 'rec_compression 0'
11/26 16:34:11 yS0 conf lib: read: 'rec_speed 0'
11/26 16:34:11 yS0 conf lib: read: 'rec_silence_len 70'
11/26 16:34:11 yS0 conf lib: read: 'rec_silence_threshold 60'
11/26 16:34:11 yS0 conf lib: read: 'rec_remove_silence false'
11/26 16:34:11 yS0 conf lib: read: 'rec_max_len 300'
11/26 16:34:11 yS0 conf lib: read: 'rec_min_len 0'
11/26 16:34:11 yS0 conf lib: read: 'do_hard_flow true'
11/26 16:34:11 yS0 conf lib: read: 'beep_frequency 999'
11/26 16:34:11 yS0 conf lib: read: 'beep_length 1500'
11/26 16:34:11 yS0 conf lib: read: 'max_tries 3'
11/26 16:34:11 yS0 conf lib: read: 'retry_delay 5'
11/26 16:34:11 yS0 conf lib: read: 'watchdog_timeout 60'
11/26 16:34:11 yS0 conf lib: read: 'receive_gain -1'
11/26 16:34:11 yS0 conf lib: read: 'transmit_gain 80%'
11/26 16:34:11 yS0 conf lib: read: 'enable_command_echo true'
11/26 16:34:11 yS0 conf lib: read: 'poll_interval 10'
11/26 16:34:11 yS0 conf lib: read: 'program vgetty'
11/26 16:34:11 yS0 conf lib: read: 'rings 6'
11/26 16:34:11 yS0 conf lib: read: 'answer_mode fax:data'
11/26 16:34:11 yS0 conf lib: read: 'force_autodetect false'
11/26 16:34:11 yS0 conf lib: read: 'toll_saver_rings 0'
11/26 16:34:11 yS0 conf lib: read: 'rec_always_keep true'
11/26 16:34:11 yS0 conf lib: read: 'button_program '
11/26 16:34:11 yS0 conf lib: read: 'call_program '
11/26 16:34:11 yS0 conf lib: read: 'dtmf_program dtmf.sh'
11/26 16:34:11 yS0 conf lib: read: 'message_program '
11/26 16:34:11 yS0 conf lib: read: 'do_message_light false'
11/26 16:34:11 yS0 conf lib: read: 'program vm'
11/26 16:34:11 yS0 conf lib: read: 'voice_devices ttyS0'
11/26 16:34:11 yS0 conf lib: read: 'dialout_timeout 90'
11/26 16:34:11 yS0 conf lib: read: 'program pvf'
11/26 16:34:11 yS0 key: 'part', type=6, flags=4, data=(ignored)
11/26 16:34:11 yS0 key: 'program', type=6, flags=4, data=(ignored)
11/26 16:34:11 yS0 key: 'port', type=6, flags=4, data=(ignored)
11/26 16:34:11 yS0 key: 'ring_type', type=6, flags=4, data=(ignored)
11/26 16:34:11 yS0 key: 'voice_log_level', type=0, flags=3, data=6
11/26 16:34:11 yS0 key: 'voice_shell', type=1, flags=3, data=/bin/sh
11/26 16:34:11 yS0 key: 'port_speed', type=0, flags=3, data=115200
11/26 16:34:11 yS0 key: 'port_timeout', type=0, flags=3, data=20
11/26 16:34:11 yS0 key: 'dial_timeout', type=0, flags=3, data=90
11/26 16:34:11 yS0 key: 'command_delay', type=0, flags=3, data=100
11/26 16:34:11 yS0 key: 'dtmf_len', type=0, flags=3, data=30
11/26 16:34:11 yS0 key: 'dtmf_threshold', type=0, flags=3, data=50
11/26 16:34:11 yS0 key: 'dtmf_wait', type=0, flags=3, data=7
11/26 16:34:11 yS0 key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
11/26 16:34:11 yS0 key: 'raw_data', type=3, flags=3, data=FALSE
11/26 16:34:11 yS0 key: 'rec_compression', type=0, flags=3, data=0
11/26 16:34:11 yS0 key: 'rec_speed', type=0, flags=3, data=0
11/26 16:34:11 yS0 key: 'rec_silence_len', type=0, flags=3, data=70
11/26 16:34:11 yS0 key: 'rec_silence_threshold', type=0, flags=3,
data=60
11/26 16:34:11 yS0 key: 'rec_remove_silence', type=3, flags=3,
data=FALSE
11/26 16:34:11 yS0 key: 'rec_max_len', type=0, flags=3, data=300
11/26 16:34:11 yS0 key: 'rec_min_len', type=0, flags=3, data=0
11/26 16:34:11 yS0 key: 'do_hard_flow', type=3, flags=3, data=TRUE
11/26 16:34:11 yS0 key: 'force_autodetect', type=3, flags=3,
data=FALSE
11/26 16:34:11 yS0 key: 'watchdog_timeout', type=0, flags=3, data=60
11/26 16:34:11 yS0 key: 'receive_gain', type=0, flags=3, data=-1
11/26 16:34:11 yS0 key: 'transmit_gain', type=0, flags=3, data=80
11/26 16:34:11 yS0 key: 'enable_command_echo', type=3, flags=3,
data=TRUE
11/26 16:34:11 yS0 key: 'poll_interval', type=0, flags=3, data=10
11/26 16:34:11 yS0 key: 'rings', type=1, flags=3, data=6
11/26 16:34:11 yS0 key: 'answer_mode', type=1, flags=3, data=fax:data
11/26 16:34:11 yS0 key: 'toll_saver_rings', type=0, flags=3, data=0
11/26 16:34:11 yS0 key: 'rec_always_keep', type=3, flags=3, data=TRUE
11/26 16:34:11 yS0 key: 'voice_dir', type=1, flags=3,
data=/var/spool/voice
11/26 16:34:11 yS0 key: 'phone_owner', type=1, flags=3, data=root
11/26 16:34:11 yS0 key: 'phone_group', type=1, flags=3, data=root
11/26 16:34:11 yS0 key: 'phone_mode', type=0, flags=3, data=436
11/26 16:34:11 yS0 key: 'message_flag_file', type=1, flags=3,
data=.flag
11/26 16:34:11 yS0 key: 'receive_dir', type=1, flags=3, data=incoming
11/26 16:34:11 yS0 key: 'message_dir', type=1, flags=3, data=messages
11/26 16:34:11 yS0 key: 'message_list', type=1, flags=3, data=Index
11/26 16:34:11 yS0 key: 'backup_message', type=1, flags=3,
data=standard.rmd
11/26 16:34:11 yS0 key: 'button_program', type=1, flags=3, data=
11/26 16:34:11 yS0 key: 'call_program', type=1, flags=3, data=
11/26 16:34:11 yS0 key: 'dtmf_program', type=1, flags=3, data=dtmf.sh
11/26 16:34:11 yS0 key: 'message_program', type=1, flags=3, data=
11/26 16:34:11 yS0 key: 'do_message_light', type=3, flags=3,
data=FALSE
11/26 16:34:11 yS0 key: 'beep_frequency', type=0, flags=3, data=999
11/26 16:34:11 yS0 key: 'beep_length', type=0, flags=3, data=1500
11/26 16:34:11 yS0 key: 'max_tries', type=0, flags=3, data=3
11/26 16:34:11 yS0 key: 'retry_delay', type=0, flags=3, data=5
11/26 16:34:11 yS0 key: 'dialout_timeout', type=0, flags=1, data=90
11/26 16:34:11 yS0 key: 'voice_devices', type=1, flags=1, data=
11/26 16:34:11 yS0 vgetty: answer mode was set directly
11/26 16:34:11 yS0 vgetty: answer mode is [data|fax]
11/26 16:34:11 yS0 vgetty: trying data and fax connection
11/26 16:34:11 yS0 vgetty: queued event RESET_WATCHDOG at position
0001
11/26 16:34:11 yS0 voice command: 'AT#CLS=2.0' -> 'OK'
11/26 16:34:11 yS0 vgetty: AT#CLS=2.0
11/26 16:34:11 yS0 vgetty: unqueued event RESET_WATCHDOG at position
0001
11/26 16:34:11 yS0 vgetty: voice_handle_event got event
RESET_WATCHDOG with data <
11/26 16:34:11 yS0 US Robotics: AT#CLS=2.0
11/26 16:34:11 yS0 US Robotics: OK
11/26 16:34:11 yS0 voice command: 'AT+FCLASS=2.0' -> 'OK'
11/26 16:34:11 yS0 vgetty: AT+FCLASS=2.0
11/26 16:34:11 yS0 US Robotics: AT+FCLASS=2.0
11/26 16:34:11 yS0 US Robotics: OK
11/26 16:34:11 yS0 voice command: 'AT+FAA=1' -> 'OK'
11/26 16:34:11 yS0 vgetty: AT+FAA=1
11/26 16:34:11 yS0 US Robotics: AT+FAA=1
11/26 16:34:11 yS0 US Robotics: OK
11/26 16:34:11 yS0 vgetty: Restoring signal handlers
11/26 16:34:11 yS0 vgetty: No signal handlers were installed
11/26 16:34:11 yS0 mdm_send: 'AT+FBO=1'
11/26 16:34:11 yS0 got:[0a]AT+FBO=1[0d]
11/26 16:34:11 yS0 mdm_command: string 'AT+FBO=1'
11/26 16:34:11 yS0 got:[0d][0a]OK[0d]
11/26 16:34:12 yS0 mdm_command: string 'OK' -> OK
11/26 16:34:12 yS0 send: ATA[0d]
11/26 16:34:12 yS0 waiting for ``CONNECT''
11/26 16:34:12 yS0 got: ATA[0d]
11/26 16:34:12 yS0 CND: OKATA[0d][0a]NO CARRIER
11/26 16:35:12 yS0 found action string: ``NO CARRIER''
11/26 16:35:12 ##### failed A_FAIL dev=ttyS0, pid=3035, caller='none',
conn='', name=''
Before I disabled voice answering mode I was able to receive faxes.
Please give me some hope to be able to use my modem ....
Thank you very much.
--
____________________________________
Giovanni Biscuolo
mailto: giovanni.biscuolo@libero.it