" /> Retrieving information about other servers - Genesys CTI User Forum

Author Topic: Retrieving information about other servers  (Read 2969 times)

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Retrieving information about other servers
« on: March 18, 2009, 11:45:12 AM »
Advertisement
Hi,

a very quick question that I think a lot of us will enjoy answering (and I REALLY NEED TO FIGURE IT OUT).
We know that T-Servers know about each other in a multi-site configuration. Is there some sort of Genesys ActiveX request that would give me the names of other T-Servers connected to my T-Server. I am too lazy to access either CME or modify something in config.txt file of my softphone. This way I would be able to get the names of all the T-Servers I can forward to without doing much work :)




Offline cmcshane

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: Retrieving information about other servers
« Reply #1 on: March 18, 2009, 03:00:04 PM »
Hi Vic,

You'll get this info from your t-server startup file. You'll see the t-server connections as below. Is this what you're looking for ?

23:05:53.3940 [TCONF] Remote Server application info received: DBID [245], type [TServer], name [tserver_72_war]
@23:05:53.3940 [TCONF] Remote Server application info received: DBID [300], type [TServer], name [t_server_72_ark]

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Retrieving information about other servers
« Reply #2 on: March 18, 2009, 03:27:10 PM »
Hi Vic,

Try to use the method TQueryLocation("",LocationInfoAllLocations). It should return list of all remote TServers.

R.

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Retrieving information about other servers
« Reply #3 on: March 19, 2009, 06:12:29 AM »
René!!!

This is exactly what I was looking for! Thanks!!!
but, wait... it does not tell you the hostname or the port!!! How is it possible?
« Last Edit: March 19, 2009, 07:52:19 AM by victor »