public void initAfterLoad ( ClusteredSipStack sipStackImpl ) { String transport = getLastResponseTopMostVia ( ) . getTransport ( ) ; Iterator < SipProviderImpl > providers = sipStackImpl . getSipProviders ( ) ; boolean providerNotFound = true ; while ( providers . hasNext ( ) ) { SipProviderImpl providerImpl = providers . next ( ) ; if ( providerImpl . getListeningPoint ( transport ) != null ) { setSipProvider ( providerImpl ) ; providerNotFound = false ; } } if ( providerNotFound ) { throw new RuntimeException ( "No providers found for transport=" + transport + " on this node. Make sure connectors are configured for this transport" ) ; } setStack ( ( SIPTransactionStack ) sipStackImpl ) ; setAssigned ( ) ; firstTransactionPort = getSipProvider ( ) . getListeningPoint ( getLastResponseTopMostVia ( ) . getTransport ( ) ) . getPort ( ) ; ackProcessed = true ; // ackSeen = true; }
Updates the local dialog transient attributes that were not serialized during the replication