Jump to content
  • ExternalCall()

    ExternalCall()

    Lua   → VBScript   SwxWare v13.10

     

    This function returns true if the current call is an external call.

     

    if (ExternalCall() == true) then
    	-- do something
    else
    	-- do something else
    end

     

    or if being used directly within a GSE property dialog, e.g. in an Evaluate block to directly evaluate the External Call status and place it the block exits:

     

    image.png

     

    image.png

     

     

    This function returns a boolean value.

     

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

     

    To figure if the current call is an internal call you can either check the ExternalCall() function for false, or use the InternalCall() function.

     

    The function makes use of the Server Script API function PBXCall.IsInternal().

     

     


    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.