login | register
Tue 09 of Feb, 2010 [21:19 UTC]

voip-info.org

History

Asterisk installation tips

Created by: oej,Last modification on Fri 18 of Dec, 2009 [16:28 UTC] by brunohenriquebh

Asterisk install guide

Before You Install

  • Consult the planning and dimensioning checklist if you are interested running a larger PBX system, and you are concerned about hardware and software capabilities.
  • Operating systems: Asterisk runs best on Linux systems, but there has been a lot of work done by members of the project to port Asterisk to BSD environments, including FreeBSD, OpenBSD, and Mac OS X. The zaptel drivers and ISDN channel drivers are not supported on these platforms, however. See Asterisk Operating Systems for notes specific to each operating system.
  • An alternative to the process described on this page is to use

Quickstart guides





Requirements

  • You do not need need any special hardware to install and run Asterisk. A soundcard is not required.
  • You will need the following packages installed before compiling Asterisk:
    • kernel sources
    • kernel headers
    • bison (needed for parsing expressions in extensions.conf)
    • openssl and openssl-dev or libssl-dev
    • libnewt: needed for the astman manager interface. Asterisk will compile without it, but you won't get the astman program, which is a separate binary.
  • You no longer need the readline and readline-devel packages for Asterisk. Asterisk comes with its own readline implementation called "editline".
  • If you wish to use any of the mysql addons add mysql, mysql_devel & mysql server to the list
  • If you plan to use a Digium interface card with Asterisk, you will need to install the Zaptel kernel module device driver for your card before you can use it with Asterisk. But you might like to download and install Asterisk first — you can use a SIP or IAX phone for testing — and add support for your Digium card afterwards.

Installation


The Asterisk timer

  • timer sources: required for MeetMe (conferencing) and IAX2 trunking

Preparing for third party tools

Please check the third party tools section of the intro page for details on
  • music-on-hold: the mpg123 issue
  • voicemail: requires sendmail for notification messages
  • call detail recording: Asterisk can store them into CSV files, PostgreSQL or into SQLite. Get asterisk_addons from CVS for storing CDR data in MySQL instead.
  • reading .conf files from DB: Asterisk comes with limited MySQL/ODBC support for databases when reading extensions.conf, sip.conf or voicemail.conf.
  • odbc: for storing and retrieving data from DBs other than MySQL
  • speex codec: requires an extra library installation
  • text-to-speech synthesis: Festival or Flite
  • speech recognition: Sphinx integration


Asterisk | FAQ | Tips & Tricks

Comments

Comments Filter
222

333

by Zion800, Friday 14 of July, 2006 [15:50:37 UTC]
Just thought I'd put up a quick way for a newb to install asterisk on CentOS
Download the tar files from Asterisk.org and place them in /usr/src then run the following commands (with minor editing)

cd /usr/src
cd libpri-*
make clean
make install
cd ..

cd zaptel-*
make clean
make install
make config
cd ..

cd asterisk-1.*
make clean
make install
make samples
make config
cd ..

cd asterisk-addons-*
make clean
make install
make samples
make config
cd ..

cd asterisk-sounds-*
make install
cd ..
222

333Compliling Asterisk statically

by fabit, Sunday 15 of January, 2006 [16:07:56 UTC]
I have installed Asterisk on freeBSD and everything seems to be ok.
Now i must compile it statically... Does anyone know how edit the makefile to do it?
222

333Uninstall Asterisk

by omarn, Monday 28 of November, 2005 [15:43:15 UTC]
How could Uninstall Asterisk?
someone know?
222

333Problems with Proliant ML 350 G3 and RedHat 9

by cisco, Friday 19 of November, 2004 [20:46:18 UTC]
I've found a lot of problems installing Asterisk in ML 350 G3 box with RH 9.
1) RH 9 won't install unless you have a fixed diskette for booting. (Don't try to instal from original CDs)
2) When you try to start asterisk console it will hang up the entire server.

In the same box with Suse 9.1 no problems were detected.
222

333Zaptel building

by , Tuesday 06 of April, 2004 [20:05:52 UTC]
A little more insight .. there are numerous places in the Makefile where 'linux-2.4' is hardcoded. Adjust these as appropriate, in addition to the other suggestions made. Also, there is a commented section in the Makefile, be sure to uncomment this if you're on an SMP box.
222

333ztdummy and non-intel boards

by , Wednesday 08 of October, 2003 [11:06:17 UTC]
on the non-intel boards( ALI chipset for example), which was using usb-ohci module, module ztdummy will not work.
ztdummy require usb-uhci module.
use zaprtc from www.junghanns.net can solve this problem.