Table of Contents
FusionPBX on Debian 13 (Trixie)
Last tested with version: FusionPBX 5.5 Official Release
FusionPBX Quick Installation
FusionPBX recommends Debian 12 or 13.
For best results, please ensure your server has been updated first:
sudo apt update && apt upgrade -y
Then run the following as root:
wget -O - https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/debian/pre-install.sh | sh;
Edit defaults in /usr/src/fusionpbx-install.sh/debian/resources/config.sh according to your needs. Example:
domain_name=sip.mydomain.example system_username=sipuser
Then run the following as root:
cd /usr/src/fusionpbx-install.sh/debian && ./install.sh
Get a coffee. It will take a couple of minutes for the script to finish installing FusionPBX. Maybe two coffees…
The script will conclude by displaying the installation notes, including the login credentials. Make a note of these and keep them in a safe place.
Setting up extensions on FusionPBX, Dialplan
- Accounts → Extensions → + Add
Once you have saved the data record, you can access it again to set the SIP registration password.
Dialplan
- Dialplan → Destinations → + Add
Here, you fill in the fields ‘Country Code, Destination (area code (without 0) + “system code” + extension) and Caller ID Name’.
For example:
- Country Code: 0049 (Germany = +49/0049)
- Destination: 2411234561 (Aachen = 0241, number= 123456, extension= 1)
- Caller ID Name: Anna
The destination automatically creates an inbound route under ‘Dialplan → Inbound Route’.
Adding a SIP Trunk
Using the configuration example: ecotel.de
Example user data:
- Technisches Produkt: TRUNK
- SIP-Benutzername: BSS2345678
- Registriert: Ja
- Realm: nbss-2345678.sip-ecotel.de
- Proxy: trunkd.sip-ecotel.de
Your password will only be displayed once in the ecotel Web UI when you create it, so make a note of it. Otherwise, you can reset the account password in the ecotel Web UI.
Adding the trunk using the example of ecotel.de
- Accounts → Gateways → + Add
Example user data:
- Gateway: ecotel
- Username: BSS2345678
- Password:
- From User: BSS2345678
- From Domain: nbss-2345678.sip-ecotel.de
- Proxy: trunkd.sip-ecotel.de:5083
- Realm: nbss-2345678.sip-ecotel.de
Adding trunk provider IP addresses in access lists
- Advanced → Access Controls → providers
Add (this is for the example of ecotel):
- allow 195.78.176.96/27
- allow 62.144.207.96/27
Dialplan
In our example, contact numbers are saved in E.164 format. Sometimes, we want to dial 00 manually instead of + to make an outgoing call.
- Dialplan → Outbound Routes → + Add
- Choose gateway (ecotel in our example)
- Dialpan expression: ^(00\d{9,17}|\+(\d{10,20}))$
- Note: ecotel all
If you want to call local numbers without having to enter + or 00 and the country code, you will need to set up something else.
Various fine-tuning
Configure SSL certificate
FusionPBX's letsencrypt.sh does its job well, no need to reinvent the wheel.
See: https://fusionpbx-docs-pt-br.readthedocs.io/es/latest/getting_started/lets_encrypt.html
Afterwards: https://fusionpbx-docs-pt-br.readthedocs.io/es/latest/additional_information/sip_tls.html
FusionPBX UI: Don't collapse menu
- Advanced → Default Settings → Filter for “menu_side_state” → Set to “Expanded”
Enable multiple registrations for same extension
Advanced → SIP Profiles → internal-ipv6 → multiple-registrations = true
repeat for v4 (if required):
Advanced → SIP Profiles → internal → multiple-registrations = true
