July CCXML Implementation Report: 10_2_3: missing transition for connection.disconnected

Hello www-voice,

In 10_2_3, assertion 1295 shows the following code:


	<transition event="user.START_ASSERTION_1286" state="ASSERTION_NMBR_1286">
	<!--
1286	
10.2.4 &lt;assign&gt; and &lt;var&gt; 	
Execution of connection elements MUST NOT immediately change the state 
of any associated Connection Objects	mscott@voicegenie.com		Accepted
	-->
		<disconnect connectionid="ConnectionID"/>
		<if cond="session.connections[ConnectionID].state == 
Connection.CONNECTED">
			<script>assertions[assert_index].P_F = s_PASS;</script>
		</if>
		<send targettype="'ccxml'" target="session.id" name="name_prepare_new"/>
	</transition>

Unfortunately there is no <transition> for connection.disconnected. If 
this event is delivered before the event generated by <send> the 
following message is logged:

10_2_4 TA-1286: Comment: UNEXPECTED EVENT connection.disconnected IN 
STATE ASSERTION_NMBR_1286

We recommend to handle connection.disconnected correctly to keep the 
test clear.

Thanks,
Petr

-- 
   Petr Kuba, Project Manager
   OptimSys, s.r.o
   kuba@optimsys.cz
   Tel: +420 541 143 065
   Fax: +420 541 143 066
   http://www.optimsys.cz

Received on Monday, 26 July 2010 09:48:13 UTC