[asterisk-bugs] [JIRA] (ASTERISK-21450) Allow pluggable modules to be executed against particular Asterisk Versions

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Apr 16 09:55:01 CDT 2013


Matt Jordan created ASTERISK-21450:
--------------------------------------

             Summary: Allow pluggable modules to be executed against particular Asterisk Versions
                 Key: ASTERISK-21450
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21450
             Project: Asterisk
          Issue Type: New Feature
      Security Level: None
          Components: Tests/testsuite
            Reporter: Matt Jordan


As we change AMI events, there will be times in which we only want to check AMI events against certain Asterisk versions. Sometimes, this will be because the name of an event changed (such as with the DTMF events); sometimes, this will be because an event sequence only occurs in 12+ and we'd like to verify it.

Any pluggable module should be able to have it's configuration section support execution against a particular version(s) of Asterisk. The configuration should look something like this:

{noformat}
test-modules:
    test-object:
        config-section: bridge-config
        typename: 'BridgeTestCase.BridgeTestCase'
    modules:
        -
            config-section: 'ami-config-1.3'
            typename: 'ami.AMIEventModule'
            minVersion: 1.8.0.0
            maxVersion: 11.0.0
        -
            config-section: 'ami-config-1.4'
            typename: 'ami.AMIEventModule'
            minVersion: 12.0.0
        -
            config-section: 'cel-config'
            typename: 'cel.CELModule'
        -
            config-section: 'cdr-config'
            typename: 'cdr.CDRModule'
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list