Summary: | ASTERISK-08995: Voice mail prompts in languages other than English play English digits and dates | ||
Reporter: | Javier Henderson (javierhenderson) | Labels: | |
Date Opened: | 2007-03-13 08:00:19 | Date Closed: | 2011-06-07 14:03:22 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | With "language=es" specified, the voicemail prompts appear in Spanish, except for dates and digits (for example, "the user at extension 2001" is spoken as "el usuario en extension two zero zero one"). The same behavior was verified with "language=fr". ****** ADDITIONAL INFORMATION ****** Debug output: -- <SIP/xxx-00d83000> Playing 'vm-theperson' (language 'es') -- <SIP/xxx-00d83000> Playing 'digits/2' (language 'es') -- <SIP/xxx-00d83000> Playing 'digits/0' (language 'es') -- <SIP/xxx-00d83000> Playing 'digits/0' (language 'es') -- <SIP/xxx-00d83000> Playing 'digits/1' (language 'es') -- <SIP/xxx-00d83000> Playing 'vm-isonphone' (language 'es') -- <SIP/xxx-00d83000> Playing 'vm-intro' (language 'es') Regardless of the debug output showing that the 2 0 0 1 digits were spoken in Spanish, they were played in English. This has been observed on Asterisk 1.4.1 running on FreeBSD 6.2-RELEASE. The standard English sounds are in /usr/local/share/asterisk/sounds and the standard Spanish sounds are in /usr/loacl/share/asterisk/sounds/es I set the severity as major because some sound files only exist in Spanish. Since the application seems to be looking for the digits files in the wrong directory, depending on the voice mail count the user might not be able to retrieve its voice mail messages since the voicemail application terminates the call when it tries to play a nonexistent file. One example is the file 1M.<codec> | ||
Comments: | By: Caio Begotti (caio1982) 2007-03-13 08:54:44 I believe it's related to http://bugs.digium.com/view.php?id=9213 Could some admin add a relationship link between them? By: Joshua C. Colp (jcolp) 2007-03-13 13:05:23 From UPGRADE.txt: WARNING: Asterisk 1.4 supports a new layout for sound files in multiple languages; instead of the alternate-language files being stored in subdirectories underneath the existing files (for French, that would be digits/fr, letters/fr, phonetic/fr, etc.) the new layout creates one directory under /var/lib/asterisk/sounds for the language itself, then places all the sound files for that language under that directory and its subdirectories. This is the layout that will be created if you select non-English languages to be installed via menuselect, HOWEVER Asterisk does not default to this layout and will not find the files in the places it expects them to be. If you wish to use this layout, make sure you put 'languageprefix=yes' in your /etc/asterisk/asterisk.conf file, so that Asterisk will know how the files were installed. Therefore if you put languageprefix=yes under [options] in asterisk.conf it will work as you expect. By: Javier Henderson (javierhenderson) 2007-03-13 13:08:55 I have langaugeprefix=yes in the asterisk.conf file already, the problem still exists and can be reproduced consistently. By: Joshua C. Colp (jcolp) 2007-03-13 13:11:06 Please attach your asterisk.conf By: Javier Henderson (javierhenderson) 2007-03-15 10:09:22 > cat /usr/local/etc/asterisk/asterisk.conf [directories] astetcdir => /usr/local/etc/asterisk astmoddir => /usr/local/lib/asterisk/modules astvarlibdir => /usr/local/share/asterisk astdatadir => /usr/local/share/asterisk astagidir => /usr/local/share/asterisk/agi-bin astspooldir => /var/spool/asterisk astrundir => /var/run astlogdir => /var/log/asterisk [options] languageprefix=yes By: Jason Parker (jparker) 2007-05-11 15:49:33 Can you show us the output of "core show settings", specifically the "Directories" section. By: Javier Henderson (javierhenderson) 2007-05-12 12:49:35 As requested: *CLI> core show settings No such command 'core show' (type 'help' for help) *CLI> core show application applications audio channel channels channeltype channeltypes codec codecs config file function functions globals hints image license profile switches threads translation uptime version video warranty *CLI> core show version Asterisk 1.4.1 By: Jason Parker (jparker) 2007-05-14 11:40:55 "core show settings" must be new in trunk. What I'm guessing is happening, is that it isn't picking up the right asterisk.conf file. Could you try running asterisk with -C /usr/local/etc/asterisk/asterisk.conf ? By: Joshua C. Colp (jcolp) 2007-06-19 09:00:37 It's been over a month since Qwell's suggestion with no reply of a yay or nay... if that didn't solve the issue please reopen and I'll log onto your machine (if permitted) and look at it directly. |