Author Message
Avatar
Joined: Jan 17, 2018
Messages: 3
Offline
Hi,

I have using Avaya CM & AES 6.3 and ecsjtapia.jar(V 6.1.0.94).


I'm communicated the Avaya AES server using JTAPI Impl.
Our employs received call via IVR redirection. So we got only correct from number. Returned the to number was common number
(doesn't return the received agent number)


So we need the Customer entered DTMF digits details via JTAPI.

Thanks & Regards,
Rajesh S.RA
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Offline
Your post seems to be incomplete. Can you please explain what your question is?

Martin
Avatar
Joined: Jan 17, 2018
Messages: 3
Offline
Sorry for the inconvenience.

I will tried to explain briefly.
First i’m listen the all Events triggered from Avaya AES server.
That triggered events have connection objects and terminal objects. so i’m parse the objects and collect the i wanted details (like from and to numbers).
Following case i’m doesn’t got the correct details from AES server.

Case Ex:
My company number : 12345.
My company IVR mapped details : 1 for 1001, 2 for 1002, 3 for 1003.
My extn (to number) : 1003.
Customer number(from number) : 99999.


When customer call to my company number 12345. Avaya read the IVR menu like (press 1 for Agent1, Press 2 for agent2, Press 3 for agent3).
Customer press the digit 3. Then the call was redirected to my extn (terminal) 1003.
This time AES server provide the from number as 9999 and to number as 12345.

Actually i want from number as 99999 and to number as 1003.
So i’m planned to capture the DTMF code. but no way to capture the DTMF code via JTAPI.


Can you please help to solve this problem or suggest any better solutions.

Thanks & Regards,
Rajesh S.RA
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Offline
The Called and Calling numbers are being reported. What you need is the Alerting or Answering number. For Alerting number, you should be able to get this from the Alerting event with something like:

String connName = event.getConnection().getAddress().getName();

There will be something similar in the Established event for the answering number.

I do not think it is possible to get DTMF using JTAPI. You would probably need to use something like DMCC.

Martin
Avatar
Joined: Jan 17, 2018
Messages: 3
Offline
Thanks for your info MartinFlynn

public void connectionAlerting(CallControlConnectionEvent arg0) {

try{
logger.log(Level.INFO, "============== connection Alerting =========> C1 ===> "+arg0.getConnection().getState());
logger.log(Level.INFO, "From & To : "+arg0.getCallingAddress().getName()+" ===> "+arg0.getCalledAddress().getName()+"");

}
catch(Exception e){
logger.log(Level.WARNING, "Exception in triggered Event",e);
}
}


I tried as you said. following output comes.

May 08, 2018 4:37:28 PM zti_avayaimpl_java1_test1.CallControlTerminalConnectionListenerTest connectionAlerting
INFO: ============== connection Alerting =========> C1 ===> 52


May 08, 2018 4:37:45 PM zti_avayaimpl_java1_test1.CallControlTerminalConnectionListenerTest connectionAlerting
INFO: From & To : 99999 ===> 12345


We did not get the information we needed.
That means we want a from number as 99999 and to number as 1003, but we got is from number as 99999 and to number as 12345.

Can you please help to solve this.


PS: i'm also tried
connectionAlerting(ConnectionEvent arg0)
But it's give only one number. we need from and to numbers in single event .

Ex :
connectionEstablished(CallControlConnectionEvent arg0)
This is provided correct details in all other senorios except call comes via DTMF .
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Offline
It looks like you did not try what I suggested. 12345 is the Called number. You are looking for the Alerting number. As I said, this can be seen using:

String connName = event.getConnection().getAddress().getName();

You may find it useful to have a look at the AgentView sample application which can be downloaded from the Devconnect website.

Martin
Go to:   
Mobile view