code: public void update(MsNotifyEvent event) {
  		logger.info("resource updated : event FQN " + event.getEventID().getFqn());
  		if(session != null && link != null && event.getEventID().equals(MsAnnouncement.COMPLETED)) {						
  			try {
  				SipServletRequest byeRequest = session.createRequest("BYE");				
  				byeRequest.send();																	
  			} catch (IOException e) {
  				logger.error("Unexpected error while sending the BYE request", e);				
  			}
  			link.release();			
  		}
  	}
docs: /* (non-Javadoc)
  @see org.mobicents.mscontrol.MsResourceListener#update(org.mobicents.mscontrol.MsNotifyEvent)