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
^
Forum Index » Avaya Breeze™ » A Call Transferring to two people.   XML
 
Author Message
ThangTQ



Joined: 31/05/2017 20:56:09
Messages: 19
Offline

Hi All,

I'm using Avaya Breeze and finding a solution .

Calling : User A
Called : User B, C

My requirement is A calling to an user B, the user B is answered. Then the system drop the participant with the user B and adding the participant C.

I'm using divertTo(B) -> drop participant B -> divertTo(C) but not success...

Thanks in advance,
Thang,
JoelEzell



Joined: 15/11/2013 10:26:35
Messages: 600
Offline

Hi Thang, try this:
call.getCallPolicies().setCallTerminationPolicy(CallTerminationPolicy.NO_PARTICIPANT_REMAINS);
call.dropParticipant(b);
call.addParticipant(a);

When you set the call termination policy like this, Breeze will keep one-legged calls alive. Note that if you then want for the call between A and C to be dropped when one of those participants hangs up, you'll need to set the policy back to ONE_PARTICIPANT_REMAINS (the default).
ThangTQ



Joined: 31/05/2017 20:56:09
Messages: 19
Offline

Thanks Joel,

I still facing errors.

My demo system as following: endpoint-A(2304@collaboratory.avaya.com), Breeze System-B(2306@collaboratory.avaya.com) , endpoint-C(2305@collaboratory.avaya.com).

I use call.divertTo in the callIntercepted, then the call forwarded successful and able to hear voice from 2 parties.


But when I use call.divertTo in other functions , the call is established with no voice from 2 parties (A,C). Cann't hear any voice from A->C and vice versa.

Regards,
JoelEzell



Joined: 15/11/2013 10:26:35
Messages: 600
Offline

Hi Thang. divertTo() should only be invoked during the callIntercepted callback. I just realized that our Javadoc is insufficient in stating this and I've filed a trouble report to fix that.

After the call is established (or after the call is alerting at an endpoint) you'll need to use the methods that I described below (setCallTerminationPolicy, dropParticipant, addParticipant).

Did you see an IllegalStateException when you invoked divertTo a second time? You should have seen one. If not, this is potentially a bug.
 
 
Go to: