VXML <exit/>

Version 1
    This document was generated from CDN thread

    Created by: qwe ewq on 27-04-2011 01:14:12 PM
    Hi,
     
    Does the following code correctly handoff the control over call from vxml script to IOS when the call is anwered?
     

    <catch event="connection.disconnect.transfer">
      <log>answer</log>
      <exit/>
      </catch> 

     
     
    TIA

    Subject: RE: VXML <exit/>
    Replied by: Anusha Kannappan on 28-04-2011 03:35:31 AM
    Hi,

    A normal Call handoff in Cisco VoiceXML is invoked through the <object> element as follows:
    <object
    name= "ResultVariableName"
    classid= "builtin://com.cisco.callhandoff"
    <param name= "return" expr="<Boolean value>"/>
    <param name= "app-uri" expr="<URI>"/>
    <param name= "arg-string¿ expr="a string"/>
    </object>

    You can point to the default session application in the URI for handing off the control from the VXML script. In the code specified by you the control will be neither in the hands of the VXML script nor the IOS since it is exiting after getting the "connection.disconnect.transfer" event.

    Also you can try using the "goto" element in the catch event to invoke an "object".

    Thanks,
    Anusha

    Subject: RE: VXML <exit/>
    Replied by: qwe ewq on 29-04-2011 12:24:10 AM
    Hi Anusha,

    Thank you for your answer.

    Here is the configuration:

    <var name="appName" expr="'builtin://Default'"/>

    <catch event="connection.disconnect.transfer">
        <log>pass1</log> <goto next="#callhandoff"/>
    </catch> 

    <form id="callhandoff">
             <object name="myhandoff" classid="builtin://com.cisco.callhandoff">
       <param name="return" expr="false"/>
    <param name="app-uri" expr="appName"/>
    </object>
    </form>

    Error during handoff:

    Apr 29 04:12:35.860: //264/A64717958160/VXML:/vxml_vapp_object_callhandoff: 
       CALL_ERROR; flash:ivr.vxml
       Handoff failed

    What's wrong with my config?

    Subject: RE: VXML <exit/>
    Replied by: Anusha Kannappan on 29-04-2011 05:55:20 AM
    Hi,

    Looks like you are hitting the following Defect CSCsb23054, Please let us know the IOS version being used in your case.?

    Thanks,
    Anusha

    Subject: RE: VXML <exit/>
    Replied by: qwe ewq on 29-04-2011 05:58:52 AM
    Anusha,

    Version is c2801-advipservicesk9-mz.124-20.T2.bin

    Subject: RE: VXML <exit/>
    Replied by: Anusha Kannappan on 29-04-2011 07:24:17 AM
    Hi,

    We tested in our lab with the latest image and didn't find any issue. Please send us the logs with the following debugs enabled
    deb voip application

    Any how we will try to test with your image if possible.

    Thanks,
    Anusha

    Subject: RE: VXML <exit/>
    Replied by: qwe ewq on 30-04-2011 12:01:39 AM
    Hi,
    Tested with c2801-advipservicesk9-mz.124-24.T1.bin, got the same error.
     
    debug voip application output is in the attachment, IOS version 124-24.T1
     
    Regards,

    Subject: RE: VXML <exit/>
    Replied by: Anusha Kannappan on 02-05-2011 04:01:07 AM
    Hi,

    Thanks for sharing the logs. From the logs provided by you we didn't find any error as you had mentioned previously. It seems the call has been handed off to the default script. Please let us know what is the error you are getting?


    Thanks,
    Anusha