Method uncompress_body_if_required removes that Content-Encoding message header therefore liblinphone ha sno means of knowing whether the body was compresses or not. Now belle-sip adds a custom header "X-BelleSip-Removed-Content-Encoding" to pass the encoding to liblinphone allowing to verify that both sender and receiver have it set