How to find the ANI in the outbound script

Unanswered Question
Mar 30th, 2008

Hi All;

I discover that the numbers in the import file are coming as ANI and that is what we see in the CTIOS client (for outbound, the blended agent software).

I need to capture this ANI in the script and store it as a variable (any of the vairables) to be passed for the Gateway ODBC.

Any one knows how can I store the ANI? Under which variable? Under which icon and properties I can find it?

Any help?

Regards

Bilal

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.

I'm not sure you can do it server-side.

The ICM script is finding an agent to send the reservation call to. Once it finds an agent, it will reserve them and call a customer (more than 1 if over-dialing is set). If the customer answers, the other end is transferred to the agent. If the customer does not answer, the agent is kept reserved and another call is placed to another customer. You can easily see this. These are calls to different customers - yet the routing script was unaware of this.

I could not figure out how to do it server-side.

I think you will find that client-side lookup is the way to go. Since you are using CTIOS client, you can take the CTI OS Toolkit application and add VB (say) code to do the lookup, making a customised CTIOS Soft Phone.

You would not need to use the ANI, but the BAAccountNumber - which you loaded during the import process. This can easily be the primary key to a table in the back-end system you need to query.

I have done this for a customer using Outbound Direct Preview and it worked nicely.

Regards,

Geoff

bilalghayad Mon, 03/31/2008 - 05:06

Dear Geoff;

Your answer is very helpful.

Now if I proceeded in BAAcountNumber, the question is: how can I know that this call is that BAAcounNumber? In other words, it will pass first number then second number and so on, so each time is passing how can I determine which BAAcountNumber to be used?

I might need to ask it as following:

In the script, how can I know which BAAcountNumber in the table that I have to use with the current call that will be send for the CTIOS client?

Any advise?

Regards

Bilal

bilalghayad Tue, 04/01/2008 - 00:05

Sorry Geoff;

Do u mean that the BAAcountNumber is the CustID in the table, so based on that CustID then I can determine the WorkPhone? But maybe I need to us DB Lookup node to be able to query based on the CustID and have the WorkPhone.

Is it like that?

Regards

Bilal

bilalghayad Tue, 04/01/2008 - 01:45

I tried call.BAAccountNumber but it is blank, I tried the following:

I used set variable icon, and I set the call.PeripheralVariable1=BAAcountNumber

But I discovered that nothing assigned to the PeripheralVariable1.

Any help?

Regards

Bilal

bilalghayad Wed, 04/02/2008 - 07:03

Do I need to do any settings in the Blended Agent configuration manager to be able to use the BAAccountNumber?

Any help?

Regards

Bilal

Amien7049 Sun, 12/21/2008 - 09:25

Did you solve this problem? i'm having the same issue .. variable is filled with

Amien7049 Sun, 12/21/2008 - 10:02

can you please explain some more ..

i'm taking about script editor .. i'v set there:

call.PeripheralVariable1=BAAcountNumber

but the variable in termination_call_detail is still empty .. this while Variable2 is filled

Amien7049 Sun, 12/21/2008 - 10:07

if you are refering to the import of the outbound calls .. the accountnumber is imported.. do i need to do something special to import it in the BAAcountNumber?

Amien7049 Sun, 12/21/2008 - 13:42

are you refering to ECCValue in Termination_Call_Variable?

but what is filling Variable1..10 in Termination_Call_Detail? all using Wrap-Data from Agent Desktop?

Amien7049 Mon, 12/22/2008 - 11:42

thats really strange .. the BAAccountNumber is indeed shown at the desktop in my case .. its really strange that its not possible to transfer the BAaccount to the TCD.

Edward Umansky Fri, 01/02/2009 - 11:01

The outbound ECC variables will always be null in the reservation scripts, so you will not be able to manipulate them in script editor. The reason for this is described in one of the earlier posts: a single reservation call might correspond to multiple customer calls, so it would not make sense to have any customer data associated to the reservation route request. The customer data is set after the dialer reserves an agent via a CTI update. If you need to perform some processing on the outbound ECC variables, you can do this via CTIOS customization.

pathyilbinu Sat, 10/17/2009 - 23:30

Hi,

Thanks for the clarification, when it was reserve all ECC variables will be null in Agent Campaign.

What about IVR campaign?

Any idea that you can share, we need to pass CLI or ANI to the IVR campaign.

Kindly help us.

Actions

This Discussion