Sziasztok!
Elkeztem jatszani a vgetty progival az mgetty felveszi a bejovo hivast 1 csonges után a vgetty meg nem akarja...
A rendszer Debian Sarge uptodate.
a vgetty logja: /var/log/mgetty/vg_ttyS0.log
--
05/24 10:02:59 yS0 vgetty: experimental test release 0.9.32 / with duplex patch
05/24 10:02:59 yS0 mgetty: interim release 1.1.33-Apr10
05/24 10:02:59 yS0 WARNING: parent process not init(pid=1), but pid=14440 (-su)
05/24 10:02:59 yS0 reading generic configuration from config file /etc/mgetty/voice.conf
05/24 10:02:59 yS0 reading program vgetty configuration from config file /etc/mgetty/voice.conf
05/24 10:02:59 yS0 reading port ttyS0 configuration from config file /etc/mgetty/voice.conf
05/24 10:02:59 yS0 check for lockfiles
05/24 10:02:59 yS0 locking the line
05/24 10:02:59 yS0 lowering DTR to reset Modem
05/24 10:03:00 yS0 send: ATZ[0d]
05/24 10:03:00 yS0 waiting for ``OK'' ** found **
05/24 10:03:00 yS0 send: AT&FM0E1Q0S0=0[0d]
05/24 10:03:00 yS0 waiting for ``OK'' ** found **
05/24 10:03:00 yS0 mdm_send: 'ATI'
05/24 10:03:00 yS0 Generic Rockwell modem (56000)
05/24 10:03:00 yS0 mdm_send: 'ATI3'
05/24 10:03:00 yS0 mdm_send: 'ATI4'
05/24 10:03:00 yS0 additional info: 'FM-56SA-Smart V.92 & V.90 Modem 2002/03/24'
05/24 10:03:00 yS0 modem quirks: 0004
05/24 10:03:01 yS0 mdm_send: 'AT+FCLASS=2' -> OK
05/24 10:03:01 yS0 mdm_send: 'AT+FCLASS=0' -> OK
05/24 10:03:01 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
05/24 10:03:01 yS0 mdm_send: 'AT+FBOR=0' -> OK
05/24 10:03:01 yS0 mdm_send: 'AT+FLID=""' -> OK
05/24 10:03:01 yS0 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK
05/24 10:03:01 yS0 detecting voice modem type
05/24 10:03:02 yS0 Rockwell detected
05/24 10:03:42 yS0 vgetty: timeout while reading character from voice modem
05/24 10:05:29 yS0 initializing ROCKWELL voice modem
05/24 10:05:29 yS0 vgetty: Modem returned ERROR
05/24 10:05:29 yS0 can't set silence period
05/24 10:05:29 yS0 vgetty: Modem returned ERROR
05/24 10:05:29 yS0 can't set transmit gain
05/24 10:05:29 yS0 vgetty: Modem returned ERROR
05/24 10:05:29 yS0 can't set record gain
05/24 10:05:29 yS0 vgetty: Modem returned ERROR
05/24 10:05:29 yS0 can't disable silence deletion
05/24 10:05:30 yS0 vgetty: Modem returned ERROR
05/24 10:05:30 yS0 can't set DLE responses
05/24 10:05:30 yS0 vgetty: Modem returned ERROR
05/24 10:05:30 yS0 can't set silence threshold
05/24 10:05:30 yS0 vgetty: Modem returned ERROR
05/24 10:05:31 yS0 waiting...
05/24 10:07:00 yS0 wfr: waiting for ``RING''
05/24 10:07:00 yS0 wfr: waiting for ``RING''
05/24 10:07:03 yS0 wfr: waiting for ``RING''
05/24 10:07:08 yS0 cannot set controlling tty (ioctl): Operation not permitted
05/24 10:07:08 yS0 >>> this might be caused because you have run mgetty/vgetty
05/24 10:07:08 yS0 >>> from the command line. Don't do that, use /etc/inittab!
05/24 10:07:08 yS0 reading ring_type ring configuration from config file /etc/mgetty/voice.conf
Igen az inittab -ba még nem raktam bele, de igy is mennie kellene( benne volt ugy sem ment)
a modem egy acorp 56000 data/fax/voice modem
A voice.conf:
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 voice
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:data
force_autodetect false
toll_saver_rings 2
rec_always_keep true
button_program
call_program dtmf.sh
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15
program vm
voice_devices ttyS0
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100
program pvf
port ttyS0
ring_type ring
answer_mode voice
ring_type ring
rings 2
answer_mode voice
ring_type ring1
kb.
- 2261 megtekintés