" /> CurrentAgentState for multimedia interactions - Genesys CTI User Forum

Author Topic: CurrentAgentState for multimedia interactions  (Read 4032 times)

Offline S2H

  • Jr. Member
  • **
  • Posts: 56
  • Karma: -5
CurrentAgentState for multimedia interactions
« on: September 22, 2015, 01:06:38 PM »
Advertisement
hi,
I need to built the CurrentAgentState stat for multimedia interactions. But, i faced an issue.

CurrentAgentState

MAIN MASK *
CATEGORY CurrentState
SUBJECT AgentStatus
OBJECTS Agent


I had login an agent with media type email & chat. And, built this stat CurrentAgentState & it is not working correctly
for both media types.

So, how to built separately the stat for both media type email & chat.


Thanks.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: CurrentAgentState for multimedia interactions
« Reply #1 on: September 22, 2015, 01:27:20 PM »
And what you expect to be? And what is happening now?
What would you get if differentiate media types?
The agent doesn't has a MediaType, only interactions do.

Offline S2H

  • Jr. Member
  • **
  • Posts: 56
  • Karma: -5
Re: CurrentAgentState for multimedia interactions
« Reply #2 on: September 22, 2015, 01:37:16 PM »
Thanks for the reply...


If one media type is in notreadyfornextcall and others in waitfornextcall, it shows notreadyfornextcall. I need to built the stat showing current status based on the media type.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: CurrentAgentState for multimedia interactions
« Reply #3 on: September 22, 2015, 03:51:38 PM »
Then monitor the DN at the place, the status NotReady type itself. Not current status

Enviado de meu C6603 usando Tapatalk


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: CurrentAgentState for multimedia interactions
« Reply #4 on: September 23, 2015, 07:01:42 AM »
Read and learn how the reporting works - learn about Status priorities on particulars media channels with relation to the place or agent status. Read about using the mediatype-based filtering, etc.

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: CurrentAgentState for multimedia interactions
« Reply #5 on: September 23, 2015, 02:37:08 PM »
You should follow the below steps to achieve Agent Current Status on Media Type:

Below method is only to achieve Email Media Type Agent Current Status. You must edit the formula for different media type.

1. Create following stat in Stat Server and add in CCPulse report with desired Media Type Filter. Example: EMAIL_MEDIA

[CurrentStatusTime]
Subject = DNStatus
Objects = Agent, Place, GroupAgents, GroupPlaces
MainMask = *
Category = CurrentTime

2. Create anotherstat in Stat Server and add in CCPulse report with desired Media Type Filter. Example: EMAIL_MEDIA

[AgentExtendedStatus]
Subject = DNAction
Objects = Agent
MainMask = *
Category = CurrentState

3. Create Formula in CCpulse report:

result.Text = GetAgentEmailState();
function GetAgentEmailState()
{
  if(state.type != "AgentState")
    return "n/a";
 
  for(var e = new Enumerator(state.DNs); !e.atEnd(); e.moveNext())
  {
    if (e.item().DNType == "Unknown" && e.item().DN == "email")
    { return e.item().Status; }
  }
  return "";
}

Offline S2H

  • Jr. Member
  • **
  • Posts: 56
  • Karma: -5
Re: CurrentAgentState for multimedia interactions
« Reply #6 on: September 24, 2015, 11:44:19 AM »
Thanks a lot...