[asterisk-bugs] [Asterisk 0012383]: Background() application ignores the channel language

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Apr 8 10:34:49 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12383 
====================================================================== 
Reported By:                ggiraudon
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12383
Category:                   Applications/app_playback
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
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:              
Resolution:                 duplicate
Duplicate:                  12379
Fixed in Version:           
====================================================================== 
Date Submitted:             04-08-2008 10:30 CDT
Last Modified:              04-08-2008 10:34 CDT
====================================================================== 
Summary:                    Background() application ignores the channel
language
Description: 
Here is an extract of the dialplan used to reproduce this issue:

exten=>s,1,Answer();
exten=>s,2,Set(CHANNEL(language)=fr)
exten=>s,3,Background("/sounds/main-intro");
exten=>s,5,WaitExten(30)

exten=>9,1,Set(CHANNEL(language)=en)
exten=>9,2,Goto(s,3)

The /sounds folder contains the following entries
/sounds/main-intro.wav
/sounds/fr/main-intro.wav
/sounds/es/main-intro.wav

The default system language is "en"

When a call comes in to s,1 it sets the language to "fr" and then play
should play /sounds/fr/main-intro.wav but after upgrading to 1.4.19, it
only plays /sounds/main-intro.wav regardless of the language set by the
Set(CHANNEL(language)=xx) statement.

This works properly on 1.4.18.1 but is broken in 1.4.19
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0012379 Changes in <a href="view.php?id=0012115...
====================================================================== 

---------------------------------------------------------------------- 
 file - 04-08-08 10:34  
---------------------------------------------------------------------- 
This is a duplicate of issue 12379. Both use the same underlying code, and
suffer the same issue. Please follow progress there. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-08-08 10:34  file           Relationship added       duplicate of 0012379
04-08-08 10:34  file           Duplicate ID             0 => 12379          
04-08-08 10:34  file           Status                   new => resolved     
04-08-08 10:34  file           Resolution               open => duplicate   
04-08-08 10:34  file           Assigned To               => file            
04-08-08 10:34  file           Note Added: 0085131                          
======================================================================




More information about the asterisk-bugs mailing list