Canreinvite/directmedia

A very quick and hopefully easy question…

In version 11.x of Asterisk, which is the correct setting to use - ‘canreinvite’/‘directmedia’?

I’ve had a good search around but can only find references to ‘canreinvite’ being changed to ‘directmedia’ in version 1.6. I presume this is still in use and ‘canreinvite’ is now deprecated, but can anyone confirm?

Thanks in advance.

They are functionally the same. The option was renamed to better reflect what it actually controls.