[asterisk-bugs] [JIRA] (ASTERISK-27950) Context Visability between AEL and Extensions

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Tue Jul 3 09:50:54 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell updated ASTERISK-27950:
-------------------------------------

    Assignee: Mark Murawski
      Status: Waiting for Feedback  (was: Triage)

[~kobaz] Are you thinking you'll try (get a chance) to push the patch(es) up to gerrit?

> 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