transferBlind method
Transfer this call to specified extension
Implementation
Future<void> transferBlind(String toExt) async {
_logs?.print('Transfer blind callId:$myCallId to:"$toExt"');
if (toExt.isEmpty) return;
try {
await PjsipConnectFlutter().transferBlind(myCallId, toExt);
_state = CallState.transferring;
notifyListeners();
} on PlatformException catch (err) {
_logs?.print(
'Can\'t transfer callId:$myCallId Err: ${err.code} ${err.message}',
);
return Future.error((err.message == null) ? err.code : err.message!);
}
}