How change the syntax of the playback queue

For example - instead of “You are currently caller number” , “one” make “You are currently caller number” , “first”.

How ?

PS I have not found a way to make this through say.conf

Modify app_queue.c and rebuild.

Why would you want to do this?

Or override the sound files.

Changing the sound files only work if you don’t mind all uses of numbers changing.

I need to instead of ‘queue-thereare’ and ‘digits/2’ playback ‘queue-thereare’ and ‘digits/h-2’ , that more correctly in my case. Control the syntax would be very convenient

As david said you should change app_queue.c and recompile your asterisk .