Author Message
JoelEzell
Joined: Nov 15, 2013
Messages: 780
Offline
Great, thanks for letting us know.
Swapnil_Bhosale
Joined: May 18, 2015
Messages: 88
Offline
Hi Joel,

These solutions worked.
Thanks you so much.

Regards,
Swapnil.
Swapnil_Bhosale
Joined: May 18, 2015
Messages: 88
Offline
Hi Joel,


I had some issue with blind transfer.

I am able to add/drop participants.
1) Add new Participant
2) Drop old participant

Both task are being done when Old participant is in alerting state.

But, as soon as first participant is dropped whole call is getting dropped.
You mentioned about some Race Condition. Can you please elaborate on same.
I think i am facing Race condition here.


any idea?



Thanks,
Swapnil.
JoelEzell
Joined: Nov 15, 2013
Messages: 780
Offline
Hi Swapnil, in our current implementation, an INVITE won't be sent to the second party until the first party alerts (or an error response is received). If you invoke dropParticipant() on the original participant before you've received an alerting or dropped event for that participant, the call will drop even if you've added the first participant.

If you know at call intercept time that you want to send a call to an alternate destination, you should use divertCall(). If you instead want to send the call to the original destination and at some later time send it to an alternate destination, you'll need to ensure that you've first received an alerting or dropped event for that original participant. In general, those events should arrive very quickly so this wouldn't be an issue.
Go to:   
Mobile view