View Single Post
Old August 27th, 2007, 02:16 PM   #1 (permalink)
grahekf
PBXtech SILVER 25+ posts
 
Join Date: Mar 2005
Posts: 76
grahekf is on a distinguished road
Oldest-call-waiting question

I would like to send calls to voicemail after they have been holding for 3 minutes. If I add the step 15 to my vector will that accomplish what I want, or will it send all calls to voicemail if ther is one call that has been in queue for 3 minutes?

01 goto vector 90 @step 1 if staffed-agents in skill 90 > 0
02 goto step 30 if staffed-agents in skill 1st < 1
03 queue-to skill 1st pri l
04 queue-to skill 2nd pri l
05 announcement 2420
...

12 collect 1 digits after announcement 2423 for none
13 goto step 30 if digits = 1
14 wait-time 30 secs hearing music
15 goto step 30 if oldest-call-wait in skill 1st pri l >= 500
16 goto step 12 if unconditionally
17 stop

...

30 stop
31 messaging skill 99 for extension 3417
32 stop
grahekf is offline   Reply With Quote