mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Recognize + as a valid part of a phone number
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -511,7 +511,7 @@ int ast_isphonenumber(char *n) | ||||
| 	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; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user