[reSIProcate] UserProfile Handling
Matthias Moetje
moetje at terasens.com
Thu Feb 15 10:16:42 CST 2007
Hi,
I am just thinking about best practices for dealing with UserProfiles. My applications must make calls with different values in the FROM header through makeInviteSession. I specify the FROM through the UserProfile's setDefaultFrom method.
Can I reuse the same UserProfile object without problems for calls with different FROM header? Is it OK just to setDefaultFrom before calling makeInviteSession or does dum use settings from the UserProfile at a later time so that I need to create different UserProfile objects for each makeInviteSession?
The problem with the latter procedure is that the UserProfile::clone method (or the constructor with the baseProfile parameter) does not really clone the UserProfile (but just the settings from the Profile class), so that the DigestCredentials collection and other properties get lost when cloning.
Thanks for any hints!
Best regards,
Matthias Moetje
TERASENS GmbH
Augustenstraße 24
80333 Munich
GERMANY
Phone:
Fax:
e-mail:
Web:
+49.89.143370-0
+49.89.143370-22
info at terasens.com <mailto:info at terasens.com>
www.terasens.com <http://www.terasens.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070215/37e490be/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2937 bytes
Desc: image001.jpg
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070215/37e490be/attachment.jpg>
More information about the resiprocate-devel
mailing list