diff options
author | Mark Spencer <markster@digium.com> | 2003-09-01 15:59:57 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-09-01 15:59:57 +0000 |
commit | 193f6631bea877d96d24d783242f47f84f27c9a2 (patch) | |
tree | 18462fba135cea9237628ca6c6a20aefb1c0a450 /callerid.c | |
parent | 03373895c2f70a7b664dc21c5040bff7d8b2ad7a (diff) |
* and # are potentially parts of phone numbers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'callerid.c')
-rwxr-xr-x | callerid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/callerid.c b/callerid.c index 59d9a6860..0a0883eb3 100755 --- a/callerid.c +++ b/callerid.c @@ -508,7 +508,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; } |