modules/websocket: Tidied up example kamailio.cfg
authorPeter Dunkley <peter.dunkley@crocodile-rcs.com>
Thu, 5 Jul 2012 11:08:40 +0000 (12:08 +0100)
committerPeter Dunkley <peter.dunkley@crocodile-rcs.com>
Thu, 5 Jul 2012 11:08:40 +0000 (12:08 +0100)
modules/websocket/example/kamailio.cfg

index 3e4e1ad..07c4318 100644 (file)
@@ -4,13 +4,13 @@
 # WebSockets support.
 
 #!substdef "!DBURL!sqlite:///etc/kamailio/db.sqlite!g"
-#!substdef "!MY_IP_ADDR!192.168.111.136!g"
+#!substdef "!MY_IP_ADDR!a.b.c.d!g"
 #!substdef "!MY_WS_PORT!80!g"
 #!substdef "!MY_WSS_PORT!443!g"
 #!substdef "!MY_WS_ADDR!tcp:MY_IP_ADDR:MY_WS_PORT!g"
 #!substdef "!MY_WSS_ADDR!tls:MY_IP_ADDR:MY_WSS_PORT!g"
 
-#!define LOCAL_TEST_RUN
+##!define LOCAL_TEST_RUN
 #!define WITH_TLS
 #!define WITH_WEBSOCKETS
 
@@ -108,15 +108,12 @@ modparam("auth_db", "load_credentials", "")
 #!ifdef WITH_TLS
 # ----- tls params -----
 modparam("tls", "tls_method", "SSLv23")
-modparam("tls", "certificate", "CA/ser1_cert.pem")
-modparam("tls", "private_key", "CA/privkey.pem")
-modparam("tls", "ca_list", "CA/calist.pem")
+modparam("tls", "certificate", "/etc/pki/CA/ser1_cert.pem")
+modparam("tls", "private_key", "/etc/pki/CA/privkey.pem")
+modparam("tls", "ca_list", "/etc/pki/CA/calist.pem")
 #!endif
 
 #!ifdef WITH_WEBSOCKETS
-# ----- websocket params -----
-modparam("websocket", "keepalive_timeout", 30)
-
 # ----- nathelper params -----
 modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)")
 # Note: leaving NAT pings turned off here as nathelper is _only_ being used for