Re: Use GnuGK with Rtpproxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Andrew,

Thank you for your notes.

It's so useful.

Thanks,
-LN

On Wed, May 6, 2009 at 11:32 PM, Andrew Struiksma <astruiksma@xxxxxxxxx> wrote:
Here are my notes on how to compile on Debian 4.0
 

Do the following as a regular user not as root

  • make sure you have OpenSSL headers, flex and bison installed
sudo apt-get install libssl-dev flex bison
./configure
make optnoshared
./configure
make optnoshared
  • download Gnu Gk from CVS
    • do this from home folder
cvs -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/openh323gk login
cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/openh323gk co -P openh323gk
cd openh323gk
./configure --disable-mysql --disable-firebird  --disable-pgsql  \
            --disable-radius --disable-unixodbc --disable-sqlite
make optnoshared

When compiling is complete, the binary is here:

~/openh323gk/obj_linux_x86_r/gnugk
 
Andrew


From: oso che bol [mailto:ndlgroup1@xxxxxxxxx]
Sent: Wednesday, May 06, 2009 9:03 AM
To: GNU Gatekeeper Users
Subject: Re: Use GnuGK with Rtpproxy

Hi,

I have a little bit confused about PTLIB.

When compile pwlib, it also compiled ptlib.

But i also compile Ptlib_v2_0_1 and set PTLIBDIR:

export PTLIBDIR="/home/htklabs/pwlib/include/ptlib"

But in ~/h323plus, ./configure told that:
"Cannot find ptlib - please install or set PTLIBDIR and try again"

Please give your advice.

Thanks,
-LN

On Wed, May 6, 2009 at 7:59 PM, Jan Willamowius <jan@xxxxxxxxxxxxxx> wrote:
Hi,

compiling Pwlib 1.10.3 works on 64 bit if you disable a few modules
that GnuGk doesn't use anyway. I use this:

./configure --disable-video --disable-alsa --disable-openldap --disable-expat --disable-sasl --disable-sdl  --disable-ipv6

But since you want to compile 2.3.0 with H.460.18 support, you should
use H323Plus (from htp://www.h323plus.org) and use this patch for
src/Makefile
http://www.gnugk.org/download/src-Makefile-h46018.patch
or use the CVS version.

Regards,
Jan


oso che bol wrote:
> Hi,
>
> I met this issues when compile pwlib 1.10.3
>
> Ubuntu 8.10
> Gcc V4.3.2
> =====
> htklabs@vm01:~/pwlib$ sudo make
> bothnoshared
>
> make optnoshared debugnoshared
> make[1]: Entering directory `/home/htklabs/pwlib'
> make P_SHAREDLIB=0 opt
> make[2]: Entering directory `/home/htklabs/pwlib'
> set -e; make -C src/ptlib/unix opt; make -C plugins opt;
> make[3]: Entering directory `/home/htklabs/pwlib/src/ptlib/unix'
> make[3]: Nothing to be done for `opt'.
> make[3]: Leaving directory `/home/htklabs/pwlib/src/ptlib/unix'
> make[3]: Entering directory `/home/htklabs/pwlib/plugins'
> set -e; make  -C sound_alsa opt; make  -C sound_oss opt; make  -C
> vidinput_v4l opt;
> make[4]: Entering directory `/home/htklabs/pwlib/plugins/sound_alsa'
> mkdir -p ../pwlib/device/sound
> g++  -D_REENTRANT -Wall  -DP_64BIT -I/home/htklabs/pwlib/include \
>         -lasound \
>         -I. -shared sound_alsa.cxx -o ../pwlib/device/sound/alsa_pwplugin.a
> In file included from /home/htklabs/pwlib/include/ptlib/timer.h:133,
>                  from /home/htklabs/pwlib/include/ptlib.h:175,
>                  from sound_alsa.h:1,
>                  from sound_alsa.cxx:139:
> /home/htklabs/pwlib/include/ptlib/notifier.h: In constructor
> ‘PNotifierFunction::PNotifierFunction(void*)’:
> /home/htklabs/pwlib/include/ptlib/notifier.h:42: warning: the address of
> ‘obj’ will always evaluate as ‘true’
> sound_alsa.cxx: In member function ‘virtual BOOL
> PSoundChannelALSA::Write(const void*, PINDEX)’:
> sound_alsa.cxx:506: warning: suggest parentheses around && within ||
> sound_alsa.cxx: In member function ‘virtual BOOL
> PSoundChannelALSA::Read(void*, PINDEX)’:
> sound_alsa.cxx:554: warning: suggest parentheses around && within ||
> /usr/bin/ld: /tmp/cclZBxnC.o: relocation R_X86_64_32 against `a local
> symbol' can not be used when making a shared object; recompile with -fPIC
> /tmp/cclZBxnC.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[4]: *** [../pwlib/device/sound/alsa_pwplugin.a] Error 1
> make[4]: Leaving directory `/home/htklabs/pwlib/plugins/sound_alsa'
> make[3]: *** [opt] Error 2
> make[3]: Leaving directory `/home/htklabs/pwlib/plugins'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/home/htklabs/pwlib'
> make[1]: *** [optnoshared] Error 2
> make[1]: Leaving directory `/home/htklabs/pwlib'
> make: *** [bothnoshared] Error 2
> htklabs@vm01:~/pwlib$
>
> ===
> Thanks,
> -LN
>
> On Wed, May 6, 2009 at 3:25 PM, Jan Willamowius <jan@xxxxxxxxxxxxxx> wrote:
>
> > Hi,
> >
> > 2.3.0 is not released, yet. You can download the current development
> > version and compile it yourself. Please see
> > http://www.gnugk.org/h323develop.html
> >
> > Regards,
> > Jan
> >
> > oso che bol wrote:
> > > HI Jan,
> > >
> > > Could you please help to point me out how to download GnuGk 2.3.0?
> > >
> > > I only see on download part version 2.2.8 ...
> > >
> > > Thanks,
> > > -LN
> > >
> > > On Tue, May 5, 2009 at 9:09 PM, oso che bol <ndlgroup1@xxxxxxxxx> wrote:
> > >
> > > > Hi Jan,
> > > >
> > > > Thanks you for your information.
> > > >
> > > > I will try to deploy GnuGk as a Proxy mode. I will be back when some
> > > > difficult issues occur.
> > > >
> > > > Thanks,
> > > > -LN
> > > >
> > > >
> > > > On Tue, May 5, 2009 at 5:12 PM, Jan Willamowius <jan@xxxxxxxxxxxxxx
> > >wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> when you switch GnuGk to proxy mode, GnuGk will act as a RTP proxy
> > > >> itself. See http://www.gnugk.org/gnugk-manual-5.html#ss5.2
> > > >> You might not even need the internal gatekeeper in such a scenario if
> > > >> both external and internal endpoints can reach GnuGk on the public IP.
> > > >>
> > > >> If your endpoints support it, you might want to check out the CVS
> > > >> version that supports H.460.18 that will even allow endpoints access
> > > >> that are firewalled.
> > > >>
> > > >> Regards,
> > > >> Jan
> > > >>
> > > >>
> > > >> oso che bol wrote:
> > > >> > Hi list,
> > > >> >
> > > >> > i am too new to this list.
> > > >> >
> > > >> > I have a question. May i use this scenario?
> > > >> > UA (private IP) --Internet-- GnuGK (public IP) + rtpproxy --
> > Internal
> > > >> > Network --- Internal GK --- Internal H323 User.
> > > >> >
> > > >> > Could anyone pls confirm if I could use GnuGK with Rtpproxy as SIP
> > use?
> > > >> Or
> > > >> > there are any modules/features of GnuGk do the same with
> > gnugk+rtpproxy?
> > > >> >
> > > >> > Thanks,
> > > >> > -LN

--
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux