this.sipProvider = (SipProviderImpl) transaction.getSipProvider(); if (sipProvider == null) throw new NullPointerException("Null Provider!"); this.addTransaction(transaction); if (sipStack.isLoggingEnabled()) { sipStack.logWriter.logDebug("Creating a dialog : " + this); sipStack.logWriter.logDebug("provider port = " + this.sipProvider.getListeningPoint().getPort()); sipStack.logWriter.logStackTrace(); }
	public SIPDialog(SIPTransaction transaction) {		this();		if (transaction == null)			throw new NullPointerException("Null tx");		this.sipStack = transaction.sipStack;		// this.defaultRouter = new DefaultRouter((SipStack) sipStack,		// sipStack.outboundProxy);		this.sipProvider = (SipProviderImpl) transaction.getSipProvider();		if (sipProvider == null)			throw new NullPointerException("Null Provider!");		this.addTransaction(transaction);		if (sipStack.isLoggingEnabled()) {			sipStack.logWriter.logDebug("Creating a dialog : " + this);			sipStack.logWriter.logDebug("provider port = "					+ this.sipProvider.getListeningPoint().getPort());			sipStack.logWriter.logStackTrace();		}	}