<%@ page language="java" contentType="text/html"%> <%@ page import="java.text.*,java.util.*" %> This is a web-based third-party system within your organization

This is a web-based third-party system within your organization

This simple web page simulates a web-based third-party system within your organization.

To use the API within Client Manager that exposes click to transfer, you're going to need to pass the values of the following parameters, that you have just received via the lookup that opened this web page:

zytag=<%=request.getParameter("zytag")%>

agentemail=<%=request.getParameter("agentemail")%>

This server-side JSP script has received the following parameters from your call lookup:

<% Enumeration in = request.getParameterNames(); while(in.hasMoreElements()) { String paramName = in.nextElement().toString(); out.println(paramName + "=" + request.getParameter(paramName)+"
"); } %>

Let's demonstrate transfer to queue:

You can use a normal HTML form and let a button do the work:

"> ">

or you can use a hyperlink to & zytag=<%=request.getParameter("zytag")%>& target=TestQueue1000& type=queuetransfer " target="my_iframe">Transfer to voice queue TestQueue1000.

Let's demonstrate transfer to agent:

"> ">

or you can use a hyperlink to & zytag=<%=request.getParameter("zytag")%>& target=administrator@zylinc.com& type=agenttransfer " target="my_iframe">Transfer to agent administrator@zylinc.com.

Let's demonstrate transfer to number:

"> ">

or you can use a hyperlink to & zytag=<%=request.getParameter("zytag")%>& target=%2B4512345678& type=transfer " target="my_iframe">Transfer to phone number +4512345678.

Results appear in this iframe