[Asterisk-Users] chan_h323.c
John Fortman
john at compandsoft.com
Wed Aug 20 11:16:40 MST 2003
I have been using Slackware 9 with the sources for ptlib_unix, pwlib_unix,
openh323, asterisk, zaptel and libpri in /root/src
1) load all 6 packages (+ ohphone if you need an h323 client) from cvs to
/root/src
2) /root/src/pwlib: configure, make, make install, ldconfig (not all that
sure why, but Slackware requires ldconfig to be run)
3) /root/src/openh323: configure, make, make install, ldconfig
4) /root/src/zaptel: make, make install (reload and reconfigure your zaptel
card)
5) /root/src/libpri: make, make install (I don't have a PRI card so I don't
do anything here)
6) /root/src/asterisk/channels/h323:
- edit Makfile
- set PWLIBDIR = $(HOME)/src/pwlib
- set OPENH323DIR = $(HOME)/src/openh323
- make, make install (installs openh323.a) (make samples if you do not
have h323.conf in /etc/asterisk when done)
7) /root/src/asterisk: make, make install, make samples
8) asterisk -vvvc
- the last section should load chan_h323
I haven't had any problems compiling this from CVS for almost a month on at
least three different systems with some version of Slackware. I have had
problems with other things like transferring calls but that's a different
issue.
John.
----- Original Message -----
From: "Sean Figgins" <sfiggins at mail.celicas.org>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, August 20, 2003 12:22 PM
Subject: Re: [Asterisk-Users] chan_h323.c
> On Mon, 18 Aug 2003, Mark Spencer wrote:
>
> > It's up one directly. It just moved.
> >
> > Run "make" in h323 then do "make install" on asterisk again.
> >
> > On Mon, 18 Aug 2003, John Fortman wrote:
> >
> > > What happened to chan_h323.c in the asterisk cvs? I got ast_h323.cpp,
> > > ast_h323.h and chan_h323.h but no chan_h323.c. Hence chan_h323.so was
> > > not created so no h323 support in asterisk.
> > >
> > > Just wondering when to expect it again because I was stupid and didn't
> > > make a backup of the asterisk code before wiping the directory for a
> > > rebuild.
>
> Has anyone gotten H.323 channel complied on Redhat 9.0? Every time I try,
> I get a ton of errors from ptlib. I'm about ready to punt this sucker out
> the door. I really like what I have seen out of asterisk so far...
>
> Example of errors:
>
> In file included from /usr/include/ptlib/contain.h:218,
> from /usr/include/ptlib.h:137,
> from ast_h323.h:29,
> from ast_h323.cpp:27:
> /usr/include/ptlib/object.h:585: parse error before `(' token
> /usr/include/ptlib/object.h:1201: `BOOL' declared as a `virtual' field
> /usr/include/ptlib/object.h:1201: parse error before `(' token
> /usr/include/ptlib/object.h:1214: `BOOL' declared as a `virtual' field
> /usr/include/ptlib/object.h:1214: declaration of `int PObject::BOOL'
> /usr/include/ptlib/object.h:1201: conflicts with previous declaration `int
> PObject::BOOL'
> /usr/include/ptlib/object.h:1214: parse error before `(' token
> /usr/include/ptlib/object.h:1265: syntax error before `operator'
> /usr/include/ptlib/object.h:1214: duplicate member `PObject::BOOL'
> /usr/include/ptlib/object.h:1274: ISO C++ forbids defining types within
> return
> type
>
>
> Any help would be appriciated, even if it's a recommendation to another
> flavor of linux.
>
> Thanks
> Sean
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list