Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: Arun on October 05, 2009, 11:06:05 AM
-
Hi All,
I'm developing one small agent desktop in[i] .Net using interaction sdk services[/i]. 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.
[i]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.[/i] 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.
-
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.