Summary: | ASTERISK-13209: App voicemail try to open files in wrong location | ||
Reporter: | Henrique Mayer (hmayer) | Labels: | |
Date Opened: | 2008-12-12 07:06:19.000-0600 | Date Closed: | 2011-06-07 14:03:12 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | This issue is caused by a wrong language code in file app/app_voicemail.c # rasterisk -vvv -- Starting simple switch on 'DAHDI/1-1' -- Executing [5000@default:1] VoiceMailMain("DAHDI/1-1", "") in new stack -- <DAHDI/1-1> Playing 'vm-login' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-password' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-youhave' (language 'pt_BR') [Dec 12 11:02:07] WARNING[11944]: file.c:602 ast_openstream_full: File digits/1F does not exist in any format [Dec 12 11:02:07] WARNING[11944]: file.c:912 ast_streamfile: Unable to open digits/1F (format 0x44 (ulaw|slin)): No such file or directory -- <DAHDI/1-1> Playing 'vm-message' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-Olds' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-onefor' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-messages' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-Old' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-opts' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-helpexit' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-first' (language 'pt_BR') -- <DAHDI/1-1> Playing 'vm-message' (language 'pt_BR') == Parsing '/var/spool/asterisk/voicemail/default/40402/Old/msg0000.txt': Found -- <DAHDI/1-1> Playing 'vm-received' (language 'pt_BR') -- <DAHDI/1-1> Playing 'digits/day-5' (language 'pt_BR') -- <DAHDI/1-1> Playing 'digits/12' (language 'pt_BR') [Dec 12 11:02:31] WARNING[11944]: file.c:602 ast_openstream_full: File digits/pt-de does not exist in any format [Dec 12 11:02:31] WARNING[11944]: file.c:912 ast_streamfile: Unable to open digits/pt-de (format 0x44 (ulaw|slin)): No such file or directory [Dec 12 11:02:31] WARNING[11944]: say.c:414 wait_file: Unable to play message digits/pt-de == Spawn extension (default, 5000, 1) exited non-zero on 'DAHDI/1-1' -- Hungup 'DAHDI/1-1' app_voicemail tryed to acces digits in digits/pt-de, but digits/pt_BR is th correct location. | ||
Comments: | By: Russell Bryant (russell) 2008-12-12 07:51:13.000-0600 Please add the patch as an attachment, thanks! By: Tilghman Lesher (tilghman) 2008-12-12 10:33:59.000-0600 You're misconstruing the error message. The default zonemessage for pt_BR is: 'vm-received' Ad 'digits/pt-de' B 'digits/pt-de' Y 'digits/pt-as' HM It's looking for a SOUND FILE named pt-de (as in, 'de' meaning 'of') and it cannot find that sound file. The language prefix is certainly being used, but it's not indicating a language prefix in the error message. |