Parcourir la source

- config scripts updated to reflect latest changes (mainly FIFO related)

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@1513 689a6050-402a-0410-94f2-e92a70836424
Bogdan-Andrei Iancu il y a 18 ans
Parent
commit
f136276a0b
2 fichiers modifiés avec 8 ajouts et 4 suppressions
  1. 3 3
      etc/dictionary.radius
  2. 5 1
      etc/openser.cfg

+ 3 - 3
etc/dictionary.radius

@@ -20,12 +20,12 @@ ATTRIBUTE Sip-Rpid             213  string     # Proprietary, auth_radius
 ATTRIBUTE SIP-AVP              225  string     # Proprietary, avp_radius
 
 ### Acct-Status-Type Values ###
-VALUE Acct-Status-Type   Failed           15   # RFC2866, acc
+#VALUE Acct-Status-Type   Failed           15   # RFC2866, acc
 
 ### Service-Type Values ###
-VALUE Service-Type       Call-Check       10   # RFC2865, uri_radius
+#VALUE Service-Type       Call-Check       10   # RFC2865, uri_radius
 VALUE Service-Type       Group-Check      12   # Proprietary, group_radius
-VALUE Service-Type       Sip-Session      15   # Schulzrinne, acc, auth_radius
+##VALUE Service-Type       Sip-Session      15   # Schulzrinne, acc, auth_radius
 VALUE Service-Type       SIP-Caller-AVPs  30   # Proprietary, avp_radius
 VALUE Service-Type       SIP-Callee-AVPs  31   # Proprietary, avp_radius
 

+ 5 - 1
etc/openser.cfg

@@ -20,7 +20,6 @@ dns=no          # (cmd. line: -r)
 rev_dns=no      # (cmd. line: -R)
 port=5060
 children=4
-fifo="/tmp/openser_fifo"
 
 #
 # uncomment the following lines for TLS support
@@ -46,6 +45,7 @@ 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"
 
 # Uncomment this if you want digest authentication
 # mysql.so must be loaded !
@@ -54,6 +54,10 @@ loadmodule "/usr/local/lib/openser/modules/textops.so"
 
 # ----------------- setting module-specific parameters ---------------
 
+# -- mi_fifo params --
+
+modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")
+
 # -- usrloc params --
 
 modparam("usrloc", "db_mode",   0)