Using the counted-calls conditional example

Last Updated : Sep 08, 2012 |

The following vector example shows how the counted-calls conditional can be used to route calls.

Using VDN call counting to route calls


1. goto step 3 if counted-calls to vdn 1234 <= 100
2. busy
3. queue-to split 60 pri l
4. wait-time 20 seconds hearing ringback
5. announcement 27000
6. wait-time 60 seconds hearing music
7. goto step 5 unconditionally

If more than 100 calls are active in VDN 1234, the caller hears a busy signal and vector processing is terminated. If 100 or fewer calls are active, the call queues to split 60.