[asterisk-bugs] [Asterisk 0012379]: Changes in #0012115 break Voicemail multi-language capability

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Apr 8 14:25:46 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12379 
====================================================================== 
Reported By:                kuj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12379
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-07-2008 17:08 CDT
Last Modified:              04-08-2008 14:25 CDT
====================================================================== 
Summary:                    Changes in
http://bugs.digium.com/view.php?id=0012115 break Voicemail multi-language
capability
Description: 
Voicemail will not play user-recorded alternate-language greetings any
longer with the changes introduced to function fileexists_core (file.c) in
the fixes for http://bugs.digium.com/view.php?id=0012115. Fileexists_core now
sports a check for absolute
pathname upfront and will return those absolute pathnames without adding a
language specific (sub-) directory. Consequently, VM greetings (greet, busy
and unavail) cannot switch from the default language to a secondary
language.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012115 MoH file playback is broken
has duplicate       0012383 Background() application ignores the ch...
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 04-08-08 14:25  
---------------------------------------------------------------------- 
I think this patch follows the original intent a little better.

If the filename is an absolute path, ignore the ast_language_is_prefix
setting.

/var/my/blah > /var/my/en/blah, /var/my/blah
my/blah (with lang prefix) > en/my/blah, my/blah
my/blah (without lang prefix) > my/en/blah, my/blah 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-08-08 14:25  qwell          Note Added: 0085151                          
======================================================================




More information about the asterisk-bugs mailing list