Sylvain Boily
Active Member
- Joined
- Apr 30, 2016
- Messages
- 259
- Reaction score
- 144
Hello, the documentation for IVR or custom dialplan is here http://documentation.xivo.io/en/stable/administration/ivr/ivr.html
cp -p /etc/rc.local /etc/rc.local.orig
cd /
echo iptables-persistent iptables-persistent/autosave_v4 boolean true | debconf-set-selections
echo iptables-persistent iptables-persistent/autosave_v6 boolean true | debconf-set-selections
apt-get -y install iptables-persistent
wget http://incrediblepbx.com/tm3-xivo.tar.gz
tar zxvf tm3-xivo.tar.gz
cd /etc/iptables
cp -p rules.v6 rules.v6.orig
cp -p rules.v4 rules.v4.orig
cp -p rules.v6.ubuntu14 rules.v6
cp -p rules.v4.ubuntu14 rules.v4
serverip=`ifconfig | grep "inet addr" | head -1 | cut -f 2 -d ":" | cut -f 1 -d " "`
userip=`echo $SSH_CONNECTION | cut -f 1 -d " "`
publicip=`curl -s -S --user-agent "Mozilla/4.0" http://myip.incrediblepbx.com | awk 'NR==2'`
sed -i 's|8.8.4.4|'$serverip'|' /etc/iptables/rules.v4
sed -i 's|8.8.8.8|'$userip'|' /etc/iptables/rules.v4
sed -i 's|74.86.213.25|'$publicip'|' /etc/iptables/rules.v4
sed -i 's|-A INPUT -s -j|#-A INPUT -s -j|g' /etc/iptables/rules.v4
sed -i 's|-A INPUT -s -p|#-A INPUT -s -p|g' /etc/iptables/rules.v4
iptables-restart
iptables -nL
ip6tables -nL
cat /etc/apt/sources.list
Link up your team and customers Phone System Live Chat Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.