Asterisk How To


Classification Group Name

SME Versions Supported: 5.6 - - Contribs.org certified on: v

Nav Bar Documentation How-to Classification [Topic Page] Asterisk HowTo
Comments Please add your comments about this How To

Author(s): Duncan
Contributor(s): name
License: GPL

Created: 8Feb2004 Last updated: NA

This wiki page has been prepared by Contribs Doc Team


About this How To

Summary: How to install Asterisk PBX on your SME Server

Keywords: Asterisk, PBX, VOIP

Tips:

Known Limitations and Caveats:

Downloads:


How To

ASTERISK HOWTO

This is for 5.6 – you may need to adjust things if you are running something else My server is in server only mode and is protected by another firewall The following software represents a security risk – so remove the compiler stuff when done (This is entirely up to you) If you want to keep copies of the software just download each item and run rpm –ivh *.rpm from the directory h.323 is not included in this howto – use sip.


rpm -ivh http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/dev-tools/SME56/cpp-2.96-112.i386.rpm
rpm -ivh ftp://at.rpmfind.net/linux/redhat.com/dist/linux/updates/7.2/en/os/i386/kernel-headers-2.4.9-34.i386.rpm
rpm -ivh http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/dev-tools/SME56/glibc-devel-2.2.5-40.i386.rpm
rpm -ivh http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/dev-tools/SME56/gcc-2.96-112.i386.rpm
rpm -ivh http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/dev-tools/SME56/ncurses-devel-5.2-26.i386.rpm
rpm -ivh ftp://rpmfind.net/linux/redhat/7.3/en/os/i386/RedHat/RPMS/bison-1.35-1.i386.rpm
rpm -ivh http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/dev-tools/SME56/openssl-devel-0.9.6b-28.i386.rpm

GETTING THE SOFTWARE


Mpg123 for music on hold (optional)

cd /usr/src
wget http://www.mpg123.de/mpg123/mpg123-0.59r.tar.gz
tar -zxvf mpg123-0.59r.tar.gz
cd mpg123-0.59r
make linux
make install


Asteriskpbx

cd /usr/src
export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot
cvs login

(The password is anoncvs)

cvs checkout zaptel libpri asterisk

(You will most likely need the kernel sources if you want to install zaptel and libpri. This stuff is for digiums cards and is not necessary if you are only going to be running Sip.

cd asterisk

make clean ; make install

(you will see some errors – don’t worry too much about them – they are generally about X – and codecs you don`t have etc )

make samples

(Lets test to see if it starts ok) asterisk –vvvvc

(To stop type in - stop now)

SET IT TO START AT BOOT TIME

cp /usr/src/asterisk/contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S93asterisk

/sbin/e-smith/db configuration setprop asterisk status enabled /sbin/e-smith/signal-event console-save /sbin/reboot

You should be able to connect to the server by typing asterisk –r

Config files are in /etc/asterisk

Most of this stuff was ripped off from http://www.automated.it/guidetoasterisk.htm so credits go to Andy Powell A good place to start is http://www.voip-info.org/wiki-Asterisk as well as the above link. A nice free sip client can be got from here http://www.xten.com/download/download.php?A=D&brand=x-lite&F1=2910514834

Feel free to add or flame as you see fit.

Regards Duncan

Nav Bar Documentation How-to Classification [Topic Page] Asterisk HowTo
Comments Please add your comments about this How To

Feedback

Asterisk HowTo Feedback Add your comments to this page.


Wiki Links List

Those pages link to Asterisk HowTo:
 . Page Name .   . Hits . 
 Asterisk HowTo Feedback   1546 
 Telephony   3528