completeConsultTransfer method
Consult transfer, step 2a: once the consult is answered, hang it up and transfer the customer to the same extension. Returns false when there is no answered consult or the customer already ended. Follow the result with setTransferStatusListener.
Implementation
Future<bool> completeConsultTransfer({
Map<String, String>? extraHeaders,
}) async {
final action = OmiAction(
actionName: OmiActionName.COMPLETE_CONSULT_TRANSFER,
data: {'extraHeaders': extraHeaders},
);
return await _controller.action(action) == true;
}