" /> TServer down - Genesys CTI User Forum

Author Topic: TServer down  (Read 5429 times)

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

Daiva

  • Guest
TServer down
« on: January 01, 1970, 12:00:00 AM »
Advertisement
Is there any mechanism to handle in the client application, if the Tserver goes down?

Otherwise, how should I connect to backup TServer automatically (from my client application), if the primary TServer goes down?

Thank you very much in advance for your help.

Daiva.

Mark Newcomb

  • Guest
TServer down
« Reply #1 on: January 01, 1970, 12:00:00 AM »
Daiva,

Have a look at the ChangeStatus and TEventLinkDisconnected events on the TServer Connection object within your client software. From here you should be able to handle a TServer crash without the user ever knowing.

Mark

Ramesh Pitchumani

  • Guest
TServer down
« Reply #2 on: January 01, 1970, 12:00:00 AM »
Hi Daiva:

What version of Tserver and SoftPhone are you using? Is it ActiveX based or Java based?

Tserver failover is handled with HAproxy in 6.1. ActiveX 6.1 SoftPhone automatically supports Primary Tserver failover to Backup Tserver. But only 6.5 version of a Java SoftPhone supports failover to the Backup Tserver.

Hope this helps.

Thank you,
Ramesh.

Marked as best answer by on April 08, 2025, 02:56:34 AM

Daiva

  • Guest
TServer down
« Reply #3 on: January 01, 1970, 12:00:00 AM »
  • Undo Best Answer
  • Hi Mark,

    Thanks for your prompt response. But, I am wondering whether you can give me some more information about how to connect to a backup server automatically in case of Primary server crash?

    Thanks

    Daiva.

    Daiva

    • Guest
    TServer down
    « Reply #4 on: January 01, 1970, 12:00:00 AM »
    Hi Ramesh,

    Thanks for your response. Our application is not Activex or Java based. It is C++ based. It is not the agent application either. It is just a normal application which stores UUData on incoming call and attaches UUDData on outbound calls. I just want to handle the situation in case of primary TServer crash.

    Thank you

    Daiva.

    Vic

    • Guest
    TServer down
    « Reply #5 on: January 01, 1970, 12:00:00 AM »
    Daiva,

    your application written in C++ needs to use some way to connect to your TServer. It is either DDE, OLE, ActiveX or some other variation of Genesys TLib.

    The really simple way of doing it is by reacting to EventTServerDisconnected variant depending on TLib you are using.
    On this message you would just have to tell your application to connect to the predefined backup.

    It is not fancy but it would do the trick. Or, if you want to do something fancy in HostStandby mode, you better wait for G6.5 release where a lot of bugs related to TLib hotstandby functionality will be fixed.