Brekeke SIP Server Quickstart Guide
This Quick Start Tutorial is intended to
provide a step-by-step guide to set up VoIP communication using the Brekeke SIP
Server. The guide outlines a simple example using a SIP phone and X-Lite
Softphone.
SIP User Agent (UA)<->
Brekeke SIP Server (BSS) <-> SIP User Agent (UA)
In this example, the SIP UAs are a Grandstream BudgeTone-100 (a SIP compliant
phone) and X-Lite Softphone. However, any SIP-compliant phone, device, or
program can be used in setting up your VoIP communications.
Step 1 - What's Required?
- A simple/inexpensive LAN switch (or hub) for setting up a small
LAN environment
- A Windows PC (i.e., Windows XP, Windows Vista) with BSS installed
- BudgeTone-100 from Grandstream
- X-Lite Softphone. If you do not have X-Lite Softphone on your PC,
you can download it from CounterPath’s webpage.
Download
X-Lite Softphone
Note: When using X-Lite Softphone or any other SIP softphones, you need
a microphone and speaker for voice communication.
Step 2 - Setting up Windows PC with BSS
Your PC houses the Brekeke
SIP Server, making it accessible for the SIP UAs. The BSS is the heart and soul
of your VoIP communication system; it enables the registered SIP UA's to
communicate.
- Download the Brekeke SIP Server from our website. A 60 day trial
version is also available from our downloads
page. After successfully downloading the
product, a Brekeke SIP Server icon will appear on your PC's desktop.
- Configure your PC with a static IP address (Ex.
192.168.0.102) and subnet mask of 255.255.255.0:
- Click
[Start]->[Control Panel], click the [Network
Connection] icon. In the Local Area Connection Status dialog box, click
the [Property] button.
- In the
Local Area Connection Properties dialog box, double-click the [Internet
Protocol (TCP/IP)] item. In the Internet Protocol (TCP/IP) Properties
dialog box, check
the [Use the following IP address] button. Enter IP address in the [IP
address] field (Ex: 192.168.0.102) and Enter 255.255.255.0 in the
[Subnet mask] field
- Make
sure your PC is connected to the LAN switch/Hub with an Ethernet cable.
- Start the BSS by double-clicking the [Brekeke SIP
Server] icon from your PC desktop.
From the Brekeke SIP Server Admintool screen, enter "sa" in both
the [User] and [Password] fields and click the [Start] button. The Status
field should indicate that the BSS is Active. Now click the [Registered
Clients] heading, you should see that no SIP UA has registered with the
BSS. This is because we have not connected any SIP UA to this LAN yet.
Note: If you cannot start BSS, it is most likely because its listening
port (5060) is already occupied by other applications. If this happens, restart
your PC and enable your BSS first when your PC is up.
Step 3 - Setting up Grandstream BudgeTone-100
- Set up your first SIP UA, the Grandstream BudgeTone-100, with a fixed IP address (Ex:
192.168.0.160) and subnet mask of 255.255.255.0. We also need a user/phone number - for example, let's pick
160, same as the number assigned for the host part of the example IP address. This means that this phone has a
user/phone number of 160 and it is in the same LAN as the SIP Server, 192.168.0.102. The phone will need to
register to the SIP Server so it also needs to know the SIP Server's IP address. When configuring the
BudgeTone-100, enter your IP address used in step 2 (Ex: 192.168.0.102) in the "SIP Server" field and
user/phone number (Ex.160) in the "SIP User ID" field.
Use the following URL for more
information on setting up your BudgeTone-100 phone:
http://www.grandstream.com/user_manuals/budgetone100.pdf
Most of the default setting in the
Grandstream BudgeTone-100 should be fine, please focus on the following settings for making this example works:
- IP address: Configure this to static IP address (Ex. 192.168.0.160) with a subnet
mask of 255.255.255.0, same as the example provided in
http://www.grandstream.com/user_manuals/budgetone100.pdf
- SIP Server address: Set it to the BSS's IP address
(Ex: 192.168.0.102). If the Grandstream BudgeTone-100 is preset to some known IP address, i.e.: 192.168.0.160.
Then you can just access the phone's HTTP server and change the configuration info with your browser on your PC
as: http://IPaddress (Ex. http://192.168.0.160).
- Since we are not using any DNS server, we cannot use
email-like syntax (i.e.: john@sip.pc1.com) for dialing. The configuration
in step 1 would mean this phone has a user/phone number of 160 known to
the BSS of 192.168.0.102. Now make sure the phone is connected to the LAN
switch/Hub with an Ethernet cable and you should see from the BSS (click
the [Registered Clients] heading) that this phone is registered as a user
of 160, with a contact URL of sip:160@192.168.0.160, among other
registration info for the phone.
Step 4 - Setting up X-Lite as a SIP UA
- Set up X-Lite as a SIP UA on your PC:
- Start X-Lite from your PC by choosing [Start]->[All Programs]->[X-Lite].
- From the X-Lite dialog box, go to [▼]->[SIP Account
Settings]->[Properties]:
- Enter "555" in the [User Name] field
- Enter "IPaddress" (Ex. "192.168.0.102")
in the [Domain] field
- Check the "Register with domain and receive
incoming calls"
- Check proxy and enter "address"(Ex.
"192.168.0.102") in the "Send outbound via" field
- In order for X-Lite to work as a voice communication
device, you must have a microphone and speaker(s) connected to your PC.
Note: This setting means the X-Lite has a user/phone number of 555 known to
the SIP server of 192.168.0.102.
- Verify that X-Lite has successfully registered with
the SIP Server by logging in to the SIP Server and click the [Registered
Clients] heading. You should see that the X-Lite is registered as a
user/phone number of 555, with a contact URL of sip:@192.168.0.102, among
other registration information.
Step 5 - Making VoIP Calls
To make a
call from the Grandstream BudgeTone-100 to X-Lite, follow these steps:
- Press Speakerphone.
- Wait for a steady dial tone.
- Dial 555, followed by #.
To make a
call from X-Lite to the Grandstream BudgeTone-100, follow these steps:
- To make call, dial 160 and click on [Dial] button
- To hang up, click on [hang up] button
Step 6 - Setting Up BSS for User Authentication
You can
choose to authenticate the users when they are registering to BSS. To set up
user authentication on BSS, do the following:
- Set Brekeke SIP Server->[Config]->[SIP(General)]->[Authentication].[REGISTER]
= On
Note: In order for the changes to take effect, restart
BSS.
- Choose Brekeke SIP Server->[Authentication]->[Edit
Users].
- Set [User] = SomeUserName.
- Set [Password] = SomePassword.
- Set [(Confirm)]= SamePassword.
- Click [Add].
- To make sure the user authentication information is
added for this user, click [Search].
- Grandstream BudgeTone-100 Authentication setting
- Enter the "Authentication User Name" in the [Authenticate
ID] field
- Enter the "Authenticate Password" in the
[Authenticate Password] field
- X-Lite Authentication setting
- Enter the "Authenticate Password" in the [Password]
field.
- Enter the "Authentication User Name" in the [Authorization
user name]