Difference between revisions of "FreePBX"

From Teknologisk videncenter
Jump to: navigation, search
m
m (Tilføj statiske persistens routes)
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
På FreePBX er [[iptables]] konfigureret dynamisk. Slås fra med
 
På FreePBX er [[iptables]] konfigureret dynamisk. Slås fra med
 
<source lang=cli>
 
<source lang=cli>
chkconfig --level 2345 iptables off
+
service fail2ban stop
 +
chkconfig --level 2345 fail2ban 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}}
Line 26: Line 45:
  
 
==Setup i lokalet==
 
==Setup i lokalet==
 +
*[[/R1 Config|R1 config]]
 
[[Image:Freepbx nov2011.png|500px]]
 
[[Image:Freepbx nov2011.png|500px]]
  

Latest revision as of 15: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