code: @Override
      public void onDialogRelease(MAPDialog mapDialog) {
          if (logger.isDebugEnabled()) {
              logger.debug(String.format("onDialogResease for DialogId=%d", mapDialog.getLocalDialogId()));
          }
  
          this.endCount++;
  
          if ((this.endCount % 2000) == 0) {
              long currentTime = System.currentTimeMillis();
              long processingTime = currentTime - start;
              start = currentTime;
              logger.warn("Completed 2000 Dialogs in=" + processingTime);
          }
  
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.protocols.ss7.map.api.MAPDialogListener#onDialogResease
  (org.restcomm.protocols.ss7.map.api.MAPDialog)