|
Re: Oldest-call-waiting question
I'm using CM3.5.1. Expected Wait Time for call, when used in a hold loop, works pretty good.
If you have vector variables, you can also set a variable to 'count' the number of steps the call has traversed in the vector. "goto step xx if count => nn". So if it takes 60 seconds total for each hold loop and that loop contains 3 steps, add the number of steps to get to the loop then the number of steps executed in the number of loops until your time has expired. For example, if it takes 12 steps to get to the loop then you would have 15 at the end of the first loop. Then increment by 3 for each additional loop. After 5 minutes at 60 seconds per loop = 5 x 3 or 15 added to the original 12 for 27. When the variable counter reaches 27 jump out to the VM system.
Keep in mind the counter is the number of steps executed so if you jump over some steps such as time of day, don't count those. It may take a little experimentation to get it right.
One trick to test vector conditions is set the condition to goto a subsequent step that just does a goto back to the step after the condition. No action is taken and vector continues processing. Then use "list trace vector" and place a call. If vector sends you to your test step then the condition is working.
|