Asterisk on RedHat 9 with openh323

This page contains the installation notes of an asterisk open source PBX with openh323 support on a fresh RedHat 9 installation.

This document is under development right now..... Come back later for a more up to date document.

First step: getting the necessary downloads. Basically you'll need four thing:

  • the asterisk server itself of course
  • the Open H323 library
  • PWlib
  • and a glue layer that helps connecting the asterisk server onto the H323 library.

Step 1

You can find the asterisk server source code here: http://www.asterisk.org/
I found the version that I used for this installation here. Since we are on RedHat anyway, I prefer to use as many RPM's as possible but we need a version that is aware of the H323 library, I used the source instead of the RPM (I used asterisk-1.0-RC1.tar.gz). I don't know if the RPM would give me the same result, I will leave that to others to find out.

Untar it in your /tmp directory and run a 'make'

If all goes well, you will see the message

+--------- Asterisk Build Complete ---------+
+ Asterisk has successfully been built, but +
+ cannot be run before being installed by +
+ running: +
+ +
+ make install +
+-------------------------------------------+

do not run a make install at this point.

Step 2.

The PWLib and OpenH323 library

go to www.openh323.org and get a version of PWLib and OH323. I used the pwlib_1.5.2.tar.gz and the openh323_1.12.2.tar.gz version.
Copy the pwlib tarball to the /tmp dir of your system, untar it, run ./configure and make it. Both should compile right out-of-the box.

Step 3

Glueing it all together.

http://www.inaccessnetworks.com/projects/asterisk-oh323/download

I used the asterisk-oh323-0.6.3a.tar.gz (82064 bytes)

Edit the makefile to reflect the directories that you use. (if you have followed these notes closely, you will have installed the sources in the /tmp dir)

PWLIBDIR=/root/src/oh323/pwlib
OPENH323DIR=/root/src/oh323/openh323
ASTERISKINCDIR=/root/src/asterisk/include

These variables should reflect the directories of the several source trees that we are using. For me, they are all in the tmp dir.