Server SDKs
Build AI agents, control calls, send messages, and more
leave_conference
Leave an audio conference.
The conference ID to leave.
dict — Server response confirming the leave.
dict
1from signalwire.relay import RelayClient23client = RelayClient(4 project="your-project-id",5 token="your-api-token",6 host="your-space.signalwire.com",7 contexts=["default"],8)910@client.on_call11async def handle_call(call):12 await call.answer()1314 # Join a conference15 result = await call.join_conference("team-standup", beep="onEnter")1617 # Later, leave the conference18 await call.leave_conference(result.get("conference_id"))1920client.run()