Files
fusionpbx-install.sh/freebsd/resources/config.sh
Larry Gadallah 39beae7c13 Fixes to allow deployment on FreeBSD 14 (#415)
* Changing default domain name to hostname, setting default PostgreSQL version to 15

* Adding support for PostgreSQL 14 and 15

* Correcting user and group options for freeswitch runtime

* Copying missing resources/fail2ban/freeswitch-dos.conf from debian dir, adding missing copy of sip-auth-challenge-ip.conf and sip-auth-challenge.conf, setting default setting for allowipv6 directive

* Remove freeswitch database and user

Reason for this change is if FreeSWITCH uses the PostgreSQL then its a good idea for it to use its own instance. This is to prevent blocking FreeSWITCH from accessing the database if there is a long running Query on the FusionPBX database

* Changing default domain name to hostname, setting default PostgreSQL version to 15

* Adding support for PostgreSQL 14 and 15

* Correcting user and group options for freeswitch runtime

* Copying missing resources/fail2ban/freeswitch-dos.conf from debian dir, adding missing copy of sip-auth-challenge-ip.conf and sip-auth-challenge.conf, setting default setting for allowipv6 directive

---------
Co-authored-by: Charlie Root <root@sjcacs-test.gadallah.net>
2024-01-03 14:06:57 -07:00

35 lines
1.5 KiB
Bash
Executable File

# FusionPBX Settings
domain_name=hostname # hostname, ip_address or a custom value
system_username=admin # default username admin
system_password=random # random or as a pre-set value
system_branch=master # master, stable
# FreeSWITCH Settings
switch_enabled=true # true or false
switch_branch=stable # master, stable (master requires source)
switch_source=package # package, port, source
switch_tls=true # true or false
# Database Settings
database_name=fusionpbx # Database name (safe characters A-Z, a-z, 0-9)
database_username=fusionpbx # Database username (safe characters A-Z, a-z, 0-9)
database_password=random # random or a custom value (safe characters A-Z, a-z, 0-9)
database_enabled=true # true or false
database_version=15 # Postgres 15, 14, 13, 12, 11, 10, 9.6
database_host=127.0.0.1 # hostname or IP address
database_port=5432 # port number
database_backup=false # true or false
# Firewall Settings
firewall_enabled=true # true or false
# General Settings
interface_name=auto # auto, em0, igb0, vtnet0, or other valid names
php_version=8.1 # PHP version 8.1, 7.4
portsnap_enabled=false # true or false
sngrep_enabled=true # true or false
fail2ban_enabled=true # true or false
nginx_enabled=true # true or false
monit_enabled=false # true or false