[asterisk-bugs] [JIRA] (ASTERISK-26233) pbx: Failure to remove inconsistent extension names

Corey Farrell (JIRA) noreply at issues.asterisk.org
Mon Aug 1 08:38:56 CDT 2016


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

Corey Farrell closed ASTERISK-26233.
------------------------------------

    Resolution: Fixed

> pbx: Failure to remove inconsistent extension names
> ---------------------------------------------------
>
>                 Key: ASTERISK-26233
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26233
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/PBX
>    Affects Versions: SVN, 11.23.0, 13.10.0
>            Reporter: Corey Farrell
>            Severity: Minor
>         Attachments: full.txt
>
>
> The following dialplan can expose this bug:
> {code}
> [default]
> exten => 1000,1,Noop(1000,1)
> exten => 1-000,2,Noop(1-000,2)
> {code}
> It appears the code treats 1000 and 1-000 as the same when adding, but not when removing.  This causes the extension to remain.  If you just shutdown you will see:
> {noformat}[Jul 24 21:35:09] WARNING[6086]: pbx.c:7354 ast_context_remove_extension_callerid2: Cannot find extension 1-000 in root_table in context default{noformat}
> If you unload pbx_config you will crash as soon as something tries reading the registrar of {{1-000,2,default}}.



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



More information about the asterisk-bugs mailing list