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

State transition from ALERTNG to CONNECTED in CCXML

From: Jayalakshmi Swaminathan <jayalakshmi@huawei.com>
Date: Thu, 12 Oct 2006 15:05:22 +0530
To: www-voice@w3.org
Message-id: <002101c6ede1$be0f8330$6704120a@china.huawei.com>
Hi,

Consider the following <transition> in a CCXML document. While entering the
transition for "connection.alerting" event, the Connection State = ALERTING.
As soon as the <accept> tag is encountered, lets say a command is sent to
the underlying Telephony component to accept the incoming call. Should the
Connection state be changed to CONNECTED, regardless of the success or
failure of accept command? 

Subsequently, if accepting the incoming call fails, which event should be
thrown - "error.connection" OR "connection.failed"?

 

<transition event="connection.alerting">          <!--For connectionid =
1234 -->

      <accept/>

      <if cond ="session.connections['1234'].state == 'CONNECTED' ">

             <log expr=" 'State changed' "/>

      <else/>

             <log expr=" 'State not changed' "/>

      </if>

</transition>

    For the above transition, is the "State changed" log sent out?

 

    Thanks,

    Jaya   

 

****************************************************************************
***********

            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 Thursday, 12 October 2006 21:56:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:49:04 GMT