Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bronze

phone stat .jsp

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.

2 REPLIES
Bronze

Re: phone stat .jsp

Here is attachement

Bronze

Re: phone stat .jsp

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") %>

224
Views
0
Helpful
2
Replies
CreatePlease to create content