Browse code

- added various tls options (commented out)

Jan Janak authored on 23/06/2008 17:53:09
Showing 2 changed files
... ...
@@ -167,6 +167,9 @@ listen=224.0.1.75       # sip.mcast.net for REGISTER replication
167 167
 #DEBCONF-LISTEN_ADMIN-START
168 168
 listen=udp:127.0.0.1
169 169
 #DEBCONF-LISTEN_ADMIN-END
170
+
171
+#listen=tls:127.0.0.1:5061
172
+
170 173
 mlock_pages=yes
171 174
 shm_force_alloc=yes
172 175
 real_time=7
... ...
@@ -213,6 +216,9 @@ tcp_connection_lifetime=3600
213 216
 #tcp_max_connections=10240  # default is 2048
214 217
 tcp_connect_timeout=1
215 218
 
219
+# Enable TLS hooks so that the TLS module can be used
220
+tls_enable=yes
221
+
216 222
 # -------------------- Custom Parameters ------------------------------------
217 223
 # These parameters can be modified runtime via RPC interface,
218 224
 # read the documentation of cfg_rpc module.
... ...
@@ -266,6 +272,7 @@ loadmodule "db_ops"
266 272
 loadmodule "exec"
267 273
 loadmodule "cfg_rpc"
268 274
 loadmodule "eval"
275
+#loadmodule "tls"
269 276
 
270 277
 # ----------------- Declaration of Script Flags -----------------------------
271 278
 flags
... ...
@@ -478,6 +485,8 @@ modparam("exec", "setvars", 0);
478 485
 modparam("timer", "declare_timer",
479 486
          "ON_1MIN_TIMER=ON_1MIN_TIMER,60000,slow,enable");
480 487
 
488
+# -- tls --
489
+#modparam("tls", "config", "tls.cfg");
481 490
 
482 491
 # -- db_ops --
483 492
 
... ...
@@ -46,6 +46,7 @@ rev_dns=no      # (cmd. line: -R)
46 46
 #mhomed=yes  # usefull for multihomed hosts, small performance penalty
47 47
 #disable_tcp=yes 
48 48
 #tcp_accept_aliases=yes # accepts the tcp alias via option (see NEWS)
49
+enable_tls=yes
49 50
 
50 51
 #
51 52
 
... ...
@@ -73,6 +74,7 @@ loadmodule "/usr/local/lib/ser/modules/avp.so"
73 74
 loadmodule "/usr/local/lib/ser/modules/avp_db.so"
74 75
 loadmodule "/usr/local/lib/ser/modules/acc_db.so"
75 76
 loadmodule "/usr/local/lib/ser/modules/xmlrpc.so"
77
+#loadmodule "/usr/local/lib/ser/modules/tls.so"
76 78
 
77 79
 # ----------------- setting script FLAGS -----------------------------
78 80
 flags