summaryrefslogtreecommitdiff
path: root/callerid.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-04-04 22:14:10 +0000
committerMark Spencer <markster@digium.com>2004-04-04 22:14:10 +0000
commitd051e2da43821cce9ee0bde032945665d31d0e57 (patch)
tree8add954bd7b19c0c908e2f7f63c854a00de3b90e /callerid.c
parent94279f00c1b5889fdf18050108c650e24f9b1a07 (diff)
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
Diffstat (limited to 'callerid.c')
-rwxr-xr-xcallerid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/callerid.c b/callerid.c
index ff4fdb520..3f3e2f752 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;
}