[asterisk-bugs] [Asterisk 0012489]: Queue language is not inherited or available to answering interface

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 12 20:19:16 CDT 2009


The following issue has been set as RELATED TO issue 0014475. 
====================================================================== 
https://issues.asterisk.org/view.php?id=12489 
====================================================================== 
Reported By:                bcnit
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   12489
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0-beta7.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-04-22 03:57 CDT
Last Modified:              2009-05-12 20:19 CDT
====================================================================== 
Summary:                    Queue language is not inherited or available to
answering interface
Description: 
The problem is that when an interface answers a call from a queue, the
language used to play the 'announce' message to the callee is the default
language for that interface and not the language defined in the channel
which placed the call into the queue.

This is not the case for the A() parameter in the Dial() application,
which plays the file in the language of the source and not the destination
interface.

So if a call has the language set as 'fr' and is placed into the queue
with 'Queue(one,,calltype)', for example, all the announcements to the
caller are made in the 'fr' language, but when the language of the
interface answering the call is 'en', they hear 'en/calltype' and not
'fr/calltype'.

I see three ways around this problem. One of which I can probably hack
together myself and two which I probably can't.

The first is to create a variable 'QUEUELANGUAGE' when 'setqueuevar' is
'yes' and then have a macro/subroutine use this variable set the language
on the answering channel as appropriate.

The second would be to have some way of selectively inheriting the
language from the calling channel. This one I have no idea how to
implement!!

The third would be to duplicate the behaviour of the A() parameter of the
Dial() application and use the language from the caller's channel to play
the announcement.

I don't want to do anything without discussing this with everybody first,
but I've just found a different bug which may make the first option even
easier for me!

So, what's the best way forward?
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014475 [patch] channels created by app_dial do...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-12 20:19 tilghman       Relationship added       related to 0014475  
======================================================================




More information about the asterisk-bugs mailing list