O'Reilly logo

Practical VoIP Using VOCAL by Luan Dang, Cullen Jennings, David Kelly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing and Running a UA from Separate Hosts

This is not as complex as you might think. All you have to do is copy some files from your allinone machine to another host. Besides the UA files, you will need the sound files from the /vocal1.3.0/sip/ua/Tone directory to enable dial tone and ring-back. In our lab, we used cheap headsets and microphones. The UAs by themselves support only the free G.711 codec .

Tip

These instructions show you how to distribute the UAs over additional hosts. See Chapter 3 for information about distributing VOCAL’s servers over several hosts.

Local Area Network

The simplest setup involves two Linux boxes running the same version of Linux Red Hat . To hear your call, you need a basic sound card and some form of microphone and speaker combination for both machines.

  1. On the remote machine, from /usr/local, type mkdir vocal and from vocal, mkdir bin.

  2. From /usr/local/vocal/bin, copy the UA and ua1000.cfg files to the /usr/local/vocal/bin directory on the other machine.

  3. From /usr/local/vocal1.3.0/sip/ua, copy the complete Tone directory to the same directory on the other machine. Remember, /usr/local/vocal contains the binaries; /usr/local/vocall.3.0 contains the source code.

  4. Following the instructions from the earlier section, "Testing Your Installation,” register both users and make calls.

Wide Area Network

If you have a broadband Internet connection with a fixed IP address, you can send the ua and Tone files to someone else who also has broadband and is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required