<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><EM><FONT face=Arial size=2><SPAN class=postbody>Добрый день всем.
<BR>Попытался сделать автоответчик на линухе с Курьером 56К Voice. <BR>Модем
посажен на /dev/ttyS0). Использую для этого vgetty - и получаю одну и несколько
ошибок в логах: <BR>11/12 14:38:09 yS0 vgetty: experimental test release 0.9.32
/ 24Dec01 <BR>11/12 14:38:09 yS0 mgetty: experimental test release 1.1.30-Dec16
<BR>11/12 14:38:09 yS0 reading generic configuration from config file
/etc/mgetty+sendfax/voice.conf <BR>11/12 14:38:10 yS0 reading program vgetty
configuration from config file /etc/mgetty+sendfax/voice.conf <BR>11/12 14:38:10
yS0 reading port ttyS0 configuration from config file
/etc/mgetty+sendfax/voice.conf <BR>11/12 14:38:10 yS0 check for lockfiles
<BR>11/12 14:38:10 yS0 locking the line <BR>11/12 14:38:10 yS0 WARNING: DSR is
off - modem turned off or bad cable? <BR>11/12 14:38:10 yS0 lowering DTR to
reset Modem <BR>11/12 14:38:11 yS0 send: \dATQ0V1H0[0d] <BR>11/12 14:38:11 yS0
waiting for ``OK'' <BR>11/12 14:38:31 yS0 timeout in chat script, waiting for
`OK' <BR>11/12 14:38:31 yS0 init chat timed out, trying force-init-chat
<BR>11/12 14:38:31 yS0 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
<BR>11/12 14:38:35 yS0 waiting for ``OK'' <BR>11/12 14:38:55 yS0 timeout in chat
script, waiting for `OK' <BR>11/12 14:38:55 yS0 init chat failed, exiting...:
Interrupted system call <BR>11/12 14:38:55 ##### failed in mg_init_data,
dev=ttyS0, pid=1737 <BR><BR>-- <BR>11/12 14:38:55 yS0 vgetty: experimental test
release 0.9.32 / 24Dec01 <BR>11/12 14:38:55 yS0 mgetty: experimental test
release 1.1.30-Dec16 <BR>11/12 14:38:55 yS0 reading generic configuration from
config file /etc/mgetty+sendfax/voice.conf <BR>11/12 14:38:55 yS0 reading
program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
<BR>11/12 14:38:55 yS0 reading port ttyS0 configuration from config file
/etc/mgetty+sendfax/voice.conf <BR>11/12 14:38:55 yS0 check for lockfiles
<BR>11/12 14:38:55 yS0 locking the line <BR>11/12 14:38:56 yS0 WARNING: DSR is
off - modem turned off or bad cable? <BR>11/12 14:38:56 yS0 lowering DTR to
reset Modem <BR>11/12 14:38:57 yS0 send: \dATQ0V1H0[0d] <BR>11/12 14:38:57 yS0
waiting for ``OK'' <BR>11/12 14:39:17 yS0 timeout in chat script, waiting for
`OK' <BR>11/12 14:39:17 yS0 init chat timed out, trying force-init-chat
<BR>11/12 14:39:17 yS0 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
<BR>11/12 14:39:21 yS0 waiting for ``OK'' <BR>11/12 14:39:41 yS0 timeout in chat
script, waiting for `OK' <BR>11/12 14:39:41 yS0 init chat failed, exiting...:
Interrupted system call <BR>11/12 14:39:41 ##### failed in mg_init_data,
dev=ttyS0, pid=1764 <BR><BR>Так продолжается постоянно. <BR>Модем рабочий - снял
с виндусовой машины, на котрой он исправно принимал голосовые сообщения.
Тестировал его прогой minicom - всё работает, ринги идут. Но трубку он поднимать
отказвается<IMG alt=frown.gif
src="mhtml:mid://00000194/!http://portal.sysadmins.ru/board/images/smiles/frown.gif"
border=0> <BR>Вот конфа: <BR>1) voice.conf</SPAN></DIV>
<DIV>
<DIV><SPAN class=postbody>part generic <BR>voice_log_level 4 <BR>voice_dir
/var/spool/voice <BR>phone_owner root <BR>phone_group phone <BR>phone_mode 0660
<BR>message_flag_file .flag <BR>receive_dir incoming <BR>message_dir messages
<BR>message_list Index <BR>backup_message notify.rmd <BR>port_speed 57600
<BR>voice_shell /bin/sh <BR>port_timeout 10 <BR>dial_timeout 90
<BR>command_delay 100 <BR>dtmf_len 30 <BR>dtmf_threshold 40 <BR>dtmf_wait 5
<BR>ignore_fax_dle false <BR>raw_data false <BR>rec_compression 0 <BR>rec_speed
0 <BR>rec_silence_len 50 <BR>rec_silence_threshold 40 <BR>rec_remove_silence
false <BR>rec_max_len 120 <BR>rec_min_len 0 <BR>do_hard_flow true
<BR>beep_frequency 933 <BR>beep_length 1500 <BR>max_tries 3 <BR>retry_delay 5
<BR>watchdog_timeout 60 <BR>receive_gain 100% <BR>transmit_gain 100%
<BR>enable_command_echo false <BR>poll_interval 10 <BR>program vgetty
<BR>ring_type ring <BR>rings 2 <BR>port ttyS0 <BR>port_speed 57600
<BR>answer_mode voice <BR>force_autodetect false <BR>toll_saver_rings 0
<BR>rec_always_keep true <BR>button_program <BR>call_program <BR>dtmf_program
dtmf.sh <BR>mesdo_message_light false <BR>sage_program <BR></SPAN></DIV>
<DIV><SPAN class=postbody>2)inittab</SPAN></DIV>
<DIV><SPAN class=postbody>id:3:initdefault:</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=postbody>si::sysinit:/etc/rc.d/rc.sysinit</SPAN></DIV>
<DIV><EM><FONT face=Arial></FONT></EM> </DIV>
<DIV><SPAN class=postbody>~~:S:wait:/sbin/sulogin</SPAN></DIV>
<DIV><EM><FONT face=Arial></FONT></EM> </DIV>
<DIV><SPAN class=postbody>l0:0:wait:/etc/rc.d/rc 0<BR>l1:1:wait:/etc/rc.d/rc
1<BR>l2:2:wait:/etc/rc.d/rc 2<BR>l3:3:wait:/etc/rc.d/rc
3<BR>l4:4:wait:/etc/rc.d/rc 4<BR>l5:5:wait:/etc/rc.d/rc
5<BR>l6:6:wait:/etc/rc.d/rc 6<BR><BR>z6:6:respawn:/sbin/sulogin<BR></SPAN></DIV>
<DIV><SPAN class=postbody>ca:012345:ctrlaltdel:/sbin/shutdown -t3 -r
now</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=postbody>kb::kbrequest:/bin/echo "Keyboard Request -- edit
/etc/inittab to let this work."</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=postbody>pf::powerwait:/etc/rc.d/rc.powerfail
start<BR>pn::powerfailnow:/etc/rc.d/rc.powerfail
now<BR>po::powerokwait:/etc/rc.d/rc.powerfail stop</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=postbody>ud::once:/sbin/update</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=postbody>1:2345:respawn:/sbin/mingetty
tty1<BR>2:2345:respawn:/sbin/mingetty tty2<BR>3:2345:respawn:/sbin/mingetty
tty3<BR>4:2345:respawn:/sbin/mingetty tty4<BR>5:2345:respawn:/sbin/mingetty
tty5<BR>6:2345:respawn:/sbin/mingetty tty6</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=postbody><STRONG>7:2345:respawn:/sbin/vgetty
/dev/ttyS0<BR></STRONG><BR>Подскажите где косяк? <BR>С наилучшими,</SPAN></DIV>
<DIV><SPAN class=postbody>Овечкин Влад.</SPAN><SPAN
class=postbody><BR></DIV></SPAN></FONT></EM></DIV></BODY></HTML>