I'm having a heck of a time editing a script to make it so when a caller puts in the agents extension and the agent is busy it will say "press 1 to be routed to the agent's voicemail". This is what I currently have thus far, it fails at the redirect call.
Select Resource (--Triggering Contact--, user_ResourceId)
Menu (--Triggering Contact--, p_AbrMenu)
1 - Voicemail
Dequeue (--Triggering Contact--from--All CSQs--)
Set Contact Info (--Triggering Contact--handled)
Set ext_toCall = var_AgentPrimaryExt
Call Redirect (--Triggering Contact--to ext_toCall)
It is never successful and it keeps retrying 3 times and then eventually says that there are system problems and to try back later. So why is it failing at the redirect call? Please be as descriptive as possible, or better yet if you could upload an example. Any help would be appreciated, thanks.
Maybe I made too much of an assumption.
Here's a simple flow:
// Get input from caller
CED = Get Digit String (p[enter_extension])
// Save the input as the extension
Extension = CED
// Retrieve the Agent who has this extension
Agent = Get User (Extension)
// Try to route to the Agent
Select Resource (Resource = Agent)
// Send direct to Agent's VM
Call Redirect (Unity, Called Address = Extension)