Berofix with 3CX

From berofix - professional SIP gateway

Jump to: navigation, search

Contents

Overview

This small howto should show you, how to connect a berofix gateway to a 3CX Phone System. In this howto we have installed a 3CX Version 10 on a server and assigned the IP-address 172.20.5.150. We have also added two extensions 100 and 101 to it. The 3CX Phone System is connected to a berofix Gateway (Firmware 2.2) which is connected to the PSTN Network through 1 ISDN BRI interfaces. The local fax machine is connected to an analog FXS Port of the berofix Gateway and has the extension 103, which will be directly routed on the berofix gateway. If you have a other berofix module configuration, change the setup accordingly. The next figure will give you an overview about this scenario:


Image:overview3CX.jpg


As you can see in the next figures we have added the 'Extensions' 100 and 101 to our 3CX Phonesystem. Under the menu 'Extension Status' you can see that two SIP Phones are succesfully registered at the 3CX Phonesystem.

Image:extensions.jpg
Image:extensions_status.jpg


Step 1: Setting up the berofix Gateway

Setting up the berofix Gateway
1. Connect the berofix Gateway to your network and power up the device
2. The default IP address of the berofix Gateway is 10.0.0.2 255.0.0.0. If your LAN operates in the same network and the IP-address is free you can skip point 3.
3. Assign your PC network card to for instance the IP 10.0.0.1 255.0.0.0 or any free IP from this network segment.
4. Open the web interface of the berofix Gateway by pointing a browser to http://10.0.0.2 as you can see in the next figure:
5. The default credentials for the berofix web interface are
Username: admin
Password: admin
6. Go to 'Preferences > Network settings' and change the IP Address to a free IP in your network. In our example we will use 172.20.8.10
7. Save the settings and reboot the berofix Gateway. On next startup, you will be able to access the berofix Gateway by pointing a browser to http://172.20.8.10
Image:bf_network_settings.jpg

Step 2: Creating the PSTN Device in the 3CX Phone System

Creating the PSTN Device in the 3CX Phone System
1. Open the 3CX Phone System management console and navigate to the mneu 'PSTN Devices'. Click 'Add Gateway'
2. Configure the name for your gateway, example 'berofix', click on the dropdown and select 'Beronet' and choose the 'berofix BRI / PRI or FXO' depending on your berofix module configuration

Image:3CX_add_gateway_1.jpg
3. Enter the IP address of the berofix Gateway (you have assigned in step 1) in the field "Gateway Host/IP"

Image:3CX_add_gateway_3.jpg
4. Authentication and Channel Information

Image:3CX_add_gateway_2.jpg
Configure the Authentication ID and the Authentication Password for this device. In the channels field, enter the amount of calls that you can make on this port. In this example, we have 1 BRI port and therefore 2 channels. If you have 2 BRI ports, set the number of channels to 4.

Note: If you have 2 BRI Lines which have telephone numbers that are not in the same number block example BRI1=222210-222212 and BRI2=223577-223580, then you have to create 2 gateways with 2 Channels for each gateway not 1 gateway with 4 Channels.
Possible values for the channels:
1 BRI = 2 channels, 2 BRI = 4 channels ...
1 PRI = 30 channels, 2 PRI = 60 channels ...
5. Create an outbound rule for the gateway

Image:3CX_add_gateway_4.jpg

In our Example all call starting with a '0' should be routed to the berofix gateway. Enter the prefix '0' to the field 'Calls starting with the prefix' as you can see in the next figure.
Press 'Finish' to complete the 'PSTN Device' setup

Step 3: berofix - 3CX Wizard

berofix Wizard for 3CX
1. After you complete the PSTN Device setup, you will see a button 'Configure Beronet Card'. Otherwise you will find this button by going to the menu 'PSTN devices' and select the just created PSTN device, in our example with the name 'berofix'. Click on this button to open the 3CX Wizard. You can also access the 3CX Wizard through this link http://IP_BEROFIX/app/api/3CX.php where you have to replace IP_BERIFIX with the IP-address of the berofix, in our example 172.20.8.10

Image:3CX_wizard.jpg

2. You have to login with the default credentials
Username: admin
Password: admin
3. The 3CX Wizard is devided in 3 sections the 'PSTN Outgoing Options', the 'PSTN-FXS Redirection' and the 3CX Options

-PSTN Outgoing Options
This block will provide all settings for your external PSTN connectivity.

Image:3CX_wizard2.jpg

1. First you have to select the Ports which should be configured as external Lines. In our example we have 1 BRI connected to the Telco, so we select Port 1. The berofix Gateway will put this port in a ISDN Portgroup.
2. Depending on your ISDN-Lines, select PTP if you have a 'Point to Point' connection with DID's (in Germany called 'Anlagenanschluss')or select PTMP if your Lines are in 'Point to Multipoint' Mode based on MSN's(in Germany called 'Mehrgeräteanschluss')
3. Select the tonset depending on the country
4. If you ISDN Lines are supporting 'CLIP No Screening' and you want to use this feature, select 'yes'
5. If you ISDN Lines are supporting 'Call Deflection / Partial Rerouting' and you want to use this feature, select 'yes'

-PSTN to FXS Redirection
Depending on your berofix module configuration this Block would be visible only if you have FXS Ports.

Image:3CX_wizard3.jpg

In our example we want to redirect the extension 103 directly through the berofix device to our local fax machine, which is conntected to FXS Port 1. Routing calls this way assures a reliable and fast way to transmit sensitive calls like Faxes. Depending on how your Telco transmits the CalledID you have to set either the DID (103) or the whole number like (259389103). In Germany we have to set the whole number as you can see in the figure above.
-3CX Options
This block will handle all settings regarding the SIP connectivity between the berofix Gateway and the 3CX Phone System

Image:3CX_wizard4.jpg

1. IP-Address of the 3CX Phone System, in our example 172.20.5.150
2. AuthID for the PSTN Device, in our Example '10000'. Refer to Step 2 point 4.
3. Authentication Password for the PSTN Gateway in our example 'fq79j8t'. Refer to Step 2 point 4.

Step 4: Inbound Routing

Inbound Routing
1. Go to the menu PSTN-Devices and clickon our berofix device. On the right you will a tab called 'DID'
2. We want to add DID's from 100 to 103. This can be done by typing *100-*102 in the blank field and then pressing the 'Add' button.

Image:3CX_inbound1.jpg

3. The next step is to assign extensions to the newly created DID's. This can be done by going to the menu 'Inbound Rules' where you can see the the 3 DID's *100,*101,*102.

Image:3CX_inbound2.jpg

4. By selecting the DID *100, you can choose where the calls should be routed. In our example we want to route it to extension 100

Image:3CX_inbound3.jpg
5. Proceed accordingly with DID *101

Test your settings

Your 3CX Phone System togehter with the berofix Gateway should be ready to use now. Make some testcalls to validate if everything is working as expected.

More Information and howto's can also be found on the 3CX Blog

Personal tools