[asterisk-bugs] [Asterisk 0017673]: [patch] When using Local/ as members, language is not inherited

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 10 14:25:10 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17673 
====================================================================== 
Reported By:                Guggemand
Assigned To:                twilson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17673
Category:                   Applications/app_queue
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     resolved
Target Version:             1.6.2.13
Asterisk Version:           1.6.1 - SECURITY ONLY! Test 1.6.2 
JIRA:                       SWP-1871 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/903/ 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-07-19 16:51 CDT
Last Modified:              2010-09-10 14:25 CDT
====================================================================== 
Summary:                    [patch] When using Local/ as members, language is
not inherited
Description: 
When using Local/xxx at xxx/n as queue members, the callee gets announcements
in the default language, instead of their own language.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015372 [patch] app_followme does not set corre...
====================================================================== 

---------------------------------------------------------------------- 
 (0126835) svnbot (reporter) - 2010-09-10 14:25
 https://issues.asterisk.org/view.php?id=17673#c126835 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 286059

U   branches/1.4/channels/chan_local.c
U   branches/1.4/funcs/func_channel.c
U   branches/1.4/include/asterisk/channel.h
U   branches/1.4/include/asterisk/frame.h
U   branches/1.4/include/asterisk/pbx.h

------------------------------------------------------------------------
r286059 | twilson | 2010-09-10 14:25:09 -0500 (Fri, 10 Sep 2010) | 16
lines

Inherit CHANNEL() writes to both sides of a Local channel

Having Local (/n) channels as queue members and setting the language in
the
extension with Set(CHANNEL(language)=fr) sets the language on the
Local/...,2
channel. Hold time report playbacks happen on the Local/...,1 channel and
therefor do not play in the specified language.

This patch modifies func_channel_write to call the setoption callback and
pass
the CHANNEL() write info to the callback. chan_local uses this information
to
look up the other side of the channel and apply the same changes to it.

(closes issue https://issues.asterisk.org/view.php?id=17673)
Reported by: Guggemand

Review: https://reviewboard.asterisk.org/r/903/

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=286059 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-10 14:25 svnbot         Note Added: 0126835                          
2010-09-10 14:25 svnbot         Status                   assigned => resolved
2010-09-10 14:25 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list