mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +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; | ||||
| 	} | ||||
| 	/* 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 */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user