SipSessionListener
The SipSessionListener interface allows implementations to receive notifications about changes to the list of active SipSession instances within a SIP servlet application. These notifications are triggered by events such as session creation, invalidation, or lifecycle state changes.
To receive these notification events, the implementation class must be registered in the SIP application’s deployment descriptor (sip.xml). By implementing this interface, applications can monitor and manage SipSession lifecycles, enabling better resource management and session tracking.
Methods:
sessionCreated
void sessionCreated(SipSessionEvent se)
This method is called to notify that a new SipSession has been created. It allows applications to take actions such as initializing resources or tracking the session.
Parameters:
se: The SipSessionEvent object providing details about the newly created session.
Sign in to read the full article
Start innovating with Mobius
What's next? Let's talk!