Code: Select all
<link event="help">
<grammar type="application/x-jsgf" mode="voice">help</grammar>
<grammar type="application/x-jsgf" mode="dtmf">0</grammar>
</link>
Code: Select all
<link event="help">
<grammar type="application/x-jsgf" mode="voice">help</grammar>
<grammar type="application/x-jsgf" mode="dtmf">0</grammar>
</link>
interactivedigital wrote:Thanks - here's a piece of the vxml script I am using
Code: Select all
<?xml version="1.0" ?> <vxml version="2.0"> <link event="help"> <grammar type="application/x-jsgf" mode="voice">help</grammar> <grammar type="application/x-jsgf" mode="dtmf">0</grammar> </link> <script src="http://www.voicexl.com/VoiceXLPlumPortals.js"/> <var name="account_number" /> <form id="prompt_account_number"> <block> <script> vl_init(3, 0) </script> <!-- initialize VoiceXL --> <audio src="http://naturalsound.svc.tellme.com/common-audio/help-se.wav"/> <audio expr="'http://www.voicexl.com/audio/' + vl_play('WelcomeTo.wav')"/> <!-- <audio> tag processing for VoiceXL --> <audio expr="'http://www.voicexl.com/audio/' + vl_play('ToLearn.wav')"/> </block> <field name="account" type="digits?minlength=9;maxlength=9"> <prompt> <audio expr="'http://www.voicexl.com/audio/' + vl_play('ToContinue.wav')"/> <audio src="http://naturalsound.svc.tellme.com/common-audio/timeout.wav"/> </prompt> <help> <script> vl_help() </script> <!-- Help processing for VoiceXL --> <audio src="http://naturalsound.svc.tellme.com/common-audio/help-se.wav"/> <audio expr="'http://www.voicexl.com/audio/' + vl_play('VoiceXLAutomatically.wav')"/> <audio expr="'http://www.voicexl.com/audio/' + vl_play('VoicePlaybackWords.wav')"/> <audio expr="'http://www.voicexl.com/audio/' + vl_play('ThisIs.wav')"/> <audio expr="'http://www.voicexl.com/audio/' + vl_play('VoiceXLHas.wav')"/> <audio expr="'http://www.voicexl.com/audio/' + vl_play('InThe.wav')"/> <audio expr="'http://www.voicexl.com/audio/' + vl_play('PleaseEnterAccount.wav')"/> <audio src="http://naturalsound.svc.tellme.com/common-audio/timeout.wav"/> </help> <noinput count="1"> <script> vl_noinput() </script> <!-- No Input processing for VoiceXL --> <audio expr="'http://www.voicexl.com/audio/' + vl_play('ImSorryYou.wav')"/> <reprompt /> </noinput> <noinput count="3"> <script> vl_noinput() </script> <audio expr="'http://www.voicexl.com/audio/' + vl_play('PleaseTry.wav')"/> <exit /> </noinput> <nomatch> <script> vl_nomatch() </script> <!-- No Match processing for VoiceXL --> <audio expr="'http://www.voicexl.com/audio/' + vl_play('ThatIsAccount.wav')"/> <reprompt /> </nomatch> <nomatch count="3"> <script> vl_nomatch() </script> <audio expr="'http://www.voicexl.com/audio/' + vl_play('PleaseTry.wav')"/> <exit /> </nomatch> <filled> <script> vl_filled("account", 11) </script> <!-- Field Filled processing for VoiceXL --> <goto next="#prompt_ss_number" /> </filled> </field> </form>
Code: Select all
<property name="incompletetimeout" value="1s"/>
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt bargein="false">
This audio is non-bargeable.
</prompt>
</block>
</form>
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<goto next="http://www.voicexl.com/VoiceXLPlumPortals.vxml" maxage="0"/>
</block>
</form>