Difference between revisions of "FreePBX"
From Teknologisk videncenter
m (→Callflow øvelse) |
m (→Tilføj statiske persistens routes) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Image:FreePBX logo.PNG|right]] | [[Image:FreePBX logo.PNG|right]] | ||
− | + | __NOTOC__ | |
=Installation= | =Installation= | ||
*[[/installation|Installation]] | *[[/installation|Installation]] | ||
*[[/UbuntuInstallation|Installation på Ubuntu]](Work in progress) | *[[/UbuntuInstallation|Installation på Ubuntu]](Work in progress) | ||
+ | ==Firewall kan drille== | ||
+ | På FreePBX er [[iptables]] konfigureret dynamisk. Slås fra med | ||
+ | <source lang=cli> | ||
+ | service fail2ban stop | ||
+ | chkconfig --level 2345 fail2ban off | ||
+ | chkconfig --level 2345 iptables off | ||
+ | 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 cli}} | ||
=SIP Telefoner= | =SIP Telefoner= | ||
Line 19: | 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
Installation
- Installation
- Installation på Ubuntu(Work in progress)
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
- Extensions Oprettelse af lokalnumre
Konfiguration af udvidede faciliteter
Callflow øvelse
Setup i lokalet
Links
- e164.org Global e164 DNS server
- Danske Voice Prompts