The PlayAudio verb is used to play an audio file in the call. The URL of an audio file should be included in the body
<PlayAudio> tag. If a relative URL is given, it is resolved relative to the endpoint that returned the BXML.
NOTE: .wav files encoded as PCM or G711 are supported.
|username||(optional) The username to send in the HTTP request to
|password||(optional) The password to send in the HTTP request to
|audioUri||The URL of the audio file realative to the endpoint that returned the BXML|
Example: PlayAudio Verb
This shows how to use Bandwidth XML to play two audio clips into a phone call.
"1.0" encoding="UTF-8" xml version=<Response> <PlayAudio>https://audio.url/audio1.wav</PlayAudio> <PlayAudio>https://audio.url/audio2.wav</PlayAudio> </Response>