Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Oscar Jaen on January 01, 1970, 12:00:00 AM

Title: Strategy Problem
Post by: Oscar Jaen on January 01, 1970, 12:00:00 AM
Hi, I am trying to create a strategy that says: If ExpectecWaitingTime >60 Play `xxxxxx` My problem is that SData(53416@StatServer.RP,StatExpectedWaitingTime) always returns the value 10800 53416 is the Routing point in which i load the strategy. I've tried to use the Group of Agents instead of the RP: SData(Test@StatServer.GA,StatExpectedWaitingTime) But It returns an error. Also I've tried to use the queue SData(210@StatServer.Q,StatExpectedWaitingTime) And it always returns 0. My PBX is a Lucent G3, and StatExpectedWaitingTime is a predefined statistic in IR. Can anyone help me?
Title: Strategy Problem
Post by: Johan Kohl on January 01, 1970, 12:00:00 AM
Interesting problem. Let me look into it. J.K.
Title: Strategy Problem
Post by: Victor on January 01, 1970, 12:00:00 AM
Oscar, I was able to confirm the same thing. excerpt from the log _I_I_000000a6c486f545 [smstat.c:smGetSData] HERE IS SDATA: VQ_Reconnect@SS51075 StatExpectedWaitingTime _M_I_000000a6c486f545 [smstat.c:smGetStatObject] ask statistic StatExpectedWaitingTime for VQ_Reconnect _C_I_[popobjac.c:GetSwitchPhone] converting tenant:Resources phone:VQ_Reconnect to switch:M1Opt51C, dn:VQ_Reconnect 08/04/00@13:00:12 _I_I_000000a6c486f545 [interp.c:interp_execute] <<<<<<<<<<<You cannot use Agent Group for this statistic, try StatEstimatedWaitingTime instead I will dig into it as well, because I am curious why ExpectedWaitingTime returns 10800. Vic
Title: Strategy Problem
Post by: James on January 01, 1970, 12:00:00 AM
Try logging an agent in that has valid skills to receive a call and see if the value changes. I have had this problem before, and I think that if the target list has no agents logged in, then the value of the stat is 10800....
Title: Strategy Problem
Post by: Oscar Jaen on January 01, 1970, 12:00:00 AM
Thanks everybody for your help, When I tried i had one agent logged and ready, this agent doesn't have any special skills. By now i think that i've solved the problem creating a new statistic by myself that have the same MainMask and RelativeMask as the ExpectedWaitingTime statistic. It seems that work rigth but i cannot be sure.