code: public Dialog getNewDialog(SccpAddress localAddress, SccpAddress remoteAddress) throws TCAPException {
          DialogImpl res = getNewDialog(localAddress, remoteAddress, getNextSeqControl(), null);
          if (this.stack.getStatisticsEnabled()) {
              this.stack.getCounterProviderImpl().updateAllLocalEstablishedDialogsCount();
              this.stack.getCounterProviderImpl().updateAllEstablishedDialogsCount();
          }
          this.setSsnToDialog(res, localAddress.getSubsystemNumber());
          return res;
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.protocols.ss7.tcap.api.TCAPProvider#getNewDialog(org.mobicents
  .protocols.ss7.sccp.parameter.SccpAddress, org.restcomm.protocols.ss7.sccp.parameter.SccpAddress)