code: public void endCall(SipServletMessage message, boolean callerTerminating) throws IOException {
  		if(callerTerminating) {
  			fireEvent(
  				(String) message.getSession().getAttribute("boothNumber"), 
  				null, 
  				"org.mobicents.slee.service.interopdemo.END_MEDIA", 
  				message.getSession().getAttribute("callManagerRef"));
  		} else {
  			sipServletResponse.getSession().createRequest("BYE").send();
  		}
  	}
docs: /*
  (non-Javadoc)
  @see org.jboss.mobicents.seam.CallManager#endCall(javax.servlet.sip.SipServletMessage, boolean)