Starts playing a tune.
char music_title[31];
long rc;
This command tells the Juke_Box custom server to start playing a tune. Use ReceiveData to check the return values. Possible return values are shown here using the symbolic names defined in the jb_error.h header-file in the Juke_Box custom server source directory, $VAE/db/current_dir/ca/juke_box_dir.
Use this command only after the call has been set up and before it terminates.
On SendData, we recommend that you use a value of 10 seconds for the Timeout parameter.
Successful. The tune starts playing. Use the ControlMusic state table action to control the fade time and volume. The list of available music for the relevant trunk will be updated to contain this music title. You can view the list of available music (that is, tunes that are currently playing) from the Blueworx Voice Response System Monitor.
The music title is not known to the Juke_Box custom server. Check that the music title exactly matches the title in the configuration file, or the music title configured dynamically by an earlier request.
The player program could not be started. Possible causes are:
The Juke_Box custom server successfully started the player process, but the player process terminated before it reported it had initialized correctly.
In your state table, treat this as other failures, that is, if a start request fails, do not issue a corresponding stop request.