[reSIProcate] Problem while compiling DUM using SVN head revision8352
Dario Bozzali
Dario.Bozzali at ifminfomaster.com
Tue Dec 2 05:00:50 CST 2008
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 at resiprocate.org [mailto:resiprocate-devel-bounces at resiprocate.org] On Behalf Of Dario Bozzali
Sent: martedì 2 dicembre 2008 10.39
To: resiprocate-devel at resiprocate.org
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 at resiprocate.org
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
More information about the resiprocate-devel
mailing list