Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Voice Gateway API (VGAPI) Developer Center
Overview
Documentation
Community
Testing
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to VXML-API
VXML <exit/>
Threads [
Previous
|
Next
]
qwe ewq
Posts:
4
Join Date:
4/27/11
Recent Posts
VXML <exit/>
Answer
11/9/11 8:11 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Anusha Kannappan
Posts:
149
Join Date:
9/15/09
Recent Posts
RE: VXML <exit/>
Answer
4/28/11 8:35 AM as a reply to qwe ewq.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
qwe ewq
Posts:
4
Join Date:
4/27/11
Recent Posts
RE: VXML <exit/>
Answer
4/29/11 5:24 AM as a reply to qwe ewq.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Anusha Kannappan
Posts:
149
Join Date:
9/15/09
Recent Posts
RE: VXML <exit/>
Answer
4/29/11 10:55 AM as a reply to qwe ewq.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi,
Looks like you are hitting the following Defect CSCsb23054, Please let us know the IOS version being used in your case.?
Thanks,
Anusha
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
qwe ewq
Posts:
4
Join Date:
4/27/11
Recent Posts
RE: VXML <exit/>
Answer
4/29/11 10:58 AM as a reply to qwe ewq.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Anusha,
Version is c2801-advipservicesk9-mz.124-20.T2.bin
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Anusha Kannappan
Posts:
149
Join Date:
9/15/09
Recent Posts
RE: VXML <exit/>
Answer
4/29/11 12:24 PM as a reply to qwe ewq.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
qwe ewq
Posts:
4
Join Date:
4/27/11
Recent Posts
RE: VXML <exit/>
Answer
4/30/11 5:01 AM as a reply to Anusha Kannappan.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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:
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Anusha Kannappan
Posts:
149
Join Date:
9/15/09
Recent Posts
RE: VXML <exit/>
Answer
5/2/11 9:01 AM as a reply to qwe ewq.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top