code: @Override
  	public SIPDialog createDialog(SipProviderImpl sipProvider,
  			SIPResponse sipResponse) {
  		if (sipCache.inLocalMode()) {
  			return super.createDialog(sipProvider, sipResponse);
  		}
  		else {
  			return (SIPDialog) HASipDialogFactory.createHASipDialog(replicationStrategy, sipProvider, sipResponse);
  		}
  	}
docs: /*
  (non-Javadoc)
  @see gov.nist.javax.sip.stack.SIPTransactionStack#createDialog(gov.nist.javax.sip.SipProviderImpl, gov.nist.javax.sip.message.SIPResponse)