Page 1 of 1

Male Voice on Error

Posted: Wed Mar 14, 2007 11:39 am
by nagy elshal
Hi I set all my script to female voice ,

but when error occurs I get Male voice "We didn't hear your response"

How I can stop this

IVR script to overrride nomatch and noinput

Posted: Wed Mar 14, 2007 1:49 pm
by support
Hi,

What you are hearing is the default platform error message that happens when the caller doesn't enter anything (a 'noinput' event) or enters something unexpected (a 'nomatch' event).

You can override this by adding <nomatch> and <noinput> event handlers that use the preferred female voice to your IVR script (either in your root document, or within the <vxml> tag). For an IVR example (this is not debugged... caveat emptor):

Code: Select all

<vxml>

  <noinput>
    <prompt>
      <voice gender="female">I'm sorry. I didn't hear anything.</voice>
    </prompt>
  </noinput>

  <nomatch>
    <prompt>
      <voice gender="female">I'm sorry. I didn't understand what you entered.</voice>
    </prompt>
  </nomatch>

  <!-- the rest of your script code goes below  -->

</vxml>
Hope this helps.


Regards,
Plum Support