VBScript → Lua
This property returns the current number of received new voicemails of the script user.
This property is an integer value.
This property allows read / write access.
By incrementing this value you can enable the new voicemail indication of the current script user. By setting it to 0 you can disable it.
' switch voicemail indication on PBXUser.NumberOfNewVoicemails = PBXUser.NumberOfNewVoicemails + 1 ' switch voicemail indication off PBXUser.NumberOfNewVoicemails = 0