summaryrefslogtreecommitdiffstats
path: root/testing/asterisk/asterisk.post-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-07 06:12:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-07 06:12:19 +0000
commit25730327efd853ef30c2d022397ea063dc3ebd83 (patch)
tree9ab1e77a3d048c90eb3c703af71b98eaa2358f0b /testing/asterisk/asterisk.post-install
parent78210a6aedb012c8352bf2d8a578a710be8eebf1 (diff)
downloadaports-25730327efd853ef30c2d022397ea063dc3ebd83.tar.bz2
aports-25730327efd853ef30c2d022397ea063dc3ebd83.tar.xz
testing/asterisk: moved from extra
This beta release have been crashing alot. Also, since its beta, move it to testing area.
Diffstat (limited to 'testing/asterisk/asterisk.post-install')
-rw-r--r--testing/asterisk/asterisk.post-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/asterisk/asterisk.post-install b/testing/asterisk/asterisk.post-install
new file mode 100644
index 00000000..fd51c7fa
--- /dev/null
+++ b/testing/asterisk/asterisk.post-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+chown -R asterisk:asterisk /var/*/asterisk
+chown -R asterisk:asterisk /etc/asterisk
+chmod -R u=rwX,g=rX,o= /etc/asterisk
+
+# set IP ToS
+# iptables -A OUTPUT -t mangle -p udp -m udp --dport 5060 -j DSCP --set-dscp 0x28
+#iptables -A OUTPUT -t mangle -p udp -m udp --sport 10000:20000 -j DSCP --set-dscp 0x28
+# more info: http://www.voip-info.org/wiki-Asterisk+non-root
+