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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Apr 8 10:30:42 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12383 
====================================================================== 
Reported By:                ggiraudon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12383
Category:                   Applications/app_playback
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-08-2008 10:30 CDT
Last Modified:              04-08-2008 10:30 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
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-08-08 10:30  ggiraudon      Asterisk Version          => 1.4.19          
04-08-08 10:30  ggiraudon      SVN Branch (only for SVN checkou => N/A          
  
======================================================================




More information about the asterisk-bugs mailing list