How to install?

Comment on Asterisk cdr SQLite
jetdriver
Joined: Wed 22 of Oct, 2008

Re: How to install?

Posted:Thu 23 of Oct, 2008 (01:06 UTC)
Depending on which version of asterisk you are running and/or which linux version you have, the following should work:
First download the asterisk source code and place them in /usr/src

Then check for dependencies as follows:

yum check-update
yum -C list ncurses ncurses-devel openssl zlib zlib-devel curl

cd /usr/src
tar -zxvf libpri-1.4.x.tar.gz
tar -zxvf dahdi-linux-complete-2.0.tar.gz
tar -zxvf asterisk-1.6.x.tar.gz

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

cd dahdi-linux-complete
make all
make install
make config
cd ..

cd asterisk-1.6.x
./configure
make menuselect

;PBX Modules ---- deselect pbx_ael Extras Sound Packages --- select EXTRA SOUNDS EN GSM
;F12 to save and exit

make
make install
make samples
make config
cd ..

reboot

;verify install

lsmod | grep dahdi

asterisk -rvvv

:If all went well, you should now have asterisk up and running on your box. The make sample commands above, made sample sip.conf and extensions.conf files. These files are very verbose. You may want to rename them and recreate new files. The following sample should get you going.

;sip.conf

general

context=default
realm=xxx.com
bindport=5060
binadd=0.0.0.0
srvlookup=yes
disallow=all
allow=ulaw
allow=gsm
language=en

;Configure users, peers friends

user
type=friend
host=dynamic
secret=yoursecret
context=yourcontext

; save and the sip reload

: extensions.conf

general
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

globals

your context

exten => xxx,1,Dial(SIP/sipuser)


:This is a very quick and simple sample. Suggest that you invest in one of the many good publications that are available. Most can be found on the web for nothing.
Anonymous

How to install?

Posted:Sat 10 of Jul, 2004 (12:00 UTC)
Could you please explain how to install?