[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:11:34 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-18238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224756#comment-224756 ]
Matt Jordan commented on ASTERISK-18238:
----------------------------------------
Asterisk 1.8 will only receive security fixes now. Preferably, a patch should be made for Asterisk 11, if this is still an issue in that version.
That being said, I'm not sure why this patch is needed, or why this would be an issue. Local channels are created using {{ast_channel_alloc}}, which set the language on the channel to {{ast_defaultlanguage}}. {{ast_defaultlanguage}} is set to the value of {{defaultlanguage}} in {{asterisk.conf}} - so assuming that the default language has been set to something other than {{en}}, Local channels should already have that value. Pulling it over from the requesting channel shouldn't be necessary.
> 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