code: public DialogActivity getNewDialog(DialogActivity incomingDialog,
  			boolean useSameCallId) throws SipException {
  		checkState();
  		if (incomingDialog == null || !incomingDialog.isServer()) {
  			throw new IllegalArgumentException(
  					"Incoming dialog is either null or is UAC dialog!!");
  		}
  		CallIdHeader callIdHeader = null;
  		if (useSameCallId) {
  			callIdHeader = incomingDialog.getCallId();
  		}
  
  		return _getNewDialog(incomingDialog.getRemoteParty(), Utils.getInstance().generateTag(), incomingDialog.getLocalParty(), callIdHeader);
  	}
docs: /*
  (non-Javadoc)
  
  @see
  net.java.slee.resource.sip.SleeSipProvider#getNewDialog(net.java.slee
  .resource.sip.DialogActivity, boolean)