CallXML 2.0 Development GuideHome  |  Frameset Home

This documentation is for CallXML 2, which has been superceded by CallXML 3. The CallXML 2 language is not being updated any longer. CallXML 3, however, has many new features and is actively being enhanced. If you're writing a new CallXML application, you should use CallXML 3. Click here for the CallXML 3.0 documentation.
<onmaxsilence>  element

This event occurs when the application has waited too long between digit entries or detects too much silence at the end of a recording session.


usage
<onmaxsilence next="(navigation identifier)">


attributes
nextData Type: (navigation identifier)Default: none - attribute is optional
The 'next' attribute sets the URL the CallXML platform will go to when the container ends.



possible events
none


code samples
<Onmaxsilence>
<?xml version="1.0" encoding="UTF-8"?>

<callxml version="2.0">
  <block label="B1">
    <text>
      Shh.
      We dont want to enter anything at all if we want to
      hit the max silence event.
    </text>

    <getdigits var="Var_1" maxsilence="2s" maxdigits="5"/>

    <onmaxsilence>
      <text>
        You must have stopped pressing keys for at least two seconds.
      </text>
    </onmaxsilence>

  </block>
</callxml>




additional links
none


  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login



© 2008 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site