I accidentally found this video in Fake Steve Jobs blog. Interesting video if you are into coding.
Sunday, August 2, 2009
Saturday, August 1, 2009
Installing Asterisk in "Jaunty Jacklope"
Last week I was trying to install Asterisk in "Jaunty Jacklope" Ubuntu 9.04, but turns out be not a straightforward task, I had to spend several hours Googling and experimenting before getting it up and running.
Actually the problem is not with Asterisk, but with the Zaptel driver, which comes from Jim Dixon's open computer telephony project (Zapata Telephony) named after Mexican revolutionary Emilinao Zapata. Asterisk uses zaptel was various reasons. Such as timing source for various operations, mixing conferences, for zaptel interface cards etc. Now digium develop zaptel driver. If you also want to Install asterisk in Jaunty Jacklope follow this steps, this should also work for any Linux distribution with kernel version 2.6.28. Before installing Asterisk its important to have Linux kernel source installed in /usr/src
Installing Asterisk is straightforward. Download the latest asterisk version from official web site. Or latest code can be checkout from SVN sever. If you choose to do that this how to do it
#cd /usr/src # svn checkout http://svn.digium.com/svn/asterisk/trunk asterisk # svn checkout http://svn.digium.com/svn/dahdi/linux/trunk dahdi-linux # svn checkout http://svn.digium.com/svn/dahdi/tools/trunk dahdi-tools # svn checkout http://svn.digium.com/svn/libpri/branches/1.4 libpri
for information available in asterisk website
--$tar xvzf asterisk.xx.xx.tar.gz (only if you download tar ball)
--$cd asterisk
--$./configure
--$make
--$sudo make install
You can also install samples, which can also be helpful
--$sudo make samples
Installing zaptel driver.
But due some reason that I really don’t know. It turns out that latest stable version cannot with be compile against 2.6.28 kernel. After Googling few ours I found out that downloading latest SVN snapshot form Digium web site rather than installing the stable version might work, and it worked out for me.
Here is how I did it.
You might need these packages if you have not already installed them
apt-get install subversion
apt-get install build-essential libnewt-dev libusb-dev
$cd /usr/src
$sudo su
#svn co --revision 4636 http://svn.digium.com/svn/zaptel/branches/1.4
#mv 1.4 zaptel
#cd zpatel
#./install_prereq test
#./install_prereq install
#./configure
#make
#make install
#make config
#modprobe zaptel
#modprobe wctdm24xxp
Here is a good video about Asterisk and how configure it.
Actually the problem is not with Asterisk, but with the Zaptel driver, which comes from Jim Dixon's open computer telephony project (Zapata Telephony) named after Mexican revolutionary Emilinao Zapata. Asterisk uses zaptel was various reasons. Such as timing source for various operations, mixing conferences, for zaptel interface cards etc. Now digium develop zaptel driver. If you also want to Install asterisk in Jaunty Jacklope follow this steps, this should also work for any Linux distribution with kernel version 2.6.28. Before installing Asterisk its important to have Linux kernel source installed in /usr/src
Installing Asterisk is straightforward. Download the latest asterisk version from official web site. Or latest code can be checkout from SVN sever. If you choose to do that this how to do it
#cd /usr/src # svn checkout http://svn.digium.com/svn/asterisk/trunk asterisk # svn checkout http://svn.digium.com/svn/dahdi/linux/trunk dahdi-linux # svn checkout http://svn.digium.com/svn/dahdi/tools/trunk dahdi-tools # svn checkout http://svn.digium.com/svn/libpri/branches/1.4 libpri
for information available in asterisk website
--$tar xvzf asterisk.xx.xx.tar.gz (only if you download tar ball)
--$cd asterisk
--$./configure
--$make
--$sudo make install
You can also install samples, which can also be helpful
--$sudo make samples
Installing zaptel driver.
But due some reason that I really don’t know. It turns out that latest stable version cannot with be compile against 2.6.28 kernel. After Googling few ours I found out that downloading latest SVN snapshot form Digium web site rather than installing the stable version might work, and it worked out for me.
Here is how I did it.
You might need these packages if you have not already installed them
apt-get install subversion
apt-get install build-essential libnewt-dev libusb-dev
$cd /usr/src
$sudo su
#svn co --revision 4636 http://svn.digium.com/svn/zaptel/branches/1.4
#mv 1.4 zaptel
#cd zpatel
#./install_prereq test
#./install_prereq install
#./configure
#make
#make install
#make config
#modprobe zaptel
#modprobe wctdm24xxp
Here is a good video about Asterisk and how configure it.
Subscribe to:
Comments (Atom)

