Script for Holidays

Unanswered Question
May 13th, 2008

I need to add a holiday step for my script. Does anyone have a step by step on how to do this?


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
eric.spagna Wed, 05/14/2008 - 01:44

if it's an ICM script, you can use the admin script to set a "holiday" variable. Then you can make the admin script set the variable to "1" on certain dates (holidays), and "0" on the rest.

Then you can introduce steps in the Routing script to say, 'if holiday variable = 1, then go to "holiday.wav"' for example, and if 'holiday variable = 0, fail to normal call flow"

Kind of hard to explain, but that's how i do it.

williamsutton Wed, 05/14/2008 - 06:00

Its a script for IPCCX and i would like to put all the holiday for the year in it

johndrosa Wed, 05/14/2008 - 07:04

I would add a "global" node, i.e. Global.userHoliday==0 (0 = normal days) and also create a Holiday Admin Script, which then allows you to set up Holidays, times, etc. From the Global.userHoliday node, you can then direct the success or fail to any node, i.e. to another Call Type, Overflow Mailbox, etc.


This Discussion