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 ...

Get Practical VoIP Using VOCAL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.