AstRecipes » Compiling Asterisk on EPIA with VIA C3
Some EPIA boards are based on the VIA C3 processor, that is basically a clone of an i686 that does not support the whole instruction set. Therefore, in order to be sure that what you try to execute will actually work, you have to compile as if the processor were an i586, though Debian Etch thinks to be on an i686:gimel:~/asterisk-1.4.18.1# uname -a
Linux gimel 2.6.18-5-486 #1 Fri Jun 1 00:07:22 UTC 2007 i686 GNU/Linux
apt-get install linux-headers-2.6.18-5-486
apt-get update
apt-get install linux-headers-2.6.18-5-486
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.18.1.tar.gz
wget http://downloads.digium.com/pub/zaptel/releases/zaptel-1.4.9.2.tar.gz
wget http://downloads.digium.com/pub/libpri/releases/libpri-1.4.3.tar.gz
tar zxvf zaptel-1.4.9.2.tar.gz
cd zaptel-1.4.9.2
./configure
#ARCH:=$(shell uname -m | sed -e s/i.86/i386/)
ARCH=i586
export CFLAGS="-march=i586"
make menuconfig
make
make install
cd ..
tar zxvf libpri-1.4.3.tar.gz
cd libpri-1.4.3
make
make install
cd ..
cd asterisk-1.4.18.1
./configure --build=pentium
ASTLDFLAGS+=$(LDOPTS) -lpthread -lresolv
make menuconfig
make
make install
make samples
Translation times between formats (in milliseconds) for one second of data
Source Format (Rows) Destination Format (Columns)
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722
g723 - - - - - - - - - - - - -
gsm - - 6 6 15 6 5 26 - - 110 15 -
ulaw - 23 - 1 11 2 1 22 - - 106 11 -
alaw - 23 1 - 11 2 1 22 - - 106 11 -
g726aal2 - 32 11 11 - 11 10 31 - - 115 1 -
adpcm - 23 2 2 11 - 1 22 - - 106 11 -
slin - 22 1 1 10 1 - 21 - - 105 10 -
lpc10 - 55 34 34 43 34 33 - - - 138 43 -
g729 - - - - - - - - - - - - -
speex - - - - - - - - - - - - -
ilbc - 43 22 22 31 22 21 42 - - - 31 -
g726 - 31 10 10 1 10 9 30 - - 114 - -
g722 - - - - - - - - - - - - -
Softlinks:
Home Page - Installing QueueMetrics from scratch - Avoiding queue_log file rotation - AddQueueMember and the queue_log file - Compiling Asterisk 1.4 with TDM400 and H323 - Using a HT-488 with Asterisk - Installing QueueMetrics on Fonality PBXtra - Managing agents that dynamically log-on - Administering QueueMetrics using Tomcat - Debugging Qloaderd installation - Installing QueueMetrics using Yum - Manually updating QueueMetrics - Rebuilding Fonality queue_log - Upgrading QueueMetrics licences - QueueMetrics logs - QueueMetrics user tracking - QueueMetrics - Installing Queuemetrics on Debian - Installing QueueMetrics
Home Page - Installing QueueMetrics from scratch - Avoiding queue_log file rotation - AddQueueMember and the queue_log file - Compiling Asterisk 1.4 with TDM400 and H323 - Using a HT-488 with Asterisk - Installing QueueMetrics on Fonality PBXtra - Managing agents that dynamically log-on - Administering QueueMetrics using Tomcat - Debugging Qloaderd installation - Installing QueueMetrics using Yum - Manually updating QueueMetrics - Rebuilding Fonality queue_log - Upgrading QueueMetrics licences - QueueMetrics logs - QueueMetrics user tracking - QueueMetrics - Installing Queuemetrics on Debian - Installing QueueMetrics



