Difference between revisions of "FreePBX"

From Teknologisk videncenter
Jump to: navigation, search
m (Setup i lokalet)
m (Tilføj statiske persistens routes)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
chkconfig --level 2345 iptables off
 
chkconfig --level 2345 iptables off
 
service iptables stop
 
service iptables stop
 +
</source>
 +
==Tilføj statiske persistens routes==
 +
<source lang=cli>
 +
[root@Asterisk02 ~]# <input>cat /etc/rc.local</input>
 +
#!/bin/sh
 +
#
 +
# This script will be executed *after* all the other init scripts.
 +
# You can put your own initialization stuff in here if you don't
 +
# want to do the full Sys V style init stuff.
 +
 +
touch /var/lock/subsys/local
 +
# Make sure asterisk starts on boot
 +
/usr/local/sbin/amportal start
 +
<notice>route add -net 10.1.0.0/16 gw 192.168.139.21
 +
route add -net 10.3.0.0/16 gw 192.168.139.23
 +
route add -net 10.4.0.0/16 gw 192.168.139.24</notice>
 +
 
</source>
 
</source>
 
{{source cli}}
 
{{source cli}}

Latest revision as of 16:00, 13 March 2014

FreePBX logo.PNG

Installation

Firewall kan drille

På FreePBX er iptables konfigureret dynamisk. Slås fra med

service fail2ban stop
chkconfig --level 2345 fail2ban off
chkconfig --level 2345 iptables off
service iptables stop

Tilføj statiske persistens routes

[root@Asterisk02 ~]# <input>cat /etc/rc.local</input>
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
# Make sure asterisk starts on boot
/usr/local/sbin/amportal start
<notice>route add -net 10.1.0.0/16 gw 192.168.139.21
route add -net 10.3.0.0/16 gw 192.168.139.23
route add -net 10.4.0.0/16 gw 192.168.139.24</notice>


SIP Telefoner

Konfiguration af udvidede faciliteter

Callflow øvelse

Setup i lokalet

Freepbx nov2011.png

Links