稲野と申します。
只今、DTMFサーバを構築しようとしています。
要は電話をかけて、音声ガイダンスを流しプッシュホンの操作(DTMF)にて
電話先からリクエストを受け取るといった旨のサーバです。
構築にあたって、まず第一段階としてモデムとvgettyを用いた「留守電サーバ」
を構築しようとしています。
OS : Fedora Core2
モデム : シリアルに接続するタイプのモデム。型番などは明記されていない
が、vgettyのログから Multitech 5634ZBAV というものらしい。
vgetty : mgetty-1.1.30-6.1 (RPM)
(mgetty) mgetty-voice-1.1.30-6.1 (RPM)
初心者なのでネットで調べながら模索したところ
・OSによるモデムの認識
・着信によるvgettyの起動
までは実現に至ったものの、応答メッセージの再生及び音声録音の段階でエラー
となり躓いてしまっています。
そこで識者の方に伺いたいのですが
・こういった内容における有益なサイトをご存知でしょうか?
(自分で調べているものの、なかなか情報量が少なく難儀しています。。。。)
・もしくは書籍をご存知でしょうか?
・また、vgettyのログの抜粋を以下に転載しますのでアドバイスがありましたら
是非頂けますでしょうか?
よろしくお願いします。
(vgettyのログ) ========================================================
06/23 17:38:17 yS0 vgetty: answer mode was set directly
06/23 17:38:17 yS0 vgetty: answer mode is [data|fax|voice]
06/23 17:38:17 yS0 vgetty: opening list file /var/spool/voice/messages/Index
06/23 17:38:17 yS0 vgetty: message name is /var/spool/voice/messages/standard.rmd
06/23 17:38:17 yS0 vgetty: entering voice mode
06/23 17:38:17 yS0 vgetty: Installing signal handlers
06/23 17:38:17 yS0 voice command: 'AT+FCLASS?' -> ''
06/23 17:38:17 yS0 vgetty: AT+FCLASS?
06/23 17:38:17 yS0 Multitech 5634ZBAV: 0
06/23 17:38:17 yS0 voice command: '' -> 'OK'
06/23 17:38:17 yS0 Multitech 5634ZBAV: OK
06/23 17:38:17 yS0 voice command: 'AT+FCLASS=8' -> 'OK'
06/23 17:38:17 yS0 vgetty: AT+FCLASS=8
06/23 17:38:17 yS0 Multitech 5634ZBAV: OK
06/23 17:38:17 yS0 vgetty: queued event RESET_WATCHDOG at position 0001
06/23 17:38:17 yS0 voice command: 'AT+VLS=1' -> 'OK|CONNECT'
06/23 17:38:17 yS0 vgetty: AT+VLS=1
06/23 17:38:17 yS0 vgetty: unqueued event RESET_WATCHDOG at position 0001
06/23 17:38:17 yS0 vgetty: voice_handle_event got event RESET_WATCHDOG with data <_>
06/23 17:38:17 yS0 Multitech 5634ZBAV: OK
06/23 17:38:18 yS0 vgetty: queued event RESET_WATCHDOG at position 0002
06/23 17:38:18 yS0 voice command: 'AT+VLS=1' -> 'OK'
06/23 17:38:18 yS0 vgetty: AT+VLS=1
06/23 17:38:18 yS0 vgetty: unqueued event RESET_WATCHDOG at position 0002
06/23 17:38:18 yS0 vgetty: voice_handle_event got event RESET_WATCHDOG with data <_>
06/23 17:38:18 yS0 Multitech 5634ZBAV: OK
06/23 17:38:18 yS0 playing voice file /var/spool/voice/messages/standard.rmd
06/23 17:38:18 yS0 vgetty: raw modem data header found
06/23 17:38:18 yS0 vgetty: Wrong modem type found
06/23 17:38:18 yS0 vgetty: Could not play greeting message
06/23 17:38:18 yS0 vgetty: queued event RESET_WATCHDOG at position 0003
06/23 17:38:18 yS0 voice command: 'AT+VTS=[933,0,15]' -> ''
06/23 17:38:18 yS0 vgetty: AT+VTS=[933,0,15]
06/23 17:38:18 yS0 vgetty: unqueued event RESET_WATCHDOG at position 0003
06/23 17:38:18 yS0 vgetty: voice_handle_event got event RESET_WATCHDOG with data <_>
06/23 17:38:18 yS0 voice command: '' -> 'OK'
06/23 17:38:18 yS0 Multitech 5634ZBAV: OK
06/23 17:38:18 yS0 recording voice file /var/spool/voice/incoming/v-18353-1119515898.rmd
06/23 17:38:18 yS0 vgetty: queued event RESET_WATCHDOG at position 0004
06/23 17:38:18 yS0 voice command: 'AT+VSM=2,8000' -> 'OK'
06/23 17:38:19 yS0 vgetty: AT+VSM=2,8000
06/23 17:38:19 yS0 vgetty: unqueued event RESET_WATCHDOG at position 0004
06/23 17:38:19 yS0 vgetty: voice_handle_event got event RESET_WATCHDOG with data <_>
06/23 17:38:19 yS0 Multitech 5634ZBAV: ERROR
06/23 17:38:19 yS0 vgetty: Modem returned ERROR
06/23 17:38:19 yS0 vgetty: Illegal compression method 0x0004, speed 8000
06/23 17:38:19 yS0 vgetty: Could not record a message
--
kazuhide Inano <inano@xxxxxxxxxxxxxx>