How to make Alexa recognize numerical codes?

Hello!

Is there a way to make Alexa recognize when the user says a numerical code?
For example: If the user says “three-two-one-six-five”, it’ll be recognize as “32165”.
In my project, the user have to say a code with eleven numbers

When I tested, it just returns as “zero”.

although It’s different from the original purpose, but how about AMAZON.phonenumber? seems it gets 11-digit number.