Jump to content
  • PBXUser.DoNotDisturb()

    PBXUser.DoNotDisturb()

    Lua   → VBScript   SwxWare v13.10

     

    This function sets or returns the do not disturb status of the current script user.

     

    -- get the script users' current do not disturb state
    local bDoNotDisturb = PBXUser.DoNotDisturb()
    
    -- set the script users' do not disturb state
    PBXUser.DoNotDisturb(true)

     

     

    This function takes or returns a boolean value.

     

    This property is identical to the GSE build-in property IpPbx.DoNotDisturb().

     

    This function accesses the SwyxWare internal presence information. To access supported external presence sources (e.g. MS Teams) you can use the PBXUser.DoNotDisturbViaPresence() function.

     

    To access the presence information of any SwyxWare user and not just the current script user, please take a look on the PBXScript.GetUserByAddress() function.

     

     


    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.