Anyone have a sample script for CRS 4.0 that will add 30 days to the current date? I have scripts that will do this in CRS 3.x but the Java steps are no longer there. I understand I can re-create in 4.x but just looking to save a little time.
Sure. I just built this and tested it on 4.0(3)_Build080.
It generates a prompt from a Date object and reads it back. That's today. Then it uses the Calendar class to construct a new Calendar representing right now, adds 30 days, and converts it to a java.util.Date class to return to a variable of Date. It generates the new date prompt and plays it back.
I declare three variables:
dateToday - Date - new Date()
dateTodayPlus30 - Date - null
promptGenerated - Prompt - null
The important bit is done in the expression editor. The "SET" node is used setting the dateTodayPlus30 variable using a block statement as follows:
IntroductionCUCM Routing RulesDial String implementation PolicyCUCM Routing LogicSIP URI Call Routing Analysis+++ Case Study: 1 ++++++ Case Study: 2 +++Conclusion
Over the last few months, I have had the privilege of working on SI...
Are you getting this error “Installer User Interface Mode Not Supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The value UI mode identifiers...