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

Testing Your Installation

The SIP User Agent may not be the most exciting application that you’ve ever run on your machine, but it is satisfying to see the call signaling working. You won’t be able to talk or hear any audio during this test; this is only meant to prove that your installation is good and ready for more users. Once you get past this stage and start making real calls with a phone or a sound card, you will experience some of the excitement that we’ve experienced at Vovida.

Launching Two User Agents

The allinone deploy script has provisioned two User Agents (UAs)—1000 and 1001—for testing. From your Linux desktop, launch two terminal panels, and then size the panels so that they do not overlap each other. After submitting registration commands, these panels will become your two test UAs.

The configuration of the UAs is controlled by their respective configuration files. For these test units, the deploy script has created configuration files with names that contain the local numbers; for example, the file that controls ua1000 is called ua1000.cfg. See Appendix A for more information about editing these files.

Registering ua1000

In the first panel, type:

                  cd /usr/local/vocal/bin

Press Enter, then type:

                  ./ua -f ua1000.cfg

The following appears:

Ready
01/09/22 14:46:51 Registration OK
Ready

This means that ua1000 has successfully registered with the Registration server. In VOCAL, the Redirect server acts as the SIP Registration server. For a diagram of how this signaling is processed, ...

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