Module: sip-router
Branch: pd/websocket
Commit: 324e8f36443f15af0ee5e7d96323c7e394202ea8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=324e8f3…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Thu Jul 5 12:08:40 2012 +0100
modules/websocket: Tidied up example kamailio.cfg
---
modules/websocket/example/kamailio.cfg | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/modules/websocket/example/kamailio.cfg
b/modules/websocket/example/kamailio.cfg
index 3e4e1ad..07c4318 100644
--- a/modules/websocket/example/kamailio.cfg
+++ b/modules/websocket/example/kamailio.cfg
@@ -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