Voicemail for the Spanish language references non-existent files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
asterisk (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When using the following /etc/asterisk/
[general]
format=wav49
[default]
1 => 1234,Felipe Alfaro Solana,
calling the VoiceMailMain() application to read my voicemail messages, the VoiceMailMain() application references "digits/and" and "digits/afternoon" sounds for the Spanish language, but these files do not exist:
== Parsing '/var/spool/
-- <Zap/1-1> Playing 'vm-received' (language 'es')
-- <Zap/1-1> Playing 'digits/today' (language 'es')
-- <Zap/1-1> Playing 'digits/at' (language 'es')
-- <Zap/1-1> Playing 'digits/5' (language 'es')
-- <Zap/1-1> Playing 'digits/50' (language 'es')
[Jan 4 17:53:39] WARNING[8844]: file.c:563 ast_openstream_
[Jan 4 17:53:39] WARNING[8844]: file.c:813 ast_streamfile: Unable to open digits/and (format 0x44 (ulaw|slin)): No such file or directory
-- <Zap/1-1> Playing 'digits/2' (language 'es')
[Jan 4 17:53:40] WARNING[8844]: file.c:563 ast_openstream_
[Jan 4 17:53:40] WARNING[8844]: file.c:813 ast_streamfile: Unable to open digits/afternoon (format 0x44 (ulaw|slin)): No such file or directory
[Jan 4 17:53:40] WARNING[8844]: say.c:409 wait_file: Unable to play message digits/afternoon
== Spawn extension (phones, 9, 2) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
The files, indeed, do not exist:
# ls /usr/share/
ls: /usr/share/
However, both files exist on the parent directory:
# ls /usr/share/
/usr/share/
I fixed the problem by creating symbolic links:
# cd /usr/share/
# ln -s ../afternoon.gsm .
# ln -s ../and.gsm .
Also, even an easier fix is to untar the latest asterisk- core-sounds- es-gsm- current. tar.gz file that can be downloaded from http:// www.asterisk. org. The most recent file has digits/and.gsm and digits/ afternoon. gsm.