code: protected void doInvite(SipServletRequest request) throws ServletException,
  			IOException {
  		
  		if(logger.isInfoEnabled()) {
  			logger.info("Simple Servlet: Got request:\n"
  				+ request.getMethod());
  		}
  		SipServletResponse sipServletResponse = request.createResponse(SipServletResponse.SC_RINGING);
  		sipServletResponse.send();
  		sipServletResponse = request.createResponse(SipServletResponse.SC_OK);
  		sipServletResponse.send();
  		if(CALLEE_SEND_BYE.equalsIgnoreCase(((SipURI)request.getTo().getURI()).getUser())) {
  			TimerService timer = (TimerService) getServletContext().getAttribute(TIMER_SERVICE);			
  			timer.createTimer(request.getApplicationSession(), byeDelay, false, request.getSession().getId());
  		}
  	}
docs: {@inheritDoc}