public interface SipSessionsUtil
| Modifier and Type | Method and Description |
|---|---|
SipApplicationSession |
getApplicationSessionById(String applicationSessionId)
Returns the SipApplicationSession for a given applicationSessionId.
|
SipApplicationSession |
getApplicationSessionByKey(String applicationSessionKey,
boolean create)
Returns the SipApplicationSession for a given session applicationSessionKey.
|
SipSession |
getCorrespondingSipSession(SipSession session,
String headerName)
Returns related SipSession.
|
SipApplicationSession getApplicationSessionById(String applicationSessionId)
SipApplicationSession getApplicationSessionByKey(String applicationSessionKey, boolean create)
applicationSessionKey - session applicationSessionKey of the SipApplicationSessioncreate - controls whether new session should be created upon lookup failureNullPointerException - if the applicationSessionKey is null.SipSession getCorrespondingSipSession(SipSession session, String headerName)
session - one of the two related SIP sessions. For example, it can be the joining session or the replacing session.headerName - the header name through which the association is made. For example, for RFC 3911, it is Join, for RFC 3891, it is ReplacesCopyright © 2016. All rights reserved.