docs: private String cleanChannelName(final String name)
      {
          String cleanedName = name.trim().toUpperCase();
  
          // If if the channel is the console
          this._isConsole = false;
          if (name.compareToIgnoreCase("Console/dsp") == 0) //$NON-NLS-1$
          {
              this._isConsole = true;
          }
  
          // Check if the channel is in an action
          boolean wasInAction = this._isInAction;
          this._isInAction = false;
          for (final String prefix : ChannelImpl._actions)
          {
              if (cleanedName.startsWith(prefix))
              {
                  this._isInAction = true;
                  this._actionPrefix = cleanedName.substring(0, prefix.length() - 1);
                  cleanedName = cleanedName.substring(prefix.length());
                  break;
              }
          }
          if (wasInAction != this._isInAction)
          {
              logger.debug("Channel " + this + " : inaction status changed from " + wasInAction + " to " + this._isInAction);
          }
  
          // Channels can be marked as in a zombie state
          // so we need to strip of the zombie suffix and just mark the channel
          // as a
          // zombie.
          this._isZombie = false;
          if (cleanedName.contains(ChannelImpl.ZOMBIE))
          {
              this._isZombie = true;
              cleanedName = cleanedName.substring(0, cleanedName.indexOf(ChannelImpl.ZOMBIE));
          }
  
          // Channels can be marked as in a MASQ state
          // This happens during transfers (and other times) when the channel is
          // replaced
          // by a new channel in the call. The old channel is renamed with the
          // word
          // <MASQ> added as a suffix.
          this._isMasqueraded = false;
          if (cleanedName.contains(ChannelImpl.MASQ))
          {
              this._isMasqueraded = true;
              cleanedName = cleanedName.substring(0, cleanedName.indexOf(ChannelImpl.MASQ));
          }
  
          return cleanedName;
      }