Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: linalf on August 14, 2007, 01:23:30 PM

Title: Statistic Calculation details required.
Post by: linalf on August 14, 2007, 01:23:30 PM
I wanted help from u guys on how URS calculates the statistic 'StatAgentOccupancy'  .In simple terms it is as follows:

"After login , Agent 1 was on a call for 5 minutes and was in ready state for 5 minutes, his occupancy rate - 5/(5+5) =50%
and similarly agent 2 was on call for 1 minute and in ready state for 2 minutes,then his occupancy rate - 1/(1+2)=33%.
Therefore call will be routed to agent 2."

But in the URS logs:

target "nbk3ds1" (#1, 1-0 components): SELECT ANY by statistic NONE(random)
09:51:53.264_M_I_ [10:0a] object Place_2702|Resources| is unblocked
09:51:53.264_M_I_ [10:0a] object nbk3ds1|Resources| is unblocked
    _M_I_02bd017b99f37023 [10:0c] tenant Resources Agent nbk3ds1: dn 2702 is ignored: other dn type(cfg)
09:51:53.264_M_I_ [10:0a] object 3877126|sw_sit_ncclt_gcs| is unblocked
    _M_I_02bd017b99f37023 [10:0c] tenant Resources Agent nbk3ds1: dn 3877126(ready since 1187073530) is OK
    _M_I_02bd017b99f37023 [17:0b] component #1 nbk3ds1: statvalue: 0(N) the best
    _M_I_02bd017b99f37023 [17:0b] VQ 019715e0 target "nbk3ds1": component nbk3ds1 was SELECTED
09:51:53.264_M_I_ [10:06] STATOBJECT(01064490 9 2) tenant=Resources name=nbk3ds1@ss_sit_tcc_con_rtg_pri.A: statistic StatAgentOccupancy asked
    _M_I_02bd017b99f37023 [17:0e] target nbk3ds1: statvalue: 6.28803369243e-007(S) the best
    _M_I_ [10:06] STATOBJECT(01972ca0 -1 0) tenant=Resources name=nbkind8@ss_sit_tcc_con_rtg_pri.A: statistic StatAgentOccupancy created
    _M_I_ [10:02] modelling for statistic StatAgentOccupancy is not supported
09:51:53.264_M_I_ [10:06] STATOBJECT(01972ca0 498 1) tenant=Resources name=nbkind8@ss_sit_tcc_con_rtg_pri.A: statistic StatAgentOccupancy asked
    _M_I_02bd017b99f37023 [17:0e] target nbkind8: statvalue: 10000008491.8(U) passed
    _M_I_02bd017b99f37023 [17:0e] virtual queue ""(id=1663), VQ 019715e0: target "nbk3ds1" for route was SELECTED

Can somebody interpret it mathematically.Any help will be greatly appreciated.

Title: Re: Statistic Calculation details required.
Post by: bublepaw on August 16, 2007, 08:25:37 AM
Hi linaf,

In urs log there is line

_M_I_ [10:06] STATOBJECT(01972ca0 -1 0) tenant=Resources name=nbkind8@ss_sit_tcc_con_rtg_pri.A: statistic StatAgentOccupancy created

which means that this statistics wasn't earlier calculated for nbkin8 agent. This means that its value was undetermined. That is probably why routing picked first agent.
Did You try another routing after some time. Did values were also that strange ?

Paul
Title: Re: Statistic Calculation details required.
Post by: victor on August 17, 2007, 07:39:21 AM
Hi,

I don't think this is a mathematics problem...
can you please tell me what two DNs are?

If your DNs are 2702 and 3877126 then you should not receive calls at 2702 at all, because 2702 is not supported according to this:

[code]    _M_I_02bd017b99f37023 [10:0c] tenant Resources Agent nbk3ds1: dn 2702 is ignored: other dn type(cfg)[/code]