Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (18 loc) · 861 Bytes

playAudio.md

File metadata and controls

34 lines (18 loc) · 861 Bytes

XML: <PlayAudio>

The PlayAudio verb is used to play an audio file in the call.

Attributes

ATTRIBUTE Description
digits (optional) Allows you to play DTMF digits in the call (No default value).
this feature is coming soon.

Events Recevied

Event Can reply with more BXML
None No

Example: PlayAudio Verb

This shows how to use Bandwidth XML to play an audio clip into a phone call.

<?xml version="1.0" encoding="UTF-8"?>

<Response>

<PlayAudio>https://audio.url/audio.mp3</PlayAudio>

</Response>