[svn-commits] trunk r26989 - /trunk/pbx.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu May 11 13:03:53 MST 2006


Author: rizzo
Date: Thu May 11 15:03:52 2006
New Revision: 26989

URL: http://svn.digium.com/view/asterisk?rev=26989&view=rev
Log:
oops, missing ! in matchcid...
this should fix bug #7142


Modified:
    trunk/pbx.c

Modified: trunk/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx.c?rev=26989&r1=26988&r2=26989&view=diff
==============================================================================
--- trunk/pbx.c (original)
+++ trunk/pbx.c Thu May 11 15:03:52 2006
@@ -950,7 +950,7 @@
 		int match = extension_match_core(eroot->exten, exten, action);
 		/* 0 on fail, 1 on match, 2 on earlymatch */
 
-		if (!match || (eroot->matchcid && matchcid(eroot->cidmatch, callerid)))
+		if (!match || (eroot->matchcid && !matchcid(eroot->cidmatch, callerid)))
 			continue;	/* keep trying */
 		if (match == 2 && action == E_MATCHMORE) {
 			/* We match an extension ending in '!'.



More information about the svn-commits mailing list