ast_shrink_phone_number() must ignore whitespace, otherwise my CIDCO callerid box gets LINE ERROR

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Dwayne M. Hubbard 18 years ago
parent 5f629360ec
commit 3a1d0a196b

@ -886,7 +886,8 @@ void ast_shrink_phone_number(char *n)
n[y++] = n[x];
break;
default:
if (!strchr("()", n[x]))
/* ignore parenthesis and whitespace */
if (!strchr("( )", n[x]))
n[y++] = n[x];
}
}

Loading…
Cancel
Save