Removing an Account (Optional) ................................................28
Appendix A: Important Warning Regarding Emergency Calls .......29
Appendix B: Contact Information ..................................30
Ubiquiti Networks Support ......................................................30
iUbiquiti Networks, Inc.
Chapter 1: OverviewQuick Provisioning Guide
Chapter 1: Overview
This User Guide provides intructions on how to configure a third-party Private Branch
eXchange (PBX) for use with the UniFi® VoIP Phone (models UVP, UVP-Pro, and
UVP-Executive). Throughout the rest of this document, UniFi VoIP Phone refers to any and all
models of the UniFi VoIP Phone.
This configuration involves two steps:
• Configure the PBX with the extension of each phone.
• Configure each UniFi VoIP Phone’s SIP settings so that it can connect to the PBX.
For detailed instructions, refer to the appropriate section for your PBX:
This chapter provides detailed instructions on how to configure a UniFi VoIP Phone on the
Asterisk® (http://www.asterisk.org/) open‑source PBX. This process, which must be done
once for each phone, involves modifying the SIP configuration file for the phone, editing the
dial plan file to enable calls to the extension, and configuring the SIP settings on the phone.
Creating a Phone Extension on Asterisk
Each PBX comes with a default configuration that contains a dial plan, extensions, and all
initial settings needed. By default, the file /etc/asterisk/sip.conf contains the
extensions. To add extension 100, add the following text snippet to this file (bold italic text
indicates user‑specified values):
[sip-temp](!)
type=friend
host=dynamic
disallow=all
allow=ulaw
qualify=1000
canreinvite=no
nat=force_rport
dtmfmode=rfc2833
context=from-internal
[100](sip-temp)
username=100
callerid=Your Name <100>
secret=password
dial=SIP/100
To be able to call this extension, you need to hook it up to the corresponding dial plan
(found in file /etc/asterisk/extensions.conf by default). To do so, create the
context from-internal that is specified as the outbound context for the SIP extension.
For extension 100, the lines to be added are:
[from-internal]
exten => 100,1,Dial(SIP/${EXTEN}|40|Ttr)
Configuring the Phone’s SIP Settings
Before you can configure the UniFi VoIP Phone’s SIP settings, perform initial configuration
on the phone by following the instructions in “Initial Configuration” on page 26. Then,
configure the phone’s SIP account by following these steps:
1. Press the Settings icon at the bottom left of the Welcome screen to display the Phone Settings page.
2. Press SIP service.
3. Press SIP accounts.
2
Ubiquiti Networks, Inc.
4. Press Add account. The SIP Settings page is displayed.
5. Complete the following SIP account information and press OK:
FieldDescription
ServerSIP server IP address or hostname for registration
IP-basedSelect this option if you are using IP‑based authentication
User nameSIP user ID
PasswordSIP password
Authentication name (optional)The username used for authentication, if required
Display name (optional)The name that will be displayed to other users as the Caller ID
Display extension (optional)The extension that will be displayed to other users
Voicemail numberThe extension where the voicemail service can be reached at your PBX
Outbound proxy (optional)The SIP proxy used for outbound calls, if required
The minimum Asterisk SIP configuration requirements are:
• Server Set this to the IP or hostname of your Asterisk server.
• User name Set this to the SIP username.
• Password Set this to the SIP password.
Enter the SIP settings that you configured in Asterisk in “Creating a Phone Extension on Asterisk” on page 2. For the Password field, use the setting of the secret option.
6. The new account will be displayed on the SIP accounts page.
If the new account was properly configured, Receiving calls will be displayed.
If it was not properly configured, Not connected to server (error: 408) will be displayed.
peerpoke: Peer ‘100’ is now Reachable. (139ms / 5000ms)
• The UniFi VoIP Phone’s Dialer screen will show the phone as connected, and will allow you
to make calls if your Asterisk server is set up for outbound calls (SIP, IAX, PRI, etc.).
Configuring Calls Between Phones
To enable calls between UniFi VoIP Phones (extensions 100 and 101 in this example), first
add the following lines to the sip.conf file (bold italic text indicates user‑specified
This chapter provides detailed instructions on how to configure a UniFi VoIP Phone on the
FreeSWITCH® (http://www.freeswitch.org/) open‑source PBX. This process, which must be
done once for each phone, and involves creating a unique configuration file for the phone,
editing the dial plan file to enable calls to the extension, and configuring the SIP settings on
the phone.
Creating a Phone Extension on FreeSWITCH
Each PBX comes with a default configuration that contains a dial plan, extensions and all
initial settings needed. By default, the files containing the extensions in FreeSWITCH are
in the /etc/freeswitch/directory/default directory. To add extension 100 to
FreeSWITCH, create a file named 100.xml with the following contents (bold italic text
indicates user‑specified values):
Once you have completed these steps and configured your UniFi VoIP Phone, you will be
ready to make and receive calls with it.
Configuring the Phone’s SIP Settings
Before you can configure the UniFi VoIP Phone’s SIP settings, perform initial configuration
on the phone by following the instructions in “Initial Configuration” on page 26. Then,
configure the phone’s SIP account by following these steps:
1. Press the Settings icon at the bottom left of the Welcome screen to display the Phone Settings page.
2. Press SIP service.
6
Ubiquiti Networks, Inc.
3. Press SIP accounts.
4. Press Add account. The SIP Settings page is displayed.