понедельник, 8 февраля 2016 г.

Installing 3CX (SBC) Session Border Controller for Raspberry Pi


Installing 3CX (SBC) Session Border Controller for Raspberry Pi



  • Installing 3CX SBC (Session Border Controller) for Raspberry Pi


  • Introduction


  • Step 1: Install Raspbian Operating system


  • Step 2: Download and Install 3CX SBC


  • Step 3: Configure 3CX SBC


  • Upgrade SBC

  • Introduction

    The 3CX SBC is deployed to remote offices where there are more than 2 or 3 IP Phones, to direct only their signaling through the 3CX Tunnel and keep the media streams local which reduces the amount of internet bandwidth that local calls between phones use. SBC will bundle all SIP traffic over a single TCP port which simplifies your deployment by reducing firewall configuration. In addition 3CX SBC will add stability & security and allow you to easily manage and provision your IP Phones remotely.


    When purchasing a Raspberry Pi, make sure to purchase the Raspberry Pi 2 Model B which is more performant than it's predecessor (V1) and select the "kit" option which includes a supported SD Card because not all SD cards are compatible.


    The 3CX SBC on a Raspberry PI should be used when the remote office has up to 5 users. If you have more than 5 users, then you need to use the 3CX SBC for Windows.


    Step 1: Install Raspbian Operating system

    1. Assemble your Raspberry Pi, connect it to a monitor using a HDMI cable, plug in to your network and power up the device.
    2. A window titled "NOOBS" will appear. Select Raspbian OS and install. When the installation is completed a menu will come up.
    3. Select option 2 to change the default password. The Default username is "pi" and password "raspberry".
    4. Select option 8 - (Advanced Options) and select the "Hostname" option. Enter a unique hostname for the device.
    5. Enable SSH on the device to be able to connect to it using a SSH client.
    6. From the main menu select "Finish" and select "Yes" to reboot.

    Step 2: Download and Install 3CX SBC



    1. Type the following command to the terminal:  

    'wget http://downloads.3cx.com/downloads/sbc/3cxsbc.zip' and  press "Enter"



    1. Type this command 'sudo bash 3cxsbc.zip' and press "Enter"

    Step 3: Configure 3CX SBC

    Once installed you will be prompted to enter the details for your 3CX Phone System as described above in the Required Details section.


    In this section you are going to need to access the 3CX Management console to get information from there.



    1. Enter "FQDN": You can get this from "Settings" > "Network" > "FQDN Tab".


    1. Enter "Local IP". Enter the IP Address of 3CX Phone System. If 3CX Phone System is behind a NAT enter the local IP. If 3CX Phone System is not behind a NAT (where "ipconfig" will result in a public IP address), then enter the Public IP.


    1. Enter "PBX Port": You can get this from "Settings" >  "Network"> "Ports" tab > "SIP Port" field.


    1. Enter "Tunnel port": located in "Settings" > "Security" > "3CX Tunnel" > "Tunnel Listening port"


    1. Enter "Tunnel Password": which you can get from "Settings" > "Security" > "3CX Tunnel" > "Tunnel Password".


    1. 3CX SBC has the ability to connect your remote office to another standby 3CX Phone System in case the 3CX Primary Server is no longer reachable. If you have failover configured with 3CX Phone System, select option 1: Enable Failover followed by the public ip of the standby failover server. Otherwise choose option 2.


    1. Enable Encryption to add an extra layer of security by encrypting all data and calls passing through the 3CX SBC and the 3CX PBX. This requires 3CXPhone System Version 14 and higher.  

    Upgrade SBC

    If you are already running version of the 3CX SBC installed on your Raspberry Pi you can upgrade as follows:


    • Enter 'sudo apt-get update'
    • Enter 'sudo apt-get install 3cxsbc'
    • Type "N" and press "Enter"

    Your 3CX SBC will update and restart. You can proceed to configure your IP Phones from your 3CX Phone System. 



    Комментариев нет:

    Отправить комментарий