Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

?
sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
^
New DevConnect members must have forum permissions in order to post messages.
If the Reply and New Post buttons are not available to you, please request access using a General Support request ticket.
Forum Index » JTAPI » Connection[] is null   XML
 
Author Message
NobuhiroTentaku



Joined: 07/07/2021 23:38:29
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: 30/11/2009 05:00:18
Messages: 1792
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: 07/07/2021 23:38:29
Messages: 12
Offline

Thank you, Martin for your quick response and help.

Regards,
 
 
Go to: