« Back to General Discussion - All Versions

Form Element - DTMF optional return values

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

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

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.

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.

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.