[asterisk-bugs] [JIRA] (ASTERISK-28033) AMI event "NewExten" is set to the wrong class

lvl (JIRA) noreply at issues.asterisk.org
Mon Sep 3 06:48:54 CDT 2018


lvl created ASTERISK-28033:
------------------------------

             Summary: AMI event "NewExten" is set to the wrong class
                 Key: ASTERISK-28033
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28033
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/ManagerInterface
    Affects Versions: 15.5.0
            Reporter: lvl
            Severity: Minor


According to the inline documentation, the AMI event "NewExten" belongs to the EVENT_FLAG_DIALPLAN class. However, the code actually links it to EVENT_FLAG_CALL.

The documentation and actual implementation should be in line.

Linking "NewExten" to EVENT_FLAG_DIALPLAN makes more sense, because it's an extremely verbose event that shouldn't be on the same level as EVENT_FLAG_CALL. In a complex dialplan, you might get hundreds of NewExten events for each call, as opposed to only dozens of other events from the EVENT_FLAG_CALL class.



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



More information about the asterisk-bugs mailing list