OK, problem solved, but not really properly I believe.
When copying the value of the global_codec_prefs variable (Advanced / Variables) to the internal SIP profile (Advanced / SIP Profiles), i.e. replacing the values (both $${global_codec_prefs}) of the inbound-codec-prefs and...