[Asterisk-cvs] asterisk/channels chan_iax2.c,1.179,1.180

markster at lists.digium.com markster at lists.digium.com
Tue Aug 31 10:56:32 CDT 2004


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

Modified Files:
	chan_iax2.c 
Log Message:
Make app_festival change more portable, allow '*' for context in iax2


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -d -r1.179 -r1.180
--- chan_iax2.c	17 Aug 2004 23:57:36 -0000	1.179
+++ chan_iax2.c	31 Aug 2004 14:59:58 -0000	1.180
@@ -3473,7 +3473,7 @@
 static int apply_context(struct iax2_context *con, char *context)
 {
 	while(con) {
-		if (!strcmp(con->context, context))
+		if (!strcmp(con->context, context) || !strcmp(con->context, "*"))
 			return -1;
 		con = con->next;
 	}




More information about the svn-commits mailing list