[svn-commits] mmichelson: branch 13 r421790 - in /branches/13: ./ res/res_pjsip_caller_id.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 21 16:27:47 CDT 2014


Author: mmichelson
Date: Thu Aug 21 16:27:45 2014
New Revision: 421790

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421790
Log:
Let's try checking the name and number, instead of the name twice.
........

Merged revisions 421789 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    branches/13/   (props changed)
    branches/13/res/res_pjsip_caller_id.c

Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: branches/13/res/res_pjsip_caller_id.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip_caller_id.c?view=diff&rev=421790&r1=421789&r2=421790
==============================================================================
--- branches/13/res/res_pjsip_caller_id.c (original)
+++ branches/13/res/res_pjsip_caller_id.c Thu Aug 21 16:27:45 2014
@@ -468,7 +468,7 @@
 	old_privacy = pjsip_msg_find_hdr_by_name(tdata->msg, &pj_privacy_name, NULL);
 
 	if ((id->name.presentation & AST_PRES_RESTRICTION) == AST_PRES_ALLOWED &&
-			(id->name.presentation & AST_PRES_RESTRICTION) == AST_PRES_ALLOWED) {
+			(id->number.presentation & AST_PRES_RESTRICTION) == AST_PRES_ALLOWED) {
 		if (old_privacy) {
 			pj_list_erase(old_privacy);
 		}




More information about the svn-commits mailing list