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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VEC Routing Time of Day Question on All 2

Status
Not open for further replies.

mikej97204

IS-IT--Management
Jul 12, 2005
203
US
I've created some VECers that use the Time of Day parameter. For instance I only want to send calls to a paticular VDN Monday through Friday, 07:00 to 14:35. Right now I'm doing Goto on each day. If it falls within that time it goes to a step further down the VECer if not it falls through to the next step.

My question has to do with the All statement. If I do a All 07:00 to 14:35 is that considered all hours from Monday at 07:00 to Sunday at 14:35 or just each day of the week from 07:00 to 14:35?

Definity G3r ver 9.5

Thanks

Mike
 
That is each day of the week from 07:00 to 14:35.

You should do:
goto step xx if time-of-day is mon 07:00 to Fri 14:35

 
Lets say you want calls going to vdn 2468 between Monday to Friday from 07:00 to 14:35 only.

Outside of these hours you want calls going to vdn 1357.

You would use these steps: -

01 wait-time 2 secs hearing ringback
02 goto step 6 if time-of-day is fri 14:35 to mon 07:00
03 goto step 6 if time-of-day is all 14:35 to all 07:00
04 route-to number 2468 with cov n if unconditionally
05 stop
06 route-to number 1357 with cov n if unconditionally
07 stop



[Started on Version 3 software 15 years a go]
 
Great! Thanks for the info and examples, EPalle and inerguard, that helps a lot and lets me reduce the number of steps in my vectors.

Mike
 
EPalle's example will allow calls from Mon 7:00 right through until Friday 14:35 ie a call will be allowed on Wednesday at 23:55, assuming you want:
Mon 7:00 - 14:35
Tues 7:00 -14:35
etc

Better to use service hours tables if you have CM5 :

01 # Check for Public Holiday
02 goto step 8 if holiday in table 1
03 # Check for after hours
04 goto step 8 if service-hours not-in table 1
05 # Business Hours
06 route-to number 87654 with cov n if unconditionally
07 # After Hours
08 disconnect after announcement 12345
09 stop

If running CM 3 :

01 # Check for Public Holiday
02 goto step 10 if holiday in table 1
03 # Check for Any day after hours
04 goto step 10 if time-of-day is all 14:36 to all 07:00
05 # Check for After hours weekend
06 goto step 10 if time-of-day is fri 14:36 to mon 07:00
07 # Business Hours
08 route-to number 87654 with cov n if unconditionally
09 # After Hours
10 disconnect after announcement 12345
11 stop

 
Thanks, fbs003. I hadn't created a vector to test it yet, so that saves me some work. When I first read about time-of-day it sounded like it was as you said, but it wasn't real clear, so that's why I asked. I hadn't thought of excluding the days and hours I didn't want like inerguard showed, so at least that will help me a bit.

Thanks again.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top