Display calls in queue on 7940

Unanswered Question
Mar 16th, 2006
User Badges:

Hi does someone know how can i display calls in queue on ip phone 7940, what do i have to do, i would like it like real-time reporting stats, but on tel, can i use stats service from jsp folder somehow, do i have to connect to database, what tables...

Any hint


Thanx


Vlad

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
mmelbourne Wed, 03/22/2006 - 15:46
User Badges:
  • Silver, 250 points or more

Yes, I've done this with some success with CRS 3.5.


Basically, the steps are:


Create an HTTP trigger (IPCCX Premium required) which runs a script. In this script use the "Get Reporting Statistic" Step to fetch the CSQ stats you want to display (logged in resources, oldest contact in queue, average wait time, etc) and then use the Send JSP step to use a JSP template to send the results to a .JSP page which builds the resultant XML to display text on the IP Phone.


A sample JSP file (placed in the Tomcat Webapps/ROOT folder) would be:


<%@ page language="java" import="java.util.*" %>

<%

response.addHeader("Refresh","60; http://ipcc:8080/stats");

response.setContentType("text/xml");

%>





CSQ Stats

Agents Logged In: <%= parameters.get("LoggedUser") %>

Agents Ready: <%= parameters.get("AgentReady") %>

Agents Talking: <%= parameters.get("AgentWork") %>

Calls in Queue: <%= parameters.get("CallsQueued") %> Oldest: <%= parameters.get("OldestInQueue") %>s

Total Calls Handled: <%= parameters.get("TotalCalls") %>





In this instance, an HTTP trigger of /stats has been created (no trailing '/').


The "Set JSP" step maps the variables used in the "Get Reporting Statistic" steps onto the keyword values used in the JSP template.


Then create a phone service where the URL is that of the HTTP trigger and assign it to the phones, or make it the Idle URL of the phones.

m.paolelli Tue, 04/04/2006 - 05:35
User Badges:

Yes... but can you tell me how I can do that if I do not have IPCC Express but 'just' IPCC Enterprise? So I do not have an ICD...

Actions

This Discussion