beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide

Transcription

beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
beroNet Gateway BF4002GSMbox and
Elastix Server
Setup Guide
http://www.elastix.org
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
1. Setup Diagram
Figure 1-1 is a setup diagram for a single gateway BF4002GSMbox configuration. The
gateway is setup as a SIP device.
BF4002GSMbox
GSM Gateway
192.168.6.28
Figure 1-1. Setup Diagram
2. Host PC Environment
Table 2-1. Host Server Environment Details
Hardware Type
Hardware Version
Software Type
Software Version
Description
Elastix Appliance ELX-Series
ELX5000
Elastix
2.5
3. Test Setup Equipment
Table 3.1. Test Setup Equipment
Equipment
IP (SIP) Phone
beroNet Gateway
Switch
Model
N/A
BF4002GSMbox
N/A
2
Version
N/A
3.0.02
N/A
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
4. Setup Procedure
To set up the Elastix Server for the beroNet Gateway BF4002GSMbox
1. Go to the web address of the Elastix Server Login page. The web address is determined
by the user, for this guide we have used the IP address 192.168.5.58
2. On the Login page, type the username and password for an administrative user into the
Username and Password fields, see Figure 4-1. The username is admin and the password
is determined by the customer.
Figure 4-1. Login
3. Press Enter or click on the Submit button to go to Elastix’s Dashboard
4. Once inside, click on the PBX tab on the menu at the top of the screen.
Figure 4-2. Dashboard
3
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
5. Click on the Submit button to add an extension so we can test the gateway using it when
we finish the entire configuration, see Figure 4-3. This will take you to the Add SIP
Extension page.
Figure 4-3. Add an Extension
6. On the Add SIP Extension page (Figure 4-4), fill in the following information:
• User Extension (302 in this example)
• Display Name (“IPPhone” in this example)
• secret (‘h7Dka3Rf9si0t’ in this example)
Figure 4-4. Add SIP Extension
7. Click on the “Submit” button at the end of the page and you will see a similar page on
Figure 4-5 displaying the “Apply Configuration Changes Here” pink ribbon on top of the
screen. Click on there to apply changes.
4
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
Figure 4-5. Apply Configuration
8. Configure an IP Phone with the same settings to register it with Elastix Server.
9. Now we will configure an Outbound Route for outgoing calls depending on a prefix.
For this we have to configure a SIP Trunk first. Go to “PBX => PBX Configuration =>
Trunks”. Click on “Add SIP Trunk”, then “Submit” (Figure 4-6). Set the following:
General Settings
• Trunk Name: (BF in this example)
Outgoing Settings


Trunk Name: (berofix in this example)
Peer Details:
type=friend
qualify=yes
fromuser=berofix
secret=WnwgjkC1281HwudwWQ2
host=192.168.6.28
insecure=port,invite
canreinvite=no
Figure 4-6. Add SIP Trunk
5
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
10.Click on the ‘Submit’ button at the end of the page and the SIP Trunk will be created.
11.Now, go to “PBX => PBX Configuration => Outbound Routes” to configure the
outbound route using this trunk. Fill in the following information: (Figure 4-7)
Route Settings
 Route Name: (“9_outside” in this example)
Dial patterns
 Prefix: (“9” in this example) | Match pattern: (“.” in this example)
Trunk Sequence for Matched Routes
 0: (“BF” in this example)
Figure 4-7. Add Route
12.Click on the “Submit” button at the end of the page and Apply changes.
13.Now, we’ll create an incoming route for the calls from PSTN that pass through the
gateway. We’re going to use an IVR for incoming calls. Go to “PBX => PBX
Configuration => IVR”. Click on the link “Add IVR” (Figure 4.8). Set the following:



Name: Name of IVR (WelcomeIVR in this example)
Announcement: Record which will be played for incoming calls.
Options:
o * - Phone book.
o 0 - 302 Extension
o t - Repeat the options of IVR (Add this option by modifying the
IVR after creation)
6
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
Figure 4-8. IVR
14.Click on “Save” and Apply changes by clicking on the pink ribbon that appears at the top
of the page. Now go to “PBX => PBX Configuration => Inbound Routes”. Click on “Add
Incoming Route”. (Figure 4.9). Set the following:



Description: Name of inbound route (“Incoming_Calls” in this example)
DID Number:
Set destination: Where the call will be routed. (“WelcomeIVR” IVR in this
example)
Figure 4-9. Incoming Route
15.Click on “Submit” button and apply changes. Now when we receive calls from PSTN,
the IVR will be played to the caller giving him choices to interact with our Elastix Server.
16.To configure the beroNet Gateway BF4002GSMbox you will need to enter the
information from the sip trunk created on the Elastix Server into the gateway.
7
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
For the initial configuration, refer to the beroNet Gateway BF4002GSMbox User Manual
found at:
http://wiki.beronet.com/index.php/BerofixDocuV2
Table 4.1. Factory default settings
IP Address
Web Access Admin
Web Access Password
10.0.0.2 (/8)
admin
admin
17.Log in to the beroNet Gateway BF4002GSMbox WebUI by pointing your browser to
the IP address of the gateway.
18.When prompted, enter the Web Access Password to access to the WebUI (Figure 4-10).
Figure 4-10. beroNet Gateway WebUI
19.The System Status is the first information (Figure 4-11)
Figure 4-11. System Status
20.Use the information from the Add SIP Trunk (Figure 4-6) to enter the following necessary
information on Sip + => Sip => Add (Figure 4-12)
8
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
And then on the Next button of the popup window that will open and configure as
follows (“ELX500” will be the name given to the SIP trunk in this example)
Figure 4-12. New Sip Trunk
21.Click on “Save” button and then “activate” at the top
22. To configure the GSM Ports go to PSTN + => GSM => Add and configure as follows
(“P1” will be the name given to GSM Li1 Port1 in this example) (Figure 4 13)
9
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
Figure 4-13. GSM ports
23. Click on “Save” button and then “activate” at the top
24.To configure incoming calls (calls from GSM network to Elastix) go to Dialplan => Add
(Figure 4-14)
Figure 4-14. Dialplan incoming call routing
25.Click on “Save” button and then “activate” at the top
26.Now Configure the Outgoing Calling Rules (calls from Elastix to GSM network), click
Add once again and configure as follows (Figure 4-15)
10
PaloSanto Solutions
beroNet Gateway BF4002GSMbox and Elastix Server Setup Guide
Figure 4-15. Dialplan outgoing call routing
27.Click on “Save” button and then “activate” at the top
28.To test the outbound calls, pick up the previously configured IP (SIP) Phone and call to
an external number using the prefix “9” (i.e. 9-2235695). The call will use the registered
port of the gateway to connect to the call and you should be able to hear the ring tone on
the other end.
To test the inbound calls, from the PSTN call to your GSM number which should be
connected to a registered port in the beroNet gateway, and after some rings you should
be able to reach the IVR configured in your Elastix server.
This step completes the procedure of configuration.
11