VBScript → Lua
This function returns the current script users' logged in status.
If IsLoggedIn() 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 logged in status and place it the block exits:
This function returns a boolean value.
This function can be called at any time within the call routing script.
The current login state will be requested making use of the Server Script API function PBXUser.IsLoggedIn.
By Tom Wellige