63 lines
2.3 KiB
Plaintext
63 lines
2.3 KiB
Plaintext
$OpenBSD: patch-doc_siproxd_conf_example,v 1.3 2012/01/21 22:02:13 sthen Exp $
|
|
--- doc/siproxd.conf.example.orig Mon Jun 20 16:25:27 2011
|
|
+++ doc/siproxd.conf.example Fri Jan 20 22:31:42 2012
|
|
@@ -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
|
|
@@ -322,18 +322,18 @@ debug_port = 0
|
|
# The plugins are loaded in the order they appear here. Also
|
|
# the processing order is given by the load order.
|
|
#
|
|
-# plugin_dir: MUST be terminated with '/'
|
|
-plugindir=/usr/lib/siproxd/
|
|
+# plugindir: MUST be terminated with '/'
|
|
+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
|
|
|
|
|
|
######################################################################
|