freepbx-master

所属分类:其他
开发工具:Others
文件大小:1761KB
下载次数:0
上传日期:2021-03-09 18:11:23
上 传 者minhphuc_bg88
说明:  my document description as souce code pbx open soucre freepbx

文件列表:
.DS_Store (6148, 2020-07-17)
Dockerfile (5036, 2020-07-17)
LICENSE (1069, 2020-07-17)
apply-initial-configs.sh (1733, 2020-07-17)
backup.sh (429, 2020-07-17)
basic-config.tar.gz (1793034, 2020-07-17)
delete-old-recordings.sh (187, 2020-07-17)
docker-compose.yml (647, 2020-07-17)
freepbx.conf (547, 2020-07-17)
freepbx_chown.conf (26, 2020-07-17)
generate-sha1.php (30, 2020-07-17)
index.html (213, 2020-07-17)
odbc.ini (186, 2020-07-17)
odbcinst.ini (157, 2020-07-17)
rtp_custom.conf.tmpl (49, 2020-07-17)
startup.sh (2694, 2020-07-17)

# FreePBX on Docker [](https://hub.docker.com/r/flaviostutz/freepbx) [](https://hub.docker.com/r/flaviostutz/freepbx) FreePBX container image for running a complete Asterisk server. 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. ## Image includes * Asterisk 16 * FreePBX 15 * Modules: IVR, Time Conditions, Backup, Recording * Automatic backup script ## Usage * Create docker-compose.yml ```yml version: '3.3' services: freepbx: image: flaviostutz/freepbx 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/ ## Sample host preparation * Install Ubuntu 18.04 * Install Docker + Docker Compose * Configure network * edit /etc/netplan/50-cloud-init.yaml ```yml 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 ## ENVs * **ADMIN_PASSWORD** - GUI password for user 'admin'. required * **RTP_START** - port range from for RTP. defaults to 18000 * **RTP_FINISH** - port range to for RTP. defaults to 18100 * **SIP_NAT_IP** - SIP NAT Public IP for calls. defaults to ip got from "curl ifconfig.me" * **USE_CHAN_SIP** - if true, disables pjsip and enables legacy chan_sip engine. defaults to false, meaning it will use pjsip engine by default * **ENABLE_AUTO_RESTORE** - if true, when a new container instance is run, it will try to restore an existing backup from /backup/new.tar.gz. This backup is created each one hour automatically. This is useful when creating a new container instance (all MYSQL and other data is lost), so that your configurations are kept. defaults to true * **ENABLE_DELETE_OLD_RECORDINGS** - Delete all recordings older than 60 days if enabled. defaults to true * **DISABLE_SIGNATURE_CHECK** - Disables module signature checks so that configuration reloads are way faster. Disable if you know what module signing protection means. defaults to false * **CERTIFICATE_DOMAIN** - certificate domain name when generating site certs with let's encrypt. this is used to locate certificated by name in /etc/asterisk/keys/ and configure Apache to use it automatically. defaults to '' ## Volumes * **/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

近期下载者

相关文件


收藏者