FreePBX container image for running a complete Asterisk server - as forked from flaviostutz/freepbx.
1.0K
FreePBX container image for running a complete Asterisk server - as forked from flaviostutz/freepbx. This development, including the content of the readme, was done by Flavio Stutz. I added the Asterisk queue module to the dokerfile - and made a few configuration changes required for our deployment to the docker-hub.yml
With this container you can create a telephony system in your office or house with integration among various office branches and integration to external VOIP providers with features such as call recording and IVR (interactive voice response) Menus.
If "Apply" is taking too long, disable "Module signature check" (if you know what you're doing).
Thanks to https://github.com/tiredofit/docker-freepbx for various insights on the new Asterisk 15 installation.
This image is used in production deployments.
version: '3.3'
services:
freepbx:
image: tfcloete/freepbx
container_name: asterisk
hostname: borderpbx
extra_hosts:
- "borderpbx:127.0.0.1"
network_mode: "host"
ports:
- 8080:80
- 5060:5060/udp
- 5160:5160/udp
- 3306:3306
- 18000-18100:18000-18100/udp
restart: always
environment:
- ADMIN_PASSWORD=admin123
volumes:
- backup:/backup
- recordings:/var/spool/asterisk/monitor
volumes:
backup:
recordings:
Run docker-compose up -d
Open admin panel at http://localhost:8080/admin/
Install Ubuntu 18.04
Install Docker + Docker Compose
Configure network
network:
ethernets:
eno1:
addresses:
- 10.1.2.5/22
- 10.223.49.234/29
nameservers:
addresses: [10.1.1.254,8.8.8.8]
gateway4: 10.1.1.254
routes:
- to: 10.128.0.0/9
via: 10.223.49.233
version: 2
run netplan apply
In this example suppose you have a VOIP provider in another network (10.223.x.x) connected to the Asterisk host. You can skip routes and the secondary address if not needed
Run this container
/backup - keeps new.tar.gz and old.tar.gz automatic backups. Default backup job stores backup there too.
/var/spool/asterisk/monitor - call recording storage location
/etc/asterisk/keys - Let's Encrypt and self signed certificates pub/private keys generated in pbxadmin
Content type
Image
Digest
Size
698.2 MB
Last updated
about 6 years ago
docker pull tfcloete/freepbx