Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

about CVP form element

hi all,

how can I use form element to collect 18 DTMF inputs,including 0~9,* key and # as terminal key?

1 ACCEPTED SOLUTION

Accepted Solutions
Green

about CVP form element

I don't think the GD will accept a "star" input Chad. Never tried it though.

With a CVP VXML Form element, you can set up normal digit entry with "builtin:dtmf/digits"

builtin:dtmf/digits?maxlength=11

I don't know if there is a builtin for accepting "star".

Regards,

Geoff

5 REPLIES
Green

about CVP form element

Are you trying to make a menu with 18 options? Something like

0

1

2

3

4

5

6

7

8

9

*

11

12

13

14

15

16

17

You could use a get digits element with min length 1, max length 2, turn down the interdigit timer and use a decision element to analyze the input. Set up the get digits so it only allows 1 try, then control the retries through the validator with your own counter.

I actually do this with a microapp.

Regards,

Geoff

New Member

about CVP form element

hi geoff,

     I mean I want to collect 18 inputs, inlcluding numbers and * key,which is the ID card of Chinese citizen,use the # key as a terminal key.

   for example 12345678901234567*#,the 12345678901234567* is the ID card.

about CVP form element

Geoff is correct still...

in

stead use the getdigits element with min of 18 and max of 18 with termination key of #.

You could also use the GD microapp as Geoff suggested.

http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/customer_voice_portal/cvp8_5/configuration/guide/ConfigAdminGuide_8.5.pdf

page 180 and look over the GD micro app.

Cheers,

Chad

Green

about CVP form element

I don't think the GD will accept a "star" input Chad. Never tried it though.

With a CVP VXML Form element, you can set up normal digit entry with "builtin:dtmf/digits"

builtin:dtmf/digits?maxlength=11

I don't know if there is a builtin for accepting "star".

Regards,

Geoff

New Member

about CVP form element

Thanks it help

And from Java code

public Setting[] getSettings() throws ElementException {

        Setting[] settingArray = new Setting[11];

....

settingArray[10] = new Setting("dtmf_grammar", "DTMF Grammar", "Defines an external DTMF grammar for Form", Setting.OPTIONAL,

                Setting.REPEATABLE, Setting.SUBSTITUTION_ALLOWED, Setting.STRING);

settingArray[10].setDefaultValue("builtin:dtmf/digits");

        return settingArray;

}

852
Views
0
Helpful
5
Replies