📜 ⬆️ ⬇️

Combining offices in 3CX (Part 3. Use Raspberry PI)

In the previous article, I promised to talk about an alternative to the SBC software (Session Border Controller) from 3CX based on the Raspberry PI single board computer.

Raspberry PI is a single-board (four-layer printed circuit board) computer with a size of no more than a pack of cigarettes and is available in several versions:


For our purposes, the minimum modification is the “B” modification with Micro SD Card support. But we would recommend model 2B:


')
Our recommendations given the load:


Installation and Setup

The piece of iron is configured in a couple of steps:

Step 1. Install the operating system
At startup, a window will appear with a choice of settings, we are interested in Raspbian OS:



After installing the OS, you need access to SSH for further configuration (Login / Password by default: pi / password ).

Next, we connect via SSH (while loading, hold the Shift button to get to recovery mode) - it is recommended to update the OS (update command: sudo apt-get update ).

Step 2. Install and configure 3CX SBC
Download and install 3CX SBC (command: wget downloads.3cx.com/downloads/sbc/3cxsbc.zip ):



Install (command: sudo sh 3cxsbc.zip ):



After installation, you need to configure the configuration file (command: Sudo nano /etc/3cxsbc.conf ):

  1. Specify the password for connecting to the tunnel (configured in the 3CX web interface: Settings / Security / 3CX tunnel, string)
  2. Specify the port for the tunnel (configured in the 3CX web interface: Settings / Security / 3CX tunnel)
  3. Specify the host name (configured in the 3CX web interface: Settings / Network / FQDN)
  4. Specify the SIP port (configured in the 3CX web interface: Settings / Network)




File Location Structure:


And as a result, we get a working scheme:



As mentioned earlier, this scheme is suitable for uniting offices, where no more than 15 simultaneous conversations. If more than 15 are required, we recommend using the software application described in the second part.

Note: the described recommendations are suitable for connecting to the latest version of 3CX Shone System v14 .

Part 1
Part 2

Source: https://habr.com/ru/post/264691/


All Articles