This reverts commit 7ce6210a.
pb with unit test: http://macmini.local:8080/view/linphone%20sdk/job/liblinphone-debian9/18/