The Play command is used to play a wav or mp3 sound to chosen parties
of the conversation (caller, callee or all).
<Play> command example usage:
It is used to play a sound file during a conversation for example if one of the parties are low in telephone credits it could say: "You have 1 dollar left in your phone account.
Please recharge it as soon as possible!"
The destination of the audio file. When a relative path is provided, it will be relative to
ContentStorage/Static directory in Ozeki Phone System XE install directory. It can be HTTP URL as well where it's downloaded from and cached (based on the webserver settings).
This parameter can be provided between the command nodes.
bool value (true or false)
If you want to repeat the file set it to true else set it to false. It's default value is false.
OzML simple example:
Plays hello.wav from ContentStorage/Static directory in Ozeki Phone System XE install directory to all participants of the phone call.
1st it plays hello.wav from ContentStorage/Static directory in Ozeki Phone System XE install directory to all participants of the phone call.
Then says to all participants: "The callee will be transfered to number 1001." Then it transfers the callee to 1001.
<Speak Party="all">The callee will be transfered to number 1001.</Speak>
<BlindTransfer TransferorParty="callee" Target="1001"></BlindTransfer>