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

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.