Browse code

kamailio.cfg: test if DBURL is already defined before defining it

- allow to set it via command line with -A DBURL='...'

Daniel-Constantin Mierla authored on 03/10/2012 12:21:11
Showing 1 changed files
... ...
@@ -105,8 +105,10 @@
105 105
 #!ifdef WITH_MYSQL
106 106
 # - database URL - used to connect to database server by modules such
107 107
 #       as: auth_db, acc, usrloc, a.s.o.
108
+#!ifndef DBURL
108 109
 #!define DBURL "mysql://openser:openserrw@localhost/openser"
109 110
 #!endif
111
+#!endif
110 112
 #!ifdef WITH_MULTIDOMAIN
111 113
 # - the value for 'use_domain' parameters
112 114
 #!define MULTIDOMAIN 1