> ## Documentation Index
> Fetch the complete documentation index at: https://docs.telloai.io/llms.txt
> Use this file to discover all available pages before exploring further.

# cancel

> 진행 중인 통화를 끊어요.

## 할 수 있는 일

진행 중인 통화를 즉시 끊어요. 용건이 끝났거나 더 이어갈 이유가 없을 때 써요.

## 시그니처

<CodeGroup>
  ```python Python theme={null}
  await client.cancel() -> None
  ```

  ```ts Node theme={null}
  await client.cancel(): Promise<void>
  ```

  ```go Go theme={null}
  err := client.Cancel(ctx context.Context) error
  ```

  ```java Java theme={null}
  CompletableFuture<Void> cancel()
  ```
</CodeGroup>

파라미터가 없어요. 어느 통화를 끊을지는 연결이 이미 알고 있어요. 한 연결에서 활성 통화는
하나뿐이니까요.

## 결과

```text theme={null}
call.statusChanged   status: cancelled · previousStatus: inProgress
```

취소는 별도 종단 이벤트가 아니라 `call.statusChanged`로 와요. `waitClosed`는 이 이벤트에서도
풀려요.

## 오류

없어요. **활성 통화가 없으면 아무 일도 하지 않아요.** 오류도 나지 않아요.

## 주의사항

* 이미 끝난 통화에 호출해도 안전해요.
* 상대가 말하는 도중에 끊으면 그 발화는 `user.turn`으로 오지 않아요.

## 관련 문서

* [createCall](/developer/sdk/commands/create-call)
* [이벤트](/developer/sdk/events)
* [레퍼런스](/developer/sdk/reference)
