openbsd-ports/telephony/siproxd/patches/patch-doc_siproxd_conf_example
sthen e7f3e698e4 Update to siproxd 0.8.1 and add rc script; from Lawrence Teo, based
on a diff from stephan@ with feedback from myself and Brad
2012-01-17 17:30:33 +00:00

61 lines
2.2 KiB
Plaintext

$OpenBSD: patch-doc_siproxd_conf_example,v 1.2 2012/01/17 17:30:33 sthen Exp $
--- doc/siproxd.conf.example.orig Mon Jun 20 16:25:27 2011
+++ doc/siproxd.conf.example Thu Oct 20 23:10:13 2011
@@ -78,8 +78,8 @@ silence_log = 1
# Secure Enviroment settings:
# user: uid/gid to switch to after startup
# chrootjail: path to chroot to (chroot jail)
-user = nobody
-#chrootjail = /var/lib/siproxd/
+user = _siproxd
+chrootjail = /var/siproxd/
######################################################################
# Memory settings
@@ -100,7 +100,7 @@ user = nobody
# the specified directory path does exist!
# Note: If running in chroot jail, this path starts relative
# to the jail.
-registration_file = /var/lib/siproxd/siproxd_registrations
+registration_file = siproxd_registrations
######################################################################
# Automatically save current registrations every 'n' seconds
@@ -113,7 +113,7 @@ autosave_registrations = 300
# This file holds the PID of the main thread of siproxd.
# Note: If running in chroot jail, this path starts relative
# to the jail.
-pid_file = /var/run/siproxd/siproxd.pid
+pid_file = siproxd.pid
######################################################################
# global switch to control the RTP proxy behaviour
@@ -323,17 +323,17 @@ debug_port = 0
# the processing order is given by the load order.
#
# plugin_dir: MUST be terminated with '/'
-plugindir=/usr/lib/siproxd/
+plugindir=${PREFIX}/lib/siproxd/
#
-# List of plugins to load. MUST use the .la file extension!
-#load_plugin=plugin_demo.la
-#load_plugin=plugin_shortdial.la
-load_plugin=plugin_logcall.la
-#load_plugin=plugin_defaulttarget.la
-#load_plugin=plugin_fix_bogus_via.la
-#load_plugin=plugin_stun.la
-#load_plugin=plugin_prefix.la
-#load_plugin=plugin_regex.la
+# List of plugins to load.
+#load_plugin=plugin_demo.so
+#load_plugin=plugin_shortdial.so
+load_plugin=plugin_logcall.so
+#load_plugin=plugin_defaulttarget.so
+#load_plugin=plugin_fix_bogus_via.so
+#load_plugin=plugin_stun.so
+#load_plugin=plugin_prefix.so
+#load_plugin=plugin_regex.so
######################################################################