CCXML 1.0-W3C Development Guide Home  |  Frameset Home

  Dialog Extension: audio/wav   |  TOC  |  Dialog Extension: x-fetchdigits  

Dialog extension: "x-callxml"

This dialog type can be used to start a CallXML dialog from CCXML using the <dialogstart> element. CallXML is a Voxeo proprietary voice application development language. If you haven't tried it, you gotta check it out! For more information, see Introduction to CallXML.

To start a CallXML dialog from a CCXML application, you specify the type attribute on the dialogstart element using the syntax shown in the following code example.

<dialogstart src="'callxml-target.xml">http://127.0.0.1:9990/ds-callxml-target.xml'" type="'application/x-callxml'"/>


If needed, you can also pass parameters to the CallXML dialog using the namelist attribute for the dialogprepare or the dialogstart elements as shown in the following code example.

<dialogstart src="'callxml-target.xml">http://127.0.0.1:9990/ds-callxml-target.xml'" namelist="callerid calledid" type="'application/x-callxml'"/>

These parameters are then passed in the ccxml. namespace, for example, as variables $ccxml.callerid and $ccxml.calledid

<text>This is a test of CallXML from CCXML. The variable is $ccxml.callerid;</text>

After the CallXML dialog is complete, you can pass parameters back to the CCXML application by using the CallXML <exit> element submit attribute as shown.

  <exit submit="test,telephonenum"/>


Back in your CCXML application, the parameters from the CallXML application are received in the dialog.exit event as

  <log expr="'received : '+event$.values.telephonenum"/>


For more information, see CallXML Exit Element.










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

login
  Dialog Extension: audio/wav   |  TOC  |  Dialog Extension: x-fetchdigits  

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