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

  • PBXUser.DelayedRedirect()

    PBXUser.DelayedRedirect()

    Lua   → VBScript   SwxWare v13.10

     

    This function sets or returns the state of the script users' (for whom the current script is running) own delayed redirection setting.

     

    if (PBXUser.DelayedRedirect() == true) then
      -- do something
    end
    
    -- enable delayed redirection
    PBXUser.DelayedRedirect(true)
    
    -- disable delayed redirection
    PBXUser.DelayedRedirect(false)

     

     

    This function takes or returns a boolean value.

     

    Please note, that you need to set the number to which should be redirected using the PBXUser.DelayedRedirectNumber() function.

     

    Additionally you can configure the timeout (in seconds) for the delayed redirection to take affect using the function PBXUser.DelayedRedirectTimeout().

     

    If your script should check how the users' redirection is configured, make sure it is placed above the Delayed Redirection rule in the Call Routing Manager list of rules. Otherwise your script will never be reached if the user has enabled his redirection.

     

     

    Example from the Function Collection

     

     

     


    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.