07-30-2010 09:12 AM - edited 03-14-2019 06:11 AM
Hello,
I'm putting together an extremely basic script that acts as a call handler (not doing it in Unity, long story). It's a single greeting that gives people 8 options. Only thing is, I need to be able to give me the option of dialing an extension at any time. Does that mean that I need to break up the structure in two separate sections, one that plays a prompt to enter extension at any time with a "get digit string" piece, than, failing that, go to a menu that will present the 8 options? Is there a better way to do this?
Solved! Go to Solution.
07-30-2010 11:15 AM
It is far better to be explicit these days - give them an option. "If you know your party's extension, please press 1". Then in that processing, handle it easily.
If the customer is requesting that the prompt be the same as the old one, try to talk them out of it. Explicit option is far better - easier to handle extension length checks, easier to translate to ASR and so on.
Regards,
Goeff
07-30-2010 11:16 AM
With the Menu option you can achieve this, you just need to set in the prompt tab, to be interruptible.
Gabriel
Edit: Sorry I didn't read the part that says "dialing an extension at any time". So you will need to use the get digit string step, the input length would be the length of your extensions. Then use in the success step the call redirect to that extensión, for the menu option I usually use the timeout branch where I put a switch step or an if step. getDigit = Get Digit String Success call redirect (getDigit) Timeout Switch "1" --->call redirect "TI department" For example
07-30-2010 11:15 AM
It is far better to be explicit these days - give them an option. "If you know your party's extension, please press 1". Then in that processing, handle it easily.
If the customer is requesting that the prompt be the same as the old one, try to talk them out of it. Explicit option is far better - easier to handle extension length checks, easier to translate to ASR and so on.
Regards,
Goeff
07-30-2010 12:21 PM
Good advice. Okay, thanks for confirming some thought processes with me, much appreciated
07-30-2010 11:16 AM
With the Menu option you can achieve this, you just need to set in the prompt tab, to be interruptible.
Gabriel
Edit: Sorry I didn't read the part that says "dialing an extension at any time". So you will need to use the get digit string step, the input length would be the length of your extensions. Then use in the success step the call redirect to that extensión, for the menu option I usually use the timeout branch where I put a switch step or an if step. getDigit = Get Digit String Success call redirect (getDigit) Timeout Switch "1" --->call redirect "TI department" For example
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide