***

title: answer
slug: /reference/python/relay/call/answer
description: Answer an inbound RELAY call.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[client-dial]: /docs/server-sdks/reference/python/relay/client/dial

[ref-call]: /docs/server-sdks/reference/python/relay/call

Answer an inbound call. This must be called before performing any media
operations on the call. For outbound calls created via
[`client.dial()`][client-dial],
the call is already answered when the [`Call`][ref-call] object is returned.

<Note>
  Calling `answer()` on an already-answered call is safe and returns the server
  response without error.
</Note>

## **Parameters**

## **Returns**

`dict` -- Server response confirming the answer operation.

## **Example**

```python {12}
from signalwire.relay import RelayClient

client = RelayClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
    contexts=["default"],
)

@client.on_call
async def handle_call(call):
    result = await call.answer()
    print(f"Answered call {call.call_id}: {result}")

client.run()
```