login | register
Sat 17 of May, 2008 [12:58 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Juan Ortega, Thu 15 of May, 2008 [10:33 UTC]: Hi everybody, I'm Juan, an ITCom student, and I need to know what basic elements I need to create a VoIP network. Can anybody helpme, please?,Thank you very much
  • gineta, Wed 14 of May, 2008 [03:58 UTC]: any here not fine the configuration of firewall juniper -screem for VOIP asterisk????
  • Anoop Prabhakaran, Tue 13 of May, 2008 [12:16 UTC]: I am developing Asterisk IVR, Whenever i make a internation call to the IVR system, the DTMF is not getting detected properly, this happens only for the first time, second call onwards system works fine. why this is happening
  • joe, Mon 12 of May, 2008 [04:27 UTC]: Is there an opensource browser based softphone, or a system like Busta where everything is not manages through their website?
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
Server Stats
  • Execution time: 0.40s
  • Memory usage: 2.20MB
  • Database queries: 33
  • GZIP: Disabled
  • Server load: 0.96

Asterisk installation for CentOS 4.x

Base Install of Asterisk on a CentOS/RHEL box:


Before you begin, you'll probably want to bring all your packages up to date. To do so, run 'yum -y update'. If any kernel files were updated as part of this process, you will need to reboot the machine (shutdown -r now). Repeat the process until no more updates are available.

Download the pre-requisite of asterisk:

gcc
kernel-devel
bison
openssl-devel
doxygen #para makagawa ka ng program documentations/manual pages para sa asterisk


Note: Kernel-smp-devel (instead of kernel-devel) is necessary if you are using a dual core processor.

either through apt-get:

apt-get update
apt-get install gcc kernel-devel bison openssl-devel

or yum:

yum -y update
yum install gcc kernel-devel bison openssl-devel


then download the latest asterisk version at asterisk.org to /usr/src:

cd /usr/src

wget http://ftp.digium.com/pub/zaptel/releases/zaptel-<version>.tar.gz
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-<version>.tar.gz

#if you are going to use PRI cards(eg. TE110P, TE406P) you need to down this:

wget http://ftp.digium.com/pub/libpri/releases/libpri-<version>.tar.gz


then untar all the files

tar -zxf zaptel-<version>.tar.gz
tar -zxf asterisk-<version>.tar.gz
tar -zxf libpri-<version>.tar.gz


### INSTALLING ZAPTEL ###

cd /usr/src/zaptel

make clean
make
make install

#If you want "service zaptel restart" command to work do this
make config


### INSTALL LIBPRI ###
# If you are using E1 cards you need to install LIBPRI

cd /usr/src/libpri

make clean
make
make install


### INSTALLING ASTERISK ###

cd /usr/src/asterisk

make mpg123 # kung gusto mong gumamit ng MoH
make clean
make
make install

#If you want sample files to be created in /etc/asterisk
make samples

#If you want program docs/manual pages for asterisk
make progdocs

#If you want "service asterisk restart" command to work do this
make config


  • note:

if you are using kernel 2.6.9-34.EL you need to edit spinlock.h or your zaptel will not compile.


vi /usr/src/kernels/2.6.9-34.EL-x86_64/include/linux/spinlock.h

then search for this line:
#define DEFINE_RWLOCK(x) rw_lock_t x = RW_LOCK_UNLOCKED

change it to:
#define DEFINE_RWLOCK(x) rwlock_t x = RW_LOCK_UNLOCKED

see the url for more info

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180568
http://bugs.digium.com/view.php?id=6425


now you're finish installing asterisk.



See Also


Created by Mark Quitoriano, Last modification by Mark Quitoriano on Sat 10 of Nov, 2007 [14:28 UTC]

Comments Filter

by Mark Quitoriano on Tuesday 20 of February, 2007 [15:48:20 UTC]
      • UPDATE******

http://forums.digium.com/viewtopic.php?t=13486&view=next&sid=c2e73027d8fcadc4107367e2c0c02a48


the target "linux26" appears to have been removed from the latest makefile, and instead some auto-detection of the kernel is happening.

by Mark Quitoriano on Tuesday 04 of July, 2006 [11:12:58 UTC]
You should know your system first before you can install asterisk properly.

Hindi Gumana

by Edwin valbuena on Wednesday 07 of June, 2006 [02:46:27 UTC]
Hindi gumana. :( ang galing galing pa naman na sana kaso nakalimutan yung kernel-devel.

kasi ganito ang nangyare sa akin nung ako ay humawak ng isang IBM DUAL XEON na Computer na nakalagay sa server rack sa isang call center dito sa Ortigas, Pasig, Philippines.

Ako ay marunong mag install ng asterisk na merong FREEPBX na merong Vicidial.

Hindi ko alam na mali pala ang kernel-devel. SMP pala dapat :(

Sana matuto na tayo mag basa ng mabuti kung ano ang nakikita sa screen

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver