Plays an audio file which is downloaded from specified URL and played to the caller. For better performance, it is recommended to use the GET method when the <playAudio> command is present to make the audio file cacheable. MP3 and WAV file formats are supported.

AttributeDescriptionDefault Value

The number of times the audio file is played to the caller.

If the value is set to 0, the audio loops endlessly.



The following Apifonica XML example instructs to play the specified audio file to the caller one time.

<?xml version="1.0" encoding="UTF-8" ?>
  <playAudio loops="1"></playAudio>