Leaving recorded messages (VDN as the coverage point option)
VDN 1 (used in a coverage path)
Vector 1
1. goto step 7 if time-of-day is mon 8:01 to fri 17:00
2. goto step 13 if staffed-agents in split 10 < 1
3. queue-to split 10 pri 1 [AUDIX split]
4. wait-time 20 seconds hearing ringback
5. announcement 1000 [Please wait for voice mail to take your message.
]
6. goto step 4 if unconditionally
7. goto step 2 if staffed-agents in split 20 < 1
8. queue-to split 20 pri 1 [audix split]
9. wait-time 12 seconds hearing ringback
10. announcement 1005 [Please wait for an attendant to take your message.
]
11. wait-time 50 seconds hearing music
12. goto step 10 if unconditionally
13. disconnect after announcement 1008 [We cannot take a message now. Please call back tomorrow.
]
In steps 3 and 8, the caller can choose to leave a recorded message, but the queue-to split command is used instead of the messaging split command. The call is actually queued to the AUDIX split.
However, a messaging split command does not queue the call to the split. Instead, if the command is successful, the caller is connected to the split so the caller can leave a message for the specified extension. However, termination to the split can be unsuccessful due to factors that cannot be checked by vector processing. For example, the AUDIX link does not function, or if all AUDIX ports are out of service.
As a result of the queuing process, you can include a wait-announcement loop after each queue-to split step and the appropriate loop can then be executed until the call is actually terminated to either an AUDIX voice port or to an available message service agent. In this vector, steps 4 through 6 comprise the first wait-announcement loop and steps 10 through 12 comprise the second such loop.