[asterisk-commits] murf: branch 1.4 r51683 -
/branches/1.4/main/callerid.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jan 23 11:58:27 MST 2007
Author: murf
Date: Tue Jan 23 12:58:27 2007
New Revision: 51683
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51683
Log:
via 8748 (callerid.c loses name when returning PRIVATE_NUMBER flag), the user suggested this mod, saying it would allow 'WITHHELD' to appear in the name field, which would be useful
Modified:
branches/1.4/main/callerid.c
Modified: branches/1.4/main/callerid.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/callerid.c?view=diff&rev=51683&r1=51682&r2=51683
==============================================================================
--- branches/1.4/main/callerid.c (original)
+++ branches/1.4/main/callerid.c Tue Jan 23 12:58:27 2007
@@ -161,7 +161,7 @@
void callerid_get(struct callerid_state *cid, char **name, char **number, int *flags)
{
*flags = cid->flags;
- if (cid->flags & (CID_UNKNOWN_NAME | CID_PRIVATE_NUMBER))
+ if (cid->flags & (CID_UNKNOWN_NAME | CID_PRIVATE_NAME))
*name = NULL;
else
*name = cid->name;
More information about the asterisk-commits
mailing list