Help on Interaction SDK

Hi All,

I’m developing one small agent desktop in .Net using interaction sdk services. Please guide me in trying to detect lost connection to T-Server on agent application’s side.

When the connection to GIS is lost , when there is error in retrieving the events from the services - so possible to display an error to the user. Similarly need to do when T-Server is down.

When T-Server is down, GIS which is dependant on the connection to T-Server should also go down but not able to find the disconnect from the application. It would be great if i could know about fetching the server status and process accordingly.

please suggest.

Hi Arun,

You have to subscribe for SystemEvent to be notified about status change of particular server like T-Server etc. you’re connected. Please read documentation related to the interface com.genesyslab.ail.ws.system.ISystemService

R.

1 Like

Hi Rene ,

Thanks.

Have registered for SystemEvent through Topicservices and filtered for SERVER_TYPE:TELEPHONY.
Processed System Event:

public delegate void SystemEventHandler(string serverName, ServerType serverType, ServerStatus serverStatus, string switchName, SwitchType switchType);
public event SystemEventHandler SystemEvent;

Attached the code …

when T-Server is down. It gets into the Server status OFF mode…could see in trace/ log but not able to prompt users .. My concern is it should not process other events — Media as the event will eb logged out .Please suggest

Hi all,

Resolved. Unregistered other events when the server mode is OFF.