The <Play> element plays an audio file back to the caller. Basix allows playback from a relative path inside your Basix storage folder (it can be in mp3 or wav format).

Element Attributes

Attribute name Description Allowed Values Default Value
loop number of times the file should be played integer between 1 and 5 1
terminators digits that will terminate (interrupt) audio output 0123456789*#
  • if the file to be played doesn't exist, call will terminate and error will be notified as Error="Cannot execute Play. File {{FILE}} doesn't exist"


Example 1: Simple Play

This XML document tells Basix to play file hello.wav from your local storage.

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