cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1957
Views
0
Helpful
5
Replies

about CVP form element

yaoxiaohua
Level 1
Level 1

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

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

View solution in original post

5 Replies 5

geoff
Level 10
Level 10

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

yaoxiaohua
Level 1
Level 1

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.

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

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

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;

}