[cisco-voip] IPCC Express - Detailed Date and Time comparison Script

Micah Bennett mbennett at als-xtn.com
Fri Dec 14 10:53:23 EST 2007


IPCC Express (Premium in our case) includes steps to check against the
Day of Week and the Time of Day in the script routing.  

We found that it did not include anything to do a detailed check of the
DATE and TIME.  As other have noted, there were examples on the script
repository to do reference an XML file that contained DATES and TIMES or
reference a database dip.  

I looked at those examples, and was able to come up with a basic script
that does a DATE and TIME comparison without using a separate XML file
or a separate Database.  

In general, it pulls the current date/time from the server, and then
compares it against other date/time variables that are manually
programmed in the script.  It works well and we just implemented it
(using a subflow) on all of our call center routing scripts for our
hoiliday message notification of when we are closed. 

One example does a comparison to see if the current date/time before,
during, or after a specified range (begin time and end time)

Another example does a comparison against a single target date/time.
Route one direction if time is before the target, route a different
direction if the time is equal to or after the target. 

I will gladly share it with anyone who is interested.  Just let me know.


Things to keep in mind:
Both of my call centers and my entire VOIP cluster are in the same time
zone.  My script does not have any provisions for call centers that may
be in different time zones.  

Our entire cluster (Servers, client PCs, Phones) all reference the same
network time source so everything matches. 

Micah Bennett
Telecommunications Admin
Automated License Systems
Email: micah.bennett at als-xtn.com









The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20071214/444e862e/attachment-0001.html 


More information about the cisco-voip mailing list