manually merge the commit https://dev.iopsys.eu/fork/asterisk/-/commit/c8b89e791ecedf931b3615d264f0c5587c9b363e from 6.5 to devel, due to conflict with early-media