Fix bug regarding codec engine configuration. AllocateAVP and Message didn't do it.