[asterisk-bugs] [JIRA] (ASTERISK-26658) Add ability for dialplan show to display filenames/line numbers of registered extensions

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Aug 2 10:12:26 CDT 2017


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

George Joseph updated ASTERISK-26658:
-------------------------------------

    Target Release Version/s: 15.0.0

> Add ability for dialplan show to display filenames/line numbers of registered extensions
> ----------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26658
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26658
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/PBX, PBX/pbx_config
>    Affects Versions: GIT
>            Reporter: Jonathan R. Rose
>            Severity: Minor
>      Target Release: 15.0.0
>
>         Attachments: pbx_filenames_line_numbers.diff
>
>
> Initially described in the following mailing list thread: http://lists.digium.com/pipermail/asterisk-dev/2016-December/076030.html
> This patch provides the ability for modules registering extensions (primarily intended for use with pbx modules) to provide filename and line number for extensions being registered. Extensions that are registered with this information (using new variants of ast_add_extension2/ast_add_extension2_lockopt appended with _with_lines) will have their format for 'dialplan show' commands modified to include the filename and line number where registrar normally is.
> For example:
> CLI> dialplan show default
> [ Context 'default' created by 'pbx_config' ]
>   '100' =>          1. NoOp()                                     [pbx_config]
> Becomes:
>   '100' =>          1. NoOp()                                     [extensions.conf:24]
> So far only pbx_config is setup to use this feature, but adding support for AEL (where I feel this sort of functionality is actually much more useful) is a priority of mine if this patch is accepted.
> If this patch is wanted, I'll be happy to take it through the review process.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list