[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:38959] Re: vgetty が応答してくれません。
金沢です。
toronado@xxxxxxxxxxx wrote:
> 一つだけネットで見つけたもので、
> ||||||||||||||||||||||||||||||||
> waiting...
> wfr: waiting for ``RING''
> wfr: waiting for ``RING''
> wfr: waiting for ``RING''
> reading ring_type ring configuration from config file /etc/mgetty+sendfax/voice.conf
> playing voice file /etc/mgetty/voice/hm10001a.rmd
> vgetty: unexpected byte _ from voice modem
> vgetty: unexpected byte _ from voice modem
> vgetty: unexpected byte R from voice modem
> vgetty: unexpected byte I from voice modem
> vgetty: unexpected byte N from voice modem
> vgetty: unexpected byte G from voice modem
> vgetty: unexpected byte _ from voice modem
> vgetty: unexpected byte _ from voice modem
> vgetty: Watchdog timer expired, exiting...
> ||||||||||||||||||||||||||||||||
> この様なlogを発見しました。
> これを見る限り、「waiting...」の後には
> ringを監視しているようです。
> ここまで到達すれば、vgettyが電話を着信するのでは?と思うのですが。。。
なるほど。
ジャンク屋で見つけたISAバスのボイスモデムで試してみましたのが
次のログです。(毎度、役にたたないですが)
12/08 17:28:17 yS2 reading program vgetty configuration from config
file /etc/mgetty/voice.conf
12/08 17:28:17 yS2 reading port ttyS2 configuration from config file
/etc/mgetty/voice.conf
12/08 17:28:17 yS2 check for lockfiles
12/08 17:28:17 yS2 locking the line
12/08 17:28:18 yS2 lowering DTR to reset Modem
12/08 17:28:19 yS2 send: \dATQ0V1H0[0d]
12/08 17:28:19 yS2 waiting for ``OK'' ** found **
12/08 17:28:20 yS2 send: AT[0d]
12/08 17:28:20 yS2 waiting for ``OK'' ** found **
12/08 17:28:20 yS2 mdm_send: 'ATI'
12/08 17:28:20 yS2 Generic Rockwell modem (33600)
12/08 17:28:20 yS2 mdm_send: 'ATI3'
12/08 17:28:20 yS2 mdm_send: 'ATI4'
12/08 17:28:20 yS2 additional info: 'a007880284C6002F'
12/08 17:28:20 yS2 modem quirks: 0004
12/08 17:28:20 yS2 mdm_send: 'AT+FCLASS=2' -> ERROR
12/08 17:28:20 yS2 mdm_send: 'AT+FCLASS=2.0' -> ERROR
12/08 17:28:20 yS2 mdm_send: 'AT+FCLASS=2' -> ERROR
12/08 17:28:20 yS2 detecting voice modem type
12/08 17:28:22 yS2 Rockwell detected
12/08 17:28:22 yS2 initializing ROCKWELL voice modem
12/08 17:28:23 yS2 vgetty: Modem returned ERROR
12/08 17:28:23 yS2 can't set record gain
ここでエラーが出てますね。(でも着信した)
12/08 17:28:24 yS2 waiting...
12/08 17:59:00 yS2 wfr: waiting for ``RING''
12/08 17:59:00 yS2 wfr: waiting for ``RING''
12/08 17:59:03 yS2 wfr: waiting for ``RING''
12/08 17:59:06 yS2 reading ring_type ring configuration from config
file /etc/mgetty/voice.conf
12/08 17:59:07 yS2 playing voice file
/var/spool/voice/messages/standard.rmd
ここで挨拶のファイルを再生している。
12/08 17:59:12 yS2 recording voice file
/var/spool/voice/incoming/v-658-1070873947.rmd
12/08 17:59:20 yS2 vgetty: <DLE> <ETX> received
12/08 17:59:21 yS2 send: ATA[0d]
12/08 17:59:21 yS2 waiting for ``CONNECT''
12/08 18:00:41 yS2 timeout in chat script, waiting for `CONNECT'
12/08 18:00:41 ##### failed timeout dev=ttyS2, pid=658, caller='none',
conn='', name=''
着信する/しないの違いは何ですかね?