The SipSessionsUtil interface defines utility methods for managing SIP sessions in a converged application. Use the javax.annotations.Resource annotation to inject the container's SipSessionsUtil implementation class in your SIP servlets:
@Resource SipSessionsUtil sipSessionsUtil;
You may also manually look up SipSessionsUtil through the servlet context.
SipSessionsUtil sipSessionsUtil = (SipSessionsUtil) getServletContext(). getAttribute("javax.servlet.sip.SipSessionsUtil");
For more information, see the SIP Servlet 1.1 Javadocs