[Asterisk-cvs] asterisk enum.c,1.13,1.14

markster at lists.digium.com markster at lists.digium.com
Wed Nov 26 12:49:34 CST 2003


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

Modified Files:
	enum.c 
Log Message:
Minor enum improvements for iax/iax2


Index: enum.c
===================================================================
RCS file: /usr/cvsroot/asterisk/enum.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- enum.c	8 Nov 2003 23:06:59 -0000	1.13
+++ enum.c	26 Nov 2003 19:15:56 -0000	1.14
@@ -125,12 +125,14 @@
 	} else if ((!strncasecmp(services, "e2u+h323", 8)) || 
 	    (!strncasecmp(services, "h323+e2u", 8))) {
 		strncpy(tech, "h323", techsize -1); 
-	} else if ((!strncasecmp(services, "e2u+iax", 7)) || 
-	    (!strncasecmp(services, "iax+e2u", 7))) {
-		strncpy(tech, "iax", techsize -1); 
-	} else if ((!strncasecmp(services, "e2u+iax2", 8)) || 
+	} else if ((!strncasecmp(services, "e2u+x-iax2", 10)) || 
+	    (!strncasecmp(services, "e2u+iax2", 8)) ||
 	    (!strncasecmp(services, "iax2+e2u", 8))) {
 		strncpy(tech, "iax2", techsize -1); 
+	} else if ((!strncasecmp(services, "e2u+x-iax", 9)) ||
+	    (!strncasecmp(services, "e2u+iax", 7)) ||
+	    (!strncasecmp(services, "iax+e2u", 7))) {
+		strncpy(tech, "iax", techsize -1); 
 	} else if ((!strncasecmp(services, "e2u+tel", 7)) || 
 	    (!strncasecmp(services, "tel+e2u", 7))) {
 		strncpy(tech, "tel", techsize -1); 




More information about the svn-commits mailing list