Discussion:
Vgetty Help
(too old to reply)
Robert McIntosh
2006-06-30 18:01:50 UTC
Permalink
Hello,

I'm running into problems getting vgetty to function as an answering
machine. I've got a Creative ModemBlaster V.92 Serial DE5621 (Conexant
chipset) on /dev/cuaa1. This is a FreeBSD (5.4), so believe me that
this is the modem device.

I'll call my number and the modem simply does not pick up. Yes, init
has vgetty running.

The modem reports to be a voice modem from minicom, so I know it has
this capability (the box reports this as well).

I believe the crux of the problem is the init script in mgetty.conf,
which is:

ATS0=0Q0&D3&C1

I've also tried changing it to

ATS0=1

The modem picks up on the first ring, but I get either a data or fax
handshake signal from the modem. Doesn't think it's in voice mode. I've
no real skills in putting together an Hayes init string, so any help
would be appreciated.

Here's my relevant configuration and log sample.

Thanks in advance for any pointers,
Robert

#cat /usr/local/etc/mgetty+send/voice.conf (comments removed)


part generic
###
voice_log_level 4
voice_shell_log /var/log/vgetty_voice_shell.%s
voice_dir /var/spool/voice
phone_owner root
phone_group phone
phone_mode 0660
message_flag_file .flag
receive_dir incoming
message_dir messages
message_list Index
backup_message standard.rmd
port_speed 38400
voice_shell /bin/sh
port_timeout 10
dial_timeout 90
command_delay 100
dtmf_len 30
dtmf_threshold 40
dtmf_wait 7
ignore_fax_dle false
raw_data false
rec_compression 0
rec_speed 0
rec_silence_len 70
rec_silence_threshold 40
rec_remove_silence false
rec_max_len 300
rec_min_len 0
do_hard_flow true
beep_frequency 933
beep_length 1500
max_tries 3
retry_delay 5
watchdog_timeout 60
receive_gain -1
transmit_gain -1
enable_command_echo false
poll_interval 10
enable_compression_mapping_querry TRUE
compression_8bit_linear_signed 0
compression_16bit_linear_signed 0
compression_8bit_linear_unsigned 1
compression_8bit_ulaw 4
compression_8bit_alaw 5
compression_2bit_adpcm 140
compression_4bit_adpcm 141
compression_4bit_ima_adpcm 129

program vgetty
###
rings 3
answer_mode voice:fax:data
force_autodetect false
toll_saver_rings 0
rec_always_keep true
button_program
call_program
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15

program vm
###
voice_devices cuaa1
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100

program pvf
###
port cuaa1
rings 3
ring_type ring
answer_mode voice:fax:data
####

Output from the log...
#tail -f /var/log/vgetty.cuaa1
06/26 11:38:52 aa1 waiting...
06/26 11:39:11 aa1 wfr: waiting for ``RING''
06/26 11:39:11 aa1 wfr: waiting for ``RING''
06/26 11:39:17 aa1 wfr: waiting for ``RING''
06/26 11:39:23 aa1 reading ring_type ring configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:04 aa1 vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1 vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1 vgetty: Could not answer the phone. Strange...
--
06/26 11:40:15 aa1 vgetty: experimental test release 0.9.32 / with
duplex patch
06/26 11:40:15 aa1 mgetty: interim release 1.1.34-Nov30
06/26 11:40:15 aa1 reading generic configuration from config file
/usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1 reading program vgetty configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1 reading port cuaa1 configuration from config file
/usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1 check for lockfiles
06/26 11:40:15 aa1 locking the line
06/26 11:40:15 aa1 lowering DTR to reset Modem
06/26 11:40:16 aa1 send: ATS0=0Q0&D3&C1[0d]
06/26 11:40:16 aa1 waiting for ``OK'' ** found **
06/26 11:40:16 aa1 mdm_send: 'ATI'
06/26 11:40:16 aa1 Generic Rockwell modem (56000)
06/26 11:40:16 aa1 mdm_send: 'ATI3'
06/26 11:40:16 aa1 mdm_send: 'ATI4'
06/26 11:40:16 aa1 additional info: 'a007040284C6002F'
06/26 11:40:16 aa1 modem quirks: 0004
06/26 11:40:16 aa1 mdm_send: 'AT+FCLASS=2' -> OK
06/26 11:40:16 aa1 mdm_send: 'AT+FCLASS=0' -> OK
06/26 11:40:16 aa1 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
06/26 11:40:16 aa1 mdm_send: 'AT+FBOR=0' -> OK
06/26 11:40:16 aa1 mdm_send: 'AT+FLID="503.244.7197"' -> OK
06/26 11:40:17 aa1 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK
06/26 11:40:17 aa1 detecting voice modem type
06/26 11:40:18 aa1 Rockwell detected
06/26 11:40:30 aa1 vgetty: timeout while reading character from voice modem
06/26 11:40:30 aa1 initializing ROCKWELL voice modem
06/26 11:40:30 aa1 vgetty: Modem returned ERROR
06/26 11:40:30 aa1 can't set silence period
06/26 11:40:30 aa1 vgetty: Modem returned ERROR
06/26 11:40:30 aa1 can't set transmit gain
06/26 11:40:30 aa1 vgetty: Modem returned ERROR
06/26 11:40:30 aa1 can't set record gain
06/26 11:40:30 aa1 vgetty: Modem returned ERROR
06/26 11:40:31 aa1 can't disable silence deletion
06/26 11:40:31 aa1 vgetty: Modem returned ERROR
06/26 11:40:31 aa1 can't set DLE responses
06/26 11:40:31 aa1 vgetty: Modem returned ERROR
06/26 11:40:31 aa1 can't set silence threshold
06/26 11:40:31 aa1 vgetty: Modem returned ERROR
06/26 11:40:32 aa1 waiting...
--
--
Robert McIntosh
***@gmail.com

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Barry Callahan
2006-06-30 22:25:02 UTC
Permalink
Try setting ForceV253=TRUE
and see if that works.
Post by Robert McIntosh
Hello,
I'm running into problems getting vgetty to function as an answering
machine. I've got a Creative ModemBlaster V.92 Serial DE5621
(Conexant chipset) on /dev/cuaa1. This is a FreeBSD (5.4), so believe
me that this is the modem device.
I'll call my number and the modem simply does not pick up. Yes, init
has vgetty running.
The modem reports to be a voice modem from minicom, so I know it has
this capability (the box reports this as well).
I believe the crux of the problem is the init script in mgetty.conf,
ATS0=0Q0&D3&C1
I've also tried changing it to
ATS0=1
The modem picks up on the first ring, but I get either a data or fax
handshake signal from the modem. Doesn't think it's in voice mode.
I've no real skills in putting together an Hayes init string, so any
help would be appreciated.
Here's my relevant configuration and log sample.
Thanks in advance for any pointers,
Robert
#cat /usr/local/etc/mgetty+send/voice.conf (comments removed)
part generic
###
voice_log_level 4
voice_shell_log /var/log/vgetty_voice_shell.%s
voice_dir /var/spool/voice
phone_owner root
phone_group phone
phone_mode 0660
message_flag_file .flag
receive_dir incoming
message_dir messages
message_list Index
backup_message standard.rmd
port_speed 38400
voice_shell /bin/sh
port_timeout 10
dial_timeout 90
command_delay 100
dtmf_len 30
dtmf_threshold 40
dtmf_wait 7
ignore_fax_dle false
raw_data false
rec_compression 0
rec_speed 0
rec_silence_len 70
rec_silence_threshold 40
rec_remove_silence false
rec_max_len 300
rec_min_len 0
do_hard_flow true
beep_frequency 933
beep_length 1500
max_tries 3
retry_delay 5
watchdog_timeout 60
receive_gain -1
transmit_gain -1
enable_command_echo false
poll_interval 10
enable_compression_mapping_querry TRUE
compression_8bit_linear_signed 0
compression_16bit_linear_signed 0
compression_8bit_linear_unsigned 1
compression_8bit_ulaw 4
compression_8bit_alaw 5
compression_2bit_adpcm 140
compression_4bit_adpcm 141
compression_4bit_ima_adpcm 129
program vgetty
###
rings 3
answer_mode voice:fax:data
force_autodetect false
toll_saver_rings 0
rec_always_keep true
button_program
call_program
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15
program vm
###
voice_devices cuaa1
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100
program pvf
###
port cuaa1
rings 3
ring_type ring
answer_mode voice:fax:data
####
Output from the log...
#tail -f /var/log/vgetty.cuaa1
06/26 11:38:52 aa1 waiting...
06/26 11:39:11 aa1 wfr: waiting for ``RING''
06/26 11:39:11 aa1 wfr: waiting for ``RING''
06/26 11:39:17 aa1 wfr: waiting for ``RING''
06/26 11:39:23 aa1 reading ring_type ring configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:04 aa1 vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1 vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1 vgetty: Could not answer the phone. Strange...
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Robert McIntosh
2006-06-30 23:30:09 UTC
Permalink
That got me one step closer, thank you. The modem now picks up with a
'beep' now, with no greeting. I have the appropriate file type in
/var/spool/voice/messages

ll /var/log/spool/voice/messages

root:phone Index
root:phone standard.rmd

Speaking at the modem after it picks up, I get about 1/2 second of the
message and the rest is static in the rmd file in /var/spool/voice/incoming/

Thanks all!
-Robert

Here's the relevant info from the log:


--
06/30 16:11:45 aa1 vgetty: experimental test release 0.9.32 / with
duplex patch
06/30 16:11:45 aa1 mgetty: interim release 1.1.34-Nov30
06/30 16:11:45 aa1 reading generic configuration from config file
/usr/local/etc/mgetty+sendfax/voice.conf
06/30 16:11:45 aa1 reading program vgetty configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/30 16:11:45 aa1 reading /usr/local/etc/mgetty+sendfax/voice.conf...
06/30 16:11:45 aa1 conf lib: read: 'part generic'
06/30 16:11:45 aa1 found CT_KEYWORD part generic
06/30 16:11:45 aa1 conf lib: read: 'voice_log_level 6'
06/30 16:11:45 aa1 conf lib: read: 'voice_shell_log
/var/log/vgetty_voice_shell.%s'
06/30 16:11:45 aa1 conf lib: read: 'voice_dir /var/spool/voice'
06/30 16:11:45 aa1 conf lib: read: 'phone_owner root'
06/30 16:11:45 aa1 conf lib: read: 'phone_group phone'
06/30 16:11:45 aa1 conf lib: read: 'phone_mode 0660'
06/30 16:11:45 aa1 conf lib: read: 'message_flag_file .flag'
06/30 16:11:45 aa1 conf lib: read: 'receive_dir incoming'
06/30 16:11:45 aa1 conf lib: read: 'message_dir messages'
06/30 16:11:45 aa1 conf lib: read: 'message_list Index'
06/30 16:11:45 aa1 conf lib: read: 'backup_message standard.rmd'
06/30 16:11:45 aa1 conf lib: read: 'port_speed 38400'
06/30 16:11:45 aa1 conf lib: read: 'voice_shell /bin/sh'
06/30 16:11:45 aa1 conf lib: read: 'port_timeout 10'
06/30 16:11:45 aa1 conf lib: read: 'dial_timeout 90'
06/30 16:11:45 aa1 conf lib: read: 'command_delay 100'
06/30 16:11:45 aa1 conf lib: read: 'dtmf_len 30'
06/30 16:11:45 aa1 conf lib: read: 'dtmf_threshold 40'
06/30 16:11:45 aa1 conf lib: read: 'dtmf_wait 7'
06/30 16:11:45 aa1 conf lib: read: 'ignore_fax_dle false'
06/30 16:11:45 aa1 conf lib: read: 'raw_data false'
06/30 16:11:45 aa1 conf lib: read: 'rec_compression 0'
06/30 16:11:45 aa1 conf lib: read: 'rec_speed 0'
06/30 16:11:45 aa1 conf lib: read: 'rec_silence_len 70'
06/30 16:11:45 aa1 conf lib: read: 'rec_silence_threshold 40'
06/30 16:11:45 aa1 conf lib: read: 'rec_remove_silence false'
06/30 16:11:45 aa1 conf lib: read: 'rec_max_len 300'
06/30 16:11:45 aa1 conf lib: read: 'rec_min_len 0'
06/30 16:11:45 aa1 conf lib: read: 'do_hard_flow true'
06/30 16:11:45 aa1 conf lib: read: 'beep_frequency 933'
06/30 16:11:45 aa1 conf lib: read: 'beep_length 1500'
06/30 16:11:45 aa1 conf lib: read: 'max_tries 3'
06/30 16:11:45 aa1 conf lib: read: 'retry_delay 5'
06/30 16:11:45 aa1 conf lib: read: 'watchdog_timeout 60'
06/30 16:11:45 aa1 conf lib: read: 'receive_gain -1'
06/30 16:11:45 aa1 conf lib: read: 'transmit_gain -1'
06/30 16:11:45 aa1 conf lib: read: 'enable_command_echo false'
06/30 16:11:45 aa1 conf lib: read: 'poll_interval 10'
06/30 16:11:45 aa1 conf lib: read: 'forceV253 TRUE'
06/30 16:11:45 aa1 conf lib: read: 'enable_compression_mapping_querry
TRUE'
06/30 16:11:45 aa1 conf lib: read: 'compression_8bit_linear_signed 0'
06/30 16:11:45 aa1 conf lib: read: 'compression_16bit_linear_signed 0'
06/30 16:11:45 aa1 conf lib: read: 'compression_8bit_linear_unsigned 1'
06/30 16:11:45 aa1 conf lib: read: 'compression_8bit_ulaw 4'
06/30 16:11:45 aa1 conf lib: read: 'compression_8bit_alaw 5'
06/30 16:11:45 aa1 conf lib: read: 'compression_2bit_adpcm 140'
06/30 16:11:45 aa1 conf lib: read: 'compression_4bit_adpcm 141'
06/30 16:11:45 aa1 conf lib: read: 'compression_4bit_ima_adpcm 129'
06/30 16:11:45 aa1 conf lib: read: 'program vgetty'
06/30 16:11:45 aa1 section: program vgetty, **found**
06/30 16:11:45 aa1 conf lib: read: 'rings 5'
06/30 16:11:45 aa1 conf lib: read: 'answer_mode voice:fax:data'
06/30 16:11:45 aa1 conf lib: read: 'force_autodetect false'
06/30 16:11:45 aa1 conf lib: read: 'toll_saver_rings 0'
06/30 16:11:45 aa1 conf lib: read: 'rec_always_keep true'
06/30 16:11:45 aa1 conf lib: read: 'button_program '
06/30 16:11:45 aa1 conf lib: read: 'call_program '
06/30 16:11:45 aa1 conf lib: read: 'dtmf_program dtmf.sh'
06/30 16:11:45 aa1 conf lib: read: 'message_program '
06/30 16:11:45 aa1 conf lib: read: 'do_message_light false'
06/30 16:11:45 aa1 conf lib: read: 'ring_report_delay 15'
06/30 16:11:45 aa1 conf lib: read: 'program vm'
06/30 16:11:45 aa1 section: program vm, ignore
06/30 16:11:45 aa1 conf lib: read: 'voice_devices cuaa1'
06/30 16:11:45 aa1 conf lib: read: 'dialout_timeout 90'
06/30 16:11:45 aa1 conf lib: read: 'ringback_goes_away 70'
06/30 16:11:45 aa1 conf lib: read: 'ringback_never_came 100'
06/30 16:11:45 aa1 conf lib: read: 'program pvf'
06/30 16:11:45 aa1 section: program pvf, ignore
06/30 16:11:45 aa1 conf lib: read: 'port cuaa1'
06/30 16:11:45 aa1 conf lib: read: 'ring_type ring'
06/30 16:11:45 aa1 conf lib: read: 'ring_type virtual'
06/30 16:11:45 aa1 conf lib: read: 'port cuaa1'
06/30 16:11:45 aa1 conf lib: read: 'force_detect Digi'
06/30 16:11:45 aa1 key: 'part', type=6, flags=4, data=(ignored)
06/30 16:11:45 aa1 key: 'program', type=6, flags=4, data=(ignored)
06/30 16:11:45 aa1 key: 'port', type=6, flags=4, data=(ignored)
06/30 16:11:45 aa1 key: 'ring_type', type=6, flags=4, data=(ignored)
06/30 16:11:45 aa1 key: 'voice_log_level', type=0, flags=3, data=6
06/30 16:11:45 aa1 key: 'voice_shell_log', type=1, flags=3,
data=/var/log/vgetty_voice_shell.%s
06/30 16:11:45 aa1 key: 'voice_shell', type=1, flags=3, data=/bin/sh
06/30 16:11:45 aa1 key: 'port_speed', type=0, flags=3, data=38400
06/30 16:11:45 aa1 key: 'port_timeout', type=0, flags=3, data=10
06/30 16:11:45 aa1 key: 'dial_timeout', type=0, flags=3, data=90
06/30 16:11:45 aa1 key: 'command_delay', type=0, flags=3, data=100
06/30 16:11:45 aa1 key: 'dtmf_len', type=0, flags=3, data=30
06/30 16:11:45 aa1 key: 'dtmf_threshold', type=0, flags=3, data=40
06/30 16:11:45 aa1 key: 'dtmf_wait', type=0, flags=3, data=7
06/30 16:11:45 aa1 key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
06/30 16:11:45 aa1 key: 'raw_data', type=3, flags=3, data=FALSE
06/30 16:11:45 aa1 key: 'rec_compression', type=0, flags=3, data=0
06/30 16:11:45 aa1 key: 'rec_speed', type=0, flags=3, data=0
06/30 16:11:45 aa1 key: 'rec_silence_len', type=0, flags=3, data=70
06/30 16:11:45 aa1 key: 'rec_silence_threshold', type=0, flags=3, data=40
06/30 16:11:45 aa1 key: 'rec_remove_silence', type=3, flags=3, data=FALSE
06/30 16:11:45 aa1 key: 'rec_max_len', type=0, flags=3, data=300
06/30 16:11:45 aa1 key: 'rec_min_len', type=0, flags=3, data=0
06/30 16:11:45 aa1 key: 'do_hard_flow', type=3, flags=3, data=TRUE
06/30 16:11:45 aa1 key: 'force_autodetect', type=3, flags=3, data=FALSE
06/30 16:11:45 aa1 key: 'watchdog_timeout', type=0, flags=3, data=60
06/30 16:11:45 aa1 key: 'receive_gain', type=0, flags=3, data=-1
06/30 16:11:45 aa1 key: 'transmit_gain', type=0, flags=3, data=-1
06/30 16:11:45 aa1 key: 'enable_command_echo', type=3, flags=3, data=FALSE
06/30 16:11:45 aa1 key: 'poll_interval', type=0, flags=3, data=10
06/30 16:11:45 aa1 key: 'forceV253', type=3, flags=3, data=TRUE
06/30 16:11:45 aa1 key: 'forceV253subset', type=3, flags=1, data=FALSE
06/30 16:11:45 aa1 key: 'enable_compression_mapping_querry', type=3,
flags=3, data=TRUE
06/30 16:11:45 aa1 key: 'compression_8bit_linear_signed', type=0,
flags=3, data=0
06/30 16:11:45 aa1 key: 'compression_16bit_linear_signed', type=0,
flags=3, data=0
06/30 16:11:45 aa1 key: 'compression_8bit_linear_unsigned', type=0,
flags=3, data=1
06/30 16:11:45 aa1 key: 'compression_8bit_ulaw', type=0, flags=3, data=4
06/30 16:11:45 aa1 key: 'compression_8bit_alaw', type=0, flags=3, data=5
06/30 16:11:45 aa1 key: 'compression_2bit_adpcm', type=0, flags=3,
data=140
06/30 16:11:45 aa1 key: 'compression_4bit_adpcm', type=0, flags=3,
data=141
06/30 16:11:45 aa1 key: 'compression_4bit_ima_adpcm', type=0, flags=3,
data=129
06/30 16:11:45 aa1 key: 'rings', type=1, flags=3, data=5
06/30 16:11:45 aa1 key: 'answer_mode', type=1, flags=3,
data=voice:fax:data
06/30 16:11:45 aa1 key: 'toll_saver_rings', type=0, flags=3, data=0
06/30 16:11:45 aa1 key: 'rec_always_keep', type=3, flags=3, data=TRUE
06/30 16:11:45 aa1 key: 'voice_dir', type=1, flags=3,
data=/var/spool/voice
06/30 16:11:46 aa1 key: 'phone_owner', type=1, flags=3, data=root
06/30 16:11:46 aa1 key: 'phone_group', type=1, flags=3, data=phone
06/30 16:11:46 aa1 key: 'phone_mode', type=0, flags=3, data=432
06/30 16:11:46 aa1 key: 'message_flag_file', type=1, flags=3, data=.flag
06/30 16:11:46 aa1 key: 'receive_dir', type=1, flags=3, data=incoming
06/30 16:11:46 aa1 key: 'message_dir', type=1, flags=3, data=messages
06/30 16:11:46 aa1 key: 'message_list', type=1, flags=3, data=Index
06/30 16:11:46 aa1 key: 'backup_message', type=1, flags=3,
data=standard.rmd
06/30 16:11:46 aa1 key: 'button_program', type=1, flags=3, data=
06/30 16:11:46 aa1 key: 'call_program', type=1, flags=3, data=
06/30 16:11:46 aa1 key: 'dtmf_program', type=1, flags=3, data=dtmf.sh
06/30 16:11:46 aa1 key: 'message_program', type=1, flags=3, data=
06/30 16:11:46 aa1 key: 'do_message_light', type=3, flags=3, data=FALSE
06/30 16:11:46 aa1 key: 'pre_message', type=1, flags=1, data=
06/30 16:11:46 aa1 key: 'beepsound', type=1, flags=1, data=
06/30 16:11:46 aa1 key: 'beep_frequency', type=0, flags=3, data=933
06/30 16:11:46 aa1 key: 'beep_length', type=0, flags=3, data=1500
06/30 16:11:46 aa1 key: 'max_tries', type=0, flags=3, data=3
06/30 16:11:46 aa1 key: 'retry_delay', type=0, flags=3, data=5
06/30 16:11:46 aa1 key: 'dialout_timeout', type=0, flags=1, data=90
06/30 16:11:46 aa1 key: 'ringback_goes_away', type=0, flags=1, data=70
06/30 16:11:46 aa1 key: 'ringback_never_came', type=0, flags=1, data=100
06/30 16:11:46 aa1 key: 'ring_report_delay', type=0, flags=3, data=15
06/30 16:11:46 aa1 key: 'voice_devices', type=1, flags=1, data=
06/30 16:11:46 aa1 reading port cuaa1 configuration from config file
/usr/local/etc/mgetty+sendfax/voice.conf
06/30 16:11:46 aa1 reading /usr/local/etc/mgetty+sendfax/voice.conf...
06/30 16:11:46 aa1 conf lib: read: 'part generic'
06/30 16:11:46 aa1 found CT_KEYWORD part generic
06/30 16:11:46 aa1 conf lib: read: 'voice_log_level 6'
06/30 16:11:46 aa1 conf lib: read: 'voice_shell_log
/var/log/vgetty_voice_shell.%s'
06/30 16:11:46 aa1 conf lib: read: 'voice_dir /var/spool/voice'
06/30 16:11:46 aa1 conf lib: read: 'phone_owner root'
06/30 16:11:46 aa1 conf lib: read: 'phone_group phone'
06/30 16:11:46 aa1 conf lib: read: 'phone_mode 0660'
06/30 16:11:46 aa1 conf lib: read: 'message_flag_file .flag'
06/30 16:11:46 aa1 conf lib: read: 'receive_dir incoming'
06/30 16:11:46 aa1 conf lib: read: 'message_dir messages'
06/30 16:11:46 aa1 conf lib: read: 'message_list Index'
06/30 16:11:46 aa1 conf lib: read: 'backup_message standard.rmd'
06/30 16:11:46 aa1 conf lib: read: 'port_speed 38400'
06/30 16:11:46 aa1 conf lib: read: 'voice_shell /bin/sh'
06/30 16:11:46 aa1 conf lib: read: 'port_timeout 10'
06/30 16:11:46 aa1 conf lib: read: 'dial_timeout 90'
06/30 16:11:46 aa1 conf lib: read: 'command_delay 100'
06/30 16:11:46 aa1 conf lib: read: 'dtmf_len 30'
06/30 16:11:46 aa1 conf lib: read: 'dtmf_threshold 40'
06/30 16:11:46 aa1 conf lib: read: 'dtmf_wait 7'
06/30 16:11:46 aa1 conf lib: read: 'ignore_fax_dle false'
06/30 16:11:46 aa1 conf lib: read: 'raw_data false'
06/30 16:11:46 aa1 conf lib: read: 'rec_compression 0'
06/30 16:11:46 aa1 conf lib: read: 'rec_speed 0'
06/30 16:11:46 aa1 conf lib: read: 'rec_silence_len 70'
06/30 16:11:46 aa1 conf lib: read: 'rec_silence_threshold 40'
06/30 16:11:46 aa1 conf lib: read: 'rec_remove_silence false'
06/30 16:11:46 aa1 conf lib: read: 'rec_max_len 300'
06/30 16:11:46 aa1 conf lib: read: 'rec_min_len 0'
06/30 16:11:46 aa1 conf lib: read: 'do_hard_flow true'
06/30 16:11:46 aa1 conf lib: read: 'beep_frequency 933'
06/30 16:11:46 aa1 conf lib: read: 'beep_length 1500'
06/30 16:11:46 aa1 conf lib: read: 'max_tries 3'
06/30 16:11:46 aa1 conf lib: read: 'retry_delay 5'
06/30 16:11:46 aa1 conf lib: read: 'watchdog_timeout 60'
06/30 16:11:46 aa1 conf lib: read: 'receive_gain -1'
06/30 16:11:46 aa1 conf lib: read: 'transmit_gain -1'
06/30 16:11:46 aa1 conf lib: read: 'enable_command_echo false'
06/30 16:11:46 aa1 conf lib: read: 'poll_interval 10'
06/30 16:11:46 aa1 conf lib: read: 'forceV253 TRUE'
06/30 16:11:46 aa1 conf lib: read: 'enable_compression_mapping_querry
TRUE'
06/30 16:11:46 aa1 conf lib: read: 'compression_8bit_linear_signed 0'
06/30 16:11:46 aa1 conf lib: read: 'compression_16bit_linear_signed 0'
06/30 16:11:46 aa1 conf lib: read: 'compression_8bit_linear_unsigned 1'
06/30 16:11:46 aa1 conf lib: read: 'compression_8bit_ulaw 4'
06/30 16:11:46 aa1 conf lib: read: 'compression_8bit_alaw 5'
06/30 16:11:46 aa1 conf lib: read: 'compression_2bit_adpcm 140'
06/30 16:11:46 aa1 conf lib: read: 'compression_4bit_adpcm 141'
06/30 16:11:46 aa1 conf lib: read: 'compression_4bit_ima_adpcm 129'
06/30 16:11:46 aa1 conf lib: read: 'program vgetty'
06/30 16:11:46 aa1 conf lib: read: 'rings 5'
06/30 16:11:46 aa1 conf lib: read: 'answer_mode voice:fax:data'
06/30 16:11:46 aa1 conf lib: read: 'force_autodetect false'
06/30 16:11:46 aa1 conf lib: read: 'toll_saver_rings 0'
06/30 16:11:46 aa1 conf lib: read: 'rec_always_keep true'
06/30 16:11:46 aa1 conf lib: read: 'button_program '
06/30 16:11:46 aa1 conf lib: read: 'call_program '
06/30 16:11:46 aa1 conf lib: read: 'dtmf_program dtmf.sh'
06/30 16:11:46 aa1 conf lib: read: 'message_program '
06/30 16:11:46 aa1 conf lib: read: 'do_message_light false'
06/30 16:11:46 aa1 conf lib: read: 'ring_report_delay 15'
06/30 16:11:46 aa1 conf lib: read: 'program vm'
06/30 16:11:46 aa1 conf lib: read: 'voice_devices cuaa1'
06/30 16:11:46 aa1 conf lib: read: 'dialout_timeout 90'
06/30 16:11:46 aa1 conf lib: read: 'ringback_goes_away 70'
06/30 16:11:46 aa1 conf lib: read: 'ringback_never_came 100'
06/30 16:11:46 aa1 conf lib: read: 'program pvf'
06/30 16:11:46 aa1 conf lib: read: 'port cuaa1'
06/30 16:11:46 aa1 section: port cuaa1, **found**
06/30 16:11:46 aa1 conf lib: read: 'ring_type ring'
06/30 16:11:46 aa1 found CT_KEYWORD ring_type ring
06/30 16:11:46 aa1 conf lib: read: 'ring_type virtual'
06/30 16:11:46 aa1 conf lib: read: 'port cuaa1'
06/30 16:11:46 aa1 section: port cuaa1, **found**
06/30 16:11:46 aa1 conf lib: read: 'force_detect Digi'
06/30 16:11:46 aa1 something foul in config line: 'force_detect Digi'
06/30 16:11:46 aa1 (keyword 'force_detect' not found)
06/30 16:11:46 aa1 key: 'part', type=6, flags=4, data=(ignored)
06/30 16:11:46 aa1 key: 'program', type=6, flags=4, data=(ignored)
06/30 16:11:46 aa1 key: 'port', type=6, flags=4, data=(ignored)
06/30 16:11:46 aa1 key: 'ring_type', type=6, flags=4, data=(ignored)
06/30 16:11:46 aa1 key: 'voice_log_level', type=0, flags=3, data=6
06/30 16:11:46 aa1 key: 'voice_shell_log', type=1, flags=3,
data=/var/log/vgetty_voice_shell.%s
06/30 16:11:46 aa1 key: 'voice_shell', type=1, flags=3, data=/bin/sh
06/30 16:11:46 aa1 key: 'port_speed', type=0, flags=3, data=38400
06/30 16:11:46 aa1 key: 'port_timeout', type=0, flags=3, data=10
06/30 16:11:46 aa1 key: 'dial_timeout', type=0, flags=3, data=90
06/30 16:11:46 aa1 key: 'command_delay', type=0, flags=3, data=100
06/30 16:11:46 aa1 key: 'dtmf_len', type=0, flags=3, data=30
06/30 16:11:46 aa1 key: 'dtmf_threshold', type=0, flags=3, data=40
06/30 16:11:46 aa1 key: 'dtmf_wait', type=0, flags=3, data=7
06/30 16:11:46 aa1 key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
06/30 16:11:46 aa1 key: 'raw_data', type=3, flags=3, data=FALSE
06/30 16:11:46 aa1 key: 'rec_compression', type=0, flags=3, data=0
06/30 16:11:46 aa1 key: 'rec_speed', type=0, flags=3, data=0
06/30 16:11:46 aa1 key: 'rec_silence_len', type=0, flags=3, data=70
06/30 16:11:46 aa1 key: 'rec_silence_threshold', type=0, flags=3, data=40
06/30 16:11:46 aa1 key: 'rec_remove_silence', type=3, flags=3, data=FALSE
06/30 16:11:46 aa1 key: 'rec_max_len', type=0, flags=3, data=300
06/30 16:11:46 aa1 key: 'rec_min_len', type=0, flags=3, data=0
06/30 16:11:46 aa1 key: 'do_hard_flow', type=3, flags=3, data=TRUE
06/30 16:11:46 aa1 key: 'force_autodetect', type=3, flags=3, data=FALSE
06/30 16:11:46 aa1 key: 'watchdog_timeout', type=0, flags=3, data=60
06/30 16:11:46 aa1 key: 'receive_gain', type=0, flags=3, data=-1
06/30 16:11:46 aa1 key: 'transmit_gain', type=0, flags=3, data=-1
06/30 16:11:46 aa1 key: 'enable_command_echo', type=3, flags=3, data=FALSE
06/30 16:11:46 aa1 key: 'poll_interval', type=0, flags=3, data=10
06/30 16:11:46 aa1 key: 'forceV253', type=3, flags=3, data=TRUE
06/30 16:11:46 aa1 key: 'forceV253subset', type=3, flags=1, data=FALSE
06/30 16:11:46 aa1 key: 'enable_compression_mapping_querry', type=3,
flags=3, data=TRUE
06/30 16:11:46 aa1 key: 'compression_8bit_linear_signed', type=0,
flags=3, data=0
06/30 16:11:46 aa1 key: 'compression_16bit_linear_signed', type=0,
flags=3, data=0
06/30 16:11:46 aa1 key: 'compression_8bit_linear_unsigned', type=0,
flags=3, data=1
06/30 16:11:46 aa1 key: 'compression_8bit_ulaw', type=0, flags=3, data=4
06/30 16:11:46 aa1 key: 'compression_8bit_alaw', type=0, flags=3, data=5
06/30 16:11:46 aa1 key: 'compression_2bit_adpcm', type=0, flags=3,
data=140
06/30 16:11:46 aa1 key: 'compression_4bit_adpcm', type=0, flags=3,
data=141
06/30 16:11:46 aa1 key: 'compression_4bit_ima_adpcm', type=0, flags=3,
data=129
06/30 16:11:46 aa1 key: 'rings', type=1, flags=3, data=5
06/30 16:11:46 aa1 key: 'answer_mode', type=1, flags=3,
data=voice:fax:data
06/30 16:11:46 aa1 key: 'toll_saver_rings', type=0, flags=3, data=0
06/30 16:11:46 aa1 key: 'rec_always_keep', type=3, flags=3, data=TRUE
06/30 16:11:46 aa1 key: 'voice_dir', type=1, flags=3,
data=/var/spool/voice
06/30 16:11:46 aa1 key: 'phone_owner', type=1, flags=3, data=root
06/30 16:11:46 aa1 key: 'phone_group', type=1, flags=3, data=phone
06/30 16:11:46 aa1 key: 'phone_mode', type=0, flags=3, data=432
06/30 16:11:46 aa1 key: 'message_flag_file', type=1, flags=3, data=.flag
06/30 16:11:46 aa1 key: 'receive_dir', type=1, flags=3, data=incoming
06/30 16:11:46 aa1 key: 'message_dir', type=1, flags=3, data=messages
06/30 16:11:46 aa1 key: 'message_list', type=1, flags=3, data=Index
06/30 16:11:46 aa1 key: 'backup_message', type=1, flags=3,
data=standard.rmd
06/30 16:11:46 aa1 key: 'button_program', type=1, flags=3, data=
06/30 16:11:46 aa1 key: 'call_program', type=1, flags=3, data=
06/30 16:11:46 aa1 key: 'dtmf_program', type=1, flags=3, data=dtmf.sh
06/30 16:11:46 aa1 key: 'message_program', type=1, flags=3, data=
06/30 16:11:46 aa1 key: 'do_message_light', type=3, flags=3, data=FALSE
06/30 16:11:46 aa1 key: 'pre_message', type=1, flags=1, data=
06/30 16:11:46 aa1 key: 'beepsound', type=1, flags=1, data=
06/30 16:11:46 aa1 key: 'beep_frequency', type=0, flags=3, data=933
06/30 16:11:46 aa1 key: 'beep_length', type=0, flags=3, data=1500
06/30 16:11:46 aa1 key: 'max_tries', type=0, flags=3, data=3
06/30 16:11:46 aa1 key: 'retry_delay', type=0, flags=3, data=5
06/30 16:11:46 aa1 key: 'dialout_timeout', type=0, flags=1, data=90
06/30 16:11:46 aa1 key: 'ringback_goes_away', type=0, flags=1, data=70
06/30 16:11:46 aa1 key: 'ringback_never_came', type=0, flags=1, data=100
06/30 16:11:46 aa1 key: 'ring_report_delay', type=0, flags=3, data=15
06/30 16:11:46 aa1 key: 'voice_devices', type=1, flags=1, data=
06/30 16:11:46 aa1 check for lockfiles
06/30 16:11:46 aa1 checklock: stat failed, no file
06/30 16:11:46 aa1 locking the line
06/30 16:11:46 aa1 makelock(cuaa1) called
06/30 16:11:46 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1'
06/30 16:11:46 aa1 lock made
06/30 16:11:46 aa1 tio_get_rs232_lines: status: RTS CTS DSR DTR
06/30 16:11:46 aa1 lowering DTR to reset Modem
06/30 16:11:47 aa1 tss: set speed to 38400 (113000)
06/30 16:11:47 aa1 tio_set_flow_control( HARD )
06/30 16:11:47 aa1 waiting for line to clear (VTIME=1), read:
06/30 16:11:47 aa1 send: ATS0=0Q0&D3&C1[0d]
06/30 16:11:47 aa1 waiting for ``OK''
06/30 16:11:47 aa1 got: ATS0=0Q0&D3&C1[0d]
06/30 16:11:47 aa1 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
06/30 16:11:47 aa1 mdm_send: 'ATI'
06/30 16:11:47 aa1 got:[0d][0a]ATI[0d]
06/30 16:11:47 aa1 got:[0d][0a]56000[0d]
06/30 16:11:47 aa1 mdm_gis: string 1: '56000'
06/30 16:11:47 aa1 got:[0a][0d][0a]OK[0d]
06/30 16:11:47 aa1 mdm_identify: string '56000'
06/30 16:11:47 aa1 Generic Rockwell modem (56000)
06/30 16:11:47 aa1 mdm_send: 'ATI3'
06/30 16:11:47 aa1 got:[0a]ATI3[0d]
06/30 16:11:47 aa1 got:[0d][0a]ACF3_V1.088-V90_P21_FSH[0d]
06/30 16:11:47 aa1 mdm_gis: string 1: 'ACF3_V1.088-V90_P21_FSH'
06/30 16:11:47 aa1 got:[0a][0d][0a]OK[0d]
06/30 16:11:47 aa1 mdm_send: 'ATI4'
06/30 16:11:47 aa1 got:[0a]ATI4[0d]
06/30 16:11:47 aa1 got:[0d][0a]a007040284C6002F[0d]
06/30 16:11:47 aa1 mdm_gis: string 1: 'a007040284C6002F'
06/30 16:11:47 aa1 got:[0a][0d][0a]bC60000000[0d]
06/30 16:11:47 aa1 mdm_gis: string 2: 'bC60000000'
06/30 16:11:47 aa1 got:[0a][0d][0a]r1005111151012000[0d]
06/30 16:11:47 aa1 mdm_gis: string 3: 'r1005111151012000'
06/30 16:11:47 aa1 got:[0a][0d][0a]r3000111170000000[0d]
06/30 16:11:47 aa1 mdm_gis: string 4: 'r3000111170000000'
06/30 16:11:47 aa1 got:[0a][0d][0a]OK[0d]
06/30 16:11:47 aa1 additional info: 'a007040284C6002F'
06/30 16:11:47 aa1 modem quirks: 0004
06/30 16:11:47 aa1 mdm_send: 'AT+FCLASS=2'
06/30 16:11:47 aa1 got:[0a]AT+FCLASS=2[0d]
06/30 16:11:47 aa1 mdm_command: string 'AT+FCLASS=2'
06/30 16:11:47 aa1 got:[0d][0a]OK[0d]
06/30 16:11:47 aa1 mdm_command: string 'OK' -> OK
06/30 16:11:47 aa1 mdm_send: 'AT+FCLASS=0'
06/30 16:11:47 aa1 got:[0a]AT+FCLASS=0[0d]
06/30 16:11:47 aa1 mdm_command: string 'AT+FCLASS=0'
06/30 16:11:47 aa1 got:[0d][0a]OK[0d]
06/30 16:11:47 aa1 mdm_command: string 'OK' -> OK
06/30 16:11:47 aa1 mdm_send: 'AT+FAA=1;+FCR=1'
06/30 16:11:47 aa1 got:[0a]AT+FAA=1;+FCR=1[0d]
06/30 16:11:47 aa1 mdm_command: string 'AT+FAA=1;+FCR=1'
06/30 16:11:47 aa1 got:[0d][0a]OK[0d]
06/30 16:11:47 aa1 mdm_command: string 'OK' -> OK
06/30 16:11:48 aa1 mdm_send: 'AT+FBOR=0'
06/30 16:11:48 aa1 got:[0a]AT+FBOR=0[0d]
06/30 16:11:48 aa1 mdm_command: string 'AT+FBOR=0'
06/30 16:11:48 aa1 got:[0d][0a]OK[0d]
06/30 16:11:48 aa1 mdm_command: string 'OK' -> OK
06/30 16:11:48 aa1 mdm_send: 'AT+FLID="503.244.7197"'
06/30 16:11:48 aa1 got:[0a]AT+FLID="503.244.7197"[0d]
06/30 16:11:48 aa1 mdm_command: string 'AT+FLID="503.244.7197"'
06/30 16:11:48 aa1 got:[0d][0a]OK[0d]
06/30 16:11:48 aa1 mdm_command: string 'OK' -> OK
06/30 16:11:48 aa1 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
06/30 16:11:48 aa1 got:[0a]AT+FDCC=1,5,0,2,0,0,0,0[0d]
06/30 16:11:48 aa1 mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
06/30 16:11:48 aa1 got:[0d][0a]OK[0d]
06/30 16:11:48 aa1 mdm_command: string 'OK' -> OK
06/30 16:11:48 aa1 tss: set speed to 38400 (113000)
06/30 16:11:48 aa1 tss: set speed to 38400 (113000)
06/30 16:11:48 aa1 tio_set_flow_control( HARD )
06/30 16:11:48 aa1 detecting voice modem type
06/30 16:11:48 aa1 vgetty: ATE0
06/30 16:11:48 aa1 serial port: ATE0
06/30 16:11:48 aa1 serial port: OK
06/30 16:11:48 aa1 voice command: 'ATI9' -> ''
06/30 16:11:49 aa1 vgetty: ATI9
06/30 16:11:49 aa1 serial port: ERROR
06/30 16:11:49 aa1 V253 forced
06/30 16:11:49 aa1 V253 modem detected
06/30 16:11:49 aa1 voice modem type was set by ATI9 partial match
06/30 16:11:49 aa1 vgetty: entering voice mode
06/30 16:11:49 aa1 vgetty: Installing signal handlers
06/30 16:11:49 aa1 voice command: 'AT+FCLASS?' -> ''
06/30 16:11:49 aa1 vgetty: AT+FCLASS?
06/30 16:11:49 aa1 V253 modem: 0
06/30 16:11:49 aa1 voice command: '' -> 'OK'
06/30 16:11:49 aa1 V253 modem: OK
06/30 16:11:49 aa1 voice command: 'AT+FCLASS=8' -> 'OK'
06/30 16:11:49 aa1 vgetty: AT+FCLASS=8
06/30 16:11:49 aa1 V253 modem: OK
06/30 16:11:49 aa1 voice command: 'AT' -> 'OK'
06/30 16:11:49 aa1 vgetty: AT
06/30 16:11:49 aa1 V253 modem: OK
06/30 16:11:49 aa1 vgetty: queued event RESET_WATCHDOG at position 0000
06/30 16:11:49 aa1 initializing V253 voice modem
06/30 16:11:49 aa1 voice command: 'AT+FCLASS=8' -> 'OK'
06/30 16:11:49 aa1 vgetty: AT+FCLASS=8
06/30 16:11:49 aa1 vgetty: unqueued event RESET_WATCHDOG at position 0000
06/30 16:11:49 aa1 vgetty: voice_handle_event got event
RESET_WATCHDOG with data <NUL>
06/30 16:11:49 aa1 V253 modem: OK
06/30 16:11:49 aa1 voice command: 'AT+VSM=?' -> ''
06/30 16:11:49 aa1 vgetty: AT+VSM=?
06/30 16:11:49 aa1 V253 modem: 1,"UNSIGNED PCM",8,0,8000,0,0
06/30 16:11:49 aa1 Mapped default (8 bit linear), 0 -> 1
06/30 16:11:49 aa1 Mapped unsigned PCM, 1 -> 1
06/30 16:11:49 aa1 Mapped 8 bit linear, 8 -> 1
06/30 16:11:49 aa1 V253 modem: 129,"IMA ADPCM",4,0,8000,0,0
06/30 16:11:49 aa1 Mapped 4 bit IMA ADPCM, 5 -> 129
06/30 16:11:49 aa1 V253 modem: 130,"UNSIGNED PCM",8,0,8000,0,0
06/30 16:11:49 aa1 Mapped default (8 bit linear), 0 -> 130
06/30 16:11:49 aa1 Mapped unsigned PCM, 1 -> 130
06/30 16:11:49 aa1 Mapped 8 bit linear, 8 -> 130
06/30 16:11:49 aa1 V253 modem: 140,"2 Bit ADPCM",2,0,8000,0,0
06/30 16:11:49 aa1 Unknown: 140,"2 Bit ADPCM",2,0,8000,0,0
06/30 16:11:49 aa1 V253 modem: 141,"4 Bit ADPCM",4,0,8000,0,0
06/30 16:11:49 aa1 Unknown: 141,"4 Bit ADPCM",4,0,8000,0,0
06/30 16:11:49 aa1 V253 modem: OK
06/30 16:11:49 aa1 Unknown: OK
06/30 16:11:49 aa1 voice command: 'AT+VSD=40,70' -> 'OK'
06/30 16:11:50 aa1 vgetty: AT+VSD=40,70
06/30 16:11:50 aa1 V253 modem: ERROR
06/30 16:11:50 aa1 vgetty: Modem returned ERROR
06/30 16:11:50 aa1 can't set silence threshold VSD
06/30 16:11:50 aa1 voice command: 'AT+VGT=127' -> 'OK'
06/30 16:11:50 aa1 vgetty: AT+VGT=127
06/30 16:11:50 aa1 V253 modem: OK
06/30 16:11:50 aa1 voice command: 'AT+VGR=127' -> 'OK'
06/30 16:11:50 aa1 vgetty: AT+VGR=127
06/30 16:11:50 aa1 V253 modem: OK
06/30 16:11:50 aa1 voice command: 'AT+VRA=70;+VRN=10' -> 'OK'
06/30 16:11:50 aa1 vgetty: AT+VRA=70;+VRN=10
06/30 16:11:50 aa1 V253 modem: OK
06/30 16:11:50 aa1 voice command: 'AT+IFC=2,2' -> 'OK'
06/30 16:11:50 aa1 vgetty: AT+IFC=2,2
06/30 16:11:50 aa1 V253 modem: OK
06/30 16:11:50 aa1 tio_set_flow_control( HARD )
06/30 16:11:50 aa1 voice command: 'AT+VCID=1' -> 'OK'
06/30 16:11:50 aa1 vgetty: AT+VCID=1
06/30 16:11:50 aa1 V253 modem: OK
06/30 16:11:50 aa1 voice command: 'AT+VNH=0' -> 'OK'
06/30 16:11:51 aa1 vgetty: AT+VNH=0
06/30 16:11:51 aa1 V253 modem: OK
06/30 16:11:51 aa1 voice command: 'AT+VIT=0' -> 'OK'
06/30 16:11:51 aa1 vgetty: AT+VIT=0
06/30 16:11:51 aa1 V253 modem: OK
06/30 16:11:51 aa1 voice command: 'AT+VDR=1,15' -> 'OK'
06/30 16:11:51 aa1 vgetty: AT+VDR=1,15
06/30 16:11:51 aa1 V253 modem: ERROR
06/30 16:11:51 aa1 vgetty: Modem returned ERROR
06/30 16:11:51 aa1 vgetty: leaving voice mode
06/30 16:11:51 aa1 voice command: 'AT+FCLASS=0' -> 'OK'
06/30 16:11:51 aa1 vgetty: AT+FCLASS=0
06/30 16:11:51 aa1 V253 modem: OK
06/30 16:11:52 aa1 voice command: 'AT' -> 'OK'
06/30 16:11:52 aa1 vgetty: AT
06/30 16:11:52 aa1 V253 modem: OK
06/30 16:11:52 aa1 vgetty: Restoring signal handlers
06/30 16:11:52 aa1 waiting for line to clear (VTIME=3), read:
06/30 16:11:52 aa1 removing lock file
06/30 16:11:52 aa1 waiting...
06/30 16:13:00 aa1 select returned 1
06/30 16:13:00 aa1 checking lockfiles, locking the line
06/30 16:13:00 aa1 makelock(cuaa1) called
06/30 16:13:00 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1'
06/30 16:13:00 aa1 lock made
06/30 16:13:00 aa1 vgetty: number of rings (5) was set directly
06/30 16:13:00 aa1 vgetty: decremented number of rings (5) by 0
06/30 16:13:00 aa1 wfr: waiting for ``RING''
06/30 16:13:00 aa1 got: [0a][0d][0a]RING[0d]
06/30 16:13:00 aa1 CND: RING
06/30 16:13:00 aa1 wfr: rc=0, drn=0
06/30 16:13:00 aa1 wfr: waiting for ``RING''
06/30 16:13:00 aa1 got: [0a][0d][0a]RING[0d]
06/30 16:13:05 aa1 CND: RING
06/30 16:13:05 aa1 wfr: rc=0, drn=0
06/30 16:13:05 aa1 wfr: waiting for ``RING''
06/30 16:13:05 aa1 got: [0a][0d][0a]RING[0d]
06/30 16:13:12 aa1 CND: RING
06/30 16:13:12 aa1 wfr: rc=0, drn=0
06/30 16:13:12 aa1 wfr: waiting for ``RING''
06/30 16:13:12 aa1 got: [0a][0d][0a]RING[0d]
06/30 16:13:18 aa1 CND: RING
06/30 16:13:18 aa1 wfr: rc=0, drn=0
06/30 16:13:18 aa1 wfr: waiting for ``RING''
06/30 16:13:18 aa1 got: [0a][0d][0a]RING[0d]
06/30 16:13:24 aa1 CND: RING
06/30 16:13:24 aa1 wfr: rc=0, drn=0
06/30 16:13:24 aa1 CND: check no: 'none'
06/30 16:13:24 aa1 setenv: 'CALLER_ID=none'
06/30 16:13:24 aa1 setenv: 'CONNECT='
06/30 16:13:24 aa1 setenv: 'DEVICE=cuaa1'
06/30 16:13:24 aa1 reading ring_type ring configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/30 16:13:24 aa1 reading /usr/local/etc/mgetty+sendfax/voice.conf...
06/30 16:13:24 aa1 conf lib: read: 'part generic'
06/30 16:13:24 aa1 found CT_KEYWORD part generic
06/30 16:13:24 aa1 conf lib: read: 'voice_log_level 6'
06/30 16:13:24 aa1 conf lib: read: 'voice_shell_log
/var/log/vgetty_voice_shell.%s'
06/30 16:13:24 aa1 conf lib: read: 'voice_dir /var/spool/voice'
06/30 16:13:24 aa1 conf lib: read: 'phone_owner root'
06/30 16:13:24 aa1 conf lib: read: 'phone_group phone'
06/30 16:13:24 aa1 conf lib: read: 'phone_mode 0660'
06/30 16:13:24 aa1 conf lib: read: 'message_flag_file .flag'
06/30 16:13:24 aa1 conf lib: read: 'receive_dir incoming'
06/30 16:13:24 aa1 conf lib: read: 'message_dir messages'
06/30 16:13:24 aa1 conf lib: read: 'message_list Index'
06/30 16:13:24 aa1 conf lib: read: 'backup_message standard.rmd'
06/30 16:13:24 aa1 conf lib: read: 'port_speed 38400'
06/30 16:13:24 aa1 conf lib: read: 'voice_shell /bin/sh'
06/30 16:13:24 aa1 conf lib: read: 'port_timeout 10'
06/30 16:13:24 aa1 conf lib: read: 'dial_timeout 90'
06/30 16:13:24 aa1 conf lib: read: 'command_delay 100'
06/30 16:13:24 aa1 conf lib: read: 'dtmf_len 30'
06/30 16:13:24 aa1 conf lib: read: 'dtmf_threshold 40'
06/30 16:13:24 aa1 conf lib: read: 'dtmf_wait 7'
06/30 16:13:24 aa1 conf lib: read: 'ignore_fax_dle false'
06/30 16:13:24 aa1 conf lib: read: 'raw_data false'
06/30 16:13:24 aa1 conf lib: read: 'rec_compression 0'
06/30 16:13:24 aa1 conf lib: read: 'rec_speed 0'
06/30 16:13:24 aa1 conf lib: read: 'rec_silence_len 70'
06/30 16:13:24 aa1 conf lib: read: 'rec_silence_threshold 40'
06/30 16:13:24 aa1 conf lib: read: 'rec_remove_silence false'
06/30 16:13:24 aa1 conf lib: read: 'rec_max_len 300'
06/30 16:13:24 aa1 conf lib: read: 'rec_min_len 0'
06/30 16:13:24 aa1 conf lib: read: 'do_hard_flow true'
06/30 16:13:24 aa1 conf lib: read: 'beep_frequency 933'
06/30 16:13:24 aa1 conf lib: read: 'beep_length 1500'
06/30 16:13:24 aa1 conf lib: read: 'max_tries 3'
06/30 16:13:24 aa1 conf lib: read: 'retry_delay 5'
06/30 16:13:24 aa1 conf lib: read: 'watchdog_timeout 60'
06/30 16:13:24 aa1 conf lib: read: 'receive_gain -1'
06/30 16:13:24 aa1 conf lib: read: 'transmit_gain -1'
06/30 16:13:24 aa1 conf lib: read: 'enable_command_echo false'
06/30 16:13:24 aa1 conf lib: read: 'poll_interval 10'
06/30 16:13:24 aa1 conf lib: read: 'forceV253 TRUE'
06/30 16:13:24 aa1 conf lib: read: 'enable_compression_mapping_querry
TRUE'
06/30 16:13:24 aa1 conf lib: read: 'compression_8bit_linear_signed 0'
06/30 16:13:24 aa1 conf lib: read: 'compression_16bit_linear_signed 0'
06/30 16:13:24 aa1 conf lib: read: 'compression_8bit_linear_unsigned 1'
06/30 16:13:24 aa1 conf lib: read: 'compression_8bit_ulaw 4'
06/30 16:13:24 aa1 conf lib: read: 'compression_8bit_alaw 5'
06/30 16:13:24 aa1 conf lib: read: 'compression_2bit_adpcm 140'
06/30 16:13:24 aa1 conf lib: read: 'compression_4bit_adpcm 141'
06/30 16:13:24 aa1 conf lib: read: 'compression_4bit_ima_adpcm 129'
06/30 16:13:24 aa1 conf lib: read: 'program vgetty'
06/30 16:13:24 aa1 conf lib: read: 'rings 5'
06/30 16:13:24 aa1 conf lib: read: 'answer_mode voice:fax:data'
06/30 16:13:24 aa1 conf lib: read: 'force_autodetect false'
06/30 16:13:24 aa1 conf lib: read: 'toll_saver_rings 0'
06/30 16:13:24 aa1 conf lib: read: 'rec_always_keep true'
06/30 16:13:24 aa1 conf lib: read: 'button_program '
06/30 16:13:24 aa1 conf lib: read: 'call_program '
06/30 16:13:24 aa1 conf lib: read: 'dtmf_program dtmf.sh'
06/30 16:13:24 aa1 conf lib: read: 'message_program '
06/30 16:13:24 aa1 conf lib: read: 'do_message_light false'
06/30 16:13:24 aa1 conf lib: read: 'ring_report_delay 15'
06/30 16:13:24 aa1 conf lib: read: 'program vm'
06/30 16:13:24 aa1 conf lib: read: 'voice_devices cuaa1'
06/30 16:13:24 aa1 conf lib: read: 'dialout_timeout 90'
06/30 16:13:24 aa1 conf lib: read: 'ringback_goes_away 70'
06/30 16:13:24 aa1 conf lib: read: 'ringback_never_came 100'
06/30 16:13:24 aa1 conf lib: read: 'program pvf'
06/30 16:13:24 aa1 conf lib: read: 'port cuaa1'
06/30 16:13:24 aa1 conf lib: read: 'ring_type ring'
06/30 16:13:24 aa1 section: ring_type ring, **found**
06/30 16:13:24 aa1 conf lib: read: 'ring_type virtual'
06/30 16:13:24 aa1 section: ring_type virtual, ignore
06/30 16:13:24 aa1 conf lib: read: 'port cuaa1'
06/30 16:13:24 aa1 conf lib: read: 'force_detect Digi'
06/30 16:13:24 aa1 key: 'part', type=6, flags=4, data=(ignored)
06/30 16:13:24 aa1 key: 'program', type=6, flags=4, data=(ignored)
06/30 16:13:24 aa1 key: 'port', type=6, flags=4, data=(ignored)
06/30 16:13:24 aa1 key: 'ring_type', type=6, flags=4, data=(ignored)
06/30 16:13:24 aa1 key: 'voice_log_level', type=0, flags=3, data=6
06/30 16:13:24 aa1 key: 'voice_shell_log', type=1, flags=3,
data=/var/log/vgetty_voice_shell.%s
06/30 16:13:24 aa1 key: 'voice_shell', type=1, flags=3, data=/bin/sh
06/30 16:13:24 aa1 key: 'port_speed', type=0, flags=3, data=38400
06/30 16:13:24 aa1 key: 'port_timeout', type=0, flags=3, data=10
06/30 16:13:24 aa1 key: 'dial_timeout', type=0, flags=3, data=90
06/30 16:13:24 aa1 key: 'command_delay', type=0, flags=3, data=100
06/30 16:13:24 aa1 key: 'dtmf_len', type=0, flags=3, data=30
06/30 16:13:24 aa1 key: 'dtmf_threshold', type=0, flags=3, data=40
06/30 16:13:24 aa1 key: 'dtmf_wait', type=0, flags=3, data=7
06/30 16:13:24 aa1 key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
06/30 16:13:24 aa1 key: 'raw_data', type=3, flags=3, data=FALSE
06/30 16:13:24 aa1 key: 'rec_compression', type=0, flags=3, data=0
06/30 16:13:24 aa1 key: 'rec_speed', type=0, flags=3, data=0
06/30 16:13:24 aa1 key: 'rec_silence_len', type=0, flags=3, data=70
06/30 16:13:24 aa1 key: 'rec_silence_threshold', type=0, flags=3, data=40
06/30 16:13:24 aa1 key: 'rec_remove_silence', type=3, flags=3, data=FALSE
06/30 16:13:24 aa1 key: 'rec_max_len', type=0, flags=3, data=300
06/30 16:13:24 aa1 key: 'rec_min_len', type=0, flags=3, data=0
06/30 16:13:24 aa1 key: 'do_hard_flow', type=3, flags=3, data=TRUE
06/30 16:13:24 aa1 key: 'force_autodetect', type=3, flags=3, data=FALSE
06/30 16:13:24 aa1 key: 'watchdog_timeout', type=0, flags=3, data=60
06/30 16:13:24 aa1 key: 'receive_gain', type=0, flags=3, data=50
06/30 16:13:24 aa1 key: 'transmit_gain', type=0, flags=3, data=50
06/30 16:13:24 aa1 key: 'enable_command_echo', type=3, flags=3, data=FALSE
06/30 16:13:24 aa1 key: 'poll_interval', type=0, flags=3, data=10
06/30 16:13:24 aa1 key: 'forceV253', type=3, flags=3, data=TRUE
06/30 16:13:24 aa1 key: 'forceV253subset', type=3, flags=1, data=FALSE
06/30 16:13:24 aa1 key: 'enable_compression_mapping_querry', type=3,
flags=3, data=TRUE
06/30 16:13:24 aa1 key: 'compression_8bit_linear_signed', type=0,
flags=3, data=0
06/30 16:13:24 aa1 key: 'compression_16bit_linear_signed', type=0,
flags=3, data=0
06/30 16:13:24 aa1 key: 'compression_8bit_linear_unsigned', type=0,
flags=3, data=1
06/30 16:13:24 aa1 key: 'compression_8bit_ulaw', type=0, flags=3, data=4
06/30 16:13:24 aa1 key: 'compression_8bit_alaw', type=0, flags=3, data=5
06/30 16:13:24 aa1 key: 'compression_2bit_adpcm', type=0, flags=3,
data=140
06/30 16:13:24 aa1 key: 'compression_4bit_adpcm', type=0, flags=3,
data=141
06/30 16:13:24 aa1 key: 'compression_4bit_ima_adpcm', type=0, flags=3,
data=129
06/30 16:13:24 aa1 key: 'rings', type=1, flags=3, data=5
06/30 16:13:24 aa1 key: 'answer_mode', type=1, flags=3,
data=voice:fax:data
06/30 16:13:24 aa1 key: 'toll_saver_rings', type=0, flags=3, data=0
06/30 16:13:24 aa1 key: 'rec_always_keep', type=3, flags=3, data=TRUE
06/30 16:13:24 aa1 key: 'voice_dir', type=1, flags=3,
data=/var/spool/voice
06/30 16:13:24 aa1 key: 'phone_owner', type=1, flags=3, data=root
06/30 16:13:24 aa1 key: 'phone_group', type=1, flags=3, data=phone
06/30 16:13:24 aa1 key: 'phone_mode', type=0, flags=3, data=432
06/30 16:13:24 aa1 key: 'message_flag_file', type=1, flags=3, data=.flag
06/30 16:13:24 aa1 key: 'receive_dir', type=1, flags=3, data=incoming
06/30 16:13:24 aa1 key: 'message_dir', type=1, flags=3, data=messages
06/30 16:13:24 aa1 key: 'message_list', type=1, flags=3, data=Index
06/30 16:13:24 aa1 key: 'backup_message', type=1, flags=3,
data=standard.rmd
06/30 16:13:24 aa1 key: 'button_program', type=1, flags=3, data=
06/30 16:13:24 aa1 key: 'call_program', type=1, flags=3, data=
06/30 16:13:24 aa1 key: 'dtmf_program', type=1, flags=3, data=dtmf.sh
06/30 16:13:24 aa1 key: 'message_program', type=1, flags=3, data=
06/30 16:13:24 aa1 key: 'do_message_light', type=3, flags=3, data=FALSE
06/30 16:13:24 aa1 key: 'pre_message', type=1, flags=1, data=
06/30 16:13:24 aa1 key: 'beepsound', type=1, flags=1, data=
06/30 16:13:24 aa1 key: 'beep_frequency', type=0, flags=3, data=933
06/30 16:13:24 aa1 key: 'beep_length', type=0, flags=3, data=1500
06/30 16:13:24 aa1 key: 'max_tries', type=0, flags=3, data=3
06/30 16:13:24 aa1 key: 'retry_delay', type=0, flags=3, data=5
06/30 16:13:24 aa1 key: 'dialout_timeout', type=0, flags=1, data=90
06/30 16:13:24 aa1 key: 'ringback_goes_away', type=0, flags=1, data=70
06/30 16:13:24 aa1 key: 'ringback_never_came', type=0, flags=1, data=100
06/30 16:13:24 aa1 key: 'ring_report_delay', type=0, flags=3, data=15
06/30 16:13:24 aa1 key: 'voice_devices', type=1, flags=1, data=
06/30 16:13:24 aa1 vgetty: answer mode was set directly
06/30 16:13:24 aa1 vgetty: answer mode is [data|fax|voice]
06/30 16:13:24 aa1 vgetty: opening list file
/var/spool/voice/messages/Index
06/30 16:13:24 aa1 vgetty: found 1 messages, picked message number 1
06/30 16:13:24 aa1 vgetty: message name is
/var/spool/voice/messages/./voicemail2.rmd
06/30 16:13:24 aa1 vgetty: entering voice mode
06/30 16:13:24 aa1 vgetty: Installing signal handlers
06/30 16:13:24 aa1 voice command: 'AT+FCLASS?' -> ''
06/30 16:13:24 aa1 vgetty: AT+FCLASS?
06/30 16:13:24 aa1 V253 modem: 0
06/30 16:13:24 aa1 voice command: '' -> 'OK'
06/30 16:13:24 aa1 V253 modem: OK
06/30 16:13:24 aa1 voice command: 'AT+FCLASS=8' -> 'OK'
06/30 16:13:24 aa1 vgetty: AT+FCLASS=8
06/30 16:13:24 aa1 V253 modem: OK
06/30 16:13:24 aa1 voice command: 'AT' -> 'OK'
06/30 16:13:24 aa1 vgetty: AT
06/30 16:13:24 aa1 V253 modem: OK
06/30 16:13:24 aa1 voice command: 'AT+FCLASS=8' -> 'VCON|OK'
06/30 16:13:24 aa1 vgetty: AT+FCLASS=8
06/30 16:13:24 aa1 V253 modem: OK
06/30 16:13:24 aa1 vgetty: queued event RESET_WATCHDOG at position 0001
06/30 16:13:24 aa1 V253 modem: Dialup Line: (2)
06/30 16:13:24 aa1 voice command: 'AT+VLS=1' -> 'OK'
06/30 16:13:24 aa1 vgetty: AT+VLS=1
06/30 16:13:24 aa1 vgetty: unqueued event RESET_WATCHDOG at position 0001
06/30 16:13:24 aa1 vgetty: voice_handle_event got event
RESET_WATCHDOG with data <C>
06/30 16:13:24 aa1 V253 modem: OK
06/30 16:13:25 aa1 playing voice file
/var/spool/voice/messages/./voicemail2.rmd
06/30 16:13:25 aa1 vgetty: raw modem data header found
06/30 16:13:25 aa1 vgetty: Wrong modem type found
06/30 16:13:25 aa1 vgetty: Could not play greeting message
06/30 16:13:25 aa1 vgetty: queued event RESET_WATCHDOG at position 0002
06/30 16:13:25 aa1 voice command: 'AT+VTS=[933,,150]' -> ''
06/30 16:13:25 aa1 vgetty: AT+VTS=[933,,150]
06/30 16:13:25 aa1 vgetty: unqueued event RESET_WATCHDOG at position 0002
06/30 16:13:25 aa1 vgetty: voice_handle_event got event
RESET_WATCHDOG with data <C>
06/30 16:13:25 aa1 voice command: '' -> 'OK'
06/30 16:13:25 aa1 V253 modem: OK
06/30 16:13:26 aa1 recording voice file
/var/spool/voice/incoming/v-654-1151709204.rmd
06/30 16:13:26 aa1 vgetty: queued event RESET_WATCHDOG at position 0003
06/30 16:13:26 aa1 voice command: 'AT+VSM=130,8000' -> 'OK'
06/30 16:13:26 aa1 vgetty: AT+VSM=130,8000
06/30 16:13:26 aa1 vgetty: unqueued event RESET_WATCHDOG at position 0003
06/30 16:13:26 aa1 vgetty: voice_handle_event got event
RESET_WATCHDOG with data <C>
06/30 16:13:26 aa1 V253 modem: OK
06/30 16:13:26 aa1 voice command: 'AT+VSM=130,8000' -> 'OK'
06/30 16:13:27 aa1 vgetty: AT+VSM=130,8000
06/30 16:13:27 aa1 V253 modem: OK
06/30 16:13:27 aa1 Just for info: port_speed should be greater than
80000 bps
06/30 16:13:27 aa1 vgetty: queued event RESET_WATCHDOG at position 0004
06/30 16:13:27 aa1 vgetty: unqueued event RESET_WATCHDOG at position 0004
06/30 16:13:27 aa1 vgetty: voice_handle_event got event
RESET_WATCHDOG with data <C>
06/30 16:13:27 aa1 voice command: 'AT+IFC=2,2' -> 'OK'
06/30 16:13:27 aa1 vgetty: AT+IFC=2,2
06/30 16:13:27 aa1 V253 modem: OK
06/30 16:13:27 aa1 tio_set_flow_control( HARD XON_IN )
06/30 16:13:27 aa1 voice command: 'AT+VRX' -> 'CONNECT'
06/30 16:13:27 aa1 vgetty: AT+VRX
06/30 16:13:27 aa1 V253 modem: CONNECT
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
Post by Barry Callahan
Try setting ForceV253=TRUE
and see if that works.
Post by Robert McIntosh
Hello,
I'm running into problems getting vgetty to function as an answering
machine. I've got a Creative ModemBlaster V.92 Serial DE5621
(Conexant chipset) on /dev/cuaa1. This is a FreeBSD (5.4), so believe
me that this is the modem device.
I'll call my number and the modem simply does not pick up. Yes, init
has vgetty running.
The modem reports to be a voice modem from minicom, so I know it has
this capability (the box reports this as well).
I believe the crux of the problem is the init script in mgetty.conf,
ATS0=0Q0&D3&C1
I've also tried changing it to
ATS0=1
The modem picks up on the first ring, but I get either a data or fax
handshake signal from the modem. Doesn't think it's in voice mode.
I've no real skills in putting together an Hayes init string, so any
help would be appreciated.
Here's my relevant configuration and log sample.
Thanks in advance for any pointers,
Robert
#cat /usr/local/etc/mgetty+send/voice.conf (comments removed)
part generic
###
voice_log_level 4
voice_shell_log /var/log/vgetty_voice_shell.%s
voice_dir /var/spool/voice
phone_owner root
phone_group phone
phone_mode 0660
message_flag_file .flag
receive_dir incoming
message_dir messages
message_list Index
backup_message standard.rmd
port_speed 38400
voice_shell /bin/sh
port_timeout 10
dial_timeout 90
command_delay 100
dtmf_len 30
dtmf_threshold 40
dtmf_wait 7
ignore_fax_dle false
raw_data false
rec_compression 0
rec_speed 0
rec_silence_len 70
rec_silence_threshold 40
rec_remove_silence false
rec_max_len 300
rec_min_len 0
do_hard_flow true
beep_frequency 933
beep_length 1500
max_tries 3
retry_delay 5
watchdog_timeout 60
receive_gain -1
transmit_gain -1
enable_command_echo false
poll_interval 10
enable_compression_mapping_querry TRUE
compression_8bit_linear_signed 0
compression_16bit_linear_signed 0
compression_8bit_linear_unsigned 1
compression_8bit_ulaw 4
compression_8bit_alaw 5
compression_2bit_adpcm 140
compression_4bit_adpcm 141
compression_4bit_ima_adpcm 129
program vgetty
###
rings 3
answer_mode voice:fax:data
force_autodetect false
toll_saver_rings 0
rec_always_keep true
button_program
call_program
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15
program vm
###
voice_devices cuaa1
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100
program pvf
###
port cuaa1
rings 3
ring_type ring
answer_mode voice:fax:data
####
Output from the log...
#tail -f /var/log/vgetty.cuaa1
06/26 11:38:52 aa1 waiting...
06/26 11:39:11 aa1 wfr: waiting for ``RING''
06/26 11:39:11 aa1 wfr: waiting for ``RING''
06/26 11:39:17 aa1 wfr: waiting for ``RING''
06/26 11:39:23 aa1 reading ring_type ring configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:04 aa1 vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1 vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1 vgetty: Could not answer the phone. Strange...
--
Robert McIntosh
***@gmail.com
rupreckt1553 (AIM)

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Barry Callahan
2006-07-01 02:22:52 UTC
Permalink
Comments are inlined with excerpts from your message.
Post by Robert McIntosh
That got me one step closer, thank you. The modem now picks up with a
'beep' now, with no greeting. I have the appropriate file type in
/var/spool/voice/messages
ll /var/log/spool/voice/messages
root:phone Index
root:phone standard.rmd
Ok, Just to be certain, since you're using forceV253, standard.rmd MUST
be of type v253, and matching bitrate and encoding to what vgetty is
detecting. What I usually do is, rather than taking a .wav file and
converting it, recording a greeting via phone and copying it over from
the incoming directory. You'll see below that the file's the wrong type.
Post by Robert McIntosh
Speaking at the modem after it picks up, I get about 1/2 second of the
message and the rest is static in the rmd file in
/var/spool/voice/incoming/
Look for places where it says ERROR.... Generally, that's a clue that
there's a mismatch between the "standard" v253 command set and what your
modem actually supports.... At this point, you should probably verify
which chipset is in your modem and pull the command reference for it.
Post by Robert McIntosh
06/30 16:11:48 aa1 voice command: 'ATI9' -> ''
06/30 16:11:49 aa1 vgetty: ATI9
06/30 16:11:49 aa1 serial port: ERROR
This isn't such a big deal right now.... We're just asking the modem for
identification info.
Post by Robert McIntosh
06/30 16:11:50 aa1 vgetty: AT+VSD=40,70
06/30 16:11:50 aa1 V253 modem: ERROR
06/30 16:11:50 aa1 vgetty: Modem returned ERROR
06/30 16:11:50 aa1 can't set silence threshold VSD
This is going to be an important command. Silence Threshold tells your
modem when it's safe to hang up. You're definately going to need to
research the appropriate command for your modem for doing this.
Post by Robert McIntosh
06/30 16:11:51 aa1 voice command: 'AT+VDR=1,15' -> 'OK'
06/30 16:11:51 aa1 vgetty: AT+VDR=1,15
06/30 16:11:51 aa1 V253 modem: ERROR
06/30 16:11:51 aa1 vgetty: Modem returned ERROR
06/30 16:11:51 aa1 vgetty: leaving voice mode
I forget what +VDR is trying to set (it's been a long time since I've
had an AT command reference in front of me)
Post by Robert McIntosh
06/30 16:13:24 aa1 V253 modem: OK
06/30 16:13:25 aa1 playing voice file
/var/spool/voice/messages/./voicemail2.rmd
06/30 16:13:25 aa1 vgetty: raw modem data header found
06/30 16:13:25 aa1 vgetty: Wrong modem type found
06/30 16:13:25 aa1 vgetty: Could not play greeting message
These messages show that your greeting is NOT recorded in V253 format.
See my previous comments.
Post by Robert McIntosh
06/30 16:13:26 aa1 recording voice file
/var/spool/voice/incoming/v-654-1151709204.rmd
06/30 16:13:26 aa1 voice command: 'AT+VSM=130,8000' -> 'OK'
06/30 16:13:27 aa1 vgetty: AT+VSM=130,8000
06/30 16:13:27 aa1 V253 modem: OK
06/30 16:13:27 aa1 Just for info: port_speed should be greater than
80000 bps
If the UART on your system supports it, you should set port_speed to 115200.
Post by Robert McIntosh
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
06/30 16:13:30 aa1 vgetty: Buffer overrun
06/30 16:13:30 aa1 V253 modem: <DLE> <o>
This would be where your modem hangs up. I'm guessing that, between
port_speed being set too low and the error returned by AT+VDR, your
computer wasn't sucking data out of the modem's buffer fast enough.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Robert McIntosh
2006-07-02 18:28:06 UTC
Permalink
Thanks to all for your help. I have vgetty working well now. Thank
you, thank you.

I have one question: when I convert the voicemail from pvf to wav, the
sound of the voice is lowered - sounds a little like the person is
speaking with a towel in front of the phone. Not a big deal and maybe
specific to the modem or the pvftowav utility, but is there a way to fix
this? Minor detail.

I love being able to get my voicemail via e-mail. Great!

Thanks again,
Robert
Post by Barry Callahan
Try setting ForceV253=TRUE
and see if that works.
Post by Robert McIntosh
Hello,
I'm running into problems getting vgetty to function as an answering
machine. I've got a Creative ModemBlaster V.92 Serial DE5621
(Conexant chipset) on /dev/cuaa1. This is a FreeBSD (5.4), so believe
me that this is the modem device.
I'll call my number and the modem simply does not pick up. Yes, init
has vgetty running.
The modem reports to be a voice modem from minicom, so I know it has
this capability (the box reports this as well).
I believe the crux of the problem is the init script in mgetty.conf,
ATS0=0Q0&D3&C1
I've also tried changing it to
ATS0=1
The modem picks up on the first ring, but I get either a data or fax
handshake signal from the modem. Doesn't think it's in voice mode.
I've no real skills in putting together an Hayes init string, so any
help would be appreciated.
Here's my relevant configuration and log sample.
Thanks in advance for any pointers,
Robert
#cat /usr/local/etc/mgetty+send/voice.conf (comments removed)
part generic
###
voice_log_level 4
voice_shell_log /var/log/vgetty_voice_shell.%s
voice_dir /var/spool/voice
phone_owner root
phone_group phone
phone_mode 0660
message_flag_file .flag
receive_dir incoming
message_dir messages
message_list Index
backup_message standard.rmd
port_speed 38400
voice_shell /bin/sh
port_timeout 10
dial_timeout 90
command_delay 100
dtmf_len 30
dtmf_threshold 40
dtmf_wait 7
ignore_fax_dle false
raw_data false
rec_compression 0
rec_speed 0
rec_silence_len 70
rec_silence_threshold 40
rec_remove_silence false
rec_max_len 300
rec_min_len 0
do_hard_flow true
beep_frequency 933
beep_length 1500
max_tries 3
retry_delay 5
watchdog_timeout 60
receive_gain -1
transmit_gain -1
enable_command_echo false
poll_interval 10
enable_compression_mapping_querry TRUE
compression_8bit_linear_signed 0
compression_16bit_linear_signed 0
compression_8bit_linear_unsigned 1
compression_8bit_ulaw 4
compression_8bit_alaw 5
compression_2bit_adpcm 140
compression_4bit_adpcm 141
compression_4bit_ima_adpcm 129
program vgetty
###
rings 3
answer_mode voice:fax:data
force_autodetect false
toll_saver_rings 0
rec_always_keep true
button_program
call_program
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15
program vm
###
voice_devices cuaa1
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100
program pvf
###
port cuaa1
rings 3
ring_type ring
answer_mode voice:fax:data
####
Output from the log...
#tail -f /var/log/vgetty.cuaa1
06/26 11:38:52 aa1 waiting...
06/26 11:39:11 aa1 wfr: waiting for ``RING''
06/26 11:39:11 aa1 wfr: waiting for ``RING''
06/26 11:39:17 aa1 wfr: waiting for ``RING''
06/26 11:39:23 aa1 reading ring_type ring configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:04 aa1 vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1 vgetty: timeout while reading character from voice modem
06/26 11:40:15 aa1 vgetty: Could not answer the phone. Strange...
--
Robert McIntosh
***@gmail.com
rupreckt1553 (AIM)

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Gert Doering
2006-07-09 17:54:57 UTC
Permalink
Hi,
Post by Robert McIntosh
I have one question: when I convert the voicemail from pvf to wav, the
sound of the voice is lowered - sounds a little like the person is
speaking with a towel in front of the phone. Not a big deal and maybe
specific to the modem or the pvftowav utility, but is there a way to fix
this? Minor detail.
Try pvfamp, to increase gain.

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...