[asterisk-bugs] [JIRA] (ASTERISK-18238) local channel doesn't respect default language setting in asterisk.conf

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Feb 4 14:27:35 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-18238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224759#comment-224759 ] 

Matt Jordan commented on ASTERISK-18238:
----------------------------------------

{quote}
It's necessary to pull the language from the requesting channel, as that channel may have been set to a language other than the system default. That would often be the case for multi-user and, especially, multi-tenant setups. In any case, it appears that it doesn't even pull it from the system default if the default has been changed from English.
{quote}

True, but that isn't what the title of this issue is: "local channel doesn't respect default language setting in asterisk.conf"

It isn't a bug for a Local channel to not use the requesting channel's language. It is a bug if it does not use the value in {{asterisk.conf}}. (Note: it may be an improvement for it to use the requesting channel's language, but that's hardly the same problem as what is described here)

If you need to change the language on the Local channel(s), then just change it using the [CHANNEL|https://wiki.asterisk.org/wiki/display/AST/Function_CHANNEL] function.

> local channel doesn't respect default language setting in asterisk.conf
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-18238
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18238
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_local
>    Affects Versions: 1.8.5.0
>         Environment: Linux
>            Reporter: Alan
>            Severity: Minor
>         Attachments: chan_local-language.diff
>
>
> In my scenario I originate a call from via the manager interface (AMI).
> I create the channel using something like this:
> Action: Originate
> Channel: Local/01 at to-forward/n
> Context: to-newcall-record
> Extension: s
> Priority: 1
> Async: 1
> I always get english sounds, even though I have configured the "defaultlanguage" in /etc/asterisk/asterisk.conf to something else.
> Since there is no configuration file for the local channel, I assumed the the default in asterisk.conf would take effect, but it doesn't.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list