Julien Chavanton wrote:
Here is a how-to :
The updated howto is now:
This is a quick "howto" for compiling and testing GNU/Bayonne OpenH323 integration.
History:
OH323 Driver Updates Mark Lipscombe 2003-07-23 Initial Version David Sugar 2003-07-22
Requirements:
GNU Bayonne has been tested under GNU/Linux on various distributions in the past. It is known to compile under FreeBSD and MACOS/X as well. The latter may be used with "openh323", although these introductions presume you are using an ordinary GNU/Linux system. You will need the following packages to be compiled and installed, in this order:
* GNOME XML Library (libxml2)
This is required to enable Bayonne XML & Database support, It must be installed, with development header libraries, before you begin. On systems where libxml2 is available as a package, you must make sure to install libxml2-devel if it is available seperately.
* GNU Common C++ 1.0.13
You can get this from ftp://ftp.gnu.org/gnu/commoncpp. Download, configure, and install.
* GNU ccScript 2.5.x
Any 2.5.x release of GNU ccScript may be used. You can find this at ftp://ftp.gnu.org/gnu/ccscript. Download, configure, and install.
* GNU ccAudio 1.1.x
You need to use GNU ccAudio 1.1.1 (or later). This may be found at ftp://ftp.gnu.org/gnu/ccaudio. Download, configure, and install.
* OpenH323 1.11.x or later
Some GNU/Linux distributions come with pre-built packages for openh323. For these, you will need to install the complete package, including pwlib. GNU Bayonne will auto-detect pre-built openh323 packages supplied with RedHat 9.x and Mandrake. It may detect this from others successfully as well.
Alternately, you should goto www.openh323.org and download the latest pwlib and openh323 tarballs. Configure and install.
Bayonne expects OpenH323 and PTLib to both be installed in the same prefix. If you install PTLib, you must install openh323 also.
Getting GNU Bayonne 1.3.0
Bayonne H.323 support is of this writing available only in cvs. You will need to login to the cvs repository and check out the modules from there. The following commands should be used:
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/bayonne login cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/bayonne co bayonne cd bayonne ./reconfig ./configure
Compiling GNU Bayonne
If you do all these things, and all the pre-requisets are met, GNU Bayonne should compile. During the "configure" process, you will want to look for the line:
"checking for openh323 libraries... found"
This this appears in configure, then probably everything is fine.
Now you are ready to compile. Simply do:
make
Once Bayonne compiles, you are now ready to test GNU Bayonne with openh323. YOU DO NOT NEED TO DO A MAKE INSTALL to test.
Testing GNU Bayonne and Openh323
After "make" completes, if you followed the above instructions, you should find yourself in the "bayonne" subdirectory with a locally built copy. You can now do the following:
server/bayonne --driver oh323 --test playrec
Bayonne will then start itself in the current compile tree, in test mode. It will spit out a long bunch of debug statements, particularly about scripts being compiled, and other configuration. It will then reach a point after a page or two of output, that it is waiting, with a "scheduler not found" message appearing every minute or so...
At this point, you can fire up gnome meeting, ohphone, or any other common h323 client and call your server! From the same machine, you should be able to do a "callto:[EMAIL PROTECTED]" and Bayonne will answer running the "playrec" application script you specified in the command line above.
Preliminary support for in-band DTMF detection is currently included. This means that DTMF from H.323 clients such as MS NetMeeting should work. Note that you may currently see multiple detects of a single DTMF digit if you're using a low bitrate codec.
Installing and using
Now that you have GNU Bayonne operating at some basic level, you can do a "make install" for it. This will also copy a default /etc/bayonne.conf file. In /etc/bayonne.conf, you will want to specify "driver = oh323" under [plugins].
If you have a gatekeeper, GNU Bayonne can register with it. Look for the [h323] section of Bayonne.conf, and in it, set:
usegk = 1 username = dialable number gatekeeperaddress = ip address gatekeeperid = gk name
For example:
usegk = 1 username = 6000 gatekeeperaddress = 127.0.0.1 gatekeeperid = homer
The gatekeeperid is case sensitive, and must match the name of the gatekeeper at the address specified.
Now you can use the gatekeeper and dial to the extension number specified, and Bayonne will answer. For all other things, see the manual.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] g] On Behalf Of David Sugar Sent: April 7, 2005 11:12 AM To: Ambar Roy Cc: [email protected] Subject: Re: [Bayonne-devel] Bayonne and OpenH323
Absolutely you can compile current openh323/pwlib releases from source and use those. I was just suggesting the fastest and simplest way :).
Ambar Roy wrote:
Any option for redhat/fedora distributions? What about compiling the openh323 & pwlib packages from source?
Ambar Roy
The easiest way is to start from debian testing, and also using the testing branch version of Bayonne. From debian testing, you can
apt-get
openh323-dev, and that has all you need from there. You would also
need
to build a current release of Common C++ on the box.
Ambar Roy wrote:
Is there any guide which I can follow to get Bayonne running with OpenH323?
Ambar Roy
begin:vcard fn:David Sugar n:Sugar;David org:GNU Project adr:;;23 Olin Drive;Cape May Court House;NJ;08210;USA email;internet:[EMAIL PROTECTED] tel;home:1 609 465 5336 tel;cell:1 908 917 6084 x-mozilla-html:FALSE url:http://www.ostel.com version:2.1 end:vcard
_______________________________________________ Bayonne-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bayonne-devel
