code: public MobicentsSipApplicationSessionKey getCorrespondingSipApplicationSession(MobicentsSipApplicationSessionKey sipApplicationSessionKey, String headerName) {
  		MobicentsSipApplicationSessionKey correspondingSipApplicationSession = null;
  		if(headerName.equalsIgnoreCase(JoinHeader.NAME)) {
  			correspondingSipApplicationSession = joinApplicationSession.get(sipApplicationSessionKey);
  		} else if (headerName.equalsIgnoreCase(ReplacesHeader.NAME)) {
  			correspondingSipApplicationSession = replacesApplicationSession.get(sipApplicationSessionKey);
  		} else {
  			throw new IllegalArgumentException("headerName argument should either be one of Join or Replaces");
  		}
  		return correspondingSipApplicationSession;
  	}
docs: {@inheritDoc}