---
title: "acceptCallID(_:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkvoicechatservice/acceptcallid(_:)"
---

# acceptCallID(_:)

Accepts a request from a remote user to establish a voice chat.

## Declaration

```swift
func acceptCallID(_ callID: Int) throws
```

## Parameters

- `callID`: An integer that identifies the connection request.

## Discussion

Discussion When a remote user requests a voice chat, the voice chat service calls the client’s voiceChatService(_:didReceiveInvitationFromParticipantID:callID:) method. The client calls this method to accept the request or denyCallID(_:) to reject it.

## See Also

### Methods Called by the Client

- [denyCallID(_:)](gamekit/gkvoicechatservice/denycallid(_:).md)
- [receivedData(_:fromParticipantID:)](gamekit/gkvoicechatservice/receiveddata(_:fromparticipantid:).md)
- [receivedRealTime(_:fromParticipantID:)](gamekit/gkvoicechatservice/receivedrealtime(_:fromparticipantid:).md)
