ISingleCallControl.acceptIncomingCall() method
Accepts an incoming call and sets the device into call state.
Signature
acceptIncomingCall(): Promise<void>;
Returns
Promise<void>
Exceptions
If an incoming call is not pending.
Remarks
If there is already an active call, it will be ended before accepting the incoming call.
The call can be accepted by the user by interacting with their device or with your UC Client.
- In the first case, the incoming call will be automatically accepted and IEasyCallControlBase.signalIncomingCall() will resolve with
true
. - The second case requires your UC Client to manually call this method, before the incoming call is accepted and IEasyCallControlBase.signalIncomingCall() is resolved with
true
.