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

# Chamadas

> Escute chamadas recebidas e rejeite-as.

O Baileys não atende chamadas, mas detecta e rejeita programaticamente.

## Escutar chamadas

```typescript theme={null}
sock.ev.on('call', async (calls) => {
  for (const call of calls) {
    console.log(`Call ${call.status} from ${call.from}`)
  }
})
```

## Rejeitar uma chamada

```typescript theme={null}
sock.ev.on('call', async (calls) => {
  for (const call of calls) {
    if (call.status === 'offer') {
      await sock.rejectCall(call.id, call.from)
    }
  }
})
```

<Note>
  O Baileys não aceita ou conduz chamadas de voz/vídeo. Rejeitar é a única ação suportada.
</Note>
