H323 installation on Debian and Asterisk 1.4

apt-get install flex bison

//dirty hack to prevent error from missing file
cd /usr/include/linux
touch compiler.h

//PWLIB
cd /usr/src
wget http://kent.dl.sourceforge.net/sourceforge/openh323/pwlib-v1_10_0-src-tar.gz
tar zxvf pwlib-v1_10_0-src-tar.gz
cd pwlib_v1_10_0/
./configure
make
make install
make opt
PWLIBDIR=/usr/src/pwlib_v1_10_0
export PWLIBDIR

//OpenH323
cd /usr/src
wget http://ovh.dl.sourceforge.net/sourceforge/openh323/openh323-v1_18_0-src-tar.gz
tar zxvf openh323-v1_18_0-src-tar.gz
cd openh323_v1_18_0/
./configure
make
make opt
make install
OPENH323DIR=/usr/src/openh323_v1_18_0/
export OPENH323DIR

cd /usr/src/asterisk/channels/h323/
make
make opt
cd /usr/src/asterisk
./configure
make
make install

echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig

//or similar way
//cp /usr/local/lib/* /usr/lib

apt-get install flex bison

//dirty hack to prevent error from missing file
cd /usr/include/linux
touch compiler.h

//PWLIB
cd /usr/src
wget http://kent.dl.sourceforge.net/sourceforge/openh323/pwlib-v1_10_0-src-tar.gz
tar zxvf pwlib-v1_10_0-src-tar.gz
cd pwlib_v1_10_0/
./configure
make
make install
make opt
PWLIBDIR=/usr/src/pwlib_v1_10_0
export PWLIBDIR

//OpenH323
cd /usr/src
wget http://ovh.dl.sourceforge.net/sourceforge/openh323/openh323-v1_18_0-src-tar.gz
tar zxvf openh323-v1_18_0-src-tar.gz
cd openh323_v1_18_0/
./configure
make
make opt
make install
OPENH323DIR=/usr/src/openh323_v1_18_0/
export OPENH323DIR

cd /usr/src/asterisk/channels/h323/
make
make opt
cd /usr/src/asterisk
./configure
make
make install

echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig

//or similar way
//cp /usr/local/lib/* /usr/lib

Created by: mindaugas_kezys, Last modification: Wed 07 of Nov, 2007 (07:52 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+