cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
145
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Raymond Lynn on 22-07-2010 04:26:55 PM
I've got a Form element and I am trying to get it to return the optional value rather than the DTMF keypress.
 
I have got the DTMF keypresses configured as
 
1
2
3
 
When I run the application using the debugger it works fine but when it is deployed the value returned by the form element is always the key that was pressed and not the optional value.
 
Am I doing something wrong?

Subject: RE: Form Element - DTMF optional return values
Replied by: Hemal Mehta on 22-07-2010 05:07:34 PM
It is simple. In your CVP studio use XML or put java class with the logic mapped to return the corresponding string based on the value returned. So 1 can be mapped to "news" 2 to "weather" etc.

Subject: RE: Form Element - DTMF optional return values
Replied by: Raymond Lynn on 22-07-2010 05:58:00 PM
It is simple. In your CVP studio use XML or put java class with the logic mapped to return the corresponding string based on the value returned. So 1 can be mapped to "news" 2 to "weather" etc.

 
Thanks. That's what I had but I was trying to make the code even more simple.

Subject: RE: Re: New Message from Raymond Lynn in Customer Voice Portal (CVP) - Gene
Replied by: Raymond Lynn on 22-07-2010 05:59:20 PM
If you are using the Cisco Gateway with DTMF only, then you can only get
back the touch-tones entered from the caller within the Form element.
However, if you're using one of the other Gateways - like Nuance, OSR,
or another recognizer, then you will be able to get back the value
within the square brackets.

Janine

On 7/22/2010 12:26 PM, Cisco Developer Community Forums wrote:
> Raymond Lynn has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> I've got a Form element and I am trying to get it to return the
> optional value rather than the DTMF keypress.
> Â
> I have got the DTMF keypresses configured as
> Â
> 1
> 2
> 3
> Â
> When I run the application using the debugger it works fine but when
> it is deployed the value returned by the form element is always the
> key that was pressed and not the optional value.
> Â
> Am I doing something wrong?
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2376910>
>
> or simply reply to this email.

--
Janine Graves
781-990-1040

 
Yes I'm using the Cisco Gateway!!! Thanks for your help.

Subject: Re: New Message from Raymond Lynn in Customer Voice Portal (CVP) - General
Replied by: Janine Graves on 22-07-2010 04:41:47 PM
If you are using the Cisco Gateway with DTMF only, then you can only get
back the touch-tones entered from the caller within the Form element.
However, if you're using one of the other Gateways - like Nuance, OSR,
or another recognizer, then you will be able to get back the value
within the square brackets.

Janine

On 7/22/2010 12:26 PM, Cisco Developer Community Forums wrote:
> Raymond Lynn has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> I've got a Form element and I am trying to get it to return the
> optional value rather than the DTMF keypress.
> Â
> I have got the DTMF keypresses configured as
> Â
> 1
> 2
> 3
> Â
> When I run the application using the debugger it works fine but when
> it is deployed the value returned by the form element is always the
> key that was pressed and not the optional value.
> Â
> Am I doing something wrong?
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2376910>
>
> or simply reply to this email.

--
Janine Graves
781-990-1040
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links