mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
Bug # 1116. CallerID number not hidden when RestrictCID is on, Fixed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2916,8 +2916,10 @@ static void initreqprep(struct sip_request *req, struct sip_pvt *p, char *cmd, c
|
|||||||
l = callerid;
|
l = callerid;
|
||||||
}
|
}
|
||||||
/* if user want's his callerid restricted */
|
/* if user want's his callerid restricted */
|
||||||
if (p->restrictcid)
|
if (p->restrictcid) {
|
||||||
l = CALLERID_UNKNOWN;
|
l = CALLERID_UNKNOWN;
|
||||||
|
n = l;
|
||||||
|
}
|
||||||
if (!n || !strlen(n))
|
if (!n || !strlen(n))
|
||||||
n = l;
|
n = l;
|
||||||
/* Allow user to be overridden */
|
/* Allow user to be overridden */
|
||||||
|
|||||||
Reference in New Issue
Block a user