PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
1.0 Setup Diagram
This is a setup diagram for a mesh network of Atcom MP01 configuration. When
everything is configured we’ll be able to call between analog phones and also to have
communication with Elastix sever.
Figure 1-1. Setup Diagram
2.0 Host PC Environment
Table 2-1. Host Server Environment Details Description
Hardware Type Elastix Appliance ELX-Series
Hardware Version ELX-3000
Software Type Elastix
Software Version 2.3
3.0 Test Setup Equipment
Table 3-1. Test Setup Equipment
Equipment Model Version
IP (SIP) Phone N/A N/A
Atcom MP01 r233
Switch N/A N/A
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
1.0 Setup Diagram
This is a setup diagram for a mesh network of Atcom MP01 configuration. When
everything is configured we’ll be able to call between analog phones and also to have
communication with Elastix sever.
Figure 1-1. Setup Diagram
2.0 Host PC Environment
Table 2-1. Host Server Environment Details Description
Hardware Type Elastix Appliance ELX-Series
Hardware Version ELX-3000
Software Type Elastix
Software Version 2.3
3.0 Test Setup Equipment
Table 3-1. Test Setup Equipment
Equipment Model Version
IP (SIP) Phone N/A N/A
Atcom MP01 r233
Switch N/A N/A
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
1.0 Setup Diagram
This is a setup diagram for a mesh network of Atcom MP01 configuration. When
everything is configured we’ll be able to call between analog phones and also to have
communication with Elastix sever.
Figure 1-1. Setup Diagram
2.0 Host PC Environment
Table 2-1. Host Server Environment Details Description
Hardware Type Elastix Appliance ELX-Series
Hardware Version ELX-3000
Software Type Elastix
Software Version 2.3
3.0 Test Setup Equipment
Table 3-1. Test Setup Equipment
Equipment Model Version
IP (SIP) Phone N/A N/A
Atcom MP01 r233
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
4.0 Setup Procedure
To prepare Elastix for incoming calls and outgoing calls to the mesh network follow these steps:
1. Go to the web address of the Elastix Server Login page. The web address is determined by the customer, for this guide we have used the IP address 192.168.1.75
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 and password are determined by the customer.
Figure 4-1. Login
3. Let’s create an Elastix SIP extension for communication with analog phones of the mesh network. For this go to “PBX => PBX Configuration => Extension”. Click on
“Submit” having selected “Add SIP Device” option. (Figure 4-2)
Figure 4-2. SIP Extension
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
• User Extension (302 in this example) • Display Name (“IPPhone” in this example) • secret (“h7Dka3Rf9si0t” in this example)
Figure 4-3. Add SIP Extension
5. Click on “Submit” button and Apply changes by clicking on the pink ribbon that appears at the top of the page. Configure the IP Phone with the same extension and password.
6. Now we’ll create a SIP trunk to register only one MP01 in order to have
communication between MP01’s network and Elastix sever. Go to “PBX => PBX Configuration => Trunks”. Click on “Add SIP Trunk”, then “Submit” (Figure 4-4).
Set the following parameters:
General Settings
Trunk Name: A name for the SIP trunk (“MP01Trunk” in this example)
Outgoing Settings
Trunk Name: mesh
PEER Details: type=friend context=default disallow=all qualify=yes dtmfmode=rfc2833 canreinvite=no host=192.168.1.99 (MP01’s IP address) allow=gsm,ulaw
(This configuration have been taken from a recommendation of “VillageTelco” who is the promoting organization of Mesh Potato project.)
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
• User Extension (302 in this example) • Display Name (“IPPhone” in this example) • secret (“h7Dka3Rf9si0t” in this example)
Figure 4-3. Add SIP Extension
5. Click on “Submit” button and Apply changes by clicking on the pink ribbon that appears at the top of the page. Configure the IP Phone with the same extension and password.
6. Now we’ll create a SIP trunk to register only one MP01 in order to have
communication between MP01’s network and Elastix sever. Go to “PBX => PBX Configuration => Trunks”. Click on “Add SIP Trunk”, then “Submit” (Figure 4-4).
Set the following parameters:
General Settings
Trunk Name: A name for the SIP trunk (“MP01Trunk” in this example)
Outgoing Settings
Trunk Name: mesh
PEER Details: type=friend context=default disallow=all qualify=yes dtmfmode=rfc2833 canreinvite=no host=192.168.1.99 (MP01’s IP address) allow=gsm,ulaw
(This configuration have been taken from a recommendation of “VillageTelco” who is the promoting organization of Mesh Potato project.)
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
• User Extension (302 in this example) • Display Name (“IPPhone” in this example) • secret (“h7Dka3Rf9si0t” in this example)
Figure 4-3. Add SIP Extension
5. Click on “Submit” button and Apply changes by clicking on the pink ribbon that appears at the top of the page. Configure the IP Phone with the same extension and password.
6. Now we’ll create a SIP trunk to register only one MP01 in order to have
communication between MP01’s network and Elastix sever. Go to “PBX => PBX Configuration => Trunks”. Click on “Add SIP Trunk”, then “Submit” (Figure 4-4).
Set the following parameters:
General Settings
Trunk Name: A name for the SIP trunk (“MP01Trunk” in this example)
Outgoing Settings
Trunk Name: mesh
PEER Details: type=friend context=default disallow=all qualify=yes dtmfmode=rfc2833 canreinvite=no host=192.168.1.99 (MP01’s IP address) allow=gsm,ulaw
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
Figure 4-4. Trunks
7. Click on “Submit Changes” and apply changes.
8. If the MP01 is behind a NAT firewall, you have to edit the file
“/etc/asterisk/sip_general_custom.conf” and add the following line:
nat=yes
9. For outgoing calls from Elastix to the mesh network we need to specify a prefix that will allow making calls using the SIP trunk. To do this, go to “PBX => PBX
Configuration => Outbound Routes”. Click on “Add Route” link (Figure 4-5). Set
the following:
Route Settings
Route Name: (“9_Mesh” in this example)
Dial patterns
Prefix: (“9” in this example) | Match pattern: (“.” in this example)
Trunk Sequence for Matched Routes
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
Configuring Atcom MP01
Only one MP01 must be configured with a SIP Trunk to register with Elastix. For the other ones you only need to follow steps 8 and 9 to configure the extension number for the analog phones connected to them.
1. Connect a PC directly to one MP01 device using a straight network cable.
2. Enter to the MP01 web interface by pointing your browser to the MP01’s IP address.
Factory default settings IP Address 192.168.1.20 Web Access User Name root Web Access Password (none)
3. Login into the WebUI using the credentials by default specified in the table above (Figure 4-6)
Figure 4-6. Login
4. Once inside, change the administrator password to have SSH access later. Go to the top-right menu and choose the “LuCI” option (Figure 4-7)
Figure 4-7.
5. From the top menu, go to “System => Admin Password”, and set the new password
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
Configuring Atcom MP01
Only one MP01 must be configured with a SIP Trunk to register with Elastix. For the other ones you only need to follow steps 8 and 9 to configure the extension number for the analog phones connected to them.
1. Connect a PC directly to one MP01 device using a straight network cable.
2. Enter to the MP01 web interface by pointing your browser to the MP01’s IP address.
Factory default settings IP Address 192.168.1.20 Web Access User Name root Web Access Password (none)
3. Login into the WebUI using the credentials by default specified in the table above (Figure 4-6)
Figure 4-6. Login
4. Once inside, change the administrator password to have SSH access later. Go to the top-right menu and choose the “LuCI” option (Figure 4-7)
Figure 4-7.
5. From the top menu, go to “System => Admin Password”, and set the new password
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
Configuring Atcom MP01
Only one MP01 must be configured with a SIP Trunk to register with Elastix. For the other ones you only need to follow steps 8 and 9 to configure the extension number for the analog phones connected to them.
1. Connect a PC directly to one MP01 device using a straight network cable.
2. Enter to the MP01 web interface by pointing your browser to the MP01’s IP address.
Factory default settings IP Address 192.168.1.20 Web Access User Name root Web Access Password (none)
3. Login into the WebUI using the credentials by default specified in the table above (Figure 4-6)
Figure 4-6. Login
4. Once inside, change the administrator password to have SSH access later. Go to the top-right menu and choose the “LuCI” option (Figure 4-7)
Figure 4-7.
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
Figure 4-8. Changing password
6. Change the IP address according to your network. From the top menu go to
“Network => Interfaces => LAN” (Figure 4-9)
Figure 4-9. LAN settings
7. Disconnect the cable from MP01 and connect it to the network. You should be able to access to MP01 through the new IP address and using the new password.
8. Once logged in, set the following parameters to configure the mesh network (Figure 4-10):
Network
IP Address: This is the wireless IP address of the MP01. The last number
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
Figure 4-10.
In this example the extension would be 20 because that is the last number of IP address. Configure each MP01 in the same network but different extension. 9. If you changed the IP address, click on the refresh button located next to Network to
save changes. Reboot the device by disconnecting the power cord and connecting again.
10. Now we have to register the Mesh Potato device using the parameters we set for the SIP Trunk in Elastix. To do this login using SSH access to the MP01 with the password we set before (Figure 4-11).
Figure 4-11
11. Edit the file “/etc/asterisk/sip.conf”. Add the following line at the end of the section [general] (Figure 4-12):
register = mesh@mesh/mesh
Then add these lines at the end of the file:
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
dtmfmode=rfc2833 canreinvite=no
host=192.168.1.75 (IP of Elastix Server) allow=gsm,ulaw,alaw
nat=yes
Figure 4-12
12. Save the file and go to Asterisk CLI to reload the SIP service by typing sip reload. Then check out if the SIP trunk is registered with Elastix. You should see the trunk registered, something like this:
Figure 4-13
13. Now you should be able to call from the IPPhone using the prefix 9 to a number of the Mesh Potato.
14. If we want to call from the analog phones to Elastix and reach the IP Phone we have to configure the dial plan in MP01. Edit the file “etc/asterisk/extensions.conf”. Add the following line at the beginning of the section [default] (Figure 4-14).
exten => _1XXX,1,Macro(page,SIP/${EXTEN})
Figure 4-14
This line means that if we want to call an extension in Elastix server we have to dial
1 followed by an extension of 3 digits (In this guide it would be 1302 to call to the
IP Phone). You can set more or less digits. For any number of digits you can set
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
15. Save the file and go to Asterisk CLI to reload the dial plan service by typing
dialplan reload.
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
Calling directly without using a trunk prefix
If you want to call directly the number of the analog phone extension without the prefix of the trunk , follow these steps:
1. Go to to Elastix WebUI and create a virtual extension with the same number of the analog phone extension. Go to “PBX => PBX Configuration => Extensions” and
select “None (virtual exten)” (Figure 4-15)
Figure 4-15
2. Fill out the following information.
Add extension
User Extension: 20 (Analog phone extension)
Display Name: 20
Voicemail & Directory
Status: Enabled
Voicemail Password: 1647
Figure 4-16
3. Click on “Submit” button and Apply Changes. Now click on the extension we just
created to edit the “Follow me” feature (Figure 4-17).
PaloSanto Solutions Atcom MP01 and Elastix Server Setup Guide
4. On the section “Add Follow Me Settings”, set the Follow Me List and the
Destination if no answer (Figure 4-18): Edit Follow Me
Follow-Me List: 920#
Destination if no answer
Voicemail : <20> 20 (unavail)
Figure 4-18
5. Click on “Submit Changes” and apply changes.