code: public boolean removeConnection(String endpointId, int connectionId) {
          boolean removed = this.entries.remove(endpointId, connectionId);
          if (removed && log.isDebugEnabled()) {
              int left = this.entries.get(endpointId).size();
              log.debug("Call " + getCallIdHex() + " unregistered connection " + Integer.toHexString(connectionId) + " from endpoint " + endpointId + ". Connection count: " + left);
          }
          return removed;
      }
docs: Unregisters a connection from the call.
  
  @param endpointId The identifier of the endpoint that owns the connection.
  @param connectionId The connection identifier.
  @return Returns <code>true</code> if connection was removed successfully. Returns <code>false</code> otherwise.