Is it possible to match on codec type in extensions.conf?
It seems you can set ${SIP_CODEC} but you cannot read its value.