[Asterisk-cvs] asterisk/channels chan_sip.c,1.310,1.311

malcolmd at lists.digium.com malcolmd at lists.digium.com
Tue Mar 16 12:13:23 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv19553/channels

Modified Files:
	chan_sip.c 
Log Message:
Bug # 1116.  CallerID number not hidden when RestrictCID is on, Fixed


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.310
retrieving revision 1.311
diff -u -d -r1.310 -r1.311
--- chan_sip.c	15 Mar 2004 09:14:16 -0000	1.310
+++ chan_sip.c	16 Mar 2004 17:07:51 -0000	1.311
@@ -2916,8 +2916,10 @@
 				l = callerid;
 	}
 	/* if user want's his callerid restricted */
-	if (p->restrictcid)
+	if (p->restrictcid) {
 		l = CALLERID_UNKNOWN;
+		n = l;
+	}
 	if (!n || !strlen(n))
 		n = l;
 	/* Allow user to be overridden */




More information about the svn-commits mailing list