< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

SV: [reSIProcate] DUM and Privacy


I've tested the patch and it works.

Thanks
/Janne



Den tisdag, 18 april 2017 21:56 skrev Scott Godin <sgodin@xxxxxxxxxxxxxxx>:


Thanks for reporting this.  I think I see what's causing it.  

Are you able to try out the following fix and see if it works for you?

Modify the following code around line 1000 in dum/Dialog.cxx
   if (mDialogSet.mUserProfile->isAnonymous())
   {
       request.header(h_Privacys).push_back(PrivacyCategory(Symbols::id));
   }

to be

   if (mDialogSet.mUserProfile->isAnonymous())
   {
       request.remove(h_Privacys);
       request.header(h_Privacys).push_back(PrivacyCategory(Symbols::id));
   }

Thanks,
Scott

On Tue, Apr 18, 2017 at 6:13 AM, Jan Granqvist via resiprocate-devel <resiprocate-devel@xxxxxxxxxxxxxxx> wrote:
______________________________ _________________
resiprocate-devel mailing list
resiprocate-devel@resiprocate. org
https://list.resiprocate.org/ mailman/listinfo/resiprocate- devel

---------- Forwarded message ----------
From: Jan Granqvist <jan_granqvist@xxxxxxxxx>
To: "resiprocate-devel@xxxxxxxxxxxxxxx" <resiprocate-devel@xxxxxxxxxxxxxxx>
Cc: 
Bcc: 
Date: Tue, 18 Apr 2017 10:13:17 +0000 (UTC)
Subject: DUM and Privacy
Hi all,

Noticed an undesirable effect making an outbound call when the user profile returns true for method isAnonymous, that is DUM adds the privacy header to the INVITE signal.
For each following reINVITEs in the dialog method Dialog::makeRequest keeps adding another 'id' to the privacy header.
I'm using version 1.10.0.

BR
/Janne