Jump to content
  • IsDoNotDisturb()

    IsDoNotDisturb()

    VBScript   → Lua   SwxWare 2011

     

    This function returns the current script users' DoNotDisturb (DND) status.

     

    If IsDoNotDisturb() 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 DoNotDisturb status and place it the block exits:

     

    image.png

     

     

    image.png

     

     

    This function returns a boolean value.

     

    If being used in a group context (from SwyxWare v13.27) this function returns false. Read more about user and group context differences here.

     

    This function can be called at any time within the call routing script.

     

    The current do not disturb state will be requested making use of the Server Script API function PBXUser.DoNotDisturb.

     

     


    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.