bye method
End this call (send BYE request)
Implementation
Future<void> bye() async{
_logs?.print('Ending callId:$myCallId');
try{
await SiprixVoipSdk().bye(myCallId);
_state = CallState.disconnecting;
notifyListeners();
} on PlatformException catch (err) {
_logs?.print('Cant end callId:$myCallId Err: ${err.code} ${err.message}');
return Future.error((err.message==null) ? err.code : err.message!);
}
}