how can I replace a system generated error prompt to a customize audio ivr we have...I have set the vxml to below:
<if cond="confirm==1">
<submit next="renew.php" method="post" namelist="id/>
<else/>
<audio src="didnotunderstand.wav">Sorry, I did not understand you</audio>
<reprompt/>
</if>
</filled>
but still, the system generated error message is playing--see log below:
dtmf input: 2
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>Sorry, I didn't understand you. </speak>
---------
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
how to replace default system error with audio ivr
Re: how to replace default system error with audio ivr
Hi,
In order to change the default error messages for nomatch and noinput events, please use the <nomatch> and <noinput> tags. Below is an snippet on how to use the <nomatch> tag for your example:
When a user input does not match the grammar for the <field> element, the <filled> element does not actually get called, but instead a "nomatch" and "noinput" events are thrown. You can use the above tags to handle these events.
We also recommend using a Root Document so that you can change the nomatch and noinput behaviors globally throughout your application, instead of within each and every form.
Regards,
Plum Support
In order to change the default error messages for nomatch and noinput events, please use the <nomatch> and <noinput> tags. Below is an snippet on how to use the <nomatch> tag for your example:
Code: Select all
<form>
<field name="confirm" type="boolean">
<prompt>
Press 1 to confirm.
</prompt>
<filled>
<submit next="renew.php" method="post" namelist="id/>
</filled>
<nomatch>
<audio src="didnotunderstand.wav">Sorry, I did not understand you</audio>
<reprompt/>
</nomatch>
</field>
</form>
We also recommend using a Root Document so that you can change the nomatch and noinput behaviors globally throughout your application, instead of within each and every form.
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com