Asterisk + asterisk-oh323 issue?

Hi! I was wondering if this is what I need for what I want to do. Basicly I have many locations, one voip services provider, and a few numbers for each location. What I want to do is use asterisk as a gatekeeper and gateway for the locations so that my voip provider can just assign all the numbers to the main location and I can then forward/route calls from/to the rest of the locations. On each location I will use one gateway audiocodes mp104-fxs (1 x rj45, 4 x rj11 fxs) to connect analogue phones. So the transport from one location to another will be done via Internet. I don’t want to use special hardware, whatever. From what I have read in the past few days this would be called a softswitch.


P.S. : I also have a problem compiling asterisk-oh323


g++ -Wall -x c++ -Os -DUSE_OLD_CAPABILITIES_API=1 -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -I/root/src/oh323/pwlib/include -DPTRACING -I/root/src/oh323/openh323/include -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=“1.9.1” -DOPENH323VERSION=“1.17.2” -I/root/src/oh323/pwlib/include -I/root/src/oh323/openh323/include -I/root/src/oh323/openh323/include/openh323 -I…/asterisk-driver -c wrapendpoint.cxx -o wrapendpoint.o
wrapendpoint.cxx: In member function virtual BOOL WrapH323EndPoint::OpenAudioChannel(H323Connection&, int, unsigned int, H323AudioCodec&)': [b]wrapendpoint.cxx:852: error:IsDescendant’ undeclared (first use this
wrapendpoint.cxx:852: error: (Each undeclared identifier is reported only once
for each function it appears in.)
make[1]: *** [wrapendpoint.o] Error 1
make[1]: Leaving directory `/home/razvan/asterisk-oh323-0.6.6/wrapper’
make: *** [subdirs_build] Error 1

is this problem yet solved? i’ve got the same compiling error :-s

I recommend ooh323 over oh323.

i’m trying to install it, but i still get errors :

/usr/src/asterisk-ooh323c-0.3# make
make all-am
make[1]: Entering directory /usr/src/asterisk-ooh323c-0.3' source='src/chan_h323.c' object='chan_h323.lo' libtool=yes \ depfile='.deps/chan_h323.Plo' tmpdepfile='.deps/chan_h323.TPlo' \ depmode=gcc3 /bin/sh ./config/depcomp \ /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c -o chan_h323.lotest -f ‘src/chan_h323.c’ || echo ‘./’src/chan_h323.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo -fPIC -DPIC -o .libs/chan_h323.lo In file included from src/chan_h323.h:33, from src/chan_h323.c:18: /usr/include/asterisk/file.h:27:2: #error You must include stdio.h before file.h! In file included from src/chan_h323.h:33, from src/chan_h323.c:18: /usr/include/asterisk/file.h:56: error: syntax error before '*' token /usr/include/asterisk/file.h:57: error: syntax error before '*' token src/chan_h323.c:90: warning: initialization from incompatible pointer type make[1]: *** [chan_h323.lo] Error 1 make[1]: Leaving directory/usr/src/asterisk-ooh323c-0.3’
make: *** [all] Error 2

i dunno what to do:s


should i use :
or … _id=121413