04-12-2005 09:59 AM - edited 03-20-2019 05:43 AM
Hello,
I have a auto attendant script on a ver 2.1.1 CUE system. If the called party is a unity subscriber and has a spoken name recorded, I'd like to play this back to the caller as confirmation. I have this working using the Extension To User and Get User Info steps. If the subscriber does not have a spoken name recorded, the script errors out with a 'system problems' message. I assume that since the spoken name is null. Is there a way to check for a valid recorded name before attempting to use it as a prompt?
Thanks,
Dave Windorski
Solved! Go to Solution.
04-13-2005 07:42 AM
If you use a Get User Info, you can set the Spoken Name attribute to a varialbe, say spokenName (which is of type Document). Then you can have say a step if (spokenName==null), use the Create Generated Prompt step to assign a prompt the spoken value of the phone number. Then you can play out the spoken version of the extension. If (spokenName==null) is false, then you can just play the recorded name.
04-13-2005 07:42 AM
If you use a Get User Info, you can set the Spoken Name attribute to a varialbe, say spokenName (which is of type Document). Then you can have say a step if (spokenName==null), use the Create Generated Prompt step to assign a prompt the spoken value of the phone number. Then you can play out the spoken version of the extension. If (spokenName==null) is false, then you can just play the recorded name.
04-13-2005 02:01 PM
Perfect. Thanks!
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