Jump to content
Gold Sponsor: Data-Way IT-Consulting, Austria

  • PBXUser.NumberOfNewVoiceMessages()

    PBXUser.NumberOfNewVoiceMessages()

    Lua   → VBScript   SwxWare v13.10

     

    This function sets or returns the current number of received new voicemails of the script user.

     

    -- get number of new voicemails
    local nNumber = PBXUser.NumberOfNewVoicemails()
    
    -- set number of new voicemails
    PBXUser.NumberOfNewVoicemails(5)

     

     

    This property takes or returns a number value.

     

    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)


     


    Tom Wellige
     Share


     Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.