Lua → VBScript SwxWare v13.20
This function returns true if the current script user has an appointment in his Outlook/Exchange calendar stating him to be "out of office".
if (PBXUser.IsOutOfOffice() == true) then -- do something end
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.IsOutlookBusy() function.
This function is identical to the GSE build-in function IsOutOfOffice().
By Tom Wellige