Author Message
NobuhiroTentaku
Joined: Jul 7, 2021
Messages: 12
Offline
Dear Sir,

I am monitoring event callbacks of CallControlTerminalConnectionListenerAdapter and every time when terminalConnectionRinging() is called, I try to get the original callingAddress from connections[].
Let's assume that A calls B, then B is transferred to C. When C's terminalConnectionRinging() is called, I get Connection[] by B's Address.getConnections().
In case of consult transfer I got 2 connections (=Connection[2]), Connection[0].getCall().getCallingAddress=A (=original calling address), Connection[0].getCall().getCalledAddress=B, Connection[1].getCall().getCallingAddress=B and Connection[1].getCall().getCalledAddress=C.
In case of blind transfer I got NO connections (Connection[]==null).
So I would like to know how to get original calling address in case of blind transfer and what is the difference between consult transfer and blind transfer.

Thank you for your help in advance.
Regards,
MartinFlynn
Joined: Nov 30, 2009
Messages: 1811
Offline
You may find connectionAlerting() to be a better callback to use. You can see it being used in the AgentView sample application on the Devconnect website.

Martin
NobuhiroTentaku
Joined: Jul 7, 2021
Messages: 12
Offline
Thank you, Martin for your quick response and help.

Regards,
Go to:   
Mobile view