" /> How to get value of the previous routing point in 7.2 Env. - Genesys CTI User Forum

Author Topic: How to get value of the previous routing point in 7.2 Env.  (Read 3685 times)

Offline p4r4m0un7

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
How to get value of the previous routing point in 7.2 Env.
« on: January 04, 2013, 12:48:02 PM »
Advertisement
Hi all, I am having difficulties to find function in IRD which returns value of the previous Routing point. Example:

1. Voice interaction goes to routing point [b]A[/b] on which strategy is loaded and Agent [b]A[/b] take the call.
2. Agent [b]A[/b] call a routing point [b]B[/b] on which a strategy is loaded.

Before selecting the appropriate target in strategy on RP [b]B[/b], I want to have the value of RP [b]A[/b]. Is this possible and how to do it without making any changes in strategy on RP [b]A[/b] ??? Any advice would be highly appreciated.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: How to get value of the previous routing point in 7.2 Env.
« Reply #1 on: January 04, 2013, 01:11:19 PM »
Save number of first RP to UserData for example,then you can get value even if you want

Offline p4r4m0un7

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: How to get value of the previous routing point in 7.2 Env.
« Reply #2 on: January 04, 2013, 02:38:30 PM »
[quote author=Kubig link=topic=7589.msg32642#msg32642 date=1357305079]
Save number of first RP to UserData for example,then you can get value even if you want
[/quote]
Problem is that the specified as RP [b]A[/b] is not only 1 but more than 200, which makes the task..... so this is why I am looking for another solution.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: How to get value of the previous routing point in 7.2 Env.
« Reply #3 on: January 04, 2013, 03:00:01 PM »
I do not understand to you, your calls hopped over 200 RP??! I think,that you want to get number of last RP

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: How to get value of the previous routing point in 7.2 Env.
« Reply #4 on: January 04, 2013, 05:43:01 PM »
Hi,

Solution proposed by Kubig looks feasible for me even you have strategy loaded on hundreds RPs.

Simply store RP number from which the call was routed to agent to attached data using Update function (Update['LastRP',GetRoutingPoint[]]). And read that value (UData['LastRP']) in second strategy to make decision where to route the call.

R.

Offline p4r4m0un7

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: How to get value of the previous routing point in 7.2 Env.
« Reply #5 on: January 04, 2013, 10:35:07 PM »
10x guys, but Interaction on second RP ([b]RP B[/b]) may arrive from more than 200 different points ([b]RP A[/b]) with loaded different strategies on each of them, which mean that i have to make changes on each of these 200 strategies. If I have to make changes on first RP which is [b]A[/b] but not only 1, it doesn`t really matter to me if I attach RP number or any custom data to be read on second RP (strategy).  :-[ I thought that I am missing some function which is mix between [b]GetRoutingPoint[/b] and [b]Orig[/b]. ;D Of course, аt the end, if there is not such possibility, I can always create subroutine to do the job and insert it in all RPs. :)

Offline kubikle

  • Full Member
  • ***
  • Posts: 140
  • Karma: 7
Re: How to get value of the previous routing point in 7.2 Env.
« Reply #6 on: January 04, 2013, 11:07:48 PM »
Unlikely there is ready function for this.
You don't need to modify all startegies though to make attaching - create subroutine that updates the user data and assign its name
as value of router's option prestrategy (can be specified even on router level itself) - it will be automatically executed
before running loaded on any RP strategy.

Offline p4r4m0un7

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: How to get value of the previous routing point in 7.2 Env.
« Reply #7 on: January 04, 2013, 11:52:16 PM »
[quote author=kubikle link=topic=7589.msg32661#msg32661 date=1357340868]
Unlikely there is ready function for this.
You don't need to modify all startegies though to make attaching - create subroutine that updates the user data and assign its name
as value of router's option prestrategy (can be specified even on router level itself) - it will be automatically executed
before running loaded on any RP strategy.
[/quote]

Yep, that was the idea that I've been looking for. As far as I understand it works also on routing point, T-Server,
tenant, but this time I'll use it on URS. You have been very helpful. Thanks a lot.  :)