VBScript → Lua
This function returns true if the current script user has an appointment in his Outlook/Exchange calendar stating him to be "out of office".
PBXUser.IsOutOfOffice
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.
Beside the "out of office" flag of an appointment you can also check for the "busy" flag by using the PBXUser.IsOutOfBusy function.
This function is identical to the GSE build-in function IsOutOfOffice().
By Tom Wellige