D
D
DoubleWish2016-11-21 21:32:35
JavaScript
DoubleWish, 2016-11-21 21:32:35

How to determine who ended a call on VoxImplant?

Hello.
Tell me, who can come across. The problem is the following - the operator is one, 5 people call at the same time. In order for her to call back later, you need to throw tasks onto the stack (everything is provided there, etc.).
But the bottom line is that when the conversation ends, absolutely the same event occurs (VoxImplant.CallEvents.Disconnected), as just a person ended the call on their part, and the onCallDisconnected callback fires. But how to notify him from which side it was initialized? After a conversation, the operator pressed a button, or he simply did not get through, hanging up while waiting.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
grigoryvp, 2016-11-22
@grigoryvp

The event comes to the call object. If Disconnected came for the user object, then it hung up. If for the object of the operator, then the operator beat him off.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question