Blogs

Showing 13 results.
Items per Page 20
of 1

Forums

« Back to VXML-API

VXML <exit/>

Combination View Flat View Tree View
Threads [ Previous | Next ]
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

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

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?

Hi,

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

Thanks,
Anusha

Anusha,

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

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

RE: VXML <exit/>
Answer
4/30/11 5:01 AM as a reply to Anusha Kannappan.
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,
Attachments:

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

Collateral


No files available