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

Help setting up service-hours-vector for an afterhours announcement 2

Status
Not open for further replies.

richb808

Technical User
Nov 10, 2014
78
US
Have a current vector as shown:

01 wait-time 1 secs hearing ringback
02 announcement 1198372
03 goto step 14 if holiday in table 1
04 goto step 14 if time-of-day is all 16:00 to all 07:30
05 collect 4 digits after announcement 1000005
...
14 disconnect after announcement 1000007

Want to change it so that afterhours announcement 1000007 plays only on Mon to Fri 16:00 to 07:30 and also all day on Saturday and Sunday.
How can I set up a service hours vector to do that please?
Or is there an easier way as well?

Thanks for any help!
 
Create a service hours table, define your opening hours in the table.
Change line 4 to read 'goto step 14 if service-hours not in table x' where x is the table number you created.
 
or

01 wait-time 1 secs hearing ringback
02 announcement 1198372
03 goto step 14 if holiday in table 1
04 goto step 14 if time-of-day is fri 16:00 to mon 07:30
05 goto step 14 if time-of-day is all 16:00 to all 07:30
06 collect 4 digits after announcement 1000005
...
14 disconnect after announcement 1000007

_______________________________________________________________
I stay away from the telephone if at all possible.
Lee Trevino
 
Thank you very much Speewah! Gave your idea a try this morning and it seems to be working.
Will have to wait till weekend to verify fully though.
Much appreciated!

Thanks Ronster for the alternate method. Tried the service table method and it seems to be doing the job.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top