[asterisk-bugs] [JIRA] Created: (ASTERISK-20355) Provide an entry point for stdexten written in AEL from pbx_config.c

Octavio Ruiz (JIRA) noreply at issues.asterisk.org
Mon Sep 3 22:24:07 CDT 2012


Provide an entry point for stdexten written in AEL from pbx_config.c
--------------------------------------------------------------------

                 Key: ASTERISK-20355
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20355
             Project: Asterisk
          Issue Type: New Feature
      Security Level: None
          Components: Core/Configuration, PBX/pbx_config
    Affects Versions: 11.0.0-beta1, SVN
         Environment: Centos 5, Centos 6
            Reporter: Octavio Ruiz
            Severity: Minor


ASTERISK-18809 and ASTERISK-19457 changed the way pbx_config.c invokes the stdexten subroutine from Macro to Gosub, providing examples at extensions.conf and without a means of backwards compatibility.

Since this change, any stdexten written in AEL would be not reachable by the Gosub application when configuring pbx_config.so to do so due the new approach of how stdexten through Gosub is called (explained in extensions.conf.sample).

Being not able to define arbitrary priorities in AEL there is no way to re implement stdexten in this language having to fall back to Macro application loosing the benefit of better nesting and the   Gosub use trend.

This improvement adds a stdexten option at asterisk.conf for calling the AELSub application in order to provide a stable entry point into AEL written stdexten subroutine.

{noformat} 
;stdexten = gosub ; How to invoke the extensions.conf stdexten.
; macro  - Invoke the stdexten using a macro as
;          done by legacy Asterisk versions.
; aelsub - Invoke the stdexten sutbroutine using AELSub
;          when stdexten is defined in AEL.
; gosub  - Invoke the stdexten using a gosub as
;          documented in extensions.conf.sample.
{noformat} 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list