VoIP

From JonWiki

Jump to: navigation, search

Contents

XMeeting

XMeeting is OSX only, supports SIP and H.323, and is pretty slick.

Make sure to go to the SourceForge downloads page to get the full list of downloads here: http://sourceforge.net/projects/xmeeting/files/

To enable H.323 point-to-point calls, you will need to open some ports:

 * TCP 1720: H.323 port
 * TCP 30000-30010: XMeeting Ports
 * UDP 5000-5099: XMeeting Ports

OpenMCU

OpenMCU is an H.323 server that allows for multiple-user (i.e. > 2) video conferences.

It is available here: http://sourceforge.net/projects/xmeeting/files/

Installation

This guide is written for:

Make sure you have the versions right, according to this thread: http://www.spinics.net/lists/openh323/msg16206.html

This is a guide to getting it working in RH FC9, but it should work for most systems: http://www.whoopis.com/howtos/openmcu.html

I've written a customized guide below for my experience on RHEL 4.6, but it is pretty general.

Preparation

First step, set up some environment variables. I've provided the csh and bash versions below:

setenv PWLIBDIR $HOME/pwlib
setenv OPENH323DIR $HOME/openh323
setenv LD_LIBRARY_PATH $PWLIBDIR/lib:$OPENH323DIR/lib
PWLIBDIR=$HOME/pwlib
export PWLIBDIR
OPENH323DIR=$HOME/openh323
export OPENH323DIR
LD_LIBRARY_PATH=$PWLIBDIR/lib:$OPENH323DIR/lib
export LD_LIBRARY_PATH

Assuming you've grabbed all the tarballs (linked above), we start by compiling pwlib, then openh323, and finally openmcu itself. Extract the tarballs, and make sure to make symlinks for the pwlib and openh323 directories:

ln -s ~/pwlib_v1_11_0 ~/pwlib
ln -s ~/openh323_v1_19_0_1 ~/openh323

Compiling

Now compile!

pwlib

sudo ./configure
#You can run "make both" to get the debug version as well if you'd like.
sudo make opt 
sudo make install

openh323

sudo ./configure
sudo make opt
sudo make install

openmcu

sudo make opt
sudo make install

Post-Compile

Okay! Now that we've installed openmcu, we need to make sure it can see the libraries:

Add the following to /etc/ld.so.conf and then run ldconfig as root:

/usr/local/lib

I chose to do this by creating adding the above line to a new file: /etc/ld.so.conf.d/openmcu-i386.conf

Then you should be able to run

sudo openmcu -x

which will run it in the terminal...

Then just connect to the IP of the computer you set it up on, and you'll be good to go!

Daemon mode is:

sudo openmcu -d

Supposedly daemon mode offers a little bit better video performance, according to a picky audiophile friend.

Firewall Settings

Opening port TCP 1720 is insufficient. You also need to worry about the dynamically allocated ports.

I'm still working on a good solution for this that doesn't require a kernel patch...More to come later.

Retrieved from "http://www.jontse.com/VoIP"