[Asterisk-cvs] asterisk callerid.c,1.14,1.15

markster at lists.digium.com markster at lists.digium.com
Sun Apr 4 18:14:17 CDT 2004


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

Modified Files:
	callerid.c 
Log Message:
Recognize + as a valid part of a phone number


Index: callerid.c
===================================================================
RCS file: /usr/cvsroot/asterisk/callerid.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- callerid.c	4 Apr 2004 02:00:19 -0000	1.14
+++ callerid.c	4 Apr 2004 22:14:10 -0000	1.15
@@ -511,7 +511,7 @@
 	if (!n || !strlen(n))
 		return 0;
 	for (x=0;n[x];x++)
-		if (!strchr("0123456789*#", n[x]))
+		if (!strchr("0123456789*#+", n[x]))
 			return 0;
 	return 1;
 }




More information about the svn-commits mailing list