[Voiceglue] Catching disconnects

Doug Campbell voiceglue at campbellcastle.com
Tue Apr 13 17:36:45 UTC 2010


I just tested the following vxml script:

----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?> <!-- -*-SGML-*- -->
<vxml version = "2.1" xmlns="http://www.w3.org/2001/vxml">
   <var name="test" expr="'Value assigned by the document'"/>

   <catch event="connection.disconnect">
     <log expr="test"/>
   </catch>

   <form>
     <block>
       <assign name="test" expr="'Value assigned within a form'"/>
       <disconnect/>
     </block>
   </form>

</vxml>
----------------------------------------------------------------

Here's what the logs say:

13:31:12:929 NOTI OPEN_VXI inspiron callid=[5] |140097568586000|5|EVENT|2|expr=Value assigned within a form

Looks right to me.

Could you try this example and see if you get something different?

Thanks,
Doug


More information about the Voiceglue mailing list