[Asterisk-Users] H323
Ronald_Wiplinger
ronald_wiplinger at leadtek.com.tw
Mon Jun 27 22:18:18 MST 2005
Can anybody give me a hint, what I am doing wrong, please?
Asterisk and H.323
1. download all parts
---------------------
wget
http://www.inaccessnetworks.com/asterisk-oh323/download/asterisk-oh323-0.7.1.tar.gz
wget
http://www.inaccessnetworks.com/ian/asterisk-oh323/Libraries/openh323_1.12.2.tar.gz
wget
http://www.inaccessnetworks.com/ian/asterisk-oh323/Libraries/pwlib_1.5.2.tar.gz
wget
http://www.inaccessnetworks.com/ian/asterisk-oh323/Libraries/ohphone_1.4.1.tar.gz
wget
http://www.inaccessnetworks.com/ian/asterisk-oh323/Libraries/openh323-Janus_patch4-src-tar.gz
wget
http://www.inaccessnetworks.com/ian/asterisk-oh323/Libraries/pwlib-Janus_patch4-src-tar.gz
and untar it into /usr/src/
2. Compiling
------------
cd /usr/src/pwlib
pwlib$ ./configure
pwlib$ make clean; make opt
cd /usr/src/openh323
openh323$ patch -p1 <
/usr/src/asterisk-oh323-0.7.1/openh323_1.13.5-make.patch
openh323$ ./configure
openh323$ make clean; make opt
3. Download / update Asterisk
-----------------------------
cd /usr/src
export CVSROOT=:pserver:anoncvs at cvs.digium.com:/usr/cvsroot
cvs login - the password is anoncvs.
cvs checkout zaptel libpri asterisk asterisk-addons asterisk-sounds
go into each directory and:
make clean; make update; make install
Then, edit "Makefile" inside the "asterisk-oh323-x.x.x" directory
and set the paths/options according to your system:
DESTDIR=/
PWLIBDIR=/usr/src/pwlib
OPENH323DIR=/usr/src/openh323
ASTERISKINCDIR=/usr/src/asterisk/include
ASTERISKMODDIR=/usr/lib/asterisk/modules
ASTERISKETCDIR=/etc/asterisk
OH323WRAPLIBDIR=/usr/local/lib
SSLINCDIR=/usr/include/openssl
SSLLIBDIR=/usr/lib
Type "make" to build the oh323wrap library and the
ASTERISK OH323 channel driver.
[root at GVSCathome asterisk-oh323-0.7.1]# make
for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
/usr/src/openh323/openh323u.mak:296: warning: overriding commands for
target `ccflags'
/usr/src/openh323/openh323u.mak:293: warning: ignoring old commands for
target `ccflags'
/usr/src/openh323/openh323u.mak:296: warning: overriding commands for
target `ccflags'
/usr/src/openh323/openh323u.mak:293: warning: ignoring old commands for
target `ccflags'
make[1]: Entering directory `/usr/src/asterisk-oh323-0.7.1/wrapper'
./check_ver /usr/src/pwlib pwlib
./check_ver /usr/src/openh323 openh323
g++ -DP_LINUX=2.6.5-1.358smp -ffunction-sections -fdata-sections
-D_REENTRANT -Wall -fPIC -DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/usr/src/pwlib/include/ptlib/unix -I/usr/include/pwlib
-I/usr/src/pwlib/include -DPTRACING -I/usr/src/openh323/include
-DHAS_IXJ -DHAS_OSS -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5
-DPWLIBVERSION=\"1.5.2\" -DOPENH323VERSION=\"1.12.2\"
-I/usr/src/pwlib/include/ptlib/unix -I/usr/src/pwlib/include
-I/usr/src/openh323/include -I/usr/src/openh323/include/openh323
-I../asterisk-driver -c asteriskaudio.cxx -o asteriskaudio.o
asteriskaudio.cxx: In destructor `virtual
PAsteriskSoundChannel::~PAsteriskSoundChannel()':
asteriskaudio.cxx:167: error: `baseChannel' undeclared (first use this
function)
asteriskaudio.cxx:167: error: (Each undeclared identifier is reported
only once
for each function it appears in.)
make[1]: *** [asteriskaudio.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-oh323-0.7.1/wrapper'
make: *** [subdirs_build] Error 1
More information about the asterisk-users
mailing list