Viewing Extended Status And Call Details In CCPulse
By Tom ‘NawDeeb’ Murdach
Required: Statserver 8+ CCPulse 8+
Follow the steps below to enable a CCPulse view which shows the following agent status information: NotReady Reason Place Login Conn ID of Inbound Call ANI of Inbound Call DNIS of Inbound Call
Create the following statistics on StatServer:
`
[AgentTargetStatus]
MainMask = *
Objects = Agent
Category = CurrentTargetState
Subject = AgentStatus
In the CCPulse Application of CME, in Options, Set CustomStatistic, ExtendedCurrentStatus = true.
Create a new Agent template called Extended Status
Add statistic AgentExtendedStatus with Change Based notification
Add statistic AgentTargetStatus with Change Based notification
PLACE: Add a formula with the following content (when using copy/paste the quotes may need to be replaced): result.Text = GetAgentState(); function GetAgentState() { if(state.type != "AgentState") return "n/a"; var r = state.PlaceID return r; }
LOGIN: Add a formula with the following content: result.Text = GetAgentState(); function GetAgentState() { if(state.type != "AgentState") return "n/a"; var r = state.LoginID return r; }
Formula for Reason Code column (based on the ReasonCode syntax used by your softphone): result.Text = state.type == "AgentState" ? Reason1() : "n/a"; function Reason1() { var r = ""; for(var i = 0; i < state.CallData.Count; i++) { var cd = state.CallData.Value(i); if (cd.Status == "NotReadyForNextCall" & cd.Value > "0" & (cd.Key == "ReasonCode" || cd.Key == "reasoncode")) return cd.Value; } r += "N/A"; return r; }
Formula for Active Call column: result.Text = state.type == "AgentState" ? CallInfo1() : "n/a"; function CallInfo1() { for(var i = 0; i < state.CallData.Count; i++) { var cd = state.CallData.Value(i); var r = ""; r += cd.ConnID + " ANI:" + cd.ANI + " DNIS:" + cd.DNIS; if (cd.ConnID > "0") return r; } var r = "N/A"; return r; }
Create an Agent Group or individual agent view selecting this new template.
tmurdach -
Great information! But I seem to be CCPulse-challenged. Could I impose on you to provide an example of setting up to display the CallData information (ConnID, ANI, or DNIS)?
If you can attach ConnID, DNIS, ANI as UserData via stratyegy or agent desktop, then there is a solution in Genesys SolutionSearch “How to show UserData in the CCPulse” (id 78740).
Question: Is there a doc that outlines the setup of these data structures?
Very familiar with the scripting aspect just struggling to know what syntax etc. to use and what data is available
Thank you all, Can we have the dialed numbers, internal calls ( ANI, dialed number) through the CCP ?the agents make the calls manually,
I have configured the above scenarios and it was working for all incoming calls routed from URS towards the call centers
We have OXE 4400 and Genesys 7.6
Thank you all
From CCPulse 8.0.101.27 Genesys add [CustomStatistic] option ReasonCodeData=Userdata (optional values: Hardware; Software). You can use all of them simultaneously.
Additionally (I don’t remember from which version) to activate ‘state.CallData’ should create statistical type [CurrentExAgentState] on your Stat Server
[CurrentExAgentState]
Category=CurrentState
MainMask=*
Objects=Agent
Subject=DNAction
and add statistic based on [CurrentExAgentState] statistical type to the CCPulse View.
Is it possible to get extended status information on an Agent Group instead of an Agent ? if instanciate on an agent group, state.type returns undefined.