Summary: | ASTERISK-21450: Allow pluggable modules to be executed against particular Asterisk Versions | ||
Reporter: | Matt Jordan (mjordan) | Labels: | |
Date Opened: | 2013-04-16 09:54:54 | Date Closed: | 2013-05-14 16:15:44 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Tests/testsuite |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | 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} | ||
Comments: | By: John Bigelow (jbigelow) 2013-05-14 16:14:37.844-0500 Committed in trunk revision 3778 |