https://gitlab.linphone.org/BC/public/linphone/merge_requests/512 and bctoolbox!41 (merged) and https://gitlab.linphone.org/BC/private/flexisip-tester/merge_requests/6