code: public void processTransactionTerminated(
  			TransactionTerminatedEvent txTerminatedEvent) {
  		
  		Transaction t = null; 
  		if (txTerminatedEvent.isServerTransaction()) {
  			t = txTerminatedEvent.getServerTransaction();
  		}
  		else {
  			t = txTerminatedEvent.getClientTransaction();
  		}
  		
  		final TransactionWrapper tw = getTransactionWrapper(t);
  		if (tw != null) {
  			if (tracer.isInfoEnabled()) {
  				tracer.info("SIP Transaction "+tw.getActivityHandle()+" terminated");
  			}
  			processTransactionTerminated(tw);			
  		}
  		else {			
  			if (tracer.isInfoEnabled()) {
  				tracer.info("SIP Transaction "+((SIPTransaction)t).getTransactionId()+" terminated");				
  			}
  		}		
  	}
docs: /*
  (non-Javadoc)
  @see javax.sip.SipListener#processTransactionTerminated(javax.sip.TransactionTerminatedEvent)