playback_start
Start audio playback on a Telnyx call by specifying the audio URL, loop settings, and target legs for playback control.
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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |