code: protected void doBye(SipServletRequest request) throws ServletException,
  			IOException {
  		if(logger.isInfoEnabled()) {
  			logger.info("Got BYE request:\n" + request);
  		}
  		SipServletResponse sipServletResponse = request.createResponse(200);
  		sipServletResponse.send();
  		RTSPStack rtsp = (RTSPStack) request.getSession().getAttribute("rtsp");
  		try {
  			rtsp.sendTeardown();
  			Thread.sleep(1000);
  			rtsp.destroy();
  		} catch (Exception e) {
  			logger.error("Problem cleaning up RTSP stack", e);
  		}
  		
  	}
docs: {@inheritDoc}