W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2006

Re: How does VXML handle events sent by CCXML?

From: Petr Kuba <kuba@optimsys.cz>
Date: Fri, 20 Oct 2006 13:53:39 +0200
Message-ID: <4538B8C3.7030608@optimsys.cz>
To: www-voice@w3.org
Cc: rajeshn@huawei.com

Hi Rajesh,
first, apologies for late answer.

As you could see the specifications are a bit concise regarding this 
issue. I can describe you the way we implement this in our VXML/CCXML 
platform OptimTalk. Perhaps this could help you.

Some CCXML elements send standard VXML events. For instance, 
interpreting <dialogterminate> in CCXML results in sending 
connection.disconnect.hangup event to VXML.

Then there are some special events defined in CCXML Appendix D for which 
the behavior of the VXML interpreter is defined. They might require 
special processing. For instance, sending dialog.transfer.complete from 
CCXML does not deliver any event to the VXML application. In this case, 
our VXML interpreter is informed about the event internally so it can 
handle the transfer correctly (e.g. timeout control is important here).

All the events without special meaning are simply sent to the VXML 
application event queue where they are processed as any other event 
produced by VXML. It means that <catch> can be used also for events 
coming from CCXML.


   Petr Kuba, Project Manager
   OptimSys, s.r.o
   Tel: +420 541 143 065
   Fax: +420 585 750 429

Rajesh N wrote:
> Hi,
> I would like to understand the usage of CCXML <send> element w.r.to 
> the context of CCXML-VXML integration as specified in Appendix D of 
> CCXML 1.0 Working draft. Specifically, I would like to understand the 
> case where a CCXML application sends an event (say "myEvent") to a 
> VXML dialog.
> In section D.2, it is mentioned as:
> 'The execution of certain CCXML elements, such as <dialogterminate> 
> and <send>, may cause events to be sent to the VoiceXML browser'.
> In section 7.3.1 it is mentioned as:
> a CCXML application MAY send an event to a dialog. How this is handled 
> on the dialog side is dialog manager and CCXML interpreter dependent. 
> On the CCXML side it is done by using <send> and passing in the 
> dialogid that was received as a result of processing a <dialogstart>.'
> Should the VXML interpreter handle the event sent by CCXML in the same 
> way that VXML events are handled using the <catch> mechanism? In other 
> words,  if the VXML application has a <catch event="myEvent">, should 
> this be selected for execution for the "myEvent" event sent by CCXML? 
> Or is this <catch> only meant for events generated internally by VXML 
> (like error.semantic) or specifically thrown by the VXML application 
> using <throw> element?
> Kindly provide any pointers to examples, if availabe.
> Thanks
> Rajesh
> This e-mail and attachments contain confidential information from 
> HUAWEI, which is intended only for the person or entity whose address 
> is listed above. Any use of the information contained herein in any 
> way (including, but not limited to, total or partial disclosure, 
> reproduction, or dissemination) by persons other than the intended 
> recipient's) is prohibited. If you receive this e-mail in error, 
> please notify the sender by phone or email immediately and delete it!
Received on Friday, 20 October 2006 11:54:17 UTC

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