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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Dec 12 13:03:10 CST 2016


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

Asterisk Team commented on ASTERISK-26658:
------------------------------------------

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].

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