SipSession
The SipSession interface represents point-to-point SIP relationships, similar to a SIP dialog. It keeps track of dialog state for User Agents (UAs) and allows them to create further requests within the same dialog using the createRequest method. For User Agent Clients (UACs), it also manages dialog-like relationships before a dialog is fully established or after a final non-2xx response ends an early dialog. This ensures that subsequent requests use the same Call-ID, From, and To headers (with the same From tag and no To tag) and stay within the same CSeq sequence. All SIP messages can be linked to a SipSession, which can be accessed through the SipServletMessage.getSession() method.
Nested class:
SipSession.State
The SipSession.State defines the possible states a SIP dialog can have according to the SipSession finite state machine (FSM). These states represent the different phases in the lifecycle of a SIP dialog, from its creation to its termination. They are used by the SipSession to track its current status and transition between states as SIP requests and responses are exchanged. For more details, refer to the Description.
Sign in to read the full article
Start innovating with Mobius
What's next? Let's talk!