dropCall method

Future<bool> dropCall()

Decline a ringing incoming call with 603, which stops ringing on every device of the extension. Hangs up when the call is already answered.

Implementation

Future<bool> dropCall() async {
  final action = OmiAction(actionName: OmiActionName.DROP_CALL, data: {});
  return await _controller.action(action) == true;
}