Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vector Time of day

Status
Not open for further replies.

edinburger

IS-IT--Management
Apr 28, 2004
62
GB
I have a vdn pointing to a vector that has 2 time of day steps, which plays an annoucement to let the caller know the office is closed and to call back during working hours. This all works fine but the customer wants to be able to manually set when the out of hours message plays.

Can this be done?? Is there a Time of Day overide for vectors???

System is a S8300 running CM 2.2.

Any help greatly appreiciated.

Many thanks.
 
if you have a call center with agent logins you could add a step that states that if logged in agents in skill xx + goto step xx a step that is after a stop step in the vector somewhere at the end.

then add an agent with that skill all the customer would need to do is login in that agent.



José

Please let me know if this was helpful

 
Thanks for the replies so far.

Never used variables before, can somebody explain further??

Site is not a call centre, so have no agents or skills.
 
edinburger,

having cm 2.2, you may as well use variables in vectors for this task.
 
We have a couple of departments that like to activate their own time-of-day schedule. Here's what we did:

Remove the Time-of-Day steps. Build up a Hunt Group with no members and put a Night Service (NS) destinaton. The NS destination is your announcement number with the After Hours message on it. In your vector, put a "Route-to number" statement on the first step. The Route-to number is the Hunt Group's main number. The Vector will only route to that number if the Night Service is activated. Otherwise, it just skips that step.

Make sure you program a Hunt Night Service button on one of the user's phones.
 
This may be too late after the above ideas. But here's how to use variables.

1) define a variable, say 'T' to be type=tod (time of day).
2) add the vector step "goto .. if T > 1700"
(this goto condition will pass if the time of day is after 5pm)
This concludes the example using a time-of-day variable. To change the time, you'd need to change the vector 1700 value to whatever value you want. Remember this is military time and "T > 1700" is performing a string compare.

----------------------------------------

To take it a step further. Let's replace "1700" with another variable and rework the above idea
1) define 2 variables:
i) as before 'T'- type=tod, and
ii) let's say the end time is variable 'E' type=collect scope=G assignment=1700 (start and length can be the default 1 and 16).

2) add the vector step "goto .. if T > E"
(this goto condition will pass if the time of day is greater than the value stored in variable E which is initially assigned as 1700.)

3) Now if you wish to change the goto condition behavior, you want to change the value of 'E'. There are 2 ways to do this.
i) One way is to go to the SAT and enter "change variable" to change the variable 'E' assignment to the military time you want.
ii) The other way is to change the value of 'E' by calling a new vdn/vector. This new vdn/vector contains a "collect 4 digits .. for E". When prompted by this "collect 4 digits .. for E" vector step, enter in the 4 digit military time value and the variable 'E' will be set to what you entered with DTMF. You can set a more restrictive COR for the VDN, and perform some password checking before executing the "collect .. for E" for security. Since 'E' has a Global scope, then changing this value in this VDN/VECTOR means that the variable has been changed in all vectors where 'E' exists.

Again, remember that the condition check "T > E" performs a string comparison. So you need to enter military time value for 'E'. For example if you want the condition to pass at 9am, you'll need to enter 0900, or 9pm enter 2100.

Hopefully this makes some sense.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top