Audio to text mapping is done by configuring the audio translation tables that define mapping between audio files and the annotations that are displayed to the user. These translation tables are contained in the .xml files located in the AudioToText folder of each project.

Note: The explanations in this section are provided to explain the structure of the .xml files.
In most cases, it is recommended to use the Prompts Editor for the actual translation of prompts, since when you work with the Editor, .xml files in the AudioToText folder are automatically updated.

The following example lists the set of audio files that is played during part of an IVR interaction. The script heard by the caller is displayed in blue font.

<prompt ><audio src="http://10.100.40.44:9085/Loop/Audio/VAS/english/S1015.wav">
       Welcome to the banking application. 
Please choose from the following choices.</audio>
                             
      <audio src="http://10.100.40.44:9085/Loop/Audio/VAS/english/S1016.wav">
Press 1 for Deposit</audio>
      <audio src="http://10.100.40.44:9085/Loop/Audio/VAS/english/S1017.wav">
Press 2 for Withdrawal</audio>
      <audio src="http://10.100.40.44:9085/Loop/Audio/VAS/english/S1018.wav">
Press 3 for Check Balance</audio>
      <audio src="http://10.100.40.44:9085/Loop/Audio/VAS/english/S1019.wav">
Press 4 for Transfer Funds</audio>
      <audio src="http://10.100.40.44:9085/Loop/Audio/VAS/english/S1020.wav"> 
To repeat the menu, press Pound</audio>
 
                         <enumerate/></prompt>

The content of the translation table that maps these audio files is presented below. The annotations are displayed in green font, and the text presented to the user is displayed in blue font. The Option key is the value to be sent to the Voice IVR, and that value determines what content is presented to the user next. For example, pressing Withdrawal is equivalent to pressing 2 in the Voice IVR system.

<?xml version="1.0" encoding="utf-8"?>
<prompts>
      <directory path="http://10.100.40.44:9085/bank/data/english/phrases/">
 
             <prompt name="S1015.wav">{Title}Welcome to the banking application. 
Please choose from the following choices.{Options}</prompt>
            <prompt name="S1016.wav">>{Option}1=Deposit</prompt>
            <prompt name="S1017.wav">{Option}2=Withdrawal</prompt>
           <prompt name="S1018.wav">{Option}3=Check Balance</prompt>
             <prompt name="S1019.wav">{Option}4=Transfer Funds</prompt>
             <prompt name="S1020.wav"></prompt>
             </directory>
</prompts>

Note that the 1020.wav file does not require mapping, as it is not relevant to the Visual IVR. The following figure shows how the annotations are presented in a VIVR VXML Connector page:

 

Revision:

Comments