3.8. disconnect

Element typedisconnect
AttributesNone.
Parentsblock | catch | error | filled | help | if | noinput | nomatch
ChildrenNone.
DescriptionCauses the interpreter to disconnect the call.

DTD

<!ELEMENT disconnect EMPTY >

Language model



Attributes

None.

Children

None.

Examples

Example 3-10. Disconnecting caller after three unsuccessful PIN attempts
<?xml version="1.0" encoding="iso-8859-1"?>
<vxml version="1.0">
  <form id="testPIN">
    <block>Welcome</block>
    <field name="custPIN" type="digits?minlength=5;maxlength=5">
      <prompt>Please key in your PIN.</prompt>
      <nomatch count="1">I'm sorry, that is not a valid PIN.
        <reprompt/>
      </nomatch>
      <nomatch count="2">Your PIN is incorrect. Check the back 
        of your card, in the upper right corner for your PIN.
        <reprompt/>
      </nomatch>
      <nomatch count="3">I'm sorry. That is still not a valid PIN. 
        You will now be disconnected.
        <disconnect/>
      </nomatch>

      <filled>
        Processing your PIN: <value expr="custPIN"/>
      </filled>
    </field>
  </form>
</vxml>

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.137.108