]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix mod_db regex
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 8 Nov 2012 18:35:45 +0000 (12:35 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 8 Nov 2012 18:35:50 +0000 (12:35 -0600)
src/mod/applications/mod_db/mod_db.c

index fd077b14ff6b8fd0f2d41febe95a4c5e666fa5fd..9c1f9310d169ffa61115e134e3c8bd5548bfee08 100644 (file)
@@ -271,7 +271,7 @@ SWITCH_LIMIT_STATUS(limit_status_db)
 
 /* INIT / Config */
 
-static switch_xml_config_string_options_t limit_config_dsn = { NULL, 0, "^pgsql;|[^:]+:[^:]+:.+" };
+static switch_xml_config_string_options_t limit_config_dsn = { NULL, 0, "^pgsql|^odbc|^sqlite|[^:]+:[^:]+:.+" };
 
 static switch_xml_config_item_t config_settings[] = {
        SWITCH_CONFIG_ITEM("odbc-dsn", SWITCH_CONFIG_STRING, 0, &globals.odbc_dsn, NULL, &limit_config_dsn,