[Asterisk-cvs] asterisk/channels chan_sip.c,1.292.2.19,1.292.2.20

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


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

Modified Files:
      Tag: v1-0_stable
	chan_sip.c 
Log Message:
Bug # 1116: CallerID number not hiddent when RestrictCID is on.  Fixed.


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.292.2.19
retrieving revision 1.292.2.20
diff -u -d -r1.292.2.19 -r1.292.2.20
--- chan_sip.c	15 Mar 2004 09:14:36 -0000	1.292.2.19
+++ chan_sip.c	16 Mar 2004 17:15:45 -0000	1.292.2.20
@@ -2913,8 +2913,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