Another issue is whether container should generate Id automatically if
@SipApplicationKey-annotated method return null.
Thanks
Nasir
Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
I agree with this concept; the application can manage its own keys for
sessions, regardless off how it is created.
But, strangely enough there is no way to retrieve the
SipAPplicationSession using the application's sip application key!
The Spec says that the container can use the key to generate the
sessionID but can for example append stuff to make it unique. But the
application is not aware of this container specific mapping.
Should there not also be a way for the application to retrieve the SAS
via the SipApplicationKey? Or some method to derive a SASid from a
SASkey?
Of course, this could be solved with the addKey() functionality
discussed elsewhere, i.e., the application could add the SASkey as an
additional key to the SAS, which is a more generic solution to the
issue I address here.
Regards, Erik
- Nasir
What would happen if a SipApplicationSession with the appKey already
exists?
To be consistent with the @SipApplicationKey behaviour I would suggest
to return the existing SipApplicationSession in this case.
What do you think?
Regards, Erik
On Sep 19, 3:19 pm, Erik van der Velden
> > Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.- Hide quoted text -
>
> - Show quoted text -