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.
<answer>  element

This element will "answer" or "pick up" the call. Any time a new call is received by a CallXML browser, it will use a browser specific mechanism to determine a URL from which to fetch an initial CallXML document to use for that call. However, the CallXML browser does not "answer" or "pick up" the call until this element is executed.

Note: systems might have auto-answer capabilities, where an inbound call is automatically answered. In this case an <answer/> will just be ignored. Also note that in order to use the <answer/> element, the auto-answer setting must be turned off for that application in the Voxeo Account Manager.



usage
<answer />


attributes
none


possible events
onerror type="lineactive"Trying to issue a telephony event such as <answer> on an already active line
onerror type="telephony"Unable to issue a telephony event such as <call> or <playaudio> or <ftp>



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

<callxml version="2.0">
  <block>
    <answer/>
      <text>
        if you are hearing this, then the answer element worked!
      </text>
  </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