In this document we see the installation of a telephone exchange via IP FreePBX, distribution that brings installed Asterisk GUI and allows us to configure our PBX using a simple and intuitive way. This first document only consists of an installation and base configuration we will use in future documents to do very cool things about integrating it with Raspberry Pi.
Among other, we have 2 options, or installing FreePBX on a virtual machine, or use such as a Raspberry Pi and install directly RasPBX. This document will install a MV, and said, in this and other documents see for example how to create extensions, and connecting a softphone… if we have fiber optic Movistar, how to make and receive calls to our switchboard, or better yet, how to make calls through a Raspberry Pi directly with voice commands, in plan “Call mom” and have a calling system for the living room flipante, a good microphone and speaker… we have a free hands molón!
I said, in this post I will use a virtual machine that'll create in my VMware environment, It will be a very ligerita machine as Asterisk depending on the environment does not require great resources, I remind you that in a Raspberry Pi is great too!
We disclaim iso web de FreePBX, We introduce the ISO to a virtual machine and do the installation, usually select the recommended option (although later the update), FreePBX 14 Installation (Asterisk 13).
select “Graphical Installation – Output to VGA”,
and select “FreePBX Standard”,
In the setup menu, before making the installation we will configure what interests us, at least from the network options “Network & Hostname”,
We configure a computer name and from “Configure” > “General” mark as active interface and “IPv4 Settings” We configure our static IP address. “Save”, and after setting the other options that interest us, We start the installation from “Begin Installation”,
During the installation process, we set the root password from “Root password”,
We put a strong password & “Save”,
… and nothing, wait while installing…
Once installed, click on “Reboot” to restart, remove the ISO / DVD.
After installation, If we agree with a browser to the URL of FreePBX, It tells us that we need to create a user with administrator privileges, you establish a password and indicate the email, click on “Create Account”,
At last, we can enter and the administration panel from “Free PBX Administration”,
We confirm with the administrator account you just created & “Continue”,
If we can activate our installation, necessary if we buy commercial modules.
We indicate the main language sounds, system language or time zone & “Submit”,
“Continue” to configure the firewall FreePBX,
If we want to add the IP from which we are accessing the access list press “Yes”,
If we want to add the current IP range to the access list press “Yes”,
click on “Yes” Responsive to enable Firewall to allow remote register directly to our customers,
press “Yes” for autodectectar network settings Asterisk,
To create extensions for use in the softphone, We will do so “Applications” > “Extensions”,
“Add Extension” > “Add New PJSIP Extension”,
And we create as many extensions as you need, they assign at least Extension and password, In this example, I create a couple of them to make the example 101 and the 102.
Once we have created extensions, and we can save and load settings, click on “Apply Config”,
Now in our laptop or computer, as well as our phone, we can unburden any softphone to use the IP PBX and IP voice calls with it. The most common are usually used or the 3CX softphone, Zoiper X-Lite, even in this screenshot is a Windows Linphone 10, who cares for you to see the settings that must be put.
We confirm with one of the extensions we just created, In this case I will use the 101, We confirm the IP address of our FreePBX and we will use UDP transport.
If you have a mobile or tablet, since the same, download and install the softphone app that we like and we set, Android in this I am using the extension 102, so it remains to mark 101 and try the call!!!
FreePBX updated and we have good passwords Secured extensions and users, true? From the shell we can upgrade the system:
The update module from “Admin” > “Updates”, tab “Module Updates”, select the repository, Standard default, click on “Check Online”, after verification mark all to update with “Upgrade all” and we perform the update with “Process”.
enabling video calls,
Something interesting is to make video calls or? Good, because if you want to enable them, I recommend you first have updated both the system and modules, and from “Settings” > “Asterisk SIP Settings”,
In “General SIP Settings”, the fine, en Video Codecs, we enable Video Support by clicking on “Enabled”, and select all codecs for more compatibility with any softphone we use. click on “Submit” Y “Apply Config” pair await changes, we can in our IP phone and try to make a video call if it supports.
So with this I just a first initial tutorial of how to deploy and configure Asterisk FreePBX with very basically for making calls and video calls! I hope you have interested! In another document we handsfree with a Raspberry Pi to attend or make calls we ask the microphone, and another post on how to use the fiber optic Movistar to make or receive calls from our office or home!
- Monitoring the DKIM registers, SPF and DMARC from Centreon - 17 the June, the 2021
- A Podcast for YOU – Kubernetes day 1 - 14 the June, the 2021
- Active Directory user logon audit with Elasticsearch and Grafana - 9 the June, the 2021