public interface SipFactoryExt extends SipFactory
| Modifier and Type | Method and Description |
|---|---|
SipApplicationSession |
createApplicationSession(boolean isContainerManaged)
Returns a new SipApplicationSession.
|
SipApplicationSession |
createApplicationSessionByKey(String sipApplicationKey,
boolean isContainerManaged)
Returns a new SipApplicationSession identified by the specified SipApplicationKey.
|
SipServletRequest |
createRequestWithCallID(SipApplicationSession appSession,
String method,
Address from,
Address to,
String callID)
Extension variant to the spec allowing to specify CallID.
|
SipServletRequest |
createRequestWithCallID(SipApplicationSession appSession,
String method,
String from,
String to,
String callID)
Extension variant to the spec allowing to specify CallID
This method requires org.restcomm.servlets.sip.OVERRIDE_SYSTEM_HEADER_MODIFICATION
param to be set at web/sip.xml descriptor.
|
SipServletRequest |
createRequestWithCallID(SipApplicationSession appSession,
String method,
URI from,
URI to,
String callID)
Extension variant to the spec allowing to specify CallID
This method requires org.restcomm.servlets.sip.OVERRIDE_SYSTEM_HEADER_MODIFICATION
param to be set at web/sip.xml descriptor.
|
boolean |
isRouteOrphanRequests()
This flag specifies if the current application can receive subsequent requests after their session has been lost or invalidated.
|
void |
setRouteOrphanRequests(boolean routeOrphanRequets)
This flag specifies if the current application can receive subsequent requests after their session has been lost or invalidated.
|
createAddress, createAddress, createAddress, createApplicationSession, createApplicationSessionByKey, createAuthInfo, createParameterable, createRequest, createRequest, createRequest, createRequest, createSipURI, createURIboolean isRouteOrphanRequests()
void setRouteOrphanRequests(boolean routeOrphanRequets)
SipApplicationSession createApplicationSession(boolean isContainerManaged)
isContainerManaged - whether or not the container should bind and lock the sip application session in the same thread as the one that created itSipApplicationSession createApplicationSessionByKey(String sipApplicationKey, boolean isContainerManaged)
sipApplicationKey - - id for the SipApplicationSessionisContainerManaged - whether or not the container should bind and lock the sip application session in the same thread as the one that created itSipServletRequest createRequestWithCallID(SipApplicationSession appSession, String method, Address from, Address to, String callID)
appSession - method - from - to - callID - If null, the container will autogenerate the callId as usualSipServletRequest createRequestWithCallID(SipApplicationSession appSession, String method, String from, String to, String callID) throws ServletParseException
appSession - method - from - to - callID - If null, the container will autogenerate the callId as usualServletParseExceptionSipServletRequest createRequestWithCallID(SipApplicationSession appSession, String method, URI from, URI to, String callID)
appSession - method - from - to - callID - If null, the container will autogenerate the callId as usualCopyright © 2017. All rights reserved.