VBScript → Lua
This function returns the current script users' Outlook Out Of Office status.
If IsOutOfOffice() Then
' do something
Else
' do something else
End If
or if being used directly within a GSE property dialog, e.g. in an Evaluate block to directly evaluate the Outlook Out Of Office status and place it the block exits:
This function returns a boolean value.
If being used in a group context (from SwyxWare v13.27) this function returns false. Read more about user and group context differences here.
This function can be called at any time within the call routing script.
The current outlook busy state will be requested making use of the Server Script API function PBXUser.IsOutOfOffice.
The function returns true if the script user has urrently an appointment in his Outlook calendar which is marked as Out Of Office.
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.
By Tom Wellige