Application fails attempting to play voice

When voice does not play, check the following:

Is the correct prompt directory identified?
The state table definition includes the prompt directory that the voice application is to use. Use the information provided in the Blueworx Voice Response for AIX: Application Development using State Tables informationl to open the state table and ensure that the Prompt Directory field identifies the prompt directory containing all the prompts for the application.

For information about specifying a prompt directory in a state table definition, refer to the Blueworx Voice Response for AIX: Application Development using State Tables.

Have you recorded all voice segments used by the application?
Use the information in the provided Blueworx Voice Response for AIX: Application Development using State Tables information to ensure that both the definitions and the recorded voice exist for all voice segments referenced by the application prompts.

For information about defining and recording voice segments and referencing segments in a prompt, refer to the Blueworx Voice Response for AIX: Application Development using State Tables.

When recording the voice segment, was RecordVoiceSegment followed by SaveVoiceSegment?
Recorded voice segments remain in temporary workspace until they are saved to disk with SaveVoiceSegment. Use the information provided in the Blueworx Voice Response for AIX: Application Development using State Tables information to open the state table and ensure that it contains SaveVoiceSegment, to save your recordings to disk.

For information about RecordVoiceSegment and SaveVoiceSegment, see Blueworx Voice Response for AIX: Application Development using State Tables.

Is the compression indicator set correctly?
The system default compression type is set by system variable SV182. A value of 0 indicates that the voice segments in a prompt played by the PlayPrompt action are uncompressed. A value of 2 indicates that the segments are compressed. If this variable contains a value of -1, the compression type specified in the definition of the prompt directory is used. If either SV182 or the prompt directory definition specifies a compression type that does not match a voice segment that the application plays, then the segment does not play. Check that the compression indicator is set to match the voice segments played by the application.

For more information about specifying the compression for segments that are played by a prompt, refer to the Blueworx Voice Response for AIX: Application Development using State Tables information.

Do any spoken variables include unrecognized characters?
The Blueworx Voice Response system prompts can play numeric input as a number, date, time, or currency. The prompt statements that you use to create your own prompts can play the contents of variables as characters or digits, as long as the contents are characters or digits that Blueworx Voice Response recognizes, and for which voice segments have been recorded. The character that Blueworx Voice Response recognizes as marking a decimal place (usually a decimal point, or period) is defined by system variable SV168.

If the contents of a variable that is being used as input to a prompt includes a character that is not recognized by the prompt, the PlayPrompt action will fail. For example, if the contents of a variable that is to be played as digits includes a dollar sign ($), the action fails. Make sure that the contents of any variable that is to be played in a prompt is valid for the prompt.

For information about expected input to system prompts, refer to the Blueworx Voice Response for AIX: Application Development using State Tables information. For information about prompt statements, and for more information about SV168, refer to the Blueworx Voice Response for AIX: Application Development using State Tables information.