AstRecipes » Compiling Asterisk with OH323
Getting Asteriskcd /root/asterisk1/src
export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot
cvs login ( the password is anoncvs.)
cvs checkout zaptel libpri asterisk
cvs checkout -r v1-0 zaptel libpri asterisk asterisk-addons asterisk-sounds
You'll need:
Asterisk-OH323
OpenH323 (v1.13.5)
PWlib (v1.6.6)
It is very important that you download the exact version of these packages, otherwise OH323 might not work.
wget http://www.inaccessnetworks.com/projects/asterisk-oh323/download/asterisk-oh323-0.6.5.tar.gz
links http://prdownloads.sourceforge.net/openh323/openh323-Janus_patch4-src-tar.gz?download
links http://prdownloads.sourceforge.net/openh323/pwlib-Janus_patch4-src-tar.gz?download
make install
make samples Patching oh323
cd openh323
patch -p1 < asterisk-oh323-0.6.5/openh323_1.13.5-make.patch Compiling PWLib cd pwlib
./configure
make clean
make
make install
make opt Compiling OH323 cd openh323
./configure
make clean
make opt Compiling ASTERISK-OH323
You have to edit the makefile
vi Makefile
PWLIBDIR=/root/asterisk1/src/pwlib
OPENH323DIR=/root/asterisk1/src/openh323
ASTERISKINCDIR=/root/asterisk1/src/asterisk/include
make install Checking the module
To chehk that the module has been built, try
ls -l /usr/lib/asterisk/modules/chan_oh323.so
If you don't need debugging symbols, you can reduce the executable size with strip
strip /usr/lib/asterisk/modules/chan_oh323.so
Start Asterisk with:
asterisk -vvvvvvc
Softlinks:
Home Page - Configuring a queue - Compiling Asterisk 1.4 beta - Compiling Asterisk 1.2 with TDM400 and H323 - Installing the Asterisk GUI - Licences - asterisk - Peering two Asterisk servers using IAX - Turning off modules - Script to convert music-on-hold to native formats - AddQueueMember and the queue_log file - Compiling Asterisk 1.4 with TDM400 and H323 - QueueMetrics - Installing QueueMetrics from scratch - Installing QueueMetrics - Upgrading QueueMetrics licences - Avoiding queue_log file rotation - QueueMetrics logs - Installing Queuemetrics on Debian - Managing agents that dynamically log-on - Installing QueueMetrics on Fonality PBXtra - Manually updating QueueMetrics - Using a HT-488 with Asterisk - Listening to recorded calls using XC-AST - Installing Queuemetrics on PBX-in-a-Flash - Administering QueueMetrics using Tomcat - Installing QueueMetrics using Yum - Debugging Qloaderd installation - Rebuilding Fonality queue_log - QueueMetrics user tracking
Home Page - Configuring a queue - Compiling Asterisk 1.4 beta - Compiling Asterisk 1.2 with TDM400 and H323 - Installing the Asterisk GUI - Licences - asterisk - Peering two Asterisk servers using IAX - Turning off modules - Script to convert music-on-hold to native formats - AddQueueMember and the queue_log file - Compiling Asterisk 1.4 with TDM400 and H323 - QueueMetrics - Installing QueueMetrics from scratch - Installing QueueMetrics - Upgrading QueueMetrics licences - Avoiding queue_log file rotation - QueueMetrics logs - Installing Queuemetrics on Debian - Managing agents that dynamically log-on - Installing QueueMetrics on Fonality PBXtra - Manually updating QueueMetrics - Using a HT-488 with Asterisk - Listening to recorded calls using XC-AST - Installing Queuemetrics on PBX-in-a-Flash - Administering QueueMetrics using Tomcat - Installing QueueMetrics using Yum - Debugging Qloaderd installation - Rebuilding Fonality queue_log - QueueMetrics user tracking



