[asterisk-bugs] [JIRA] (ASTERISK-27950) Context Visability between AEL and Extensions
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Tue Jul 17 12:00:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244136#comment-244136 ]
Asterisk Team commented on ASTERISK-27950:
------------------------------------------
Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines
> Context Visability between AEL and Extensions
> ---------------------------------------------
>
> Key: ASTERISK-27950
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27950
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/General
> Affects Versions: 13.21.1
> Environment: Mixed extensions.conf / ael
> Reporter: Mark Murawski
> Assignee: Mark Murawski
> Attachments: patch-13-feb6768
>
>
> Given the following extensions.conf configuration
> {noformat}
> [foo]
> exten => 1234,1,NoOp(stuff)
> same => n,Hangup()
> {noformat}
> Given the following ael configuration:
> {noformat}
> extend context foo {
> 11223344 => {
> NoOp(AEL);
> }
> }
> context bar {
> s => {
> goto foo, 1234, 1;
> }
> }
> {noformat}
> The following generated dialplan should be created
> {noformat}
> [ Context 'bar' created by 'pbx_ael' ]
> 's' => 1. Goto(foo,1234,1) [pbx_ael]
> [ Context 'foo' created by 'pbx_ael' ]
> '11223344' => 1. NoOp(AEL) [pbx_ael]
> '1234' => 1. NoOp(stuff) [pbx_config]
> 2. Hangup() [pbx_config]
> {noformat}
> Instead, we get the following error:
> {noformat}
> check_abstract_reference: Warning: file /etc/asterisk/extensions.ael, line 6-10: Couldn't find a reference to this abstract context (foo) in any other context!
> check_goto: Error: file /etc/asterisk/extensions.ael, line 14-14: goto: no label 1234|1 exists in the context foo or its inclusions!
> pbx_load_module: Sorry, but 0 syntax errors and 1 semantic errors were detected. It doesn't make sense to compile.
> {noformat}
> The applied patch fixes the issue with goto, and will allow the ael to load. It does not yet however, fix the warning about the context reference
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list