Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: gitu on May 15, 2009, 02:46:58 PM
-
Hi ,
I'm trying for an agent desktop using Agent Interaction SDk webservices(.Net) .
Connecting to GIS and accessing the Services available - Agent , Event & Interaction Services through the .Net Proxy (AIL Library).
Though i' tried to register for the events by creating TopicsService, not able to get the interaction event when placing a call to the application.subscribe mode is "push" .Main class is Implementing the INotifyService
GIS is up and running.
Please suggest -
-
Gitu,
push mode means that GIS sends updates to client so that mode requires bi-directional connection between client and GIS. If there is any firewall or NAT between your client and GIS then push won't work.
I would suggest you to download sample application ".NET Rich-client Softphone Toolbar" from DevZone and repeat your test with that sample. If it won't work either then you should check GIS log to find out why notification are not send to the client.
R.
-
Rene,
I tried with Thin client Toolbar from devzone it is working.
1. Connection to GIS -- i'm using .Net proxy - the AilLibrary.dll
In the web.config - added the GIS server url port ,username ,password and
<add key="CheckForEventsMode" value="WAIT"/>
<!-- WAIT or NOWAIT - note WAIT will consume an IIS/ASP.NET Thread-->
<add key="ThreadPoolSize" value="100"/>
<!-- If CheckForEventsMode is WAIT, there needs to be at least 1 thread per user, plus a pool to handle normal page requests (25/CPU) -->
<add key="EventPollingMode" value="DIRECT"/>
<!-- DIRECT, THREAD, PUSH -->
<add key="EventPollingTimeout" value="30"/>
<add key="EventPollingTimeoutMilliseconds" value="1"/>
I'm not specifying the optional configuration --- like gis session Id .
on click of login it connects to GIS through the Connection.cs
once connect is successful trying to login thorugh the Agent.cs and register for events ...
void ProcessEvent()
{
com.genesyslab.ail.ws._event.Event e = agent.GetNextEvent();
}
The event is null :(
Please suggest am i missing smthing????????
Is there any way to check for the notifications ...
thanks
gitu
-
Gitu,
You should be able to see notification details in GIS log (debug level required).
It seems to me that your application doesn't register for events properly.
R.
-
Hi Rene,
figured out the issue...checkforEvents() was not invoked ...now solved..
I'm using the thin client toolbar...could you please explain where is the application log ????
i saw Common.Trace("") statements ???? but where it is stored....and
one more thing when the application is launched or some action done ...page refresh is visible to the user...though Ajax request is done ,how to avoid them.... Please suggest.
Thanks