相続、親が弱ってきたら銀行の預金は親の面倒を見ているものが全て解約して管理すべきである、銀行は解約させない!!

asterisk install まとめ

Asterisk

install

  • http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.20.1.tar.gz これにはFAX受信時にハングするバグが有る
  • cd /usr/local/src
  • wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.20.1.tar.gz
  • tar zxvf asterisk-1.8.30.1.tar.gz
  • apt-get install subversion
  • ./configure
  • make menuselect
  • make menuselect で次の画面が現れない場合は Tera Term の画面サイズを変更すればよい
  • app_mysql [*] チェックを入れる
  • cdr_mysql [*] チェックを入れる
  • res_config_mysql [*] チェックを入れる
  • make
  • make install
  • make install をしたら古いmysqlデーターは空にする必要がある
  • make samples (初めてのインストール時だけ)
  • make config (初めてのインストール時だけ)
  • cd /etc/asterisk
  • mv sip.conf /etc/asterisk/sip.conf.sample
  • mv extensions.conf /etc/asterisk/extensions.conf.sample
  • mv voicemail.conf /etc/asterisk/voicemail.conf.sample
  • mv asterisk.conf /etc/asterisk/asterisk.conf.sample
  • mv features.conf /etc/asterisk/features.conf.sample
  • cd /tmp
  • wget http://ftp.voip-info.jp/asterisk/conf/conf-sample-1.6_01.tar.gz
  • tar zxvf conf-sample-1.6_01.tar.gz
  • cp sip.conf /etc/asterisk
  • cp extensions.conf /etc/asterisk
  • cp voicemail.conf /etc/asterisk
  • cp asterisk.conf /etc/asterisk
  • cp features.conf /etc/asterisk
  • cd /var/lib/asterisk/sounds
  • wget http://ftp.voip-info.jp/asterisk/sounds/1_8/asterisk-sounds-1.8-ja.tar.gz
  • tar zxvf asterisk-sounds-1.8-ja.tar.gz
  • /etc/asterisk/asterisk.confに以下のように[options]セクションにlanguageprefix=yesを追加して使用します
  • /etc/asterisk/sip.conf に language=ja を追記
  • voicemail.conf で留守番電話機能の設定をする
  • 301 => 1234,TAKAHIKO,root,,tz=japan root は私のメールアドレスまで不在通知メールを送る
  • vi /etc/aliases で root:ckenko25@gmail.com のように書く
  • newaliases で設定を更新する
  • 応答メッセージはSofTalkで作成した
  • 作成で出来る形式はwavであるのでgsmに変換する必要がある
  • sox 元音声.wav -r 8000 -c1 変換後.gsm resample -ql これで変換できる 出来ない時はAstersukNowをインストールする
  • 出来たgsmファイルを /var/lib/asterisk/sounds/ja にコピーする
  • voicemailのイントロメッセージはvm-intro.gsmである
  • voicemailは設定値をオーバーするとメールが来なくなる
  • なので /etc/asterisk/voicemail.conf の maxmsg=9999 に変更する
  • この中のファイルを一旦消すとOK /var/spool/asterisk/voicemail/default/201/INBOX
  • 定期的に消すようにcronに登録する
  • mysql データーベース

 

トラブル

  • does /var/run/asterisk/asterisk.ctl exist? で起動しないトラブルは mysqlのデーターベースを削除すると直る

 

Asterisk
スポンサーリンク
シェアする
ふじやんをフォローする
スポンサーリンク
なんでもDIY

コメント

  1. Johnc43 より:

    Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You obviously know what youre talking about, why throw away your intelligence on just posting videos to your site when you could be giving us something enlightening to read? dgekbgfbdcee

  2. Smithg812 より:

    I just like the helpful information you provide on your articles. I will bookmark your blog and test once more here frequently. I’m moderately certain I will learn many new stuff right here! Best of luck for the next! gcebefaagkddkbcb