Author Topic: Help on Interaction SDK  (Read 4371 times)

Arun

  • Guest
Help on Interaction SDK
« 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.


Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Help on Interaction SDK
« Reply #1 on: October 06, 2009, 06:10:42 PM »
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.

Marked as best answer by on November 20, 2024, 04:53:05 PM

Arun

  • Guest
Re: Help on Interaction SDK
« Reply #2 on: October 09, 2009, 10:17:53 AM »
  • Undo Best Answer
  • 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

    Arun

    • Guest
    Re: Help on Interaction SDK
    « Reply #3 on: October 12, 2009, 11:59:03 AM »
    Hi all,

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