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

[reSIProcate] Problem while compiling DUM using SVN head revision8352


Sorry, actually the following include line, mentioned in previous mail, is not 
necessary.
#include "resip/stack/PrivacyCategory.hxx"

Best regards,
Dario.
________________________________


-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx 
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Dario Bozzali
Sent: martedì 2 dicembre 2008 10.39
To: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: [reSIProcate] Problem while compiling DUM using SVN head revision8352

Hi all,
I updated my Resiprocate repository taking SVN head revision 8352 and I'm 
obtaining compiler error in DUM.
I think that the problem is related to changes for PrivacyCategory (from Token 
to specific ParserCategory).

In particular I tried to change InviteSessioneCreator.cxx in the following 
manner (include PrivacyCategory.hxx was missing):

#include "resip/stack/PrivacyCategory.hxx"
[...]
InviteSessionCreator::InviteSessionCreator(DialogUsageManager& dum,
                                           const NameAddr& target,
                                           SharedPtr<UserProfile> userProfile,
                                           const SdpContents* initial,
 
DialogUsageManager::EncryptionLevel level,
                                           const SdpContents* alternative,
                                           ServerSubscriptionHandle
serverSub)
   : BaseCreator(dum, userProfile),
     mState(Initialized),
     mInitialOffer(0),
     mServerSub(serverSub),
     mEncryptionLevel(level)
{
   makeInitialRequest(target, INVITE);
   if (userProfile->isAnonymous())
   {
      //mLastRequest->header(h_Privacys).push_back(Token(Symbols::id));
        
mLastRequest->header(h_Privacys).push_back(PrivacyCategory(Symbols::id))
;
   }
[...]
}

Moreover I changed Dialog.cxx (line 1002):

void
Dialog::makeRequest(SipMessage& request, MethodTypes method) { [...]
    if (mDialogSet.mUserProfile->isAnonymous())
   {
      //request.header(h_Privacys).push_back(Token(Symbols::id));
        
request.header(h_Privacys).push_back(PrivacyCategory(Symbols::id));
   }
[...]
}

Are these the right fixes?

Thank you and best regards.

Dario.
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel