PureEngage On-Premises

 View Only

Sign Up

TLib redirect using session:fetch

  Thread closed by the administrator, not accepting new replies.
  • 1.  TLib redirect using session:fetch

    Posted 07-17-2018 10:32
    No replies, thread closed.
    Most Excellent and Talented Genesys Developers,

    Good morning!
    ​I've got an older piece of code that came from a conversion of IRD script to ORS composer script.
    This is for RONA (redirect on no answer) and the functionality is to do two things:
    • redirect the interaction to a new DN
    • set the agent phone to Not Ready

    I can't find any documentation for this functionality!
    The ORS developer's guide doesn't mention the method having the option "tlib" (method="'tlib'").

    Here is the SCXML excerpt for the REDIRECT:

    <session:fetch requestid="App_RequestRedirectCall['requestid']" srcexpr="v_tLibCmdURI" method="'tlib'">

    <content _expr="v_tLibReqParams" />

    </session:fetch>

    The v_tLibCmdURI variable contains: "v_tServerName+'\\103'"
    The v_tLibReqParams is in JSON format and it contains:
    {params:{20:s_ThisDN,24:s_IntermDN,9:s_ConnID}} - (those variable should be self explanatory)


    Next is the SCXMl block that sets the agent station not-ready. It is similar, except that:
    • instead of a "\\103" for the command URI, it uses "\\11"
    • instead of using parameters containing keys 20, 24 and 9, it uses keys 20 and 21

    Does anyone have a resource where I can see all of my options for the tlib command URI as well as the parameters for those commands?
    Again, this code was written in IRD and converted to ORS, and is talking to a TServer for AVAYA.

    Any help is appreciated.

    SPECIAL NOTE: In between the Redirect request and the Set Agent Not Ready request, I have an SCXML block that raises a user event to the switch using ixn:userevent. This may or may not be important...



    ------------------------------
    Todd McCall
    Bank of America
    ------------------------------