Asterisk Installation

Hi,

I am new to asterisk.I downloaded asterisk 1.4 and trying to install it on Linux CentOS. i have no clue about how to install it.Plz help!!!

Regards
Vibhor

Please help!!
i can’t find any way how to install asterisk on Linux CentOS.

downloads.oreilly.com/books/9780596510480.pdf

Have a look @ the book. h6315.com/ast_docs/Asterisk%20TFOT%20v2.pdf

Thanx for the links.

On starting the asterisk i get following error…why does it arise??

[root@actel55 asterisk-1.4.24.1]# service asterisk start
ERROR: /usr/sbin/asterisk not found

Regards,
Vibhor

on giving make install command , i get util errors,mentioned below :

[root@actel55 asterisk-1.4.24.1]# make install

menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules …
make[1]: Entering directory /usr/src/asterisk-1.4.24.1/utils' [CC] astman.c -> astman.o astman.c:95: error: expected identifier or ‘(’ before numeric constant astman.c:96: error: expected identifier or ‘(’ before numeric constant astman.c:101: error: expected identifier or ‘(’ before ‘do’ astman.c:101: error: expected identifier or ‘(’ before ‘while’ astman.c:102: error: expected identifier or ‘(’ before ‘do’ astman.c:102: error: expected identifier or ‘(’ before ‘while’ astman.c:106: error: expected identifier or ‘(’ before ‘do’ astman.c:106: error: expected identifier or ‘(’ before ‘while’ astman.c:107: error: expected identifier or ‘(’ before ‘do’ astman.c:107: error: expected identifier or ‘(’ before ‘while’ make[1]: *** [astman.o] Error 1 make[1]: Leaving directory/usr/src/asterisk-1.4.24.1/utils’
make: *** [utils] Error 2
[root@actel55 asterisk-1.4.24.1]#

and on starting the asterisk service i get the following :

[root@actel55 asterisk-1.4.24.1]# service asterisk start
ERROR: /usr/sbin/asterisk not found

Plz help…what to do?

Regards,
Vibhor

Maybe there is no “service asterisk start” :wink: Try running safe_asterisk and then asterisk -r to get in to the Asterisk console.

even this is also not worling

safe_asterisk
asterisk -r

You’re not going to get it running if you have errors with the make install.

Do you also get errors doing the -
./configure
make

Normally the first error is the one you want to concentrate on.

Matt

No ./configure . this doesn’t show any error.

if i do ./configure and than make…than also i get the same errors.

You can fix this issue by compiling asterisk again.
do this:

cd /usr/src/asterisk-version

#make distclean
#make clean

./configure

make menuselect

#make install
it should work.
Take care.