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

Corey Farrell (JIRA) noreply at issues.asterisk.org
Sun Jul 24 20:42:56 CDT 2016


Corey Farrell created ASTERISK-26233:
----------------------------------------

             Summary: 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: 13.10.0, 11.23.0, SVN
            Reporter: Corey Farrell
            Severity: Minor


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