Module: sip-router
Branch: master
Commit: 727203559c98d648e7da4f0d54d65a05317b14f5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7272035…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Oct 3 14:21:11 2012 +0200
kamailio.cfg: test if DBURL is already defined before defining it
- allow to set it via command line with -A DBURL='...'
---
etc/kamailio.cfg | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index efcce99..008808f 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -105,8 +105,10 @@
#!ifdef WITH_MYSQL
# - database URL - used to connect to database server by modules such
# as: auth_db, acc, usrloc, a.s.o.
+#!ifndef DBURL
#!define DBURL "mysql://openser:openserrw@localhost/openser"
#!endif
+#!endif
#!ifdef WITH_MULTIDOMAIN
# - the value for 'use_domain' parameters
#!define MULTIDOMAIN 1