From d051e2da43821cce9ee0bde032945665d31d0e57 Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Sun, 4 Apr 2004 22:14:10 +0000
Subject: [PATCH] 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
---
 callerid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/callerid.c b/callerid.c
index ff4fdb5207..3f3e2f7521 100755
--- a/callerid.c
+++ b/callerid.c
@@ -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;
 }
-- 
GitLab