[asterisk-bugs] [JIRA] (ASTERISK-23391) Audit dialplan function usage of channel variable

Corey Farrell (JIRA) noreply at issues.asterisk.org
Sat Mar 29 14:29:18 CDT 2014


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

Corey Farrell edited comment on ASTERISK-23391 at 3/29/14 2:27 PM:
-------------------------------------------------------------------

I have opened a new ticket for the regression ASTERISK-23559, a patch is posted to reviewboard.

defaultlanguage is the correct variable to use.  DEFAULT_LANGUAGE is always "en", defaultlanguage is read from asterisk.conf.


was (Author: coreyfarrell):
I am looking into this.

> Audit dialplan function usage of channel variable
> -------------------------------------------------
>
>                 Key: ASTERISK-23391
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23391
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/General
>    Affects Versions: SVN, 1.8.25.0, 11.7.0, 12.0.0
>            Reporter: Corey Farrell
>            Assignee: Corey Farrell
>      Target Release: 1.8.27.0, 11.9.0, 12.2.0
>
>         Attachments: functions-check-chan-11.patch, functions-check-chan-12.patch, functions-check-chan-1.8.patch
>
>
> Dialplan functions can be called from AMI without a channel.  This allows some functions to be executed in the global context.  Some functions do not check for NULL channels and can crash when executed as a global function.



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



More information about the asterisk-bugs mailing list