Local Gateway Licenses

Hi we are about to migrate from CUCM to Webex Calling and we are going to use our current ISR(Cube) as Local Gateway, my question is what licenses do I need for my CUBE, currently they are not in a version that user Smart Licensing, they have local licensing.

I understand that I need UC, SEC and Sip Trunk licenses.

I hope you can help me I am not very clear.