[asterisk-bugs] [JIRA] (ASTERISK-27950) AEL

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Jul 2 14:22:54 CDT 2018


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

Asterisk Team commented on ASTERISK-27950:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> AEL
> ---
>
>                 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