src/api/ChannelsAPI.js
/**
   * DELETE /channels/{channelId}/ring
   *
   * Stop ringing indication on the channel if locally generated.
   *
   * @param {object} params
   * @param {string} params.channelId The id of the channel to stop indicating
   *  ringing to.
   * @returns {Promise} Resolves when the ringing has successfully stopped.
   *  Rejects when the specified channel cannot be found (status 404) or the
   *  specified channel is not in a stasis application (status 409).
   */
DELETE /channels/{channelId}/ring
Stop ringing indication on the channel if locally generated.

@param {object} params
@param {string} params.channelId The id of the channel to stop indicating
ringing to.
@returns {Promise} Resolves when the ringing has successfully stopped.
Rejects when the specified channel cannot be found (status 404) or the
specified channel is not in a stasis application (status 409).
DELETE / channels / { channelId } / ring Stop ringing indication on the channel if locally generated . @param { object } params @param { string } params . channelId The id of the channel to stop indicating ringing to . @returns { Promise } Resolves when the ringing has successfully stopped . Rejects when the specified channel cannot be found ( status 404 ) or the specified channel is not in a stasis application ( status 409 ) .
ringStop(params) {
    const { channelId } = params;
    const id = encodeURIComponent(channelId);
    return this._request({
      method: "DELETE",
      url: `${this._baseUrl}/channels/${id}/ring`,
    });
  }
ringStop ( params ) { const { channelId } = params ; const id = encodeURIComponent ( channelId ) ; return this . _request ( { method : "DELETE" , url : ` ${ this . _baseUrl } ${ id } ` , } ) ; }
DELETE /channels/{channelId}/ring
 Stop ringing indication on the channel if locally generated.
DELETE / channels / { channelId } / ring Stop ringing indication on the channel if locally generated .