playback_start
Start audio playback on a call by providing a call control ID and audio URL. Options include looping, overlaying, stopping, and selecting target legs.
Instructions
Start audio playback on a call.
Args: call_control_id: Required. Call control ID. audio_url: Required. URL of audio file to play. loop: Optional. Number of times to loop the audio. Valid values: infinity, 1, 2, 3, 4, 5. overlay: Optional boolean. Whether to overlay the audio on existing audio. Defaults to False. stop: Optional. Which audio to stop. Valid values: current, all. target_legs: Optional. Which leg(s) to play the audio on. Valid values: self, peer, both.
Returns: Dict[str, Any]: Response data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |