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); } -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- svn-commits mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/svn-commits