RelayActionsPlayActionpauseCopy page|View as Markdown|Open in Claude|More actionsThis page is for Server SDKs.Pause audio playback. The playback position is preserved. Returns dict — Server acknowledgment. Example from signalwire.relay import RelayClientclient = RelayClient( project="your-project-id", token="your-api-token", contexts=["default"],)@client.on_callasync def handle_call(call): await call.answer() action = await call.play( [{"type": "audio", "params": {"url": "https://example.com/hold-music.mp3"}}], loop=0, ) await action.pause() # ... do something ... await action.resume()client.run()