Asterisk queue announcements

hello
after hard search , i found nothing in google about detailed information of asterisk queue announcements.

problem is that , i cannot configure queue-thereare number :

i want to play file on costum language instead “'digits/2.ulaw”

for example :

“you are the second in queue” and not "you are number 2 " .
how can i change ‘digits/2.ulaw’ to ‘second.ulaw’ ?


<SIP/101-000000e9> Playing 'queue-thereare.ulaw' (language 'costum')
    -- <SIP/101-000000e9> Playing 'digits/2.ulaw' (language 'costum')
    -- <SIP/101-000000e9> Playing 'queue-callswaiting.ulaw' (language 'costum)

sorry for bad english

You will need to modify the source code. The problem is that you are changing the grammar, as well as the vocabulary. If second where grammatically the same as 2, and could safely replace it everywhere, you would just over-record the 2 file.

The definitive level of detail for this sort of question is provided by the source code. My guess is that it is a simple to medium difficulty change, but, if you are not comfortable with the change, you should go to the jobs forums and recruit someone with coding experience.

If you need to ask questions, you would need to use a developer mailing list or IRC channel, but don’t expect complete solutions.

Incidentally, the Asterisk code does not specify the recording format. It chooses the best file extension from those available, given the target codec.

The literal answer to your question is that you simply replace the contents of the file, in your language version, however the result will be that Asterisk says “you are number second in the queue” and, when reading out the phone number 555 1212 in English style, will read it as five five five one second one second.

thanks david55.

I thought that it would be possible .

it is easy way to change “digits/2” to costum language with "second ", but when i want to use
saynumber(2) application it will play “second” instead “2”