PureEngage On-Premises

communities_1.jpg
 View Only
  • 1.  DN@SwitchName as destination to RouteCall[] function

    Posted 01-09-2015 18:00
    Hi 
    I am trying to transfer call using RouteCall[] function. I am passing the destination as DN@SwitchName. But the function failed with bad target.

       HERE IS ROUTE TO TARGET: 84322@AAL_l_sip_agt
     [09:04] error in strategy: 0012 Bad target (RouteCall)

    Can we pass DN@SwitchName to RouteCall function.

    Thanks

     


  • 2.  RE: DN@SwitchName as destination to RouteCall[] function

    Posted 01-20-2015 16:01
    Hi,

    When using the RouteCall function in IRD, you need to specify a Varible instead of routing the call directly to DN@Switch.

    An example of this would be to first create a SelectDN function and assign it to a Varible...For instance, v_routecall.  The selectDN function you would use is v_routecall=SelectDN['','','',StatSelectMax,'IA@Stat_Server.A'], where IA=the AgentID.  Then in your next block you would use the RouteCall function and the expression would be RouteCall[v_routecall].

    RouteCall
    Parameter: Destination: STRING (target) or variable (representing a string
    for the destination)
    Return value type: STRING (target)
    This function attempts to definitively route the current interaction to a target
    specified in low-level format. Its operation is very similar to that of the
    function DeliverCall with Type parameter equal to 1 (DeliverToAgent) or 2
    (DeliverToIVR). The returned value also obeys the rules listed there.
    This function differs from DeliverCall in the following ways:
    1. The function RouteCall waits for EventRouteUsed from T-Server in order to
    conclude that the interaction has been sent to the destination successfully.
    Thus, it is not concerned with the actual arrival of the interaction at the
    destination DN.
    2. After the current interaction has been routed successfully, URS no longer
    controls it. After the definitive routing of the interaction, URS proceeds to
    execute the postrouting actions, specified in the sequence of objects.

    Note: Usually the input for this function is the output from the SelectDN,
    SuspendForDN, or Translate function. You also can manually construct
    the target string, but in this case URS performs routing in force mode.
    That is, no statistics calculated by URS are updated.


    Best Regards,
    Steve.


  • 3.  RE: DN@SwitchName as destination to RouteCall[] function

    Posted 01-27-2015 21:58
    Adding to the excelent answer by Steve, if you want to blindly route to a DN@switch you can use TRoute[] function.