mdsh.com/wiki


RecentChanges

TextFormattingRules
AllWikiTopics
OrphanedWikiTopics
ToDoWikiTopics
WikiLockList
RSS
Export2HTML

WikiSearch

SetUsername

StartingPoints
Home
asterisk:build

Update from previous 1.4.x or 1.6 version


Download

$ wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.6.0-rc6.tar.gz
$ wget http://ftp.digium.com/pub/libpri/releases/zaptel-1.4.12.1.tar.gz
$ wget http://ftp.digium.com/pub/zaptel/releases/libpri-1.4.7.tar.gz
$ wget http://ftp.digium.com/pub/asterisk/releases/asterisk-addons-1.6.0-rc1.tar.gz


Extract the source

$ tar -zxf asterisk-1.6.0-rc6.tar.gz
$ tar -zxf asterisk-addons-1.6.0-rc1.tar.gz
$ tar -zxf libpri-1.4.7.tar.gz
$ tar -zxf zaptel-1.4.12.1.tar.gz


or if you have all the source in one directory

$ for i in `ls *.tar.gz` ; do tar -zxf $i ; done

Compile Zapata

$ cd zaptel-1.4.12.1
$ ./configure
$ make
$ sudo make install
$ cd ..


Compile Libpri

$ cd libpri-1.4.7
$ make
$ sudo make install
$ cd ..


Compile Asterisk

$ cd asterisk-1.6.0-rc6
$ ./configure
$ make
$ sudo make install
$ cd ..


Kill, change modules and start

$ sudo /sbin/service asterisk stop
$ sudo /sbin/service zaptel stop


Sometimes zap will not stop, usually because not all of the modules are unloaded. You can find this out and correct it using some of the following commands - the module names are a 'for instance':

$ sudo /sbin/lsmod
$ sudo /sbin/rmmod zttranscode zaptel


Edit the Zaptel config file, I have no hardware so only need ztdummy loaded.

$ sudo vim /etc/sysconfig/zaptel

Start the Zaptel and Asterisk services.

$ /sbin/service zaptel start
$ /sbin/service asterisk start


asterisk:build is mentioned on: Linux


VeryQuickWiki Version 2.8.1 | Admin

All contents copyright mdsh.com (C) 2011-2018.