core/src/main/java/org/mobicents/ha/javax/sip/ClusteredSipStackImpl.java
protected  void putDialogIntoDistributedCache(SIPDialog dialog) {
		String dialogId = dialog.getDialogId();	
		if(getStackLogger().isLoggingEnabled(StackLogger.TRACE_DEBUG)) {
			getStackLogger().logDebug("sipStack " + this + " storing the dialog " + dialogId + " in the distributed cache");
		}
		// put the corresponding dialog into the cache instance
		try {
			sipCache.putDialog(dialog);
		} catch (SipCacheException e) {
			getStackLogger().logError("sipStack " + this + " problem storing the dialog " + dialogId + " into the distributed cache", e);
		}
	}
protected  void putDialogIntoDistributedCache(SIPDialog dialog) {
		String dialogId = dialog.getDialogId();	
		if(getStackLogger().isLoggingEnabled(StackLogger.TRACE_DEBUG)) {
			getStackLogger().logDebug("sipStack " + this + " storing the dialog " + dialogId + " in the distributed cache");
		}
		// put the corresponding dialog into the cache instance
		try {
			sipCache.putDialog(dialog);
		} catch (SipCacheException e) {
			getStackLogger().logError("sipStack " + this + " problem storing the dialog " + dialogId + " into the distributed cache", e);
		}
	}
protected void putDialogIntoDistributedCache ( SIPDialog dialog ) { String dialogId = dialog . getDialogId ( ) ; if ( getStackLogger ( ) . isLoggingEnabled ( StackLogger . TRACE_DEBUG ) ) { getStackLogger ( ) . logDebug ( "sipStack " + this + " storing the dialog " + dialogId + " in the distributed cache" ) ; } // put the corresponding dialog into the cache instance try { sipCache . putDialog ( dialog ) ; } catch ( SipCacheException e ) { getStackLogger ( ) . logError ( "sipStack " + this + " problem storing the dialog " + dialogId + " into the distributed cache" , e ) ; } }
Store the dialog into the distributed cache
@param dialog the dialog to store
Store the dialog into the distributed cache