[asterisk-bugs] [JIRA] (ASTERISK-27950) Conext Visability between AEL and Extensions
Mark Murawski (JIRA)
noreply at issues.asterisk.org
Mon Jul 2 14:30:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Murawski updated ASTERISK-27950:
-------------------------------------
Summary: Conext Visability between AEL and Extensions (was: AEL)
> Conext 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
> Attachments: patch-13-feb6768
>
>
> Given the following extensions.conf configuration
> ------------------------
> [foo]
> exten => 1234,1,NoOp(stuff)
> same => n,Hangup()
> ------------------------
> Given the following ael configuration:
> extend context foo {
> 11223344 => {
> NoOp(AEL);
> }
> }
> context bar {
> s => {
> goto foo, 1234, 1;
> }
> }
> The following generated dialplan should be created
> [ 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]
> Instead, we get the following error:
> 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.
> 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