Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Collect and Playback Digits

Status
Not open for further replies.

Scummings

IS-IT--Management
Aug 20, 2003
32
IE
Hi

I need to set up an IVR which collects up 10 digits the customer inputs (a contact number) and then plays back the number the customer has input so they can confirm that they've input the correct number. I understand that I collect the number into a variable and can then playback the appropriate voice segments based on the numbers input. My question is, do I have to collect 10 separate digits into 10 separate variables and playback the individual digits or can I collect all 10 digits into one variable and somehow playback the number from this?
 
here's how we collect digits into our test number.

ASSIGN CLID TO dn_holder_cv
OPEN VOICE SESSION
PLAY PROMPT NUMBERBYDIGIT dn_holder_cv
END VOICE SESSION
DISCONNECT


we use this to play back the extn number of a phone if it has no labels on it....rather than trace it all the way back to teh frame

It's not getting any smarter out there. You have to come to terms with stupidity, and make it work for you.
 
Thanks Mikey, what sort of variable is dn_holder_cv. Is it a DN?
 
So, to collect digits that the caller inputs, you would do something like this:

ASSIGN 0 TO acct_holder_cv
ASSIGN 0 TO verify_cv

OPEN VOICE SESSION
PLAY PROMPT enter_acct_cv
COLLECT 10 DIGITS into acct_holder_cv
NUMBERBYDIGIT acct_holder_cv
PLAY PROMPT is_this_correct_cv
COLLECT 1 DIGITS INTO verify_cv
END VOICE SESSION

Then you have to decide what to do if the caller says "no" (pushes 2) or does not respond (stays at 0).

WHERE verify_cv EQUALS
VALUE 0 (no response scenario, may be a positive)
VALUE 1 (positive response)
VALUE 2 (negative response)
DEFAULT (none of the above)
END WHERE

 
variable is of type CLID

It's not getting any smarter out there. You have to come to terms with stupidity, and make it work for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top