Module: sip-router
Branch: 4.0
Commit: 4fdc69e6eb8b03c4a28c2cfea1d0ee37b26207e2
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4fdc69e…
Author: Klaus Darilion <klaus.mailinglists(a)pernau.at>
Committer: Klaus Darilion <klaus.mailinglists(a)pernau.at>
Date: Thu Apr 25 08:12:07 2013 +0000
sipcapture/siptrace: set default db_url to read-write URL
(cherry picked from commit 81f622b9ef7d32434659f1e6d9a21c8013cefec7)
---
modules/sipcapture/sipcapture.c | 2 +-
modules/siptrace/siptrace.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c
index fd7b13e..515150d 100644
--- a/modules/sipcapture/sipcapture.c
+++ b/modules/sipcapture/sipcapture.c
@@ -110,7 +110,7 @@ int raw_capture_rcv_loop(int rsock, int port1, int port2, int ipip);
static struct mi_root* sip_capture_mi(struct mi_root* cmd, void* param );
-static str db_url = str_init(DEFAULT_RODB_URL);
+static str db_url = str_init(DEFAULT_DB_URL);
static str table_name = str_init("sip_capture");
static str hash_source = str_init("call_id");
static str mt_mode = str_init("rand");
diff --git a/modules/siptrace/siptrace.c b/modules/siptrace/siptrace.c
index 209ab46..c333e76 100644
--- a/modules/siptrace/siptrace.c
+++ b/modules/siptrace/siptrace.c
@@ -109,7 +109,7 @@ static int pipport2su (char *pipport, union sockaddr_union *tmp_su,
unsigned int
static struct mi_root* sip_trace_mi(struct mi_root* cmd, void* param );
-static str db_url = str_init(DEFAULT_RODB_URL);
+static str db_url = str_init(DEFAULT_DB_URL);
static str siptrace_table = str_init("sip_trace");
static str date_column = str_init("time_stamp"); /* 00 */
static str callid_column = str_init("callid"); /* 01 */