11-08-2013 04:36 PM - edited 03-14-2019 12:43 PM
I have a set step that returns and agent's extension. (This app is for playing back the agent's custom greeting to the caller).
Once a day or so (this app runs about 900 times per day) the arrayIndexOutOfBoundsException gets thrown. I've marked the line it throws the error for with an X.
This set step is no doubt crude and could be improved. I welcome all criticism. By the way, is there a known good script which reliably plays back an agent's prerecorded greeting? I would throw this app out if there was a better one floating around out there. (this app works by matching the caller's ANI with the selected agent's extension, recording it in the local uccx file system in an individual file, then blind conferencing into the playback application which performs a lookup of the caller's ANI, matching it with selected agent's extension.)
11-12-2013 01:27 PM
Seems very complex solution to me. If you want to playback agent extension to caller why cant you use "spoken name prompt" option in UCCX and design a script accordingly.
Let me know if you want the script re-designed.
11-14-2013 11:20 AM
Hey Sumit, thanks for replying. I'm not playing the agent extension or name, I'm playing the agent's custom greeting which is a conversational greeting. It also sometimes includes brief sales pitches. I was unclear in my original post as to what I'm doing here.
11-15-2013 08:18 AM
So specific agents are selected based on ANI - or can it be any agent?
Will it be a pre recorded messgae and same for every caller or will it be recorded live and specific to every caller
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