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 .