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

  • LastCause()

    LastCause()

    Lua   → VBScript   SwxWare v13.10

     

    The function returns the return value from the latest connect to attempt.

     

    local nLastCause = LastCause()

     

    This function returns a number value.

     

    After having used a Connect To block (or Follow Me or Loop) within the call routing script where the result of the connect to attempt was evaluated by the extis of the block it is possible to use this LastCause() function to request that result again.

     

    Possible return values are:

     

    PBXSuccess (0)
    PBXFailure (1)
    PBXTimeout (2)
    PBXCallTermNormalCallClearing (3)
    PBXCallTermDestinationBusy (4)
    PBXCallTermReject (5)
    PBXCallTermWrongNumber (12)
    PBXCallTermConnectToCallerImpossible (13)
    PBXCallTermDestinationUnreachable (14)
    PBXNoChannelAvailable (18)
    PBXNetworkCongestion (19)
    PBXIncompatibleDestination (20)
    PBXOriginatorDisconnected (22)

     

     


    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.