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

The <createconference> element is used to create a new multiparty conference for your callers. However, this element must also use it's sister element, <joinconference>, in order for callers to be connected to one another.


usage
<createconference name="(variable name)" var="(variable name)">


attributes
nameData Type: (variable name)Default: Required
The name attribute specifies the conference name that is used to identify a particular conference. This is usually a numeric variable value that is derived from a preceding <input/getdigits> block that allows callers to specify a conference to join.
varData Type: (variable name)Default: Required
The var attribute defines the variable where the conference identifier is stored. Not specifying this attribute will result in a fatal error.



possible events
none


code samples
<Createconference> sample
<?xml version="1.0" encoding="UTF-8" ?>
<callxml version="2.0">

  <inputdigits
      label      = "getconid"
      value      = "enterConferenceID.wav"
      var        = "conferenceName"
      maxdigits  = "10"
      termdigits  = "#"
      cleardigits = "false"
      maxtime    = "30s"
      maxsilence  = "5s">
     
    <ontermdigit value="#"/>
    <onmaxsilence>
      <playaudio value="noInput.wav"/>
      <goto value="#getconid"/>     
    </onmaxsilence> 
    <onmaxtime/>
    <onmaxdigits/>
  </inputdigits>
 

  <playaudio value="joinConference.wav"/>
  <block label="test">
    <createconference name="$conferenceName;"
        var="conferenceid" />

    <joinconference id="$conferenceid;" termdigits="#"/>
    <ontermdigit>
      <playaudio value="leaveConference.wav" termdigits="123"/>
      <wait value="3000s" termdigits="123"/>
      <ontermdigit value="2">
        <goto value="#test"/>
      </ontermdigit> 
      <ontermdigit value="3">
        <goto value="#getconid"/>
      </ontermdigit> 
    </ontermdigit>
  </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