Configuring Software UAs

As far as your network is concerned, adding a User Agent is much the same as adding any other Ethernet device. You need to configure an IP address, the net mask, and the address of the Domain Name Server (DNS). Normally, you would not have a DNS server at home; you would use the address of your ISP’s DNS server.

You will also have to configure a default proxy—use the IP address of the UA Marshal server. As for your username, local numbers such as 1000 and 1001 are valid. Passwords are unnecessary unless you are testing digest authentication .

Using the UA

The following provides more detailed information about running two UAs in test mode.

Configuring two UAs

The ua.cfg file is stored in /usr/local/vocal1.3.0/sip/ua/SampleConfigFiles; see Appendix A for a completely annotated copy of the file. Configure two SIP UAs, both with identical settings except for the following:

For ua1000:

Device_Name             string          /dev/phone0
User_Name               string          1000
Display_Name            string          Phone
Pass_Word               string          test
Local_SIP_Port          string          6060

Save the ua.cfg file for ua1000 as ua1000.cfg.

For ua1001:

Device_Name             string          /dev/phone1
User_Name               string          1001
Display_Name            string          Phone
Pass_Word               string          test
Local_SIP_Port          string          7060

Save the ua.cfg file for ua1001 as ua1001.cfg.

If you want to create more user agents, you will need to provision the new users; this is discussed later in this chapter.

Launching two UAs

The options for running the UAs are as follows:

Options: -d Run in daemon mode( not used ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.