Hi everyone
I’m just a rookie for GAD. So right now I got a problem that I can’t fix it out.
If anyone can guild me how to do, please tell me.
My problem is I don’t know how to get phone number from outbound-campaign.
My tab that I have created is work just for Inbound case because I can use ContactID
but it doesn’t work for Outbound
The step that I want is when agent has click a campaign.
GAD will be show the number for calling
and my tab must show information of the person who the agent gonna talk with.
my code <custom.xml>
custom true Information <![CDATA[ ]]> ======================================my code <information.jsp>
<%@ page language=“java” buffer=“none” contentType=“text/html; charset=utf-8” %>
<%@ page import=“com.genesyslab.ail.AilFactory” %>
<%@ page import=“com.genesyslab.ail.AilLoader” %>
<%@ page import=“com.genesyslab.ail.Contact” %>
<%@ page import=“com.genesyslab.ail.ContactAttributeMetaData” %>
<%@ page import=“com.genesyslab.ail.ContactAttributeValue” %>
<%@ page import=“com.genesyslab.ail.ContactManager” %>
<%@ page import=“com.genesyslab.ail.Interaction” %>
<%@ page import=“com.genesyslab.ail.exception.RequestFailedException” %>
<%@ page import=“java.util.Collection” %>
<%@ page import=“java.util.Iterator” %>
<%
// Get data from request
String idContact = (String)request.getParameter(“idContact”);
// Initialize AIL related data
AilFactory factory = AilLoader.getAilFactory();
com.genesyslab.ail.Interaction interaction = factory.getInteraction( (String)request.getParameter( "idInteraction" ) );
ContactManager contactManager = factory.getContactManager();
Contact contact = null;
if ( (idContact != null) && (!idContact.equals("")) && (!idContact.equals("null")) )
contact = factory.getContactManager().getContact(idContact, null);
%>
Information <% if(contact == null) { %> Contact Information Not Available <% } else { %> <% } %> ======================================Please help or ask me more if you need more information.