alexander Posted November 19, 2009 Report Posted November 19, 2009 Another one of my craazeh tuts :phones: Prerequisite, please read the tutorial on installing asterisk with mysql before we start install build tools :phones: # yum install gcc libevent libevent-devel readline readline-devel ncurses ncurses-devel glib2 glib2-devel mysql-devel install prerequisites for compiling asterisk# yum install gcc gcc-c++ kernel-devel bison openssl openssl-devel perl perl-Net-SSLeay perl-Crypt-SSLeay libtermcap-devel ncurses-devel doxygen curl-devel newt-devel mlocate lynx tar wget nmap bzip2 mod_ssl crontabs vixie-cron speex speex-devel unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel mysql-connector-odbc mysql mysql-devel mysql-server php-mysql php-mbstring php-mcrypt flex screen bzip2 mlocate vixie-cron tar wget mysql-connector-odbc libxml2-devel libidn-devel krb5-devel krb5-libs zlib-devel libidn-devel install error reporting lib # yum install compat-libcom_err# ln -sf /usr/lib64/libcom_err.so.3.0.0 /usr/lib64/libcom_err.so ok we now need the asterisk distributables and imap libraries, download from Digium's website the asterisk, asterisk-addons and the dahdi driver source packages download the latest imap libraries from ftp://ftp.cac.washington.edu/mail/ install the prerequisites for the imap client libs# yum install pam-devel start with the client (note we dont need to actually install the libraries, we do need to compile them to be able to link too them from asterisk # tar xvzf imap-2007e.tar.gz# cd imap-2007e# make clean# make lr5 EXTRACFLAGS="-I/usr/include/openssl -fPIC" note we wont actually make install :evil: next lets build asterisk with imap support :) # cd /usr/local/src# tar xvzf asterisk-addons-1.6.2.0-rc1.tar.gz# tar xvzf asterisk-1.6.2.0-rc3.tar.gz# tar xvzf dahdi-linux-complete-current.tar.gz as before we start with dahdi # cd dahdi-linux-complete-2.2.0.2+2.2.0/# make clean# make# make install# make config# chkconfig dahdi on# /etc/init.d/dahdi start note: if it screams at you about your kernel, reboot your box, you have a newer kernel installed then you are running... # cd ../cd asterisk-1.6.2.0-rc3 (note as of this writing the latest version is RC6, and the problem with app queue is probably already fixed, please refer to the other tutorial for how to fix app_queue) # make clean# ./configure --with-imap=/usr/local/src/imap-2007e# make menuselect make sure you go to Voicemail Build Options and select the IMAP_STORAGE # make# make install aand you are done... only thing left is the configuration, the hard part.... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.