asterisk queue announcements

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

asterisk queue announcements

Postby irakla7777777 » Sat Jun 09, 2012 4:32 am

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' ?

Code: Select all

<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
irakla7777777
Newsterisk
 
Posts: 12
Joined: Thu Feb 16, 2012 2:28 pm

Re: asterisk queue announcements

Postby david55 » Sat Jun 09, 2012 5:08 am

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.
david55
Moves Like Spencer
 
Posts: 7694
Joined: Fri Sep 26, 2008 5:03 am

Re: asterisk queue announcements

Postby irakla7777777 » Sat Jun 09, 2012 5:18 am

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"
irakla7777777
Newsterisk
 
Posts: 12
Joined: Thu Feb 16, 2012 2:28 pm


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 23 guests