if (LogWriter.needsLogging)
if (logWriter.isLoggingEnabled())
	public void putDialog(SIPDialog dialog) {		String dialogId = dialog.getDialogId();		synchronized (dialogTable) {			if (dialogTable.containsKey(dialogId))				return;		}		if (LogWriter.needsLogging) {			logWriter.logMessage("putDialog dialogId=" + dialogId);		}		// if (this.getDefaultRouteHeader() != null)		//   dialog.addRoute(this.getDefaultRouteHeader(),false);		dialog.setStack(this);		if (LogWriter.needsLogging)			logWriter.logStackTrace();		synchronized (dialogTable) {			dialogTable.put(dialogId, dialog);		}	}