Reply
Consistent Contributor
WSMAY
Posts: 5
Registered: 08-27-2009
0

IVR Script with Passcode Validation

I'm a little new to scripting.  I am developing an IVR app that first requires a Caller to enter a Passcode.  Its a simple passcode process, I'm not going to a database or anything, just want to collect digits with a pound terminator and do a IF compare to allow them in - nothing fancy.

 

My question is how do I setup the DTMF Capture, Retry Looop and a Digit Clearing process that allows for an orderly "Prompt for Passcode", Check it, "Play Please retry", clear past digits and start over?  Any suggestions?

Moderator
MarkR
Posts: 45
Registered: 11-25-2008
0

Re: IVR Script with Passcode Validation

Your best bet is to actually use the MENU action to do the capture of digits and then you can actually use the Variable Value branch condition for the validation on the correct Pass Code.

Consistent Contributor
WSMAY
Posts: 5
Registered: 08-27-2009
0

Re: IVR Script with Passcode Validation

I'll give it a try.  THANKS.

Consistent Contributor
WSMAY
Posts: 5
Registered: 08-27-2009
0

Re: IVR Script with Passcode Validation

I kind of understand but I'm must be a little thick on this.  Do all branches go to the IF or do I drop the IF and simply send the veriable path to the next code part and send all other paths to a "Please retry" loop?

Moderator
MarkR
Posts: 45
Registered: 11-25-2008
0

Re: IVR Script with Passcode Validation

Essentially, if your passcode = 12345, then you have 12345 as your variable value that you would use.  Then the DEFAULT branch would go to try again. 

 

We are going to try to get a quick sample script up here so that you can see it.

Administrator
TimHarris
Posts: 29
Registered: 11-25-2008
0

Re: IVR Script with Passcode Validation

Here is the example.

Consistent Contributor
WSMAY
Posts: 5
Registered: 08-27-2009
0

Re: IVR Script with Passcode Validation

I believ that I got it working with your last help.  There are only two branches from the Menu; the Varible goes on and the Default goes to "Play Retry".