From d47d32e035bc9036c32d3497c96cfe2e4f098584 Mon Sep 17 00:00:00 2001 From: Marc Olivier Chouinard Date: Sun, 12 Sep 2010 20:01:43 -0400 Subject: [PATCH] mod_callcenter: Fix Initial ODBC support --- src/mod/applications/mod_callcenter/mod_callcenter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_callcenter/mod_callcenter.c b/src/mod/applications/mod_callcenter/mod_callcenter.c index e08757ba38..874c6156fd 100644 --- a/src/mod/applications/mod_callcenter/mod_callcenter.c +++ b/src/mod/applications/mod_callcenter/mod_callcenter.c @@ -1259,7 +1259,7 @@ static switch_status_t load_config(void) if (!strcasecmp(var, "debug")) { globals.debug = atoi(val); } else if (!strcasecmp(var, "odbc-dsn")) { - globals.odbc_dsn = strdup(switch_xml_attr(param, "odbc-dsn")); + globals.odbc_dsn = strdup(val); if (!zstr(globals.odbc_dsn)) { if ((globals.odbc_user = strchr(globals.odbc_dsn, ':'))) {