player.stop();
ServletContext servletContext = getServletContext();
Map<Integer, Recorder> recorders = (Map<Integer, Recorder>)
servletContext.getAttribute(Recorder.class.getName());
Recorder recorder = recorders.get(player.getLocalPort());
recorder.stop();
recorders.remove(player.getLocalPort());
bye.getSession().invalidate();
sipApplicationSession.invalidate();
}