GAD get phone number from the campaign!?!

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.

Hi,

Handling outbound interaction is more complex than inbound ones. Please look for OutboundService and OutboundChain interfaces in AIL documentation for more details.

Let me know if you need more help.

R.

2 Likes

Thanks René.

I’ve got what I want already.

But now I have a new problem that is my web on that tab can’t show in Firefox but it’s work on IE.
I don’t understand why because I copied the URL and paste to Firefox directly then it’s work.

Would you please tell me why and how to fix it? Pls.

Hi,

It’s hard to help you as I haven’t seen your web. Try to use Firebug and check generated HTML code…

R.

2 Likes

Such a shame on me. I got it coz I really don’t know when using iFrame, I have to call the full path for the parent page.
So now everything’s perfect, right now. IE and Firefox have shown what I want.
Thanks, René.