Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: Kubig on March 13, 2013, 01:52:12 PM

Title: IWS - Get current status
Post by: Kubig on March 13, 2013, 01:52:12 PM
Hi All,

have anyone experience with simply need of get current status of logged agent with ReasonCode (AttributeReason brand) via IWS DLLs?
Thx
Title: Re: IWS - Get current status
Post by: Timur Karimov on March 14, 2013, 07:23:18 PM
[quote author=Kubig link=topic=7712.msg33356#msg33356 date=1363182732]
....via IWS DLLs?
[/quote]
Hi

you mean inside the IWS custom extension code?
WBR Tim
Title: Re: IWS - Get current status
Post by: Kubig on March 14, 2013, 09:53:43 PM
Yep, I have created own module with customize code. I am wondering how to get channel status with reason code (if exists) like in MyWorkspace tab in out-of-box IWS. I would like to do via IWS SDK ( this is why I wrote "DLL"), I won't use "low" level as PSDK.
Title: Re: IWS - Get current status
Post by: Timur Karimov on March 15, 2013, 10:16:52 AM
Well, Agent object (i mean in namespace Genesyslab.Desktop.Modules.Core.Model.Agents ) contain the MyState properties. You've tested it?
Title: Re: IWS - Get current status
Post by: Kubig on March 15, 2013, 12:48:55 PM
I have already finished - you are right, I was looking bad early.

But currently I try to solve other problem, how to check if agent is logged on email,chat or any other channel? I tried to use Genesyslab.Desktop.Modules.Core.Model.Agent.FirstMediaEmail.IsLogOn, but when the media is in opposite state, the property does not return anything
Title: Re: IWS - Get current status
Post by: Timur Karimov on March 15, 2013, 08:51:20 PM
Because FirstMedia.... properties is a reference on IMedia object. Which of couse equal NULL if this media does't init by logged in process.