[Home]

Summary:ASTERISK-11798: Background() application ignores the channel language
Reporter:Guillaume Giraudon (ggiraudon)Labels:
Date Opened:2008-04-08 10:30:38Date Closed:2008-04-08 10:34:52
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_playback
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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
Comments:By: Joshua C. Colp (jcolp) 2008-04-08 10:34:46

This is a duplicate of issue 12379. Both use the same underlying code, and suffer the same issue. Please follow progress there.