Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


IVR Editor function

IVR Editor function

IVR Editor function

I would like to create a IVR flow to collect customer account number, which I understand it is possible. Is it possible to playback to confirm the number entered such as "you have enter 12345678", press1 to confirm and 2 to re-try again etc.

Once the Cust ID is verify, IVR can decide to either send call to agent or continue with other self service menu.

Thanks in advance..

RE: IVR Editor function

The easiest way to achieve this is to have the caller enter every number separately so you can store them in separate variables:
"Enter the first digit" -> Caller enters it, you save it to var1
"Enter the second digit" -> Caller enters it, you save it to var2 and so on....

After that all you need are files like 0.wav, 1.wav .... 9.wav (which you could get pretty much anywhere incl. VM Pro) and then just play those depending on what value the variables are.
Best way for this would be to change each variable from - for example - "5" to "5.wav" which can be easily done with a set variable action.

Alternatively you can have them enter all digits at once and store them in one long string but then you would have to work with something like "? left ?" and "? right ?" (check logic box documentation) in a clever way to get each single digit back..

RE: IVR Editor function

Basically like this =)

Set NumberCount (How many numbers to read) : len <:AccountNumber:>
Get NumberToRead (which number to read) : (<:AccountNumber:> right <:NumberCount:>) left 1
Annoucement NumberToRead.wav
Set NumberCount (reduce one) : <:NumberCount:> - 1
Check NumberCount (if more than 1 go to top else continue) : <:NumberCount:> < 1

"Trying is the first step to failure..." - Homer

RE: IVR Editor function

@Alfalis, Thanks for the quick info!

@Janni78, Thanks for sample flow/logic fields.
Where can I find these fields "NumberCount", NumberToRead" as I was reading the IVR Editor/Task Flow etc but could not find a list of tasks etc. Do we create this fields in IPOCC IVR Editor e.g. Logic etc?

RE: IVR Editor function

NumberCount and NumberToRead are local variables the way I see it, so you have to define them yourself inside the IVR skript.

EDIT: What janni78 did is cleverly combining those operations to get single digits out of a longer string of digits so "123456" turns into "1" the first time, then "2" and so on. You then append ".wav" and that's pretty much it.
That deserves a star ;D

RE: IVR Editor function

@Alfalis, Thanks =)

@Vchannels, as Alfalis said you create the local variables.
The IVR call flow part looks like this using the logic from earlier post.

All E connectors go to an error message.

"Trying is the first step to failure..." - Homer

RE: IVR Editor function

Wait won't combining the operations cause other issues? I contacted my IVR systems and they said this will break the operation, which I have seen on my end.

Maybe I need to switch providers or am I doing it wrong

RE: IVR Editor function

Of course you can combine calculations, otherwise they wouldn't support brackets, it's basic functionality in programming =)
It works fine on several systems where I use it for callback =)

"Trying is the first step to failure..." - Homer

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close