VBScript
This function returns true if the current date and time (according the the current user's location) is within the working hours as defined in his Outlook calendar.
PBXUser.IsWithinWorkingHours
This function returns a boolean value.
Please refer to the SwyxWare Administrator manual (chapter 5.3.3, Installation for Calendar-Based Call Management) for information on how to setup calendar based call routing correctly.
To check for the "out of office" flag of a current appointment of the script user you can use the PBXUser.IsOutOfOffice function, which is identical to the GSE build-in function IsOutOfOffice().
To check for the "busy" flag of a current appointment of the script user you can use the PBXUser.IsOutlookBusy function, which is identical to the GSE build-in function IsOutlookBusy().

By Tom Wellige