Module: kamailio
Branch: master
Commit: aae3dcec8d755c5da601a515be1725abe5e4cc3c
URL: 
https://github.com/kamailio/kamailio/commit/aae3dcec8d755c5da601a515be1725abe5e4cc3c

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2018-10-07T09:28:39+02:00

core: MOD_KAMAILIO/MOD_SER DB URL defines, cleanup after commit 
#1f70d062b0b9cf1e

---

Modified: src/core/config.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/aae3dcec8d755c5da601a515be1725abe5e4cc3c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/aae3dcec8d755c5da601a515be1725abe5e4cc3c.patch

---

diff --git a/src/core/config.h b/src/core/config.h
index e87288f730..bdc7657365 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -186,18 +186,10 @@
 
 #define PATH_MAX_GUESS 1024            /*!< maximum path length */
 
-#if defined KAMAILIO_MOD_INTERFACE || defined OPENSER_MOD_INTERFACE || \
-               defined MOD_INTERFACE_V1
-       #define DEFAULT_DB_URL "mysql://kamailio:kamailiorw@localhost/kamailio"
-       #define DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1)
-       #define DEFAULT_RODB_URL 
"mysql://kamailioro:kamailioro@localhost/kamailio"
-       #define DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1)
-#else
-       #define DEFAULT_DB_URL "mysql://ser:heslo@localhost/ser"
-       #define DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1)
-       #define DEFAULT_RODB_URL "mysql://serro:47serro11@localhost/ser"
-       #define DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1)
-#endif
+#define DEFAULT_DB_URL "mysql://kamailio:kamailiorw@localhost/kamailio"
+#define DEFAULT_DB_URL_LEN (sizeof(DEFAULT_DB_URL) - 1)
+#define DEFAULT_RODB_URL "mysql://kamailioro:kamailioro@localhost/kamailio"
+#define DEFAULT_RODB_URL_LEN (sizeof(DEFAULT_RODB_URL) - 1)
 
 #define VERSION_TABLE "version"                        /*!< table holding 
versions of other ser tables */
 #define VERSION_TABLE_LEN (sizeof(VERSION_TABLE) - 1)


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to