[asterisk-bugs] [Asterisk 0014067]: App voicemail try to open files in wrong location

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 12 10:33:59 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14067 
====================================================================== 
Reported By:                hmayer
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14067
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 163387 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-12 07:06 CST
Last Modified:              2008-12-12 10:33 CST
====================================================================== 
Summary:                    App voicemail try to open files in wrong location
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 at 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0096318) Corydon76 (administrator) - 2008-12-12 10:33
 http://bugs.digium.com/view.php?id=14067#c96318 
---------------------------------------------------------------------- 
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. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-12 10:33 Corydon76      Note Added: 0096318                          
======================================================================




More information about the asterisk-bugs mailing list