W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2006

RE: [scxml] custom actions

From: Barnett, James <James.Barnett@Aspect.com>
Date: Tue, 11 Jul 2006 14:57:50 -0400
Message-ID: <57686697B4E28949A90094A6469165C75DE547@ASP1EXCH1.aspect.com>
To: "Nestor Urquiza" <nestoru@yahoo.com>, <www-voice@w3.org>

  Our plan is for the data model and executable content to be the
extension points for CCXML, so you would be free to build an
implementation in which
 <var name="connectionid" expr="ccxml:createcall(dest)"/> did what you
want it to do, but it will not be portable to other SCXML

The data model is the least stable part of SCXML, but it is _highly_
unlikely that the core language definition will support a data model
where the expression "ccxml:createcall(dest)" evaluates to cause a call
to be created. <send> is intended to be core SCXML's portable way of
communicating with external services. 

- Jim

-----Original Message-----
From: www-voice-request@w3.org [mailto:www-voice-request@w3.org] On
Behalf Of Nestor Urquiza
Sent: Tuesday, July 11, 2006 2:16 PM
To: www-voice@w3.org
Subject: [scxml] custom actions

Hello guys,
I am reading the specs at [1] and I am wondering if
instead to write as the example there shows:

  <data name="dest" expr="'tel:+18315552020'"/>
  <data name="connectionid"/>
  <send targettype="ccxml" event="ccxml:createcall"
<transition event="ccxml:createcall.success">
   <assign name="connectionid"

I can just write:
  <var name="dest" expr="'tel:+18315552020'"/>
  <var name="connectionid"

If the namespace is just local java code for example
instead of ccxml the above is perfectly valid and in
fact I have been using that approach in my application
which currently uses scxml-commons as the
implementation for SCXML.

[1] http://www.w3.org/TR/scxml

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
Received on Tuesday, 11 July 2006 18:58:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:39 UTC