Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Installation of Elastix on the beroNet Appliance

Download Elastix VM

In the web interface of the beroNet appliance, go to "Virtual Machines+ → Market". There you can download the ISO of Elastix. If you see it is not the version you wish to install, download the latest version from the Elastix website and upload the ISOs from the menu "Manage ISO"

Elastix VM download in beroNet market

Create Elastix VM

One you have the Elastix ISO, go to "Virtual Machines+ → Manage VMs" and click on the green "New+".

Elastix VM creation

Choose the right settings for your VM depending on the number of extensions you wish to connect to it and the number of calls you want to make. In my case, I give it 1 CPU, 1 Gb of RAM (we can add more after) and 10 Gb of SSD (an extra disk can be later added to the VM for call recording for example). You can secure the VNC access with a password. Finally don't forget to choose the Elastix ISO.

Once you are finished, click on "Create".

You're Elastix virtual machine has been create and you and you can configure a few more parameters in the tabs System, Network, Disks and Other.

Elastix VM configuration

In System, make sure the "boot-device" is "d (ISO)". We will change it to "c (Disk) once the installation is finished.
In Network you can choose the number of network card that the Elastix VM will detect: either one with the NIC-mode "lan" or two with "lan-wan". You can also choose if they should be recognized as "Intel" or "realtek" cards.
In Disks you can add new partitions to your VM
In Other you can choose a VNC display for the VM, change the password of the VNC, choose the keyboard configuration and set different options.  

Finally, click on "start" in order to begin the installation of the ISO. Once it has started, click on "Connect to Screen" or "Screen in new window" to proceed with the installation.

Elastix installation on beroNet VoIP Appliance

Finalize VM creation

Once the installation is finished, power off the VM and nvigate to the "System" tab. Change the boot device to "c (disk)". If the option is not changed, the ISO will be installed each time the VM reboots.

Elastix VM configuration on beroNet Appliance

You can now start the configuration of the Elastix via its web interface. To find out the web interface of the IPBX, start the VM and click on its "Web-VNC" button. You will have the possibility to login with the credentials you set during the installation. The IP address will then be shown:

Elastix VM console on beroNet Appliance

In my case, the IP is 172.20.5.37

Configuration in the Elastix

To connect ISDN or analog lines to Elastix, we first need to configure a SIP trunk and then create rules using it.

Adding a SIP trunk in the elastix

To add a SIP trunk, navigate to "PBX → PBX Configuration → Trunks" and click on "Add SIP Trunk". 

Connect VoIP Gateway to Elastix

Some fields are compulsory, others not. The most important part of the configuration is the "Peer Details". Here is an example of my configuration.

General Settings:

Trunk name: put a name of your choice
Outbound CallerID: you can either choose to set the outbound callerID here or in the outbound rule you will create after. In my case, I prefer to use it in the rule and therefore choose "Allow Any CID" in the "CID Options" field.

Outgoing Settings

SIP configuration of beroNet trunk in Elastix

Here is a description of the "Peer Details":

type= choose "peer" in order to be able to set the callerID right.
nat= in my case I was not using a "NAT".
username= the username used to register Elastix with the beroNet VoIP Gateway. This information will be used in the gateway configuration.
secret= the password used to register Elastix with the beroNet VoIP Gateway. This information will be used in the gateway configuration
host= ip address of the gateway
qualify= not sure what that means

To find more information regarding those settings, visit this page.

In order to be able to receive calls from this trunk, the same information need to be added in the "incoming settings" as shown below:

Incoming settings of SIP trunk between beroNet VoiP Gateway and Elastix

Create rules using the trunk 

Two rules need to be created: an outbound rule to call out and an inbound rule to receive calls from the beroNet VoIP Gateway.

Outbound rule

To create an outbound rule, navigate to "PBX → PBX Configuration → outbound rule".

Elastix outbound rule for beroNet VoIP Gateway

Route settings

beroNet VoIP Gateway Route settings in Elastix

Give the route a name and a CID. If you choose to "override Extensions", then only the number you enter in "Route CID" will be sent and presented. Otherwise, you can choose to present the CID configured in each extension.

Dial Patters that will use this Route

Here you can choose when calls will be routed to this specific rule. In my case, calls starting with 0 are sent to it.

Trunk Sequence for Matched Routes

Finally, don't forget to select the previously created SIP trunk as "Trunk Sequence".

Finish the configuration by clicking on "Submit changes" and activating the settings.

Inbound rule

An inbound rule needs to be created in order to receive calls from the beroNet VoIP Gateway. To create an inbound rule, go to "PBX → PBX Configuration → Inbound Call Control → Inbound Routes". 

A few fields are important and need to be configured:

Elastix - Incoming rule

The DID Number is the number which needs to be called for this route to be applied.

You also need to Set a destination. In his case, it could for example be a call queue of which different members of the team are part.

Destination for Elastix incoming rule


Configuration of the gateway

Finally, the gateway needs to be configured in order to send calls coming from its PSTN ports to the Elastix. Follow our guide in order to configure your beroNet VoIP gateways.





  • No labels