11-09-2009 01:09 PM - edited 03-13-2019 06:45 PM
I recently upgraded my call manager and uccx and tried to get the phone stat .jsp back working but the output on the phone has many spaces and displays the actual displays the tags like <CiscoIPPhoneText> and </CiscoIPPhoneText>. As far as the Queue Statistics that part is also displaying with the correct values. Here is .jsp...
<%@ page language="java" import="java.util.*" %>
<%
response.addHeader("Refresh","45; url=http://10.14.114.26:8080/consumer");
response.setContentType("text/xml");
%>
<jsp:useBean id="parameters" type="java.util.Dictionary"
scope="request"/>
<CiscoIPPhoneText>
<Title>HelpDesk RealTime Stats</Title>
<Text>Agents Logged In: <%= parameters.get("LoggedUser") %>
Agents Ready: <%= parameters.get("AgentReady") %>
Agents Talking: <%= parameters.get("AgentWork") %>
Calls in Queue: <%= parameters.get("CallsQueued") %>
Oldest Call in Queue (sec): <%= parameters.get("OldestInQueue") %>
Total Handled: <%= parameters.get("TotalCalls") %>
Total Abandonded: <%= parameters.get("Abandonded") %>
Total Calls: <%= parameters.get("OverallCalls") %>
</Text>
</CiscoIPPhoneText>
Attached is the display output.
11-09-2009 01:10 PM
11-10-2009 10:13 AM
FYI - Resolved:
<%@ page language="java" import="java.util.*" %><%
response.addHeader("Refresh","45; url=http://10.14.114.26:8080/consumer");
response.setContentType("text/xml");
%>
scope="request"/>
Consumer RealTime Stats
Agents Logged In: <%= parameters.get("LoggedUser") %>
Agents Ready: <%= parameters.get("AgentReady") %>
Agents Talking: <%= parameters.get("AgentWork") %>
Calls in Queue: <%= parameters.get("CallsQueued") %>
Oldest Call in Queue (sec): <%= parameters.get("OldestInQueue") %>
Total Handled: <%= parameters.get("TotalCalls") %>
Total Abandonded: <%= parameters.get("Abandonded") %>
Total Calls: <%= parameters.get("OverallCalls") %>
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: