How to I get the non-AT&T Natural Voices to work?
code example below:
Code: Select all
<?xml version="1.0"?>
<vxml version="2.1" >
<property name="inputmodes" value="dtmf"/>
<form id='choices'>
<field name='option' type="digits?minlength=1;maxlength=1">
<prompt>
For English with Mike, press 1; For English with Samantha, press 2; For English with Diane, press 3;
For Spanish with Rosa, press 4, For French with Virginie, Press 5. For French with Jean-Pierre, Press 6.
For French with Juliette, press 7.
</prompt>
<filled>
<if cond="option=='1'">
<goto nextitem='english_mike'/>
<elseif cond="option=='2'"/>
<goto nextitem='english_samantha'/>
<elseif cond="option=='3'"/>
<goto nextitem='english_diane'/>
<elseif cond="option=='4'"/>
<goto nextitem='spanish'/>
<elseif cond="option=='5'"/>
<goto nextitem='french_virginie'/>
<elseif cond="option=='6'"/>
<goto nextitem='french_jean_pierre'/>
<elseif cond="option=='7'"/>
<goto nextitem='french_juliette'/>
<else/>
</if>
</filled>
</field>
<field name='english_samantha' type="digits?minlength=1;maxlength=1">
<prompt><speak xml:lang="en-US">
<voice name="Samantha">
Text to be read here
</voice></speak>
</prompt>
<filled>
<if cond="english_samantha!=''">
<goto next='#choices'/>
</if>
</filled>
</field>
<field name='english_mike' type="digits?minlength=1;maxlength=1">
<prompt>
<voice name="mike">
Text to be read here
</voice>
</prompt>
<filled>
<if cond="english_mike!=''">
<goto next='#choices'/>
</if>
</filled>
</field>
<field name='english_diane' type="digits?minlength=1;maxlength=1">
<prompt>
<voice name="diane">
Text to be read here
</voice>
</prompt>
<filled>
<if cond="english_diane!=''">
<goto next='#choices'/>
</if>
</filled>
</field>
<field name='spanish' type="digits?minlength=1;maxlength=1">
<prompt>
<voice name="rosa">
</voice>
</prompt>
<filled>
<if cond="spanish!=''">
<goto next='#choices'/>
</if>
</filled>
</field>
<field name='french_virginie' type="digits?minlength=1;maxlength=1">
<prompt>
<voice name='virginie'>
</voice>
</prompt>
<filled>
<if cond="english!=''">
<goto next='#choices'/>
</if>
</filled>
</field>
<field name='french_jean_pierre' type="digits?minlength=1;maxlength=1">
<prompt>
<voice name='jean-pierre'>
</voice>
</prompt>
<filled>
<if cond="french_jean_pierre!=''">
<goto next='#choices'/>
</if>
</filled>
</field>
<field name='french_juliette' type="digits?minlength=1;maxlength=1">
<prompt>
<voice name='juliette'>
</voice>
</prompt>
<filled>
<if cond="french_juliette!=''">
<goto next='#choices'/>
</if>
</filled>
</field>
</form>
</vxml>