Posted On March 31, 2019

Install PBX in a Flash

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Install PBX in a Flash
Download and install FreePBX version 13

Set static IPs
ifconfig <= to find interface name
vim /etc/sysconfig/network-scripts/ifcfg-eth0
---------ADD-----------
BOOTPROTO="static"
IPADDR=192.168.139.139
NETMASK=255.255.255.0
BROADCAST=192.168.139.255
NM_CONTROLLED=no
ONBOOT="yes"
-----------------------
vim /etc/sysconfig/network-scripts/ifcfg-eth1
---------ADD-----------
BOOTPROTO="dhcp"
ONBOOT="yes"
-----------------------
vim /etc/sysconfig/network
-----------------------
GATEWAY=192.168.139.1
-----------------------
vim /etc/resolv.conf
-----------------------
nameserver 192.168.139.1
nameserver 10.10.10.2
-----------------------
/etc/init.d/network restart

"NM_CONTROLLED=no" indicates that this interface will be set up using this configuration file, instead of being managed by Network Manager service

----------------------------------------------
Install IncrediblePBX
https://nerdvittles.com/introducing-incredible-pbx-gui-for-asterisk-13-and-centosscientific-linux/

#setenforce 0 ?
yum -y upgrade
yum -y install net-tools vim wget
# decipher your server's IP address
ifconfig
# patch grub and ignore any errors if your server doesn't use it
sed -i 's|quiet|quiet net.ifnames=0 biosdevdame=0|' /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
...
cd /root
wget
tar zxvf incrediblepbx*
#./create-swapfile-DO
./IncrediblePBX*
...
...
passwd
...
/root/admin-pw-change
...
/root/timezone-setup
...
htpasswd /etc/pbx/wwwpasswd admin
...
cat /root/knock.FAQ
...
status


Note:
- Asterisk 11 is old, 12 is short term, and 13 is long term
- Elastix (alternative):
- 12.46.12.139 as WAN server IP

Firewall ports:
SIP: TCP/UDP 5060-5082
Calling: UDP 10000-20000
Google Voice: TCP 5222
HTTP: TCP 80

epbx13-12.0-centos.tar.gz
tar zxvf incrediblepbx*
#./create-swapfile-DO
./IncrediblePBX*

....

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Add Local Group Members Onto a Server List

Sometimes, the GUI method of accomplishing tasks is too arduous and error prone. Thus, these…

Active Directory Audit Using AD Tidy

1. Clean up user accounts Download AD Tidy: https://www.cjwdev.com/Software/ADTidy/Download.html Run: "C:\Program Files\Cjwdev\AD Tidy Free Edition\ADTidy.exe"…

PowerShell: Audit Failed Logins of A User

$username='rambo' function auditLockouts($userName,$domainController,$refreshMinutes=1){ function getLockouts($domainControler){ # Requirement: # Domain Controllers Audit Group Policy has been…
Other project: DragonCoin.com