VBScript → Lua
This function returns True if the script user is currently logged in into his SwyxWare account.
If PBXUser.IsLoggedIn Then
' do something
End If
This function returns a boolean value.
Please note, that the SwyxServer caches the busy state of a user. So once you have called this function the first time in the script it will always return the same value if being called again.
If you need to get current status of any user within the SwyxWare, you can use the PBXConfig.GetUserByAddress function.
This function is identical to the GSE build-in function IsLoggedIn().
By Tom Wellige