Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: gzooby on October 02, 2014, 05:57:01 PM

Title: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 02, 2014, 05:57:01 PM
Hi,

I defined the following statistic in IRD:

Name - ServiceFactor1
Category  -  ServiceFactor1
(Queue/Routing Point Statistic)
Subject    -  DNAction
Interval    -  GrowingWindow
Filter    -  Blank (none selected)
Time Range -  Left 0, Right 20
Mask        - Active
Selection  - CallAbandoned, CallAnswered, CallAbandonedFromRinging


Still getting value '0'. Im also asking for statAgentsAvailable and thatīs working fine.

here itīs urs log:


[b][b][b][b][b][b]14:51:59.239_M_I_ [10:06] SO(000000000226f430 9 2) ten=Resources name=SAC@reporting_statserver.GQ: stat <ServiceFactor1> asked (0,0,11)
    _I_I_006e024f06798893 [10:0d] sdata returns 0(S)
  result of SData: FLOAT: 0
    _I_I_006e024f06798893 [09:04] ASSIGN: SFSAC(LOCAL) <- FLOAT: 0[/b][/b][/b][/b][/b][/b]
    _I_I_006e024f06798893 [10:0d] HERE IS SDATA: SAC@reporting_statserver - StatAgentsAvailable
14:51:59.239_M_I_ [10:06] SO(000000000226f2d0 3 2) ten=Resources name=SAC@reporting_statserver.GA: stat <StatAgentsAvailable> asked (0,0,11)
    _I_I_006e024f06798893 [10:0d] sdata returns 13(S)


Any ideas? Thank you!!

Z
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: cavagnaro on October 02, 2014, 07:10:52 PM
What is SAC? A RP or VQ?
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 02, 2014, 07:41:46 PM
SAC itīs VQīs Group :)
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: cavagnaro on October 02, 2014, 08:49:08 PM
Group? Don't think will work. Try applying only for a RP
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 02, 2014, 08:53:22 PM
I doný understand, the statistic is available at CCPulse, why do you think it wonīt work here? The thing is i have like 9 or 10 vqīs in this group...
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: cavagnaro on October 02, 2014, 11:30:23 PM
Apply it to a single RP, does it work?
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: Kubig on October 03, 2014, 08:21:05 AM
Your statistic configuration cover just Queue or RP object type and you are trying to use it on group of queues, it cannot works. You have to change the statistic definition with GroupQueues as well or use the stats on single object. CCP+ fires stats on each object within group, so that is reason why in CCP+ the stats working as expected - I guess.
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 03, 2014, 03:07:16 PM
Hi,

I tried obtaining the same statistic for just une queue, and it also returns '0'. When i obtain this statistic in CCPulse for the queue the value is  97.22

12:02:08.664_M_I_ [10:14] SO(000000000226f6f0 13 2) ten=Resources name=SAC_TARJETAS_GENERAL@reporting_statserver.Q: stat <ServiceFactor1> opened (v=0 t=0 f=0)
    _I_I_006e024f06799c37 [10:14] sdata returns 0(S)
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: cavagnaro on October 03, 2014, 03:18:57 PM
can you please post IRD Screenshot of Metric definition?
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 03, 2014, 05:23:36 PM
Ok, I have just uploaded it to image shack

https://imageshack.com/i/idVoRZzAp
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: terry on October 03, 2014, 07:31:06 PM
Anything suspicious in Statserver log when OpenStat request from URS is processed
(like unusual values for masks, time profiles, etc)?
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 03, 2014, 08:08:11 PM
My stat server is called reporting_statserver. Here , number 2, you can see the strategy over rp 3998

https://imageshack.com/i/eyjUf3gOp

Log in stat server shows the following:

2014-10-03 16:58:14.910> Server: Switch 'SIP Switch'->'EventQueued'
TimeStamp '2014-10-03 16:58:14'
ThisDN '3998'
ConnID 006e024f0679aa92 (30964785872480914)
Call Type 'Inbound'
This Queue '3998'
DNIS '3998'
ANI '29026101'
CustomerID 'Resources'
Media Type 'voice'
Extensions
2014-10-03 16:58:14.910> Action: (owned) RoutingPoint '3998@SIP Switch'(Monitored):
[2014-10-02 11:44:28] [2014-10-02 11:44:26] 0          Monitored
16:58:14.911 Int 04543 Interaction message "EventRouteRequest" received from 65200 ("sipserver")
2014-10-03 16:58:14.911> Server: Switch 'SIP Switch'->'EventRouteRequest'
TimeStamp '2014-10-03 16:58:14'
ThisDN '3998'
ConnID 006e024f0679aa92 (30964785872480914)
Call Type 'Inbound'
This Queue '3998'
DNIS '3998'
ANI '29026101'
CustomerID 'Resources'
Media Type 'voice'
2014-10-03 16:58:14.911> Action: (owned) RoutingPoint '3998@SIP Switch'(Monitored):
[2014-10-02 11:44:28] [2014-10-02 11:44:26] 0          Monitored
[2014-10-03 16:58:14] [2014-10-03 16:58:14] 0          CallWait (ConnID 30964785872480914)
16:58:14.965 Int 04543 Interaction message "EventAttachedDataChanged" received from 65200 ("sipserver")
2014-10-03 16:58:14.965> Server: Switch 'SIP Switch'->'EventAttachedDataChanged'
TimeStamp '2014-10-03 16:58:14'
ThisDN '3998'
ConnID 006e024f0679aa92 (30964785872480914)
Call Type 'Inbound'
DNIS '3998'
ANI '29026101'
CustomerID 'Resources'
Media Type 'voice'
ThirdPartyDN '3998'
User Data/Reasons
2014-10-03 16:58:14.965> Action: (owned) RoutingPoint '3998@SIP Switch'(Monitored):
[2014-10-02 11:44:28] [2014-10-02 11:44:26] 0          Monitored
[2014-10-03 16:58:14] [2014-10-03 16:58:14] 0          CallWait (ConnID 30964785872480914)
16:58:14.965 Int 04543 Interaction message "EventAttachedDataChanged" received from 65200 ("sipserver")
2014-10-03 16:58:14.965> Server: Switch 'SIP Switch'->'EventAttachedDataChanged'
TimeStamp '2014-10-03 16:58:14'
ThisDN '3998'
ConnID 006e024f0679aa92 (30964785872480914)
Call Type 'Inbound'
DNIS '3998'
ANI '29026101'
CustomerID 'Resources'
Media Type 'voice'
ThirdPartyDN '3998'
User Data/Reasons
2014-10-03 16:58:14.965> Action: (owned) RoutingPoint '3998@SIP Switch'(Monitored):
[2014-10-02 11:44:28] [2014-10-02 11:44:26] 0          Monitored
[2014-10-03 16:58:14] [2014-10-03 16:58:14] 0          CallWait (ConnID 30964785872480914)
16:58:14.971 Int 04543 Interaction message "EventRouteUsed" received from 65200 ("sipserver")
2014-10-03 16:58:14.971> Server: Switch 'SIP Switch'->'EventRouteUsed'
TimeStamp '2014-10-03 16:58:14'
ThisDN '3998'
ConnID 006e024f0679aa92 (30964785872480914)
Call Type 'Inbound'
This Queue '3998'
DNIS '3998'
ANI '29026101'
CustomerID 'Resources'
Call State 'Dropped'
Media Type 'voice'
User Data/Reasons
2014-10-03 16:58:14.971> Action: (owned) RoutingPoint '3998@SIP Switch'(Monitored):
[2014-10-02 11:44:28] [2014-10-02 11:44:26] 0          Monitored
16:58:14.971 Int 04543 Interaction message "EventDiverted" received from 65200 ("sipserver")
2014-10-03 16:58:14.971> Server: Switch 'SIP Switch'->'EventDiverted'
TimeStamp '2014-10-03 16:58:14'
ThisDN '3998'
ConnID 006e024f0679aa92 (30964785872480914)
Call Type 'Inbound'
This Queue '3998'
DNIS '3998'
ANI '29026101'
CustomerID 'Resources'
Call State 'Dropped'
Media Type 'voice'
User Data/Reasons
2014-10-03 16:58:14.971> Action: (owned) RoutingPoint '3998@SIP Switch'(Monitored):
[2014-10-02 11:44:28] [2014-10-02 11:44:26] 0          Monitored
16:58:14.971 Int 04543 Interaction message "EventReleased" received from 65200 ("sipserver")
2014-10-03 16:58:14.971> Server: Switch 'SIP Switch'->'EventReleased'
TimeStamp '2014-10-03 16:58:14'
ThisDN 'SIP Switch::'
ConnID 006e024f0679aa92 (30964785872480914)
Call Type 'Inbound'
DNIS '3998'
ANI '29026101'
CustomerID 'Resources'
Media Type 'voice'
Reliability '-1'
User Data/Reasons
16:58:17.305 Int 04543 Interaction message "EventReleased" received from 65200 ("sipserver")
2014-10-03 16:58:17.305> Server: Switch 'SIP Switch'->'EventReleased'
TimeStamp '2014-10-03 16:58:17'
ThisDN '3608'
ConnID 006e024f0679aa72 (30964785872480882)
Call Type 'Outbound'
Agent LoginID 'fvigo'
DNIS '929088320'
CustomerID 'Resources'
Media Type 'voice'
Reliability '-1'
User Data/Reasons
Extensions

Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: cavagnaro on October 03, 2014, 09:30:35 PM
Your masks seems weird. What you have on second mask
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 06, 2014, 11:55:49 AM
When defining statistic in URS, I just defined "Active" mask, but not relative, do I have to defined this one too?? What do I have to put?

Regards

Z
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: cavagnaro on October 06, 2014, 03:28:02 PM
As you do on SF, check it on CCPulse for example. Relative is what you wanna divide by.
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 06, 2014, 03:35:31 PM
In CCPulse, I only have defined main mask, not relative, and the value is 97.23, however, in URS, is coming value '0'
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 06, 2014, 03:49:49 PM
Problem solved, when defining statistic in IRD, instead of putting in the intervarl section option "Growing Window", I put the same than in ServiceFactor default statistic, "Last 600 seconds".

Thank you all for your help!
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 06, 2014, 04:21:10 PM
In fact, itīs working just for queues, if I try the same of group of virtual queues is bringing '0'
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 14, 2014, 01:20:24 PM
I solved it!
The solution is just disturbing.
Instead of calling <NAME_OF_GQ>@reporting_statserver.GQ , i have to first store the name of the group of queues into a string variable, and then call function sdata like this: <VARIABLE_NAME>@reporting_statserver.GQ and it works perfectly.

Thank you all, so group of queues service factor through strategy is possible! Hope it helps somebody else

Regards, Z
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 17, 2014, 04:04:08 PM
ithin the CME:

1). In the "DN Groups" folder, create a DN Group of type "ACD Queues".

      For the purposes of the following example, the name of this DN Group will be "QG1" and this DN Group will be referred to as a Queue Group in the text below.

2). Drag and drop the ACD Queue dns from the DNs folder of the switch which you wish to add to the QG1 Queue Group.

In the strategy (Designer):

      For the purposes of this example, the canned StatCallsInQueue statistic will be used to obtain the number of calls queued in QG1:

3). Create a variable (type integer) in which the number of calls in queue value will be assigned to. ex: variable "CallsInQ".

4). Create a variable (type string) in which the Queue Group is to be specified. In this example, the name of this variable will be GQ_Var. When using the Assign function to assign name of the Queue Group to the GQ_Var variable, it will be necessary to manually enter the name of the Queue Group into the Expression window of the Function object - encased in single quotes.

      Example -> GQ_Var = 'QG1@StatServer.GQ'

5). A regular Function object can be used to populate the CallsInQ variable with the number of calls queued in QG1. This requires using the SData function, in conjunction with the GQ_Var, in the Expression window of this Assign function as follows:

      CallsInQ = SData[GQ_Var,'StatCallsInQueue']
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: cavagnaro on October 17, 2014, 05:56:15 PM
Thanks a lot for such details on solution :D but for me is kinda a bug, there is no reason at all that you need to create another variable...any chance you can open a eST with Genesys?
Title: Re: IRD Statistic ServiceFactor1 bringing 0
Post by: gzooby on October 17, 2014, 05:58:37 PM
Yes, the thing of creating a variable is crazy, yep, actually I found this information in a Genesys case...so the thing is thy know there is a bug, but they didnīt fix it yet.

Hope it helps! Thank you all