系統環境:
CentOS 5.4
dahdi-linux-current
Asterisk-1.6.1-current
Linux domU-12-31-39-14-69-89 2.6.18-xenU-ec2-v1.0 (uname -a)
請參考這篇教學 Install Elastix on Amazon EC2
// 檢查並安裝所有相依性的套件
# rpm -q gcc-c++ zlib-devel openssl-devel ncurses-devel gtk2-devel iksemel-devel speex-devel libogg-devel libvorbis-devel curl-devel unixODBC-devel libtool-ltdl-devel net-snmp-devel bzip2-devel newt-devel lm_sensors-devel openldap-devel postgresql-devel gtk+-devel # yum install gcc-c++ zlib-devel openssl-devel ncurses-devel gtk2-devel iksemel-devel speex-devel libogg-devel libvorbis-devel curl-devel unixODBC-devel libtool-ltdl-devel net-snmp-devel bzip2-devel newt-devel lm_sensors-devel openldap-devel postgresql-devel gtk+-devel
// Install asterisk
# cd /usr/src # wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.6.1-current.tar.gz # tar xzf asterisk-1.6.1-current.tar.gz # cd asterisk-1.6.1* # contrib/scripts/get_ilbc_source.sh ;安裝 iLBC codec # ./configure # make menuselect
進入編譯模組的選單,選擇 Core Sound Packages,安裝所有項目(按 Enter),還有 Music On Hold File Packages,Extras Sound Packages 也都做相同的處理。
# make # make install # make samples # make config #
//