***

title: pause
slug: /reference/python/relay/actions/record-action/pause
description: Pause an active recording.
max-toc-depth: 3
---------------------

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

Pause the recording.

## **Parameters**

<ParamField path="behavior" type="Optional[str]" toc={true}>
  Optional pause behavior. Controls what happens to the audio stream while paused
  (e.g., silence insertion).
</ParamField>

## **Returns**

`dict` -- Server acknowledgment.

## **Example**

```python {16}
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):
    await call.answer()
    action = await call.record(audio={"direction": "both", "format": "wav"})

    # Pause during sensitive information
    await action.pause()
    # ... sensitive exchange ...
    await action.resume()

client.run()
```