[Asterisk-cvs] asterisk/pbx pbx_realtime.c,1.6,1.7

markster at lists.digium.com markster at lists.digium.com
Mon Dec 20 20:43:54 CST 2004


Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv14270/pbx

Modified Files:
	pbx_realtime.c 
Log Message:
Fix Realtime to work with MySQL and Postgres both (bug #3029)


Index: pbx_realtime.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_realtime.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- pbx_realtime.c	6 Dec 2004 17:21:44 -0000	1.6
+++ pbx_realtime.c	21 Dec 2004 01:39:49 -0000	1.7
@@ -114,7 +114,7 @@
 	}
 	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) {




More information about the svn-commits mailing list