Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: GregorV on January 31, 2018, 09:18:24 AM

Title: name of current URS ? SOLVED
Post by: GregorV on January 31, 2018, 09:18:24 AM
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
Title: Re: name of current URS ?
Post by: n3vek7 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.
Title: Re: name of current URS ? Solved
Post by: GregorV 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. :(
Title: Re: name of current URS ? SOLVED
Post by: cavagnaro on January 31, 2018, 02:53:24 PM
Nice, thanks for sharing  ;D