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

  • PBXUser.DelayedRedirectTimeout()

    PBXUser.DelayedRedirectTimeout()

    Lua   → VBScript   SwxWare v13.10

     

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

     

    if (PBXUser.DelayedRedirectTimeout() == 30) then
      -- do something
    end
    
    -- configure delayed redirection timeout
    PBXUser.DelayedRedirectTimeout(30)

     

     

    This property takes or returns a number value.

     

    Please note, that you need to enable the delayed redirection using the PBXUser.DelayedRedirect() function.

     

    Additionally you can configure the delayed redirection target using the function PBXUser.DelayedRedirectNumber().

     

    -- enable delayed redirection of all calls to users voicemail after 30 seconds
    PBXUser.DelayedRedirect(true)
    PBXUser.DelayedRedirectNumber("voicemail")
    PBXUser.DelayedRedirectTimeout(30)

     

    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.
     

     


    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.