Initial commit: FreePBX 17 VoIP setup for horux360, consultoria-as, nexus
This commit is contained in:
44
configs/asterisk-manager.conf
Normal file
44
configs/asterisk-manager.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
;--------------------------------------------------------------------------------;
|
||||
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
|
||||
; this file must be done via the web gui. There are alternative files to make ;
|
||||
; custom modifications (manager_custom.conf). ;
|
||||
;--------------------------------------------------------------------------------;
|
||||
|
||||
;*******************************************************************************
|
||||
; AUTO-GENERATED AND CUSTOM USER MANAGER INCLUDED HERE *
|
||||
;*******************************************************************************
|
||||
;
|
||||
; AMI - Asterisk Manager interface
|
||||
;
|
||||
; FreePBX needs this to be enabled. Note that if you enable it on a different IP, you need
|
||||
; to assure that this can't be reached from un-authorized hosts with the ACL settings (permit/deny).
|
||||
; Also, remember to configure non-default port or IP-addresses in FreePBX Advanced Setting.
|
||||
;
|
||||
; The AMI connection is used both by the portal and the operator's panel in FreePBX.
|
||||
;
|
||||
; FreePBX assumes an AMI connection to 0.0.0.0:5038 by default.
|
||||
;
|
||||
[general]
|
||||
enabled = yes
|
||||
port = 5038
|
||||
bindaddr = 0.0.0.0
|
||||
displayconnects=no
|
||||
|
||||
[a8e9fc7b6dadf70e61ca49c69040f2ec]
|
||||
secret = 68206dce315dce448e4cf8e863d0cfac
|
||||
deny=0.0.0.0/0.0.0.0
|
||||
permit=127.0.0.1/255.255.255.0
|
||||
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
|
||||
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
|
||||
writetimeout = 5000
|
||||
|
||||
#include manager_additional.conf
|
||||
#include manager_custom.conf
|
||||
|
||||
[odoo]
|
||||
secret = OdooAMI2026!
|
||||
deny = 0.0.0.0/0.0.0.0
|
||||
permit = 192.168.10.0/255.255.255.0
|
||||
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan
|
||||
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan
|
||||
writetimeout = 5000
|
||||
32
configs/asterisk-pjsip.conf
Normal file
32
configs/asterisk-pjsip.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
;--------------------------------------------------------------------------------;
|
||||
; Do NOT edit this file as it is auto-generated by FreePBX. ;
|
||||
;--------------------------------------------------------------------------------;
|
||||
; For information on adding additional paramaters to this file, please visit the ;
|
||||
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
|
||||
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
|
||||
; is totally deliberate. ;
|
||||
;--------------------------------------------------------------------------------;
|
||||
|
||||
[0]
|
||||
#include pjsip_custom.conf
|
||||
#include pjsip.transports.conf
|
||||
#include pjsip.transports_custom_post.conf
|
||||
#include pjsip.endpoint.conf
|
||||
#include pjsip.endpoint_custom_post.conf
|
||||
#include pjsip.aor.conf
|
||||
#include pjsip.aor_custom_post.conf
|
||||
#include pjsip.auth.conf
|
||||
#include pjsip.auth_custom_post.conf
|
||||
#include pjsip.registration.conf
|
||||
#include pjsip.registration_custom_post.conf
|
||||
#include pjsip.identify.conf
|
||||
#include pjsip.identify_custom_post.conf
|
||||
|
||||
[global]
|
||||
type=global
|
||||
user_agent=FPBX-17.0.28(21.12.2)
|
||||
use_callerid_contact=no
|
||||
keep_alive_interval=90
|
||||
taskprocessor_overload_trigger=pjsip_only
|
||||
#include pjsip_custom_post.conf
|
||||
|
||||
11
configs/freepbx.conf
Normal file
11
configs/freepbx.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
<VirtualHost *:80>
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /var/www/html
|
||||
<Directory /var/www/html>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
ErrorLog ${APACHE_LOG_DIR}/freepbx-error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/freepbx-access.log combined
|
||||
</VirtualHost>
|
||||
31
configs/jail.local
Normal file
31
configs/jail.local
Normal file
@@ -0,0 +1,31 @@
|
||||
[DEFAULT]
|
||||
bantime = 3600
|
||||
findtime = 600
|
||||
maxretry = 5
|
||||
backend = auto
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
port = ssh
|
||||
filter = sshd
|
||||
logpath = /var/log/auth.log
|
||||
|
||||
[asterisk]
|
||||
enabled = true
|
||||
port = 5060,5061
|
||||
filter = asterisk
|
||||
logpath = /var/log/asterisk/full
|
||||
maxretry = 5
|
||||
|
||||
[apache-auth]
|
||||
enabled = true
|
||||
port = http,https
|
||||
filter = apache-auth
|
||||
logpath = /var/log/apache2/*error.log
|
||||
|
||||
[apache-badbots]
|
||||
enabled = true
|
||||
port = http,https
|
||||
filter = apache-badbots
|
||||
logpath = /var/log/apache2/*error.log
|
||||
maxretry = 2
|
||||
17
configs/odbc.ini
Normal file
17
configs/odbc.ini
Normal file
@@ -0,0 +1,17 @@
|
||||
[asteriskcdrdb]
|
||||
Description=MySQL connection to asteriskcdrdb database
|
||||
Driver=MariaDB Unicode
|
||||
SERVER=localhost
|
||||
PORT=3306
|
||||
DATABASE=asteriskcdrdb
|
||||
OPTION=3
|
||||
CHARSET=utf8
|
||||
|
||||
[MySQL-asteriskcdrdb]
|
||||
Description=MySQL connection to asteriskcdrdb database
|
||||
Driver=MariaDB Unicode
|
||||
SERVER=localhost
|
||||
PORT=3306
|
||||
DATABASE=asteriskcdrdb
|
||||
OPTION=3
|
||||
CHARSET=utf8
|
||||
6
configs/odbcinst.ini
Normal file
6
configs/odbcinst.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
[MariaDB Unicode]
|
||||
Driver=libmaodbc.so
|
||||
Description=MariaDB Connector/ODBC(Unicode)
|
||||
Threading=0
|
||||
UsageCount=1
|
||||
|
||||
Reference in New Issue
Block a user