aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_realtime.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-21 01:39:49 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-21 01:39:49 +0000
commit7775cb70707ccd65f269a8dde0e4ceaaab014603 (patch)
treef301762ab58cc3c74fb657a4e347ec47c35b3c9e /pbx/pbx_realtime.c
parent9ce7326acff2c92a37a3739da91e47ba7415215d (diff)
Fix Realtime to work with MySQL and Postgres both (bug #3029)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4510 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_realtime.c')
-rwxr-xr-xpbx/pbx_realtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c
index 39c2845d5..52931eea7 100755
--- a/pbx/pbx_realtime.c
+++ b/pbx/pbx_realtime.c
@@ -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) {