[asterisk-commits] dhubbard: trunk r60193 - /trunk/main/callerid.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Apr 4 16:45:28 MST 2007
Author: dhubbard
Date: Wed Apr 4 18:45:27 2007
New Revision: 60193
URL: http://svn.digium.com/view/asterisk?view=rev&rev=60193
Log:
ast_shrink_phone_number() must ignore whitespace, otherwise my CIDCO callerid box gets LINE ERROR
Modified:
trunk/main/callerid.c
Modified: trunk/main/callerid.c
URL: http://svn.digium.com/view/asterisk/trunk/main/callerid.c?view=diff&rev=60193&r1=60192&r2=60193
==============================================================================
--- trunk/main/callerid.c (original)
+++ trunk/main/callerid.c Wed Apr 4 18:45:27 2007
@@ -886,7 +886,8 @@
n[y++] = n[x];
break;
default:
- if (!strchr("()", n[x]))
+ /* ignore parenthesis and whitespace */
+ if (!strchr("( )", n[x]))
n[y++] = n[x];
}
}
More information about the asterisk-commits
mailing list