Payload could be empty on call termination. We have to check if it exists before getting metrics.
J'ai eu un crash lors d'un linphone_call_terminate. Le payload n'existait plus.
Le crash était uniquement sur local_payload. J'en ai profité pour rajouter un check sur remote_payload au cas où.
Edited by Julien Wadel