" /> name of current URS ? SOLVED - Genesys CTI User Forum

Author Topic: name of current URS ? SOLVED  (Read 1728 times)

Offline GregorV

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
name of current URS ? SOLVED
« on: January 31, 2018, 09:18:24 AM »
Advertisement
In a IRD strategy I need to find out the name of the current URS, which handles the interation because later a third party component wants to access the URS REST interface. For the URL it is necessary to know which of a HA URS pair handles the interaction with a specific connection-id. I thought this should be easy, but it I stuck finding a solution.
Thanks, Gregor
« Last Edit: January 31, 2018, 02:49:58 PM by GregorV »

Offline n3vek7

  • Full Member
  • ***
  • Posts: 137
  • Karma: 3
    • ITKB
Re: name of current URS ?
« Reply #1 on: January 31, 2018, 01:54:24 PM »
Have you tried with the function "[b]Router[/b][APPLICATION_NAME/CLUSTER_NAME]" ?
If not, try assigning this function to a variable and print it in your logs.

Offline GregorV

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Re: name of current URS ? Solved
« Reply #2 on: January 31, 2018, 02:49:37 PM »
Found the solution with GetConfigOption['',StartFromRouter] which returs the USR name.
I knew it must be simple, but somehow was blind. :(

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: name of current URS ? SOLVED
« Reply #3 on: January 31, 2018, 02:53:24 PM »
Nice, thanks for sharing  ;D