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/phone0User_Name string1000Display_Name string Phone Pass_Word string test Local_SIP_Port string6060
Save the ua.cfg file for ua1000 as ua1000.cfg.
For ua1001:
Device_Name string /dev/phone1User_Name string1001Display_Name string Phone Pass_Word string test Local_SIP_Port string7060
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access