boolean cleanUCIDInCall() {
		CallUCIDStatus callsttype = CallUCIDStatus.OK;
		try {
			Object ucidConf = getQueryUCIDConf();
			log.debug("UCID obtained from the switch is "
					+ ((HasUCID) ucidConf).getUcid());

			if ((getUCID() != null)
					&& (!getUCID()
							.contentEquals(((HasUCID) ucidConf).getUcid()))) {
				callsttype = CallUCIDStatus.UCIDMISMATCH;
				log.info("ERROR: mismatched ucid, for call: " + this
						+ " - setting call state to INVALID.");
			}

			if (callsttype != CallUCIDStatus.OK) {
				int i = getCallID();
				setState(34, null);
				this.provider.dumpCall(i);
			}
		} catch (TsapiPlatformException e) {
			if ((e.getErrorType() == 2) && (e.getErrorCode() == 24)) {
				callsttype = CallUCIDStatus.NONEXISTING;
				log.info("ERROR: Attempted cleanUCIDInCall() but no active call: "
						+ this + " - setting call state to INVALID.");
			} else {
				callsttype = CallUCIDStatus.OK;
				log.info("ERROR: Saw & ignored exception (TsapiPlatformException)  for cleanUCIDsInCallsInConnections(), for call "
						+ this
						+ " - Perhaps UCID queries are disabled on the switch. "
						+ e);
			}

			if (callsttype != CallUCIDStatus.OK) {
				int i = getCallID();
				setState(34, null);
				this.provider.dumpCall(i);
			}
		} catch (Exception e) {
			callsttype = CallUCIDStatus.OK;
			log.info("ERROR: Saw & ignored unexpected exception  for cleanUCIDsInCallsInConnections(), for call "
					+ this
					+ " - Perhaps UCID queries are disabled on the switch. "
					+ e);

			if (callsttype != CallUCIDStatus.OK) {
				int i = getCallID();
				setState(34, null);
				this.provider.dumpCall(i);
			}
		} finally {
			if (callsttype != CallUCIDStatus.OK) {
				int i = getCallID();
				setState(34, null);
				this.provider.dumpCall(i);
			}

		}

		return callsttype == CallUCIDStatus.OK;
	}