Skip to content
Snippets Groups Projects
Commit a5194775 authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix Realtime to work with MySQL and Postgres both (bug #3029)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 217bc41c
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ static struct ast_variable *realtime_switch_common(const char *table, const char
}
var = ast_load_realtime(table, ematch, rexten, "context", context, "priority", pri, NULL);
if (!var) {
cfg = ast_load_realtime_multientry(table, "exten RLIKE", "_.*", "context", context, "priority", pri, NULL);
cfg = ast_load_realtime_multientry(table, "exten LIKE", "\\_%", "context", context, "priority", pri, NULL);
if (cfg) {
cat = cfg->root;
while(cat) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment