Browse code

etc: don't set fifo and ctl socket in config files

- modparams were commented, to be used as samples if needed to be
changed
- the default values are enough for proper packaging and use of run_dir
in order to avoid security exposures of /tmp dir

Daniel-Constantin Mierla authored on 28/04/2015 13:34:44
Showing 3 changed files
... ...
@@ -191,10 +191,10 @@ loadmodule "debugger.so"
191 191
 
192 192
 
193 193
 # ----- mi_fifo params -----
194
-modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")
194
+#modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")
195 195
 
196 196
 # ----- ctl params -----
197
-modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
197
+#modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
198 198
 
199 199
 # ----- tm params -----
200 200
 # auto-discard branches from previous serial forking leg
... ...
@@ -315,10 +315,10 @@ loadmodule "xhttp_pi.so"
315 315
 
316 316
 
317 317
 # ----- mi_fifo params -----
318
-modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")
318
+#modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")
319 319
 
320 320
 # ----- ctl params -----
321
-modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
321
+#modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
322 322
 
323 323
 # ----- tm params -----
324 324
 # auto-discard branches from previous serial forking leg
... ...
@@ -288,10 +288,10 @@ loadmodule "debugger.so"
288 288
 
289 289
 
290 290
 # ----- mi_fifo params -----
291
-modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")
291
+#modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")
292 292
 
293 293
 # ----- ctl params -----
294
-modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
294
+#modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
295 295
 
296 296
 # ----- tm params -----
297 297
 # auto-discard branches from previous serial forking leg