Ver Fonte

- removes the now unnecessary warning about the uid/ guid change if core
dumping is enabled. It also removes this change in the init scripts in the
debian and debian-sarge directories
- cleanup the configuration file.
It changes the loadmodule statements to use "mpath", this is much more
readable.
Change the C-style comment for debugging mode in the cfg to use bash
comments, this fix the debian init script. Therefore the debian patch files
to adjust the configuration are not more needed. In my opinion this is also a
meaningful change.
It also adds a short link to the documentation on the openser website.

Credits go to Henning Westerholt <[email protected]>


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@1676 689a6050-402a-0410-94f2-e92a70836424

Bogdan-Andrei Iancu há 18 anos atrás
pai
commit
3649b57edb
1 ficheiros alterados com 21 adições e 20 exclusões
  1. 21 20
      etc/openser.cfg

+ 21 - 20
etc/openser.cfg

@@ -2,6 +2,8 @@
 # $Id$
 # $Id$
 #
 #
 # simple quick-start config script
 # simple quick-start config script
+# Please refer to the Core CookBook at http://www.openser.org/dokuwiki/doku.php
+# for a explanation of possible statements, functions and parameters.
 #
 #
 
 
 # ----------- global configuration parameters ------------------------
 # ----------- global configuration parameters ------------------------
@@ -9,19 +11,15 @@
 debug=3            # debug level (cmd line: -dddddddddd)
 debug=3            # debug level (cmd line: -dddddddddd)
 fork=yes
 fork=yes
 log_stderror=no    # (cmd line: -E)
 log_stderror=no    # (cmd line: -E)
+children=4
 
 
-/* Uncomment these lines to enter debugging mode 
-fork=no
-log_stderror=yes
-*/
+# Uncomment these lines to enter debugging mode 
+#fork=no
+#log_stderror=yes
+#
 
 
-check_via=no	# (cmd. line: -v)
-dns=no          # (cmd. line: -r)
-rev_dns=no      # (cmd. line: -R)
 port=5060
 port=5060
-children=4
 
 
-#
 # uncomment the following lines for TLS support
 # uncomment the following lines for TLS support
 #disable_tls = 0
 #disable_tls = 0
 #listen = tls:your_IP:5061
 #listen = tls:your_IP:5061
@@ -35,22 +33,25 @@ children=4
 
 
 # ------------------ module loading ----------------------------------
 # ------------------ module loading ----------------------------------
 
 
+#set module path
+mpath="/usr/local/lib/openser/modules/"
+
 # Uncomment this if you want to use SQL database
 # Uncomment this if you want to use SQL database
-#loadmodule "/usr/local/lib/openser/modules/mysql.so"
+#loadmodule "mysql.so"
 
 
-loadmodule "/usr/local/lib/openser/modules/sl.so"
-loadmodule "/usr/local/lib/openser/modules/tm.so"
-loadmodule "/usr/local/lib/openser/modules/rr.so"
-loadmodule "/usr/local/lib/openser/modules/maxfwd.so"
-loadmodule "/usr/local/lib/openser/modules/usrloc.so"
-loadmodule "/usr/local/lib/openser/modules/registrar.so"
-loadmodule "/usr/local/lib/openser/modules/textops.so"
-loadmodule "/usr/local/lib/openser/modules/mi_fifo.so"
+loadmodule "sl.so"
+loadmodule "tm.so"
+loadmodule "rr.so"
+loadmodule "maxfwd.so"
+loadmodule "usrloc.so"
+loadmodule "registrar.so"
+loadmodule "textops.so"
+loadmodule "mi_fifo.so"
 
 
 # Uncomment this if you want digest authentication
 # Uncomment this if you want digest authentication
 # mysql.so must be loaded !
 # mysql.so must be loaded !
-#loadmodule "/usr/local/lib/openser/modules/auth.so"
-#loadmodule "/usr/local/lib/openser/modules/auth_db.so"
+#loadmodule "auth.so"
+#loadmodule "auth_db.so"
 
 
 # ----------------- setting module-specific parameters ---------------
 # ----------------- setting module-specific parameters ---------------