<p>Kevin Harwell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8487">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">testsuite branching: Remove non eligible tests from the 13 branch<br><br>This patch removes any tests that do not belong in the 13 branch. Essentially,<br>those tests with a minversion >= 14.0.0, or tests with a maxversion < 13.20.0<br>(where 13.20.0 is the Asterisk version cutoff at the time of branching).<br><br>Change-Id: I34bfdfbbc059d45ae3007462e06dcd43970c821e<br>---<br>D tests/apps/bridge/bridge_add/test-config.yaml<br>D tests/apps/control_playback/remote_uri/test-config.yaml<br>D tests/apps/playback/remote_uri/test-config.yaml<br>D tests/apps/statsd/nominal/test-config.yaml<br>D tests/apps/statsd/off-nominal/empty_params/test-config.yaml<br>D tests/apps/statsd/off-nominal/invalid_metric/test-config.yaml<br>D tests/apps/statsd/off-nominal/invalid_sample_rate/test-config.yaml<br>D tests/apps/statsd/off-nominal/invalid_value/test-config.yaml<br>D tests/apps/statsd/off-nominal/invalid_variable/test-config.yaml<br>D tests/apps/statsd/off-nominal/no_metric/test-config.yaml<br>D tests/apps/statsd/off-nominal/no_value/test-config.yaml<br>D tests/apps/statsd/off-nominal/no_variable/test-config.yaml<br>D tests/apps/waitdigit/test-config.yaml<br>D tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_header/test-config.yaml<br>D tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_header/test-config.yaml<br>D tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_header/test-config.yaml<br>D tests/channels/pjsip/publish/dialog_info_xml/test-config.yaml<br>D tests/channels/pjsip/publish/presence_pidf/test-config.yaml<br>D tests/channels/pjsip/publish/presence_xpidf/test-config.yaml<br>D tests/channels/pjsip/resolver/a/test-config.yaml<br>D tests/channels/pjsip/resolver/aaaa/test-config.yaml<br>D tests/channels/pjsip/resolver/naptr/explicit_transport_configured/test-config.yaml<br>D tests/channels/pjsip/resolver/naptr/order/test-config.yaml<br>D tests/channels/pjsip/resolver/naptr/preference/test-config.yaml<br>D tests/channels/pjsip/resolver/naptr/preference_failover/test-config.yaml<br>D tests/channels/pjsip/resolver/naptr/restricted_transport/test-config.yaml<br>D tests/channels/pjsip/resolver/naptr/transport_tcp/test-config.yaml<br>D tests/channels/pjsip/resolver/naptr/transport_udp/test-config.yaml<br>D tests/channels/pjsip/resolver/naptr/transport_unspecified/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/explicit_transport_configured/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/failover/in_dialog/timeout/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_udp/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/failover/out_of_dialog/timeout/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_tcp/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_udp/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_unspecified/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/priority/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/transport_tcp/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/transport_udp/test-config.yaml<br>D tests/channels/pjsip/resolver/srv/transport_unspecified/test-config.yaml<br>D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/bundled/test-config.yaml<br>D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-audio/test-config.yaml<br>D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-video/test-config.yaml<br>D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/accept/test-config.yaml<br>D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/add/test-config.yaml<br>D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/remove/test-config.yaml<br>D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/accept/test-config.yaml<br>D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/add/test-config.yaml<br>D tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/remove/test-config.yaml<br>D tests/manager/status_all_vars/test-config.yaml<br>D tests/pbx/autohints/test-config.yaml<br>D tests/rest_api/channels/create_dial_bridge/bridge/bridge_after_answer/test-config.yaml<br>D tests/rest_api/channels/create_dial_bridge/bridge/bridge_early_media/test-config.yaml<br>D tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/test-config.yaml<br>D tests/rest_api/channels/create_dial_bridge/bridge/bridge_while_ringing/test-config.yaml<br>D tests/rest_api/channels/create_dial_bridge/create/nominal/test-config.yaml<br>D tests/rest_api/channels/create_dial_bridge/create/off-nominal/test-config.yaml<br>D tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/test-config.yaml<br>D tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/test-config.yaml<br>D tests/rest_api/channels/create_dial_bridge/dial/off-nominal/test-config.yaml<br>D tests/rest_api/channels/create_duplicate_id/test-config.yaml<br>D tests/rest_api/channels/playback/lists/basic/test-config.yaml<br>D tests/rest_api/channels/playback/lists/forward/test-config.yaml<br>D tests/rest_api/channels/playback/lists/reverse/test-config.yaml<br>D tests/rest_api/channels/playback/lists/stop/test-config.yaml<br>D tests/rest_api/events/variables/test-config.yaml<br>D tests/rest_api/recording/stored/file/test-config.yaml<br>D tests/sorcery/memory_cache_expire/test-config.yaml<br>D tests/sorcery/memory_cache_expire_object/test-config.yaml<br>D tests/sorcery/memory_cache_stale/test-config.yaml<br>D tests/sorcery/memory_cache_stale_object/test-config.yaml<br>73 files changed, 0 insertions(+), 5,052 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/87/8487/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/tests/apps/bridge/bridge_add/test-config.yaml b/tests/apps/bridge/bridge_add/test-config.yaml<br>deleted file mode 100644<br>index 491be48..0000000<br>--- a/tests/apps/bridge/bridge_add/test-config.yaml<br>+++ /dev/null<br>@@ -1,87 +0,0 @@<br>-testinfo:<br>- summary: 'Tests BridgeAdd application'<br>- description: |<br>- * We call alice<br>- * alice calls bob<br>- * bob answers and starts the AMD app<br>- * When bob enters the bridge, we call charlie<br>- * when charlie answers, bridgeadd is is called<br>- * bridgeadd calls BridgeAdd to alice's channel<br>- * charlie plays a human simulation<br>- * bob's AMD detects HUMAN<br>- * charlie's playback finishes and now he starts AMD<br>- * bob's AMD finishes and now he plays a human simulation<br>- * charlie's AMD detects HUMAN<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- config-section: 'ami-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- reactor-timeout: 15<br>- connect-ami: True<br>- stop-on-end: True<br>-<br>-ami-config:<br>- -<br>- ami-start:<br>- ami-actions:<br>- action:<br>- Action: 'Originate'<br>- ActionID: '12345'<br>- Channel: 'Local/alice@default'<br>- Exten: 'bob'<br>- Context: 'default'<br>- Priority: '1'<br>- Codecs: 'gsm,ulaw'<br>- -<br>- ami-events:<br>- conditions:<br>- match:<br>- Event: 'BridgeEnter'<br>- BridgeTechnology: 'simple_bridge'<br>- Channel: 'Local/alice@default-00000000;2'<br>- count: 1<br>- ami-actions:<br>- action:<br>- Action: 'Originate'<br>- ActionID: '12345'<br>- Channel: 'Local/charlie@default'<br>- Exten: 'charlie_real'<br>- Context: 'default'<br>- Priority: '1'<br>- Codecs: 'gsm,ulaw'<br>- -<br>- ami-events:<br>- -<br>- conditions:<br>- match:<br>- Event: 'VarSet'<br>- Variable: 'AMDSTATUS'<br>- Value: 'HUMAN'<br>- Channel: 'Local/bob@default-00000001;2'<br>- count: 1<br>- -<br>- conditions:<br>- match:<br>- Event: 'VarSet'<br>- Variable: 'AMDSTATUS'<br>- Value: 'HUMAN'<br>- Channel: 'Local/charlie@default-00000002;1'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - asterisk : 'app_amd'<br>- - asterisk : 'app_bridgeaddchan'<br>- - asterisk : 'app_dial'<br>- - asterisk : 'app_playback'<br>- tags:<br>- - bridge<br>diff --git a/tests/apps/control_playback/remote_uri/test-config.yaml b/tests/apps/control_playback/remote_uri/test-config.yaml<br>deleted file mode 100644<br>index f8f6aae..0000000<br>--- a/tests/apps/control_playback/remote_uri/test-config.yaml<br>+++ /dev/null<br>@@ -1,74 +0,0 @@<br>-testinfo:<br>- summary: 'Test ControlPlayback of a remote media resource'<br>- description: |<br>- 'This tests playing back a remote media resource using the<br>- ControlPlayback application.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'test_case.SimpleTestCase'<br>- modules:<br>- -<br>- config-section: ami-config<br>- typename: 'ami.AMIEventModule'<br>- -<br>- config-section: http-server<br>- typename: 'http_static_server.HTTPStaticServer'<br>-<br>-test-object-config:<br>- spawn-after-hangup: True<br>- expected_events: 0<br>- test-iterations:<br>- -<br>- channel: 'Local/test@default'<br>- application: 'Echo'<br>-<br>-http-server:<br>- port: 8090<br>- root-directory: 'contrib/sounds'<br>-<br>-ami-config:<br>- -<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- UserEvent: 'Offset'<br>- requirements:<br>- match:<br>- Result: 'offset_pass'<br>- count: '1'<br>- -<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- UserEvent: 'Status'<br>- requirements:<br>- match:<br>- Result: 'status_pass'<br>- count: '1'<br>- -<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'TestEvent'<br>- State: 'PLAYBACK'<br>- Message: 'http://localhost:8090/talking.wav'<br>- count: '1'<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- tags:<br>- - playback<br>- - apps<br>- dependencies:<br>- - python : 'twisted'<br>- - python : 'starpy'<br>- - buildoption: 'TEST_FRAMEWORK'<br>- - asterisk : 'app_exec'<br>- - asterisk : 'app_controlplayback'<br>- - asterisk : 'app_userevent'<br>- - asterisk : 'pbx_config'<br>- - asterisk : 'res_http_media_cache'<br>diff --git a/tests/apps/playback/remote_uri/test-config.yaml b/tests/apps/playback/remote_uri/test-config.yaml<br>deleted file mode 100644<br>index 8dfd202..0000000<br>--- a/tests/apps/playback/remote_uri/test-config.yaml<br>+++ /dev/null<br>@@ -1,63 +0,0 @@<br>-testinfo:<br>- summary: 'Test Playback of a remote media resource'<br>- description: |<br>- 'This tests Playback of a media resource from a remote HTTP server.<br>- It includes both a single media resource playback, as well as when<br>- multiple resources are chained.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'test_case.SimpleTestCase'<br>- modules:<br>- -<br>- config-section: ami-config<br>- typename: 'ami.AMIEventModule'<br>- -<br>- config-section: http-server<br>- typename: 'http_static_server.HTTPStaticServer'<br>-<br>-test-object-config:<br>- spawn-after-hangup: True<br>- expected_events: 0<br>- reactor-timeout: 45<br>- test-iterations:<br>- -<br>- channel: 'Local/test@default'<br>- application: 'Echo'<br>-<br>-http-server:<br>- port: 8090<br>- root-directory: 'contrib/sounds'<br>-<br>-ami-config:<br>- -<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- requirements:<br>- match:<br>- Result: 'pass'<br>- count: '2'<br>- -<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'TestEvent'<br>- State: 'PLAYBACK'<br>- Message: 'http://localhost:8090/talking.wav'<br>- count: '3'<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- tags:<br>- - playback<br>- - apps<br>- dependencies:<br>- - python : 'twisted'<br>- - python : 'starpy'<br>- - buildoption: 'TEST_FRAMEWORK'<br>- - asterisk : 'app_userevent'<br>- - asterisk : 'app_playback'<br>- - asterisk : 'res_http_media_cache'<br>diff --git a/tests/apps/statsd/nominal/test-config.yaml b/tests/apps/statsd/nominal/test-config.yaml<br>deleted file mode 100644<br>index 4f2653f..0000000<br>--- a/tests/apps/statsd/nominal/test-config.yaml<br>+++ /dev/null<br>@@ -1,55 +0,0 @@<br>-testinfo:<br>- summary: |<br>- Test sending statistics to a StatsD server for the StatsD Dialplan<br>- Application<br>- description: |<br>- This test verifies that a user will be able to send statistics properly<br>- to StatsD through the StatsD Dialplan Application.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- typename: 'mockd.MockDServer'<br>- config-section: 'statsd-config'<br>- -<br>- typename: 'pluggable_modules.Originator'<br>- config-section: 'originator-config'<br>-<br>-test-object-config:<br>- asterisk-instances: 1<br>- connect-ami: True<br>- reactor-timeout: 15<br>-<br>-statsd-config:<br>- prefix: nominal<br>- packets:<br>- -<br>- 'nominal.foo:1|g'<br>- -<br>- 'nominal.bar:2|s'<br>- -<br>- 'nominal.baz:3|ms'<br>- -<br>- 'nominal.last:4|c'<br>-<br>-originator-config:<br>- channel: 'Local/start@default'<br>- context: default<br>- exten: start<br>- priority: 1<br>- trigger: 'ami_connect'<br>- async: True<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'starpy'<br>- - python: 'twisted'<br>- - asterisk: 'app_statsd'<br>- tags:<br>- - statsd<br>- - apps<br>diff --git a/tests/apps/statsd/off-nominal/empty_params/test-config.yaml b/tests/apps/statsd/off-nominal/empty_params/test-config.yaml<br>deleted file mode 100644<br>index ae53a63..0000000<br>--- a/tests/apps/statsd/off-nominal/empty_params/test-config.yaml<br>+++ /dev/null<br>@@ -1,47 +0,0 @@<br>-testinfo:<br>- summary: |<br>- Test sending empty statistics to the StatsD Dialplan Application<br>- description: |<br>- This test verifies that the StatsD Dialplan Application will fail<br>- appropriately when no parameters are given.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- typename: 'mockd.MockDServer'<br>- config-section: 'statsd-config'<br>- -<br>- typename: 'pluggable_modules.Originator'<br>- config-section: 'originator-config'<br>-<br>-test-object-config:<br>- asterisk-instances: 1<br>- connect-ami: True<br>- reactor-timeout: 15<br>-<br>-statsd-config:<br>- packets:<br>- -<br>- 'ReceiveNothing'<br>-<br>-originator-config:<br>- channel: 'Local/start@default'<br>- context: default<br>- exten: start<br>- priority: 1<br>- trigger: 'ami_connect'<br>- async: True<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'starpy'<br>- - python: 'twisted'<br>- - asterisk: 'app_statsd'<br>- tags:<br>- - statsd<br>- - apps<br>diff --git a/tests/apps/statsd/off-nominal/invalid_metric/test-config.yaml b/tests/apps/statsd/off-nominal/invalid_metric/test-config.yaml<br>deleted file mode 100644<br>index 987c50d..0000000<br>--- a/tests/apps/statsd/off-nominal/invalid_metric/test-config.yaml<br>+++ /dev/null<br>@@ -1,47 +0,0 @@<br>-testinfo:<br>- summary: |<br>- Test sending an invalid metric to the StatsD Dialplan Application<br>- description: |<br>- This test verifies that the StatsD Dialplan Application will fail<br>- appropriately when an invalid metric type is given.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- typename: 'mockd.MockDServer'<br>- config-section: 'statsd-config'<br>- -<br>- typename: 'pluggable_modules.Originator'<br>- config-section: 'originator-config'<br>-<br>-test-object-config:<br>- asterisk-instances: 1<br>- connect-ami: True<br>- reactor-timeout: 15<br>-<br>-statsd-config:<br>- packets:<br>- -<br>- 'ReceiveNothing'<br>-<br>-originator-config:<br>- channel: 'Local/start@default'<br>- context: default<br>- exten: start<br>- priority: 1<br>- trigger: 'ami_connect'<br>- async: True<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'starpy'<br>- - python: 'twisted'<br>- - asterisk: 'app_statsd'<br>- tags:<br>- - statsd<br>- - apps<br>diff --git a/tests/apps/statsd/off-nominal/invalid_sample_rate/test-config.yaml b/tests/apps/statsd/off-nominal/invalid_sample_rate/test-config.yaml<br>deleted file mode 100644<br>index 7b0f20f..0000000<br>--- a/tests/apps/statsd/off-nominal/invalid_sample_rate/test-config.yaml<br>+++ /dev/null<br>@@ -1,47 +0,0 @@<br>-testinfo:<br>- summary: |<br>- Test sending an empty variable name to the StatsD Dialplan Application<br>- description: |<br>- This test verifies that the StatsD Dialplan Application will fail<br>- appropriately when a variable name is not given.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- typename: 'mockd.MockDServer'<br>- config-section: 'statsd-config'<br>- -<br>- typename: 'pluggable_modules.Originator'<br>- config-section: 'originator-config'<br>-<br>-test-object-config:<br>- asterisk-instances: 1<br>- connect-ami: True<br>- reactor-timeout: 15<br>-<br>-statsd-config:<br>- packets:<br>- -<br>- 'ReceiveNothing'<br>-<br>-originator-config:<br>- channel: 'Local/start@default'<br>- context: default<br>- exten: start<br>- priority: 1<br>- trigger: 'ami_connect'<br>- async: True<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'starpy'<br>- - python: 'twisted'<br>- - asterisk: 'app_statsd'<br>- tags:<br>- - statsd<br>- - apps<br>diff --git a/tests/apps/statsd/off-nominal/invalid_value/test-config.yaml b/tests/apps/statsd/off-nominal/invalid_value/test-config.yaml<br>deleted file mode 100644<br>index a49953f..0000000<br>--- a/tests/apps/statsd/off-nominal/invalid_value/test-config.yaml<br>+++ /dev/null<br>@@ -1,47 +0,0 @@<br>-testinfo:<br>- summary: |<br>- Test sending an invalid value to the StatsD Dialplan Application<br>- description: |<br>- This test verifies that the StatsD Dialplan Application will fail<br>- appropriately when an invalid value is given.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- typename: 'mockd.MockDServer'<br>- config-section: 'statsd-config'<br>- -<br>- typename: 'pluggable_modules.Originator'<br>- config-section: 'originator-config'<br>-<br>-test-object-config:<br>- asterisk-instances: 1<br>- connect-ami: True<br>- reactor-timeout: 15<br>-<br>-statsd-config:<br>- packets:<br>- -<br>- 'ReceiveNothing'<br>-<br>-originator-config:<br>- channel: 'Local/start@default'<br>- context: default<br>- exten: start<br>- priority: 1<br>- trigger: 'ami_connect'<br>- async: True<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'starpy'<br>- - python: 'twisted'<br>- - asterisk: 'app_statsd'<br>- tags:<br>- - statsd<br>- - apps<br>diff --git a/tests/apps/statsd/off-nominal/invalid_variable/test-config.yaml b/tests/apps/statsd/off-nominal/invalid_variable/test-config.yaml<br>deleted file mode 100644<br>index ef5a8b1..0000000<br>--- a/tests/apps/statsd/off-nominal/invalid_variable/test-config.yaml<br>+++ /dev/null<br>@@ -1,47 +0,0 @@<br>-testinfo:<br>- summary: |<br>- Test sending an invalid variable name to the StatsD Dialplan Application<br>- description: |<br>- This test verifies that the StatsD Dialplan Application will fail<br>- appropriately when an invalid variable name is given.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- typename: 'mockd.MockDServer'<br>- config-section: 'statsd-config'<br>- -<br>- typename: 'pluggable_modules.Originator'<br>- config-section: 'originator-config'<br>-<br>-test-object-config:<br>- asterisk-instances: 1<br>- connect-ami: True<br>- reactor-timeout: 15<br>-<br>-statsd-config:<br>- packets:<br>- -<br>- 'ReceiveNothing'<br>-<br>-originator-config:<br>- channel: 'Local/start@default'<br>- context: default<br>- exten: start<br>- priority: 1<br>- trigger: 'ami_connect'<br>- async: True<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'starpy'<br>- - python: 'twisted'<br>- - asterisk: 'app_statsd'<br>- tags:<br>- - statsd<br>- - apps<br>diff --git a/tests/apps/statsd/off-nominal/no_metric/test-config.yaml b/tests/apps/statsd/off-nominal/no_metric/test-config.yaml<br>deleted file mode 100644<br>index 3216ad2..0000000<br>--- a/tests/apps/statsd/off-nominal/no_metric/test-config.yaml<br>+++ /dev/null<br>@@ -1,47 +0,0 @@<br>-testinfo:<br>- summary: |<br>- Test sending an empty metric type to the StatsD Dialplan Application<br>- description: |<br>- This test verifies that the StatsD Dialplan Application will fail<br>- appropriately when a metric type is not given.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- typename: 'mockd.MockDServer'<br>- config-section: 'statsd-config'<br>- -<br>- typename: 'pluggable_modules.Originator'<br>- config-section: 'originator-config'<br>-<br>-test-object-config:<br>- asterisk-instances: 1<br>- connect-ami: True<br>- reactor-timeout: 15<br>-<br>-statsd-config:<br>- packets:<br>- -<br>- 'ReceiveNothing'<br>-<br>-originator-config:<br>- channel: 'Local/start@default'<br>- context: default<br>- exten: start<br>- priority: 1<br>- trigger: 'ami_connect'<br>- async: True<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'starpy'<br>- - python: 'twisted'<br>- - asterisk: 'app_statsd'<br>- tags:<br>- - statsd<br>- - apps<br>diff --git a/tests/apps/statsd/off-nominal/no_value/test-config.yaml b/tests/apps/statsd/off-nominal/no_value/test-config.yaml<br>deleted file mode 100644<br>index 0ef2dcd..0000000<br>--- a/tests/apps/statsd/off-nominal/no_value/test-config.yaml<br>+++ /dev/null<br>@@ -1,47 +0,0 @@<br>-testinfo:<br>- summary: |<br>- Test sending an empty value to the StatsD Dialplan Application<br>- description: |<br>- This test verifies that the StatsD Dialplan Application will fail<br>- appropriately when a value is not given.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- typename: 'mockd.MockDServer'<br>- config-section: 'statsd-config'<br>- -<br>- typename: 'pluggable_modules.Originator'<br>- config-section: 'originator-config'<br>-<br>-test-object-config:<br>- asterisk-instances: 1<br>- connect-ami: True<br>- reactor-timeout: 15<br>-<br>-statsd-config:<br>- packets:<br>- -<br>- 'ReceiveNothing'<br>-<br>-originator-config:<br>- channel: 'Local/start@default'<br>- context: default<br>- exten: start<br>- priority: 1<br>- trigger: 'ami_connect'<br>- async: True<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'starpy'<br>- - python: 'twisted'<br>- - asterisk: 'app_statsd'<br>- tags:<br>- - statsd<br>- - apps<br>diff --git a/tests/apps/statsd/off-nominal/no_variable/test-config.yaml b/tests/apps/statsd/off-nominal/no_variable/test-config.yaml<br>deleted file mode 100644<br>index 5cfe4a6..0000000<br>--- a/tests/apps/statsd/off-nominal/no_variable/test-config.yaml<br>+++ /dev/null<br>@@ -1,49 +0,0 @@<br>-testinfo:<br>- summary: |<br>- Test sending an empty variable name to the StatsD Dialplan Application<br>- description: |<br>- This test verifies that the StatsD Dialplan Application will fail<br>- appropriately when a variable name is not given.<br>-<br>-test-modules:<br>- add-test-to-search-path: 'True'<br>- add-relative-to-search-path: ['../..']<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- typename: 'mockd.MockDServer'<br>- config-section: 'statsd-config'<br>- -<br>- typename: 'pluggable_modules.Originator'<br>- config-section: 'originator-config'<br>-<br>-test-object-config:<br>- asterisk-instances: 1<br>- connect-ami: True<br>- reactor-timeout: 15<br>-<br>-statsd-config:<br>- packets:<br>- -<br>- 'ReceiveNothing'<br>-<br>-originator-config:<br>- channel: 'Local/start@default'<br>- context: default<br>- exten: start<br>- priority: 1<br>- trigger: 'ami_connect'<br>- async: True<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'starpy'<br>- - python: 'twisted'<br>- - asterisk: 'app_statsd'<br>- tags:<br>- - statsd<br>- - apps<br>diff --git a/tests/apps/waitdigit/test-config.yaml b/tests/apps/waitdigit/test-config.yaml<br>deleted file mode 100644<br>index 160c8b4..0000000<br>--- a/tests/apps/waitdigit/test-config.yaml<br>+++ /dev/null<br>@@ -1,42 +0,0 @@<br>-testinfo:<br>- summary: 'Test WaitDigit'<br>- description: |<br>- 'Basic testing of WaitDigit.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'test_case.SimpleTestCase'<br>- modules:<br>- -<br>- config-section: ami-config<br>- typename: 'ami.AMIEventModule'<br>-<br>-test-object-config:<br>- spawn-after-hangup: True<br>- expected_events: 4<br>- test-iterations:<br>- -<br>- channel: 'Local/test@default'<br>- context: 'caller'<br>- exten: 'test'<br>- priority: 1<br>-<br>-ami-config:<br>- -<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- requirements:<br>- match:<br>- Result: 'pass'<br>- count: '4'<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - python : 'twisted'<br>- - python : 'starpy'<br>- - asterisk : 'app_userevent'<br>- - asterisk : 'app_senddtmf'<br>diff --git a/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_header/test-config.yaml b/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_header/test-config.yaml<br>deleted file mode 100644<br>index 0efed14..0000000<br>--- a/tests/channels/pjsip/basic_calls/incoming/nominal/authed/md5/ident_by_header/test-config.yaml<br>+++ /dev/null<br>@@ -1,100 +0,0 @@<br>-testinfo:<br>- summary: 'Tests incoming calls with authentication'<br>- description: |<br>- Run a SIPp scenario that sends various calls to res_pjsip,<br>- which should be authenticated.<br>-<br>- All calls are identified by a custom SIP header with a<br>- keyword that maps to an endpoint.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- reactor-timeout: 80<br>- fail-on-any: False<br>- test-iterations:<br>- # IPv4 & UDP<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5062', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5063', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5064', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- # IPv4 & TCP<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5065', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5066', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5067', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5068', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- # IPv6 & UDP<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5071', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '[::1]', '-p': '5072', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5073', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5074', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>-<br>- # IPv6 & TCP<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5075', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '[::1]', '-p': '5076', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5077', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5078', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>-<br>-properties:<br>- minversion: '14.4.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'app_dial'<br>- - asterisk : 'app_echo'<br>- - asterisk : 'app_playback'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_header/test-config.yaml b/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_header/test-config.yaml<br>deleted file mode 100644<br>index 0efed14..0000000<br>--- a/tests/channels/pjsip/basic_calls/incoming/nominal/authed/userpass/ident_by_header/test-config.yaml<br>+++ /dev/null<br>@@ -1,100 +0,0 @@<br>-testinfo:<br>- summary: 'Tests incoming calls with authentication'<br>- description: |<br>- Run a SIPp scenario that sends various calls to res_pjsip,<br>- which should be authenticated.<br>-<br>- All calls are identified by a custom SIP header with a<br>- keyword that maps to an endpoint.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- reactor-timeout: 80<br>- fail-on-any: False<br>- test-iterations:<br>- # IPv4 & UDP<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5062', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5063', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5064', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- # IPv4 & TCP<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5065', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5066', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5067', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5068', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- # IPv6 & UDP<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5071', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '[::1]', '-p': '5072', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5073', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5074', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>-<br>- # IPv6 & TCP<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5075', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '[::1]', '-p': '5076', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5077', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5078', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>-<br>-properties:<br>- minversion: '14.4.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'app_dial'<br>- - asterisk : 'app_echo'<br>- - asterisk : 'app_playback'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_header/test-config.yaml b/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_header/test-config.yaml<br>deleted file mode 100644<br>index e0be7e7..0000000<br>--- a/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_header/test-config.yaml<br>+++ /dev/null<br>@@ -1,100 +0,0 @@<br>-testinfo:<br>- summary: 'Tests incoming calls without authentication'<br>- description: |<br>- Run a SIPp scenario that sends various calls to res_pjsip,<br>- which should not be authenticated<br>-<br>- All calls are identified by a custom SIP header with a<br>- keyword that maps to an endpoint.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- reactor-timeout: 80<br>- fail-on-any: False<br>- test-iterations:<br>- # IPv4 & UDP<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5062', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5063', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5064', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>- # IPv4 & TCP<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5065', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '127.0.0.1', '-p': '5066', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5067', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '127.0.0.1', '-p': '5068', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '6589e618-081c-11e7-b9cd-97b9bfb99334'] }<br>- # IPv6 & UDP<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5071', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '[::1]', '-p': '5072', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5073', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5074', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', '664fa1be-081c-11e7-a079-c3d965562f3e'] }<br>-<br>- # IPv6 & TCP<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5075', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_initial_sdp.xml', '-i': '[::1]', '-p': '5076', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5077', '-t': 't1', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'echo_with_deferred_sdp.xml', '-i': '[::1]', '-p': '5078', '-t': 't1', '-d': '5000', '-s': 'alice'},<br>- 'ordered-args': ['-key', 'ident_key', 'c2d29890-07fb-11e7-b3f4-3b8d2e8ef30d'] }<br>-<br>-properties:<br>- minversion: '14.4.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'app_dial'<br>- - asterisk : 'app_echo'<br>- - asterisk : 'app_playback'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/publish/dialog_info_xml/test-config.yaml b/tests/channels/pjsip/publish/dialog_info_xml/test-config.yaml<br>deleted file mode 100644<br>index 92b06a9..0000000<br>--- a/tests/channels/pjsip/publish/dialog_info_xml/test-config.yaml<br>+++ /dev/null<br>@@ -1,45 +0,0 @@<br>-testinfo:<br>- summary: 'Ensure that outgoing application/pidf+xml PUBLISH messages are sent.'<br>- description: |<br>- 'A single Asterisk instance is started and is configured to PUBLISH messages to<br>- a SIPp scenario using application/pidf+xml. Device state changes are queued up.<br>- If the PUBLISH messages are not received by the SIPp scenario then the test fails.'<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_pjsip_outbound_publish'<br>- - asterisk: 'res_pjsip_exten_state'<br>- tags:<br>- - pjsip<br>-<br>-test-modules:<br>- test-object:<br>- config-section: sipp-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>-<br>-sipp-config:<br>- reactor-timeout: 30<br>- fail-on-any: True<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'publish.xml', '-p': '5061'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- id: '0'<br>- channel: 'Local/change_state@default'<br>- context: 'default'<br>- exten: 'dummy'<br>- priority: '1'<br>- async: 'True'<br>diff --git a/tests/channels/pjsip/publish/presence_pidf/test-config.yaml b/tests/channels/pjsip/publish/presence_pidf/test-config.yaml<br>deleted file mode 100644<br>index 92b06a9..0000000<br>--- a/tests/channels/pjsip/publish/presence_pidf/test-config.yaml<br>+++ /dev/null<br>@@ -1,45 +0,0 @@<br>-testinfo:<br>- summary: 'Ensure that outgoing application/pidf+xml PUBLISH messages are sent.'<br>- description: |<br>- 'A single Asterisk instance is started and is configured to PUBLISH messages to<br>- a SIPp scenario using application/pidf+xml. Device state changes are queued up.<br>- If the PUBLISH messages are not received by the SIPp scenario then the test fails.'<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_pjsip_outbound_publish'<br>- - asterisk: 'res_pjsip_exten_state'<br>- tags:<br>- - pjsip<br>-<br>-test-modules:<br>- test-object:<br>- config-section: sipp-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>-<br>-sipp-config:<br>- reactor-timeout: 30<br>- fail-on-any: True<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'publish.xml', '-p': '5061'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- id: '0'<br>- channel: 'Local/change_state@default'<br>- context: 'default'<br>- exten: 'dummy'<br>- priority: '1'<br>- async: 'True'<br>diff --git a/tests/channels/pjsip/publish/presence_xpidf/test-config.yaml b/tests/channels/pjsip/publish/presence_xpidf/test-config.yaml<br>deleted file mode 100644<br>index 493f09a..0000000<br>--- a/tests/channels/pjsip/publish/presence_xpidf/test-config.yaml<br>+++ /dev/null<br>@@ -1,45 +0,0 @@<br>-testinfo:<br>- summary: 'Ensure that outgoing application/xpidf+xml PUBLISH messages are sent.'<br>- description: |<br>- 'A single Asterisk instance is started and is configured to PUBLISH messages to<br>- a SIPp scenario using application/xpidf+xml. Device state changes are queued up.<br>- If the PUBLISH messages are not received by the SIPp scenario then the test fails.'<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_pjsip_outbound_publish'<br>- - asterisk: 'res_pjsip_exten_state'<br>- tags:<br>- - pjsip<br>-<br>-test-modules:<br>- test-object:<br>- config-section: sipp-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>-<br>-sipp-config:<br>- reactor-timeout: 30<br>- fail-on-any: True<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'publish.xml', '-p': '5061'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- id: '0'<br>- channel: 'Local/change_state@default'<br>- context: 'default'<br>- exten: 'dummy'<br>- priority: '1'<br>- async: 'True'<br>diff --git a/tests/channels/pjsip/resolver/a/test-config.yaml b/tests/channels/pjsip/resolver/a/test-config.yaml<br>deleted file mode 100644<br>index d0e76af..0000000<br>--- a/tests/channels/pjsip/resolver/a/test-config.yaml<br>+++ /dev/null<br>@@ -1,46 +0,0 @@<br>-testinfo:<br>- summary: 'Test resolution of an address using an A record'<br>- description: |<br>- This test verifies that an A record lookup successfully occurs using<br>- the resolver and that traffic is sent to the resulting address.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1', '-p': '5061'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/aaaa/test-config.yaml b/tests/channels/pjsip/resolver/aaaa/test-config.yaml<br>deleted file mode 100644<br>index f5182d9..0000000<br>--- a/tests/channels/pjsip/resolver/aaaa/test-config.yaml<br>+++ /dev/null<br>@@ -1,46 +0,0 @@<br>-testinfo:<br>- summary: 'Test resolution of an address using an AAAA record'<br>- description: |<br>- This test verifies that an AAAA record lookup successfully occurs using<br>- the resolver and that traffic is sent to the resulting address.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '[::1]', '-p': '5061'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/naptr/explicit_transport_configured/test-config.yaml b/tests/channels/pjsip/resolver/naptr/explicit_transport_configured/test-config.yaml<br>deleted file mode 100644<br>index 0c0a045..0000000<br>--- a/tests/channels/pjsip/resolver/naptr/explicit_transport_configured/test-config.yaml<br>+++ /dev/null<br>@@ -1,47 +0,0 @@<br>-testinfo:<br>- summary: 'Test NAPTR resolution when an explicit IPv6 transport is configured'<br>- description: |<br>- 'This test verifies that when an endpoint is configured with an explicit<br>- IPv6 transport that a NAPTR then SRV record and then AAAA lookup occurs.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator-ipv6<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'uas-ipv6.xml',<br>- '-i': '[::1]', '-p': '5061'} }<br>-originator-ipv6:<br>- trigger: 'scenario_start'<br>- scenario-name: 'uas-ipv6.xml'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s-ipv6@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.2.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/naptr/order/test-config.yaml b/tests/channels/pjsip/resolver/naptr/order/test-config.yaml<br>deleted file mode 100644<br>index a8766c2..0000000<br>--- a/tests/channels/pjsip/resolver/naptr/order/test-config.yaml<br>+++ /dev/null<br>@@ -1,54 +0,0 @@<br>-testinfo:<br>- summary: 'Test NAPTR record order to ensure lowest order is used.'<br>- description: |<br>- 'This test verifies that when multiple NAPTR records exist with<br>- different order values, the record with the lowest order is used.<br>-<br>- A call is place to example.com without a transport specified resulting<br>- in a NAPTR lookup. If the record with the lowest order is used then the<br>- SRV record for the TCP transport is used. If the NAPTR record with the<br>- higher order is used then the SRV record for the UDP transport is used.<br>- Since the SIPp instance is only listening on TCP, the test will fail if<br>- UDP is used due to the wrong NAPTR record being used.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1',<br>- '-p': '5061', '-t': 't1'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/naptr/preference/test-config.yaml b/tests/channels/pjsip/resolver/naptr/preference/test-config.yaml<br>deleted file mode 100644<br>index 63a491d..0000000<br>--- a/tests/channels/pjsip/resolver/naptr/preference/test-config.yaml<br>+++ /dev/null<br>@@ -1,55 +0,0 @@<br>-testinfo:<br>- summary: 'Test NAPTR record order to ensure lowest order is used.'<br>- description: |<br>- 'This test verifies that when multiple NAPTR records exist with<br>- same order but different preference values, the record with the<br>- lowest preference is used.<br>-<br>- A call is placed to example.com without a transport specified resulting<br>- in a NAPTR lookup. If the record with the lowest preference is used then<br>- the SRV record for the TCP transport is used. If the NAPTR record with<br>- the higher preference is used then the SRV record for the UDP transport<br>- is used. Since the SIPp instance is only listening on TCP, the test will<br>- fail if UDP is used due to the wrong NAPTR record being used.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1',<br>- '-p': '5061', '-t': 't1'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/naptr/preference_failover/test-config.yaml b/tests/channels/pjsip/resolver/naptr/preference_failover/test-config.yaml<br>deleted file mode 100644<br>index 5475829..0000000<br>--- a/tests/channels/pjsip/resolver/naptr/preference_failover/test-config.yaml<br>+++ /dev/null<br>@@ -1,55 +0,0 @@<br>-testinfo:<br>- summary: 'Test NAPTR record order to ensure lowest order is used.'<br>- description: |<br>- 'This test verifies that when a NAPTR record results in a failed SRV<br>- lookup, that Asterisk fails over to the NAPTR record with the next<br>- highest preference value.<br>-<br>- A call is placed to example.com without a transport specified resulting<br>- in a NAPTR lookup. The lowest preference record points to an SRV entry<br>- that does not exist. Asterisk should attempt to look up this SRV record,<br>- and fail. The next lowest preference NAPTR record points to an SRV entry<br>- that does exist, and that SRV record points to a UDP transport. A SIPp<br>- instance is listening on UDP, so the test will succeed if UDP is used.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1',<br>- '-p': '5061'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/naptr/restricted_transport/test-config.yaml b/tests/channels/pjsip/resolver/naptr/restricted_transport/test-config.yaml<br>deleted file mode 100644<br>index c2483fc..0000000<br>--- a/tests/channels/pjsip/resolver/naptr/restricted_transport/test-config.yaml<br>+++ /dev/null<br>@@ -1,55 +0,0 @@<br>-testinfo:<br>- summary: 'Test NAPTR record order to ensure lowest order is used.'<br>- description: |<br>- 'This test verifies that when a NAPTR record results in an unsupported<br>- transport, that Asterisk fails over to the NAPTR record with the next<br>- highest preference value.<br>-<br>- A call is placed to example.com without a transport specified resulting<br>- in a NAPTR lookup. The lowest preference record points to an SRV entry<br>- for a TCP transport. Asterisk should skip this SRV record since TCP is<br>- not supported. The next lowest preference NAPTR record points to an SRV<br>- entry for UDP. A SIPp instance is listening on UDP, so the test will<br>- succeed if UDP is used.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1',<br>- '-p': '5061'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/naptr/transport_tcp/test-config.yaml b/tests/channels/pjsip/resolver/naptr/transport_tcp/test-config.yaml<br>deleted file mode 100644<br>index b0e05be..0000000<br>--- a/tests/channels/pjsip/resolver/naptr/transport_tcp/test-config.yaml<br>+++ /dev/null<br>@@ -1,49 +0,0 @@<br>-testinfo:<br>- summary: 'Test NAPTR resolution of an address with TCP transport specified'<br>- description: |<br>- This test verifies that a NAPTR and SRV record lookup successfully occurs using<br>- the resolver and that traffic is sent to the resulting address. Since the<br>- TCP transport is explicitly provided the only records that should be looked<br>- up and used are TCP. Since sipp is listening only on TCP if UDP records are used<br>- instead the call will fail.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/naptr/transport_udp/test-config.yaml b/tests/channels/pjsip/resolver/naptr/transport_udp/test-config.yaml<br>deleted file mode 100644<br>index 682d29b..0000000<br>--- a/tests/channels/pjsip/resolver/naptr/transport_udp/test-config.yaml<br>+++ /dev/null<br>@@ -1,49 +0,0 @@<br>-testinfo:<br>- summary: 'Test NAPTR resolution of an address with UDP transport specified'<br>- description: |<br>- This test verifies that a NAPTR and SRV record lookup successfully occurs using<br>- the resolver and that traffic is sent to the resulting address. Since the<br>- UDP transport is explicitly provided the only records that should be looked<br>- up and used are UDP. Since sipp is listening only on UDP if TCP records are used<br>- instead the call will fail.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1', '-p': '5061'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/naptr/transport_unspecified/test-config.yaml b/tests/channels/pjsip/resolver/naptr/transport_unspecified/test-config.yaml<br>deleted file mode 100644<br>index 1927105..0000000<br>--- a/tests/channels/pjsip/resolver/naptr/transport_unspecified/test-config.yaml<br>+++ /dev/null<br>@@ -1,49 +0,0 @@<br>-testinfo:<br>- summary: 'Test NAPTR resolution of an address with no transport specified'<br>- description: |<br>- This test verifies that a NAPTR and SRV record lookup successfully occurs using<br>- the resolver and that traffic is sent to the resulting address. Since no<br>- transport is explicitly provided the resolver will look up both TCP and UDP<br>- and favor TCP. Since sipp is listening only on TCP if UDP records are used instead<br>- the call will fail.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/explicit_transport_configured/test-config.yaml b/tests/channels/pjsip/resolver/srv/explicit_transport_configured/test-config.yaml<br>deleted file mode 100644<br>index efdf668..0000000<br>--- a/tests/channels/pjsip/resolver/srv/explicit_transport_configured/test-config.yaml<br>+++ /dev/null<br>@@ -1,48 +0,0 @@<br>-testinfo:<br>- summary: 'Test SRV resolution when an explicit IPv6 transport is configured'<br>- description: |<br>- 'This test verifies that when an endpoint is configured with an explicit<br>- IPv6 transport that an SRV record lookup occurs and then an AAAA lookup<br>- occurs.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator-ipv6<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'uas-ipv6.xml',<br>- '-i': '[::1]', '-p': '5061'} }<br>-originator-ipv6:<br>- trigger: 'scenario_start'<br>- scenario-name: 'uas-ipv6.xml'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s-ipv6@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.2.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/failover/in_dialog/timeout/test-config.yaml b/tests/channels/pjsip/resolver/srv/failover/in_dialog/timeout/test-config.yaml<br>deleted file mode 100644<br>index 8b3515b..0000000<br>--- a/tests/channels/pjsip/resolver/srv/failover/in_dialog/timeout/test-config.yaml<br>+++ /dev/null<br>@@ -1,56 +0,0 @@<br>-testinfo:<br>- summary: 'Test in dialog SRV failover upon a timeout'<br>- description: |<br>- Using an in SIP message (in this case a SIP INVITE), this test<br>- verifies that an SRV record lookup resulting in multiple results<br>- will successfully fail over, after timing out, to other records if<br>- previous ones do not respond.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator-udp<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: originator-tcp<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- reactor-timeout: 60<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5063', '-timeout': '60s'} }<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5065', '-t': 't1', '-timeout': '60s'} }<br>-<br>-originator-udp:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/udp@default'<br>- async: 'True'<br>- timeout: 60<br>-<br>-originator-tcp:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/tcp@default'<br>- async: 'True'<br>- timeout: 60<br>-<br>-dns-server-config:<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/test-config.yaml b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/test-config.yaml<br>deleted file mode 100644<br>index 886c25f..0000000<br>--- a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/test-config.yaml<br>+++ /dev/null<br>@@ -1,45 +0,0 @@<br>-testinfo:<br>- summary: 'Test in-dialog SRV failover using a TCP transport'<br>- description: |<br>- Using an in-dialog SIP message (in this case a SIP INVITE) over a TCP<br>- transport, this test verifies that an SRV record lookup resulting in<br>- multiple results will successfully fail over to other records if<br>- previous ones do not respond.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas-503.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1'} }<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5062', '-t': 't1'} }<br>-<br>-originator:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/s@default'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_udp/test-config.yaml b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_udp/test-config.yaml<br>deleted file mode 100644<br>index f7e9c83..0000000<br>--- a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_udp/test-config.yaml<br>+++ /dev/null<br>@@ -1,45 +0,0 @@<br>-testinfo:<br>- summary: 'Test in-dialog SRV failover using a UDP transport'<br>- description: |<br>- Using an in-dialog SIP message (in this case a SIP INVITE) over a UDP<br>- transport, this test verifies that an SRV record lookup resulting in<br>- multiple results will successfully fail over to other records if<br>- previous ones do not respond.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas-503.xml', '-i': '127.0.0.1', '-p': '5061'} }<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5062'} }<br>-<br>-originator:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/s@default'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/test-config.yaml b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/test-config.yaml<br>deleted file mode 100644<br>index c5c8f80..0000000<br>--- a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/test-config.yaml<br>+++ /dev/null<br>@@ -1,50 +0,0 @@<br>-testinfo:<br>- summary: 'Test in-dialog SRV failover using an unspecified transport'<br>- description: |<br>- Using an in-dialog SIP message (in this case a SIP INVITE) with an<br>- unspecified transport, this test verifies that an SRV record lookup<br>- resulting in multiple results will successfully fail over to other<br>- records if previous ones do not respond.<br>-<br>- Since the transport is unspecified TCP is given priority and should<br>- be selected first. Once this fails the only option left is UDP, so it<br>- should then switch transport types when attempting the secondary<br>- failover address.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas-503.xml', '-i': '127.0.0.1', '-p': '5062', '-t': 't1'} }<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5063'} }<br>-<br>-originator:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/s@default'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/timeout/test-config.yaml b/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/timeout/test-config.yaml<br>deleted file mode 100644<br>index 12a6c90..0000000<br>--- a/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/timeout/test-config.yaml<br>+++ /dev/null<br>@@ -1,56 +0,0 @@<br>-testinfo:<br>- summary: 'Test out of dialog SRV failover upon a timeout'<br>- description: |<br>- Using an out of dialog SIP message (in this case a SIP MESSAGE), this<br>- test verifies that an SRV record lookup resulting in multiple results<br>- will successfully fail over, after timing out, to other records if<br>- previous ones do not respond.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator-udp<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: originator-tcp<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- reactor-timeout: 60<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5063', '-timeout': '60s'} }<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5065', '-t': 't1', '-timeout': '60s'} }<br>-<br>-originator-udp:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/udp@default'<br>- async: 'True'<br>- timeout: 60<br>-<br>-originator-tcp:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/tcp@default'<br>- async: 'True'<br>- timeout: 60<br>-<br>-dns-server-config:<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_tcp/test-config.yaml b/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_tcp/test-config.yaml<br>deleted file mode 100644<br>index ee873fd..0000000<br>--- a/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_tcp/test-config.yaml<br>+++ /dev/null<br>@@ -1,45 +0,0 @@<br>-testinfo:<br>- summary: 'Test out of dialog SRV failover using a TCP transport'<br>- description: |<br>- Using an out of dialog SIP message (in this case a SIP MESSAGE) over a<br>- TCP transport, this test verifies that an SRV record lookup resulting in<br>- multiple results will successfully fail over to other records if<br>- previous ones do not respond.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas-503.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1'} }<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5062', '-t': 't1'} }<br>-<br>-originator:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/s@default'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_udp/test-config.yaml b/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_udp/test-config.yaml<br>deleted file mode 100644<br>index dbab4d5..0000000<br>--- a/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_udp/test-config.yaml<br>+++ /dev/null<br>@@ -1,45 +0,0 @@<br>-testinfo:<br>- summary: 'Test out of dialog SRV failover using a UDP transport'<br>- description: |<br>- Using an out of dialog SIP message (in this case a SIP MESSAGE) over a<br>- UDP transport, this test verifies that an SRV record lookup resulting in<br>- multiple results will successfully fail over to other records if<br>- previous ones do not respond.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas-503.xml', '-i': '127.0.0.1', '-p': '5061'} }<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5062'} }<br>-<br>-originator:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/s@default'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_unspecified/test-config.yaml b/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_unspecified/test-config.yaml<br>deleted file mode 100644<br>index cdfc6b3..0000000<br>--- a/tests/channels/pjsip/resolver/srv/failover/out_of_dialog/transport_unspecified/test-config.yaml<br>+++ /dev/null<br>@@ -1,50 +0,0 @@<br>-testinfo:<br>- summary: 'Test out of dialog SRV failover using an unspecified transport'<br>- description: |<br>- Using an out of dialog SIP message (in this case a SIP MESSAGE) with an<br>- unspecified transport, this test verifies that an SRV record lookup<br>- resulting in multiple results will successfully fail over to other<br>- records if previous ones do not respond.<br>-<br>- Since the transport is unspecified TCP is given priority and should<br>- be selected first. Once this fails the only option left is UDP, so it<br>- should then switch transport types when attempting the secondary<br>- failover address.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas-503.xml', '-i': '127.0.0.1', '-p': '5062', '-t': 't1'} }<br>- - { 'key-args': {'scenario': 'uas-ignore.xml', '-i': '127.0.0.1', '-p': '5063'} }<br>-<br>-originator:<br>- scenario-trigger-after: '2'<br>- channel: 'Local/s@default'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/priority/test-config.yaml b/tests/channels/pjsip/resolver/srv/priority/test-config.yaml<br>deleted file mode 100644<br>index 3df9144..0000000<br>--- a/tests/channels/pjsip/resolver/srv/priority/test-config.yaml<br>+++ /dev/null<br>@@ -1,70 +0,0 @@<br>-testinfo:<br>- summary: 'Test SRV priority using a UDP transport'<br>- description: |<br>- 'This test verifies that an SRV record lookup resulting in multiple<br>- results with different priorities will use the record with the highest<br>- priority (lowest number).<br>-<br>- A call is placed to example.com over IPv4 & IPv6 resulting in a SRV<br>- lookup. If the highest priority SRV record is used for both calls then<br>- the IP address of main.example.com and port 5061 is used to reach the<br>- SIPp instances. Otherwise the IP address of backup.example.com and port<br>- 5062 is used and the test will fail to due a SIPp instance not<br>- receiving a call.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator-ipv4<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: originator-ipv6<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas-ipv4.xml', '-i': '127.0.0.1',<br>- '-p': '5061'} }<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'uas-ipv6.xml',<br>- '-i': '[::1]', '-p': '5061'} }<br>-<br>-originator-ipv4:<br>- trigger: 'scenario_start'<br>- scenario-name: 'uas-ipv4.xml'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s-ipv4@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-originator-ipv6:<br>- trigger: 'scenario_start'<br>- scenario-name: 'uas-ipv6.xml'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s-ipv6@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/transport_tcp/test-config.yaml b/tests/channels/pjsip/resolver/srv/transport_tcp/test-config.yaml<br>deleted file mode 100644<br>index 59fa0b3..0000000<br>--- a/tests/channels/pjsip/resolver/srv/transport_tcp/test-config.yaml<br>+++ /dev/null<br>@@ -1,49 +0,0 @@<br>-testinfo:<br>- summary: 'Test SRV resolution of an address with TCP transport specified'<br>- description: |<br>- This test verifies that an SRV record lookup successfully occurs using<br>- the resolver and that traffic is sent to the resulting address. Since the<br>- TCP transport is explicitly provided the only records that should be looked<br>- up and used are TCP. Since sipp is listening only on TCP if UDP records are used<br>- instead the call will fail.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/transport_udp/test-config.yaml b/tests/channels/pjsip/resolver/srv/transport_udp/test-config.yaml<br>deleted file mode 100644<br>index 06afcd9..0000000<br>--- a/tests/channels/pjsip/resolver/srv/transport_udp/test-config.yaml<br>+++ /dev/null<br>@@ -1,49 +0,0 @@<br>-testinfo:<br>- summary: 'Test SRV resolution of an address with UDP transport specified'<br>- description: |<br>- This test verifies that an SRV record lookup successfully occurs using<br>- the resolver and that traffic is sent to the resulting address. Since the<br>- UDP transport is explicitly provided the only records that should be looked<br>- up and used are UDP. Since sipp is listening only on UDP if TCP records are used<br>- instead the call will fail.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1', '-p': '5061'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/resolver/srv/transport_unspecified/test-config.yaml b/tests/channels/pjsip/resolver/srv/transport_unspecified/test-config.yaml<br>deleted file mode 100644<br>index 78228e4..0000000<br>--- a/tests/channels/pjsip/resolver/srv/transport_unspecified/test-config.yaml<br>+++ /dev/null<br>@@ -1,49 +0,0 @@<br>-testinfo:<br>- summary: 'Test SRV resolution of an address with an unspecified transport'<br>- description: |<br>- This test verifies that an SRV record lookup successfully occurs using<br>- the resolver and that traffic is sent to the resulting address. Since no<br>- transport is specified the resolver should favor TCP despite UDP records<br>- being available. Since sipp is listening only on TCP if UDP records are used<br>- instead the call will fail.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: originator<br>- typename: 'pluggable_modules.Originator'<br>- -<br>- config-section: dns-server-config<br>- typename: 'dns_server.DNSServer'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uas.xml', '-i': '127.0.0.1', '-p': '5061', '-t': 't1'} }<br>-<br>-originator:<br>- trigger: 'ami_connect'<br>- ignore-originate-failure: 'no'<br>- id: '0'<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- async: 'True'<br>-<br>-dns-server-config:<br>- port: 10053<br>- python-zones:<br>- -<br>- example.com<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - app : 'sipp'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_resolver_unbound'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/bundled/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/bundled/test-config.yaml<br>deleted file mode 100644<br>index 51cf1e5..0000000<br>--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/bundled/test-config.yaml<br>+++ /dev/null<br>@@ -1,28 +0,0 @@<br>-testinfo:<br>- summary: 'Test offers with multiple video streams/one audio stream and bundled'<br>- description: |<br>- This tests inbound offers that contain multiple video<br>- media streams and a single audio stream with bundle enabled.<br>- Asterisk should accept all the streams in a single bundle group.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uac-multiple-video-with-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-audio/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-audio/test-config.yaml<br>deleted file mode 100644<br>index bd7774d..0000000<br>--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-audio/test-config.yaml<br>+++ /dev/null<br>@@ -1,28 +0,0 @@<br>-testinfo:<br>- summary: 'Test offers with multiple audio streams/one video stream'<br>- description: |<br>- This tests inbound offers that contain multiple audio<br>- media streams and a single video stream. Asterisk should<br>- accept all the streams.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uac-multiple-audio-with-video.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-video/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-video/test-config.yaml<br>deleted file mode 100644<br>index 0d4b113..0000000<br>--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio-video/accept/multiple-video/test-config.yaml<br>+++ /dev/null<br>@@ -1,28 +0,0 @@<br>-testinfo:<br>- summary: 'Test offers with multiple video streams/one audio stream'<br>- description: |<br>- This tests inbound offers that contain multiple video<br>- media streams and a single audio stream. Asterisk should<br>- accept all the streams.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uac-multiple-video-with-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/accept/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/accept/test-config.yaml<br>deleted file mode 100644<br>index 7301ede..0000000<br>--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/accept/test-config.yaml<br>+++ /dev/null<br>@@ -1,28 +0,0 @@<br>-testinfo:<br>- summary: 'Test offers with multiple audio streams'<br>- description: |<br>- This tests inbound offers that contain multiple audio<br>- media streams. Asterisk should accept all of the audio<br>- streams.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uac-multiple-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/add/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/add/test-config.yaml<br>deleted file mode 100644<br>index 0c677a8..0000000<br>--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/add/test-config.yaml<br>+++ /dev/null<br>@@ -1,27 +0,0 @@<br>-testinfo:<br>- summary: 'Test adding of multiple audio streams'<br>- description: |<br>- This tests the addition of multiple audio streams once<br>- a call has been established.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uac-multiple-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/remove/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/remove/test-config.yaml<br>deleted file mode 100644<br>index c1703b1..0000000<br>--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/audio/remove/test-config.yaml<br>+++ /dev/null<br>@@ -1,27 +0,0 @@<br>-testinfo:<br>- summary: 'Test removing of multiple audio streams'<br>- description: |<br>- This tests the removal of multiple audio streams once<br>- a call has been established.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uac-multiple-audio.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/accept/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/accept/test-config.yaml<br>deleted file mode 100644<br>index 8eae8ed..0000000<br>--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/accept/test-config.yaml<br>+++ /dev/null<br>@@ -1,28 +0,0 @@<br>-testinfo:<br>- summary: 'Test offers with multiple video streams'<br>- description: |<br>- This tests inbound offers that contain multiple video<br>- media streams. Asterisk should accept all the video<br>- streams.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uac-multiple-video.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/add/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/add/test-config.yaml<br>deleted file mode 100644<br>index 0a1c1f8..0000000<br>--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/add/test-config.yaml<br>+++ /dev/null<br>@@ -1,27 +0,0 @@<br>-testinfo:<br>- summary: 'Test adding of multiple video streams'<br>- description: |<br>- This tests the addition of multiple video streams once<br>- a call has been established.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uac-multiple-video.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/remove/test-config.yaml b/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/remove/test-config.yaml<br>deleted file mode 100644<br>index bc7c2db..0000000<br>--- a/tests/channels/pjsip/sdp_offer_answer/incoming/nominal/multiple-media-stream/video/remove/test-config.yaml<br>+++ /dev/null<br>@@ -1,27 +0,0 @@<br>-testinfo:<br>- summary: 'Test removing of multiple video streams'<br>- description: |<br>- This tests the removal of multiple video streams once<br>- a call has been established.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'uac-multiple-video.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-properties:<br>- minversion: '15.0.0'<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/manager/status_all_vars/test-config.yaml b/tests/manager/status_all_vars/test-config.yaml<br>deleted file mode 100644<br>index 3732477..0000000<br>--- a/tests/manager/status_all_vars/test-config.yaml<br>+++ /dev/null<br>@@ -1,124 +0,0 @@<br>-testinfo:<br>- summary: 'Test AMI Status Action'<br>- description: |<br>- This test verifies the AMI Status Action AllVariables parameter.<br>- A Local channel is created and then the test runs the action for<br>- all channels on the system. Two events are expected, one for each<br>- of the Local channel pairs.<br>-<br>-test-modules:<br>- add-test-to-search-path: 'True'<br>- test-object:<br>- config-section: test-config<br>- typename: 'test_case.SimpleTestCase'<br>- modules:<br>- -<br>- config-section: 'ami-config'<br>- typename: 'ami.AMIEventModule'<br>-<br>-test-config:<br>- spawn-after-hangup: True<br>- expected_events: 0<br>- test-iterations:<br>- -<br>- channel: 'Local/s@default'<br>- application: 'Echo'<br>- data: ''<br>-<br>-ami-config:<br>- -<br>- type: 'callback'<br>- conditions:<br>- match:<br>- Event: 'Newexten'<br>- Exten: 's'<br>- Context: 'default'<br>- Priority: '4'<br>- Channel: 'Local/s@default-00000000;2'<br>- callbackModule: 'status'<br>- callbackMethod: 'exec_status'<br>- count: '1'<br>- -<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'Status'<br>- Channel: 'Local/s@default-00000000;1'<br>- requirements:<br>- match:<br>- Privilege: 'Call'<br>- ChannelState: '6'<br>- ChannelStateDesc: 'Up'<br>- CallerIDNum: '<unknown>'<br>- CallerIDName: '<unknown>'<br>- ConnectedLineNum: '<unknown>'<br>- ConnectedLineName: '<unknown>'<br>- Accountcode: ''<br>- Context: 'default'<br>- Exten: 's'<br>- Priority: '1'<br>- Uniqueid: '.+'<br>- Type: 'Local'<br>- DNID: ''<br>- EffectiveConnectedLineNum: '<unknown>'<br>- EffectiveConnectedLineName: '<unknown>'<br>- TimeToHangup: '0'<br>- BridgeID: ''<br>- Linkedid: '.+'<br>- Application: 'Echo'<br>- Data: ''<br>- Nativeformats: '\(slin\)'<br>- Readformat: 'slin'<br>- Readtrans: ''<br>- Writeformat: 'slin'<br>- Writetrans: ''<br>- Callgroup: '0'<br>- Pickupgroup: '0'<br>- Seconds: '[0-9]'<br>- Variable: 'testuniqueid=.*'<br>- count: '1'<br>- -<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'Status'<br>- Channel: 'Local/s@default-00000000;2'<br>- requirements:<br>- match:<br>- Privilege: 'Call'<br>- ChannelState: '6'<br>- ChannelStateDesc: 'Up'<br>- CallerIDNum: '<unknown>'<br>- CallerIDName: '<unknown>'<br>- ConnectedLineNum: '<unknown>'<br>- ConnectedLineName: '<unknown>'<br>- Accountcode: ''<br>- Context: 'default'<br>- Exten: 's'<br>- Priority: '4'<br>- Uniqueid: '.+'<br>- Type: 'Local'<br>- DNID: ''<br>- EffectiveConnectedLineNum: '<unknown>'<br>- EffectiveConnectedLineName: '<unknown>'<br>- TimeToHangup: '0'<br>- BridgeID: ''<br>- Linkedid: '.+'<br>- Application: 'Echo'<br>- Data: ''<br>- Nativeformats: '\(slin\)'<br>- Readformat: 'slin'<br>- Readtrans: ''<br>- Writeformat: 'slin'<br>- Writetrans: ''<br>- Callgroup: '0'<br>- Pickupgroup: '0'<br>- Seconds: '[0-9]'<br>- Variable: 'test_var=test_var_content|testuniqueid=.*'<br>- count: '1'<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python : 'twisted'<br>- - python : 'starpy'<br>diff --git a/tests/pbx/autohints/test-config.yaml b/tests/pbx/autohints/test-config.yaml<br>deleted file mode 100644<br>index 94f8d2f..0000000<br>--- a/tests/pbx/autohints/test-config.yaml<br>+++ /dev/null<br>@@ -1,45 +0,0 @@<br>-testinfo:<br>- summary: 'Test PBX autohints support'<br>- description: |<br>- Tests the PBX autohints support by using a custom device state to<br>- trigger the creation of a hint. Once the hint is created we should<br>- then receive an event about it.<br>-<br>-properties:<br>- minversion: '14.0.0'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: object-config<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- config-section: 'ami-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-object-config:<br>- reactor-timeout: 15<br>- connect-ami: True<br>-<br>-ami-config:<br>- -<br>- ami-start:<br>- ami-actions:<br>- action:<br>- Action: 'SetVar'<br>- Variable: 'DEVICE_STATE(Custom:alice)'<br>- Value: 'INUSE'<br>- -<br>- ami-events:<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'alice'<br>- Context: 'hints'<br>- requirements:<br>- match:<br>- Hint: 'Custom:alice'<br>- Status: '1'<br>- StatusText: 'InUse'<br>- count: 1<br>- stop_test:<br>diff --git a/tests/rest_api/channels/create_dial_bridge/bridge/bridge_after_answer/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/bridge/bridge_after_answer/test-config.yaml<br>deleted file mode 100644<br>index 1559ac8..0000000<br>--- a/tests/rest_api/channels/create_dial_bridge/bridge/bridge_after_answer/test-config.yaml<br>+++ /dev/null<br>@@ -1,165 +0,0 @@<br>-testinfo:<br>- summary: 'Test channels create, dial and bridge after answer'<br>- description: |<br>- * Create channel 1 using channels/create with endpoint = Local/s@default<br>- which answers and plays tt-weasels (but not until dialed below).<br>- * Create bridge1.<br>- * Create channel 2 using channels/create with endpoint = Local/amd@default<br>- which just runs the AMD() app (but not until dialed below).<br>- * Dial channel 1.<br>- * Wait for answer<br>- * Add to bridge.<br>- * Dial channel 2.<br>- * Wait for answer<br>- * Add to bridge.<br>- * Make sure AMD detects HUMAN.<br>- * Wait for channel 2 to hang itself up after AMD returns.<br>- * Delete channel 1 and the bridge.<br>- * Stop.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'ari.AriBaseTestObject'<br>- modules:<br>- - config-section: ami-uut<br>- typename: 'ami.AMIEventModule'<br>- - config-section: 'pluggable-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- apps: 'testsuite'<br>- reactor-timeout: 60<br>- stop-on-end: False<br>-<br>-ami-uut:<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'VarSet'<br>- Variable: 'AMDSTATUS'<br>- Value: 'HUMAN'<br>- count: '1'<br>-<br>-pluggable-config:<br>- -<br>- ari-start:<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- endpoint: 'Local/s@default'<br>- app: 'testsuite'<br>- channelId: 'channel1'<br>- expect: 200<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- 'endpoint': 'Local/amd@default'<br>- 'app': 'testsuite'<br>- 'appArgs': 'amd'<br>- 'channelId': 'channel2'<br>- expect: 200<br>- - method: 'post'<br>- uri: 'bridges/bridge1'<br>- expect: 200<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- args: [<br>- ]<br>- channel:<br>- id: 'channel1$'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/channel1/dial'<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- 'args':<br>- - 'amd'<br>- channel:<br>- id: 'channel2$'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/channel2/dial'<br>- params:<br>- caller: 'channel1'<br>-<br>- - ari-events:<br>- match:<br>- type: 'Dial'<br>- dialstatus: 'ANSWER'<br>- application: 'testsuite'<br>- peer:<br>- id: 'channel1'<br>- state: 'Up'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'bridges/bridge1/addChannel'<br>- params:<br>- channel: 'channel1'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'Dial'<br>- dialstatus: 'ANSWER'<br>- application: 'testsuite'<br>- peer:<br>- id: 'channel2'<br>- state: 'Up'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'bridges/bridge1/addChannel'<br>- params:<br>- channel: 'channel2'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelEnteredBridge'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel[12]$'<br>- count: 2<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelLeftBridge'<br>- channel:<br>- id: 'channel2'<br>- count: 1<br>- ari-requests:<br>- - method: 'delete'<br>- uri: 'channels/channel1'<br>- - method: 'delete'<br>- uri: 'bridges/bridge1'<br>-<br>- - ari-events:<br>- match:<br>- type: 'BridgeDestroyed'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- - asterisk: 'app_amd'<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/create_dial_bridge/bridge/bridge_early_media/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/bridge/bridge_early_media/test-config.yaml<br>deleted file mode 100644<br>index d1431df..0000000<br>--- a/tests/rest_api/channels/create_dial_bridge/bridge/bridge_early_media/test-config.yaml<br>+++ /dev/null<br>@@ -1,143 +0,0 @@<br>-testinfo:<br>- summary: 'Test channels create, dial, bridge with early media'<br>- description: |<br>- * Create channel 1 using channels/create with endpoint = Local/s@default<br>- which sends ringing and plays a human style greeting (but not until dialed below).<br>- * Create channel 2 using channels/create with endpoint = Local/amd@default<br>- which just runs the AMD() app (but not until dialed below).<br>- * Create bridge1.<br>- * Dial channel 2.<br>- * Wait for Answer<br>- * Add channel2 to bridge.<br>- * Add channel1 to bridge.<br>- * Dial channel 1 (it will provide Ringing then the greeting but it won't answer).<br>- * Make sure AMD detects HUMAN.<br>- * Wait for channel 2 to hang itself up after AMD returns.<br>- * Delete channel 1 and the bridge.<br>- * Stop.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'ari.AriBaseTestObject'<br>- modules:<br>- - config-section: ami-uut<br>- typename: 'ami.AMIEventModule'<br>- - config-section: 'pluggable-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- apps: 'testsuite'<br>- reactor-timeout: 60<br>- stop-on-end: False<br>-<br>-ami-uut:<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'VarSet'<br>- Variable: 'AMDSTATUS'<br>- Value: 'HUMAN'<br>- count: '1'<br>-<br>-pluggable-config:<br>- -<br>- ari-start:<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- endpoint: 'Local/s@default'<br>- app: 'testsuite'<br>- channelId: 'channel1'<br>- expect: 200<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- 'endpoint': 'Local/amd@default'<br>- 'app': 'testsuite'<br>- 'appArgs': 'amd'<br>- 'channelId': 'channel2'<br>- expect: 200<br>- - method: 'post'<br>- uri: 'bridges/bridge1'<br>- expect: 200<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- 'args':<br>- - 'amd'<br>- channel:<br>- id: 'channel2$'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/channel2/dial'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'Dial'<br>- dialstatus: 'ANSWER'<br>- application: 'testsuite'<br>- peer:<br>- id: 'channel2'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'bridges/bridge1/addChannel'<br>- params:<br>- channel: 'channel2'<br>- expect: 204<br>- - method: 'post'<br>- uri: 'bridges/bridge1/addChannel'<br>- params:<br>- channel: 'channel1'<br>- expect: 204<br>- - method: 'post'<br>- uri: 'channels/channel1/dial'<br>- params:<br>- caller: 'channel2'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelEnteredBridge'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel[12]$'<br>- count: 2<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelLeftBridge'<br>- channel:<br>- id: 'channel2'<br>- count: 1<br>- ari-requests:<br>- - method: 'delete'<br>- uri: 'channels/channel1'<br>- - method: 'delete'<br>- uri: 'bridges/bridge1'<br>-<br>- - ari-events:<br>- match:<br>- type: 'BridgeDestroyed'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- - asterisk: 'app_amd'<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/test-config.yaml<br>deleted file mode 100644<br>index 16f1ff5..0000000<br>--- a/tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/test-config.yaml<br>+++ /dev/null<br>@@ -1,155 +0,0 @@<br>-testinfo:<br>- summary: 'Test channels/create and channels/dial.'<br>- description: |<br>- * Create channel 1 using channels/create with endpoint = Local/s@default<br>- which answers and plays tt-weasels (but not until dialed below).<br>- * Create bridge1.<br>- * Add channel 1 to bridge 1.<br>- * Create channel 2 using channels/create with endpoint = Local/amd@default<br>- which just runs the AMD() app (but not until dialed below).<br>- * Add channel 2 to bridge 1.<br>- * Dial channel 1.<br>- * Dial channel 2.<br>- * Make sure AMD detects HUMAN.<br>- * Wait for channel 2 to hang itself up after AMD returns.<br>- * Delete channel 1 and the bridge.<br>- * Stop.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'ari.AriBaseTestObject'<br>- modules:<br>- - config-section: ami-uut<br>- typename: 'ami.AMIEventModule'<br>- - config-section: 'pluggable-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- apps: 'testsuite'<br>- reactor-timeout: 60<br>- stop-on-end: False<br>-<br>-ami-uut:<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'VarSet'<br>- Variable: 'AMDSTATUS'<br>- Value: 'HUMAN'<br>- count: '1'<br>-<br>-pluggable-config:<br>- -<br>- ari-start:<br>- ari-requests:<br>- -<br>- method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- endpoint: 'Local/s@default'<br>- app: 'testsuite'<br>- channelId: 'channel1'<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- args: [<br>- ]<br>- channel:<br>- id: 'channel1$'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'bridges/bridge1'<br>- - method: 'post'<br>- uri: 'bridges/bridge1/addChannel'<br>- params:<br>- channel: 'channel1'<br>- - ari-events:<br>- match:<br>- type: 'ChannelEnteredBridge'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1$'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- 'endpoint': 'Local/amd@default'<br>- 'app': 'testsuite'<br>- 'appArgs': 'amd'<br>- 'channelId': 'channel2'<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- 'args':<br>- - 'amd'<br>- channel:<br>- id: 'channel2$'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'bridges/bridge1/addChannel'<br>- params:<br>- channel: 'channel2'<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelEnteredBridge'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel2$'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/channel1/dial'<br>- - method: 'post'<br>- uri: 'channels/channel2/dial'<br>- params:<br>- caller: 'channel1'<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelStateChange'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel[12]'<br>- state: 'Up'<br>- count: 2<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelLeftBridge'<br>- channel:<br>- id: 'channel2'<br>- count: 1<br>- ari-requests:<br>- - method: 'delete'<br>- uri: 'channels/channel1'<br>- - method: 'delete'<br>- uri: 'bridges/bridge1'<br>-<br>- - ari-events:<br>- match:<br>- type: 'BridgeDestroyed'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- - asterisk: 'app_amd'<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/create_dial_bridge/bridge/bridge_while_ringing/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/bridge/bridge_while_ringing/test-config.yaml<br>deleted file mode 100644<br>index c1140d0..0000000<br>--- a/tests/rest_api/channels/create_dial_bridge/bridge/bridge_while_ringing/test-config.yaml<br>+++ /dev/null<br>@@ -1,163 +0,0 @@<br>-testinfo:<br>- summary: 'Test channels create, dial and bridge while ringing'<br>- description: |<br>- * Create channel 1 using channels/create with endpoint = Local/s@default<br>- which answers and plays tt-weasels (but not until dialed below).<br>- * Create bridge1.<br>- * Create channel 2 using channels/create with endpoint = Local/amd@default<br>- which just runs the AMD() app (but not until dialed below).<br>- * Dial channel 1.<br>- * Wait for ringing<br>- * Add to bridge.<br>- * Dial channel 2.<br>- * Wait for ringing<br>- * Add to bridge.<br>- * Make sure AMD detects HUMAN.<br>- * Wait for channel 2 to hang itself up after AMD returns.<br>- * Delete channel 1 and the bridge.<br>- * Stop.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'ari.AriBaseTestObject'<br>- modules:<br>- - config-section: ami-uut<br>- typename: 'ami.AMIEventModule'<br>- - config-section: 'pluggable-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- apps: 'testsuite'<br>- reactor-timeout: 60<br>- stop-on-end: False<br>-<br>-ami-uut:<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'VarSet'<br>- Variable: 'AMDSTATUS'<br>- Value: 'HUMAN'<br>- count: '1'<br>-<br>-pluggable-config:<br>- -<br>- ari-start:<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- endpoint: 'Local/s@default'<br>- app: 'testsuite'<br>- channelId: 'channel1'<br>- expect: 200<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- 'endpoint': 'Local/amd@default'<br>- 'app': 'testsuite'<br>- 'appArgs': 'amd'<br>- 'channelId': 'channel2'<br>- expect: 200<br>- - method: 'post'<br>- uri: 'bridges/bridge1'<br>- expect: 200<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- args: [<br>- ]<br>- channel:<br>- id: 'channel1$'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/channel1/dial'<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- 'args':<br>- - 'amd'<br>- channel:<br>- id: 'channel2$'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/channel2/dial'<br>- params:<br>- caller: 'channel1'<br>-<br>- - ari-events:<br>- match:<br>- type: 'Dial'<br>- dialstatus: 'RINGING'<br>- application: 'testsuite'<br>- peer:<br>- id: 'channel1'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'bridges/bridge1/addChannel'<br>- params:<br>- channel: 'channel1'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'Dial'<br>- dialstatus: 'RINGING'<br>- application: 'testsuite'<br>- peer:<br>- id: 'channel2'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'bridges/bridge1/addChannel'<br>- params:<br>- channel: 'channel2'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelEnteredBridge'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel[12]$'<br>- count: 2<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelLeftBridge'<br>- channel:<br>- id: 'channel2'<br>- count: 1<br>- ari-requests:<br>- - method: 'delete'<br>- uri: 'channels/channel1'<br>- - method: 'delete'<br>- uri: 'bridges/bridge1'<br>-<br>- - ari-events:<br>- match:<br>- type: 'BridgeDestroyed'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- - asterisk: 'app_amd'<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/create_dial_bridge/create/nominal/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/create/nominal/test-config.yaml<br>deleted file mode 100644<br>index b969927..0000000<br>--- a/tests/rest_api/channels/create_dial_bridge/create/nominal/test-config.yaml<br>+++ /dev/null<br>@@ -1,81 +0,0 @@<br>-testinfo:<br>- summary: 'Test channels/create.'<br>- description: |<br>- * Create channel 1 using channels/create with endpoint = Local/s@default<br>- * Do a get to make sure it's actually there<br>- * Delete the channel<br>- * Wait for ChannelHangupRequest<br>- * Do another get and test for 404<br>- * Wait for StasisEnd<br>- * Stop.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'ari.AriBaseTestObject'<br>- modules:<br>- - config-section: 'pluggable-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- apps: 'testsuite'<br>- reactor-timeout: 15<br>- stop-on-end: False<br>-<br>-pluggable-config:<br>- - ari-start:<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- endpoint: 'Local/s@default'<br>- app: 'testsuite'<br>- channelId: 'channel1'<br>- expect: 200<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- ari-requests:<br>- - method: 'get'<br>- uri: 'channels/channel1'<br>- expect: 200<br>- - method: 'delete'<br>- uri: 'channels/channel1'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelHangupRequest'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- ari-requests:<br>- - method: 'get'<br>- uri: 'channels/channel1'<br>- expect: 404<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisEnd'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/create_dial_bridge/create/off-nominal/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/create/off-nominal/test-config.yaml<br>deleted file mode 100644<br>index a3a2b12..0000000<br>--- a/tests/rest_api/channels/create_dial_bridge/create/off-nominal/test-config.yaml<br>+++ /dev/null<br>@@ -1,135 +0,0 @@<br>-testinfo:<br>- summary: 'Test channel operation failures on newly created channel'<br>- description: |<br>- * Create channel 1 using channels/create with endpoint = Local/s@default<br>- * Do a get to make sure it's actually there<br>- * Perform operations that should fail<br>- * Delete the channel<br>- * Wait for ChannelHangupRequest<br>- * Do another get and test for 404<br>- * Wait for StasisEnd<br>- * Stop.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'ari.AriBaseTestObject'<br>- modules:<br>- - config-section: 'pluggable-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- apps: 'testsuite'<br>- reactor-timeout: 15<br>- stop-on-end: False<br>-<br>-pluggable-config:<br>- - ari-start:<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- endpoint: 'Local/s@default'<br>- app: 'testsuite'<br>- channelId: 'channel1'<br>- expect: 200<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- ari-requests:<br>- - method: 'get'<br>- uri: 'channels/channel1'<br>- expect: 200<br>-<br>- - method: 'post'<br>- uri: 'channels/channel1/continue'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/redirect'<br>- params:<br>- endpoint: 'doesnt_matter'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/answer'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/dtmf'<br>- params:<br>- dtmf: '12345'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/ring'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/ring'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/mute'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/mute'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/hold'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/hold'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/moh'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/moh'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/silence'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/silence'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/play'<br>- params:<br>- media: 'sound:silence/5'<br>- expect: 412<br>-<br>- - method: 'delete'<br>- uri: 'channels/channel1'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelHangupRequest'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- ari-requests:<br>- - method: 'get'<br>- uri: 'channels/channel1'<br>- expect: 404<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisEnd'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/test-config.yaml<br>deleted file mode 100644<br>index 1f66714..0000000<br>--- a/tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/test-config.yaml<br>+++ /dev/null<br>@@ -1,97 +0,0 @@<br>-testinfo:<br>- summary: 'Test channels/create then dial.'<br>- description: |<br>- * Create channel 1 using channels/create with endpoint = Local/s@default<br>- * Do a get to make sure it's actually there<br>- * Dial the channel<br>- * Wait for answer and dialplan Channel HangupRequest<br>- * Delete the channel<br>- * Wait for our ChannelHangupRequest<br>- * Stop.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'ari.AriBaseTestObject'<br>- modules:<br>- - config-section: 'pluggable-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- apps: 'testsuite'<br>- reactor-timeout: 30<br>- stop-on-end: False<br>-<br>-pluggable-config:<br>- - ari-start:<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- endpoint: 'Local/s@default'<br>- app: 'testsuite'<br>- channelId: 'channel1'<br>- expect: 200<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- ari-requests:<br>- - method: 'get'<br>- uri: 'channels/channel1'<br>- expect: 200<br>-<br>- - method: 'post'<br>- uri: 'channels/channel1/dial'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'Dial'<br>- dialstatus: 'ANSWER'<br>- application: 'testsuite'<br>- peer:<br>- id: 'channel1'<br>- state: 'Up'<br>- count: 1<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelHangupRequest'<br>- cause: 16<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisEnd'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelDestroyed'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/test-config.yaml<br>deleted file mode 100644<br>index 5a08d6f..0000000<br>--- a/tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/test-config.yaml<br>+++ /dev/null<br>@@ -1,104 +0,0 @@<br>-testinfo:<br>- summary: 'Test continue on a channel created with separate dial.'<br>- description: |<br>- * Create channel 1 using channels/create with endpoint = Local/1000@default<br>- * Do a get to make sure it's actually there<br>- * Dial the channel<br>- * Wait for answer<br>- * Send continue<br>- * Wait for StasisStart from new extension<br>- * Wait for Hangup app<br>- * Wait for ChannelHangupRequest with cause 99<br>- * Delete the channel<br>- * Wait for our ChannelHangupRequest<br>- * Wait for StasisEnd<br>- * Stop.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'ari.AriBaseTestObject'<br>- modules:<br>- - config-section: 'pluggable-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- apps: 'testsuite'<br>- reactor-timeout: 30<br>- stop-on-end: False<br>-<br>-pluggable-config:<br>- - ari-start:<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- endpoint: 'Local/1000@default'<br>- app: 'testsuite'<br>- appArgs: 'extension_1000'<br>- channelId: 'channel1'<br>- expect: 200<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- args: ['extension_1000']<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- ari-requests:<br>- - method: 'get'<br>- uri: 'channels/channel1'<br>- expect: 200<br>-<br>- - method: 'post'<br>- uri: 'channels/channel1/dial'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'Dial'<br>- dialstatus: 'ANSWER'<br>- application: 'testsuite'<br>- peer:<br>- id: 'channel1'<br>- state: 'Up'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/channel1/continue'<br>- params:<br>- context: 'default'<br>- extension: '2000'<br>- priority: 1<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelDialplan'<br>- dialplan_app: 'Hangup'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelDestroyed'<br>- cause: 99<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/create_dial_bridge/dial/off-nominal/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/dial/off-nominal/test-config.yaml<br>deleted file mode 100644<br>index 4bd3524..0000000<br>--- a/tests/rest_api/channels/create_dial_bridge/dial/off-nominal/test-config.yaml<br>+++ /dev/null<br>@@ -1,149 +0,0 @@<br>-testinfo:<br>- summary: 'Test invalid operations on channels/create then dial.'<br>- description: |<br>- * Create channel 1 using channels/create with endpoint = Local/s@default<br>- * Do a get to make sure it's actually there<br>- * Dial the channel<br>- * Wait for ringing<br>- * Run the invalid operations<br>- * Delete the channel<br>- * Wait for our ChannelHangupRequest<br>- * Stop.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'test-object-config'<br>- typename: 'ari.AriBaseTestObject'<br>- modules:<br>- - config-section: 'pluggable-config'<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- apps: 'testsuite'<br>- reactor-timeout: 30<br>- stop-on-end: False<br>-<br>-pluggable-config:<br>- - ari-start:<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/create'<br>- params:<br>- endpoint: 'Local/s@default'<br>- app: 'testsuite'<br>- channelId: 'channel1'<br>- expect: 200<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisStart'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- ari-requests:<br>- - method: 'get'<br>- uri: 'channels/channel1'<br>- expect: 200<br>-<br>- - method: 'post'<br>- uri: 'channels/channel1/dial'<br>- expect: 204<br>-<br>- - ari-events:<br>- match:<br>- type: 'Dial'<br>- dialstatus: 'RINGING'<br>- application: 'testsuite'<br>- peer:<br>- id: 'channel1'<br>- count: 1<br>- ari-requests:<br>- - method: 'post'<br>- uri: 'channels/channel1/continue'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/redirect'<br>- params:<br>- endpoint: 'doesnt_matter'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/answer'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/dtmf'<br>- params:<br>- dtmf: '12345'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/ring'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/ring'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/mute'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/mute'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/hold'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/hold'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/moh'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/moh'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/silence'<br>- expect: 412<br>- - method: 'delete'<br>- uri: 'channels/channel1/silence'<br>- expect: 412<br>- - method: 'post'<br>- uri: 'channels/channel1/play'<br>- params:<br>- media: 'sound:silence/1'<br>- expect: 412<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelHangupRequest'<br>- cause: 0<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>-<br>- - ari-events:<br>- match:<br>- type: 'StasisEnd'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>-<br>- - ari-events:<br>- match:<br>- type: 'ChannelDestroyed'<br>- application: 'testsuite'<br>- channel:<br>- id: 'channel1'<br>- count: 1<br>- stop_test:<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/create_duplicate_id/test-config.yaml b/tests/rest_api/channels/create_duplicate_id/test-config.yaml<br>deleted file mode 100644<br>index 1779a6b..0000000<br>--- a/tests/rest_api/channels/create_duplicate_id/test-config.yaml<br>+++ /dev/null<br>@@ -1,69 +0,0 @@<br>-testinfo:<br>- summary: 'Ensure that duplicate channel IDs are not allowed during channel creation.'<br>- description: |<br>- 'This test ensures that duplicate channel IDs are not allowed during channel<br>- creation. When a duplicate channel ID is used, ARI should return a 409 response.<br>- The test works as follows:<br>- * A channel is originated with ID "eggs". This will succeed with a 200 response<br>- and result in a StasisStart event.<br>- * Once we get the Stasis Start, we attempt to create a channel using the same ID<br>- in the following ways:<br>- * Create, specifying channelID "eggs"<br>- * Create, specifying otherChannelID "eggs"<br>- These should each fail with a 409 response and no corresponding StasisStart. The<br>- test fails if:<br>- * A create succeeds<br>- * A create fails with a non-409 status<br>- * A create fails with a non HTTP error<br>- * A StasisStart happens for a failed create<br>- * Hang up the channel.'<br>-<br>-<br>-test-modules:<br>- add-test-to-search-path: True<br>- test-object:<br>- typename: ari.AriOriginateTestObject<br>- config-section: ari-config<br>- modules:<br>- -<br>- config-section: event-config<br>- typename: ari.WebSocketEventModule<br>-<br>-<br>-ari-config:<br>- test-iterations:<br>- -<br>- endpoint: 'Local/echo@default'<br>- channelId: 'eggs'<br>- app: 'testsuite'<br>-<br>-<br>-event-config:<br>- apps: testsuite<br>- events:<br>- -<br>- conditions:<br>- match:<br>- type: StasisStart<br>- application: testsuite<br>- args: []<br>- count: 1<br>- callback:<br>- module: duplicate_id<br>- method: on_start<br>-<br>-<br>-properties:<br>- minversion: '14.2.0'<br>- dependencies:<br>- - python: 'autobahn.websocket'<br>- - python: 'requests'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_ari_channels'<br>- - asterisk: 'res_stasis'<br>- tags:<br>- - ARI<br>- issues:<br>- - jira: 'ASTERISK-26241'<br>-<br>diff --git a/tests/rest_api/channels/playback/lists/basic/test-config.yaml b/tests/rest_api/channels/playback/lists/basic/test-config.yaml<br>deleted file mode 100644<br>index e7e235a..0000000<br>--- a/tests/rest_api/channels/playback/lists/basic/test-config.yaml<br>+++ /dev/null<br>@@ -1,192 +0,0 @@<br>-testinfo:<br>- summary: 'Test playback start and manipulation using IDs'<br>- description: |<br>- * Originate a channel<br>- * Playback a list of audio files<br>- * Pause it<br>- * Unpause it<br>- * Restart it<br>- * Delete the channel<br>- * Validate all the events<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python : autobahn.websocket<br>- - python : requests<br>- - python : twisted<br>- - python : starpy<br>- - asterisk : res_ari_channels<br>- - asterisk : res_ari_playbacks<br>- - asterisk : app_echo<br>- tags:<br>- - ARI<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: ari.AriOriginateTestObject<br>- modules:<br>- -<br>- config-section: ari-config<br>- typename: ari.WebSocketEventModule<br>- -<br>- config-section: ari-test-stopper<br>- typename: pluggable_modules.EventActionModule<br>- -<br>- config-section: asterisk-config<br>- typename: pluggable_modules.AsteriskConfigModule<br>-<br>-asterisk-config:<br>- -<br>- src: 'tests/rest_api/channels/playback/lists/configs/extensions.conf'<br>- dst: 'extensions.conf'<br>-<br>-test-object-config:<br>- stop-on-end: False<br>-<br>-ari-test-stopper:<br>- -<br>- ari-events:<br>- match:<br>- type: ChannelDestroyed<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- stop_test:<br>-<br>-ari-config:<br>- apps: testsuite<br>- events:<br>- -<br>- conditions:<br>- match:<br>- type: 'ChannelStateChange'<br>- count: '>1'<br>- -<br>- conditions:<br>- match:<br>- type: StasisStart<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- count: 1<br>- requests:<br>- method: 'post'<br>- uri: 'channels/testsuite-default-id/play/MyPlaybackId'<br>- params:<br>- media: 'sound:silence/1,sound:silence/2,sound:silence/3'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/1'<br>- next_media_uri: 'sound:silence/2'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'playing'<br>- count: 1<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackContinuing<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/1'<br>- next_media_uri: 'sound:silence/2'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'continuing'<br>- count: 1<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/2'<br>- next_media_uri: 'sound:silence/3'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'playing'<br>- count: 1<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackContinuing<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/2'<br>- next_media_uri: 'sound:silence/3'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'continuing'<br>- count: 1<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/3'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'playing'<br>- count: 2<br>- requests:<br>- -<br>- instance: 1<br>- delay: 1<br>- method: 'post'<br>- uri: 'playbacks/MyPlaybackId/control'<br>- params:<br>- operation: pause<br>- # pause operation does not generate an event<br>- -<br>- instance: 1<br>- delay: 2<br>- method: 'post'<br>- uri: 'playbacks/MyPlaybackId/control'<br>- params:<br>- operation: unpause<br>- # unpause operation triggers PlaybackStarted instance #2<br>- -<br>- instance: 2<br>- method: 'post'<br>- uri: 'playbacks/MyPlaybackId/control'<br>- params:<br>- operation: restart<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackFinished<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/3'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'done'<br>- count: 1<br>- requests:<br>- # playback is already deleted<br>- method: 'delete'<br>- uri: 'channels/testsuite-default-id'<br>- -<br>- conditions:<br>- match:<br>- type: ChannelHangupRequest<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- count: 1<br>-<br>- -<br>- conditions:<br>- match:<br>- type: StasisEnd<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- count: 1<br>diff --git a/tests/rest_api/channels/playback/lists/forward/test-config.yaml b/tests/rest_api/channels/playback/lists/forward/test-config.yaml<br>deleted file mode 100644<br>index 6feb7d5..0000000<br>--- a/tests/rest_api/channels/playback/lists/forward/test-config.yaml<br>+++ /dev/null<br>@@ -1,145 +0,0 @@<br>-testinfo:<br>- summary: Tests that the forward ARI playback command works on channels as intended<br>- description: |<br>- This test puts a local channel half into Stasis, and the other into the Echo<br>- application. Starts an ARI playback of tt-monkeys on a channel, and as soon<br>- as the playback starts, fastforwards the playback. Test passes if a playback<br>- FastForward TestEvent gets received.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: ari.AriOriginateTestObject<br>- modules:<br>- -<br>- config-section: ari-config<br>- typename: ari.WebSocketEventModule<br>- -<br>- config-section: ari-test-stopper<br>- typename: pluggable_modules.EventActionModule<br>- -<br>- config-section: asterisk-config<br>- typename: pluggable_modules.AsteriskConfigModule<br>- -<br>- config-section: ami-config<br>- typename: ami.AMIEventModule<br>-<br>-asterisk-config:<br>- -<br>- src: 'tests/rest_api/channels/playback/lists/configs/extensions.conf'<br>- dst: 'extensions.conf'<br>-<br>-test-object-config:<br>- stop-on-end: False<br>-<br>-ari-test-stopper:<br>- -<br>- ari-events:<br>- match:<br>- type: ChannelDestroyed<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- stop_test:<br>-<br>-ari-config:<br>- apps: testsuite<br>- events:<br>- -<br>- conditions:<br>- match:<br>- type: StasisStart<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- count: 1<br>- requests:<br>- -<br>- method: 'post'<br>- uri: 'channels/testsuite-default-id/play/list'<br>- params:<br>- media: 'sound:tt-monkeys,sound:tt-weasels'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'list'<br>- target_uri: 'channel:testsuite-default-id$'<br>- media_uri: 'sound:tt-monkeys'<br>- count: 1<br>- requests:<br>- -<br>- method: 'post'<br>- uri: 'playbacks/list/control?operation=forward'<br>- -<br>- delay: 1<br>- method: 'post'<br>- uri: 'playbacks/list/control?operation=forward'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackContinuing<br>- application: testsuite<br>- playback:<br>- id: 'list'<br>- target_uri: 'channel:testsuite-default-id$'<br>- media_uri: 'sound:tt-monkeys'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'list'<br>- target_uri: 'channel:testsuite-default-id$'<br>- media_uri: 'sound:tt-weasels'<br>- count: 1<br>- requests:<br>- -<br>- method: 'post'<br>- uri: 'playbacks/list/control?operation=forward'<br>- -<br>- delay: 2<br>- method: 'delete'<br>- uri: 'playbacks/list'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackFinished<br>- application: testsuite<br>- playback:<br>- id: 'list'<br>- target_uri: 'channel:testsuite-default-id$'<br>- media_uri: 'sound:tt-weasels'<br>- count: 1<br>- requests:<br>- -<br>- method: 'delete'<br>- uri: 'channels/testsuite-default-id'<br>-<br>-ami-config:<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'TestEvent'<br>- State: 'PLAYBACK'<br>- Control: 'FastForward'<br>- SkipMs: '3000'<br>- count: 3<br>-<br>-properties:<br>- buildoption: 'TEST_FRAMEWORK'<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python : autobahn.websocket<br>- - python : requests<br>- - python : twisted<br>- - python : starpy<br>- - asterisk : res_ari_channels<br>- - asterisk : res_ari_playbacks<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/playback/lists/reverse/test-config.yaml b/tests/rest_api/channels/playback/lists/reverse/test-config.yaml<br>deleted file mode 100644<br>index 60ec322..0000000<br>--- a/tests/rest_api/channels/playback/lists/reverse/test-config.yaml<br>+++ /dev/null<br>@@ -1,143 +0,0 @@<br>-testinfo:<br>- summary: Tests that the forward ARI playback command works on channels as intended<br>- description: |<br>- This test puts a local channel half into Stasis, and the other into the Echo<br>- application. Starts an ARI playback of tt-monkeys on a channel, and as soon<br>- as the playback starts, fastforwards the playback. Test passes if a playback<br>- Reverse TestEvent gets received.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: ari.AriOriginateTestObject<br>- modules:<br>- -<br>- config-section: ari-config<br>- typename: ari.WebSocketEventModule<br>- -<br>- config-section: ari-test-stopper<br>- typename: pluggable_modules.EventActionModule<br>- -<br>- config-section: asterisk-config<br>- typename: pluggable_modules.AsteriskConfigModule<br>- -<br>- config-section: ami-config<br>- typename: ami.AMIEventModule<br>-<br>-asterisk-config:<br>- -<br>- src: 'tests/rest_api/channels/playback/lists/configs/extensions.conf'<br>- dst: 'extensions.conf'<br>-<br>-test-object-config:<br>- stop-on-end: False<br>-<br>-ari-test-stopper:<br>- -<br>- ari-events:<br>- match:<br>- type: ChannelDestroyed<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- stop_test:<br>-<br>-ari-config:<br>- apps: testsuite<br>- events:<br>- -<br>- conditions:<br>- match:<br>- type: StasisStart<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- count: 1<br>- requests:<br>- -<br>- method: 'post'<br>- uri: 'channels/testsuite-default-id/play/list'<br>- params:<br>- media: 'sound:tt-monkeys,sound:tt-weasels'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'list'<br>- target_uri: 'channel:testsuite-default-id$'<br>- media_uri: 'sound:tt-monkeys'<br>- count: 1<br>- requests:<br>- -<br>- delay: 1<br>- method: 'post'<br>- uri: 'playbacks/list/control?operation=reverse'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackContinuing<br>- application: testsuite<br>- playback:<br>- id: 'list'<br>- target_uri: 'channel:testsuite-default-id$'<br>- media_uri: 'sound:tt-monkeys'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'list'<br>- target_uri: 'channel:testsuite-default-id$'<br>- media_uri: 'sound:tt-weasels'<br>- count: 1<br>- requests:<br>- -<br>- delay: 1<br>- method: 'post'<br>- uri: 'playbacks/list/control?operation=reverse'<br>- -<br>- delay: 3<br>- method: 'delete'<br>- uri: 'playbacks/list'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackFinished<br>- application: testsuite<br>- playback:<br>- id: 'list'<br>- target_uri: 'channel:testsuite-default-id$'<br>- media_uri: 'sound:tt-weasels'<br>- count: 1<br>- requests:<br>- -<br>- method: 'delete'<br>- uri: 'channels/testsuite-default-id'<br>-<br>-ami-config:<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'TestEvent'<br>- State: 'PLAYBACK'<br>- Control: 'Rewind'<br>- SkipMs: '3000'<br>- count: 2<br>-<br>-properties:<br>- buildoption: 'TEST_FRAMEWORK'<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python : autobahn.websocket<br>- - python : requests<br>- - python : twisted<br>- - python : starpy<br>- - asterisk : res_ari_channels<br>- - asterisk : res_ari_playbacks<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/channels/playback/lists/stop/test-config.yaml b/tests/rest_api/channels/playback/lists/stop/test-config.yaml<br>deleted file mode 100644<br>index d8e5d64..0000000<br>--- a/tests/rest_api/channels/playback/lists/stop/test-config.yaml<br>+++ /dev/null<br>@@ -1,171 +0,0 @@<br>-testinfo:<br>- summary: 'Test playback stop of a playlist'<br>- description: |<br>- * Originate a channel<br>- * Playback a list of audio files<br>- * Before the list completes, stop the list<br>- * Verify that we don't receive any further events<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python : autobahn.websocket<br>- - python : requests<br>- - python : twisted<br>- - python : starpy<br>- - asterisk : res_ari_channels<br>- - asterisk : res_ari_playbacks<br>- - asterisk : app_echo<br>- tags:<br>- - ARI<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: ari.AriOriginateTestObject<br>- modules:<br>- -<br>- config-section: ari-config<br>- typename: ari.WebSocketEventModule<br>- -<br>- config-section: ari-test-stopper<br>- typename: pluggable_modules.EventActionModule<br>- -<br>- config-section: asterisk-config<br>- typename: pluggable_modules.AsteriskConfigModule<br>-<br>-asterisk-config:<br>- -<br>- src: 'tests/rest_api/channels/playback/lists/configs/extensions.conf'<br>- dst: 'extensions.conf'<br>-<br>-test-object-config:<br>- stop-on-end: False<br>-<br>-ari-test-stopper:<br>- -<br>- ari-events:<br>- match:<br>- type: ChannelDestroyed<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- stop_test:<br>-<br>-ari-config:<br>- apps: testsuite<br>- events:<br>- -<br>- conditions:<br>- match:<br>- type: 'ChannelStateChange'<br>- count: '>1'<br>- -<br>- conditions:<br>- match:<br>- type: StasisStart<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- count: 1<br>- requests:<br>- method: 'post'<br>- uri: 'channels/testsuite-default-id/play/MyPlaybackId'<br>- params:<br>- media: 'sound:silence/1,sound:silence/2,sound:silence/3'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/1'<br>- next_media_uri: 'sound:silence/2'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'playing'<br>- count: 1<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackContinuing<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/1'<br>- next_media_uri: 'sound:silence/2'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'continuing'<br>- count: 1<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/2'<br>- next_media_uri: 'sound:silence/3'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'playing'<br>- count: 1<br>- requests:<br>- -<br>- instance: 1<br>- method: 'delete'<br>- uri: 'playbacks/MyPlaybackId'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackContinuing<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/2'<br>- next_media_uri: 'sound:silence/3'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'continuing'<br>- count: 0<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackStarted<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/3'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'playing'<br>- count: 0<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackFinished<br>- application: testsuite<br>- playback:<br>- id: 'MyPlaybackId'<br>- media_uri: 'sound:silence/2'<br>- target_uri: 'channel:testsuite-default-id$'<br>- state: 'done'<br>- count: 1<br>- requests:<br>- # playback is already deleted<br>- method: 'delete'<br>- uri: 'channels/testsuite-default-id'<br>- -<br>- conditions:<br>- match:<br>- type: ChannelHangupRequest<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- count: 1<br>-<br>- -<br>- conditions:<br>- match:<br>- type: StasisEnd<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- count: 1<br>diff --git a/tests/rest_api/events/variables/test-config.yaml b/tests/rest_api/events/variables/test-config.yaml<br>deleted file mode 100644<br>index 0ba628a..0000000<br>--- a/tests/rest_api/events/variables/test-config.yaml<br>+++ /dev/null<br>@@ -1,116 +0,0 @@<br>-testinfo:<br>- summary: Test adding variables to ARI events<br>- description: |<br>- With some configuration in ari.conf, we:<br>- 1. create a channel<br>- 2. add it in a bridge<br>- 3. remove it from the bridge<br>- 4. hangup the channel<br>- In each associated ARI event, check that the channel variables are still<br>- present inside the event.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: ari.AriOriginateTestObject<br>- modules:<br>- -<br>- config-section: ari-config<br>- typename: ari.WebSocketEventModule<br>- -<br>- config-section: ari-test-stopper<br>- typename: pluggable_modules.EventActionModule<br>-<br>-test-object-config:<br>- stop-on-end: False<br>- test-iterations:<br>- -<br>- endpoint: Local/s@default<br>- channelId: testsuite-default-id<br>- otherChannelId: testsuite-other-id<br>- app: testsuite<br>- json:<br>- variables:<br>- CAN_YOU_SEE_ME: 'YES'<br>- CHANNEL(language): gobbledegook<br>-<br>-ari-test-stopper:<br>- -<br>- ari-events:<br>- match:<br>- type: StasisEnd<br>- application: testsuite<br>- stop_test:<br>-<br>-ari-config:<br>- events:<br>- - conditions:<br>- match:<br>- type: StasisStart<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- channelvars:<br>- CAN_YOU_SEE_ME: 'YES'<br>- CHANNEL(language): gobbledegook<br>- args: []<br>- count: 1<br>- requests:<br>- -<br>- method: post<br>- uri: bridges<br>- params:<br>- bridgeId: testsuite-bridge-id<br>- expect: 200<br>- -<br>- method: post<br>- uri: bridges/testsuite-bridge-id/addChannel<br>- params:<br>- channel: testsuite-default-id<br>- - conditions:<br>- match:<br>- type: ChannelEnteredBridge<br>- channel:<br>- id: 'testsuite-default-id$'<br>- channelvars:<br>- CAN_YOU_SEE_ME: 'YES'<br>- CHANNEL(language): gobbledegook<br>- requests:<br>- method: post<br>- uri: bridges/testsuite-bridge-id/removeChannel<br>- params:<br>- channel: testsuite-default-id<br>- count: 1<br>- - conditions:<br>- match:<br>- type: ChannelLeftBridge<br>- channel:<br>- id: 'testsuite-default-id$'<br>- channelvars:<br>- CAN_YOU_SEE_ME: 'YES'<br>- CHANNEL(language): gobbledegook<br>- requests:<br>- method: delete<br>- uri: channels/testsuite-default-id<br>- count: 1<br>- - conditions:<br>- match:<br>- type: StasisEnd<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- channelvars:<br>- CAN_YOU_SEE_ME: 'YES'<br>- CHANNEL(language): gobbledegook<br>- count: 1<br>-<br>-properties:<br>- minversion: '14.2.0'<br>- dependencies:<br>- - python : autobahn.websocket<br>- - python : requests<br>- - python : twisted<br>- - python : starpy<br>- - asterisk : res_ari_channels<br>- tags:<br>- - ARI<br>diff --git a/tests/rest_api/recording/stored/file/test-config.yaml b/tests/rest_api/recording/stored/file/test-config.yaml<br>deleted file mode 100644<br>index f498ee9..0000000<br>--- a/tests/rest_api/recording/stored/file/test-config.yaml<br>+++ /dev/null<br>@@ -1,101 +0,0 @@<br>-testinfo:<br>- summary: Test downloading a stored recording<br>- description: |<br>- This test does the following:<br>- - Makes a recording<br>- - Retrieves the recording<br>- - Verifies that the recording was downloaded successfully<br>-<br>-test-modules:<br>- add-test-to-search-path: True<br>- test-object:<br>- config-section: test-object-config<br>- typename: ari.AriOriginateTestObject<br>- modules:<br>- - config-section: ari-config<br>- typename: ari.WebSocketEventModule<br>- -<br>- config-section: asterisk-config<br>- typename: pluggable_modules.AsteriskConfigModule<br>-<br>-test-object-config:<br>- stop-on-end: False<br>- test-iterations:<br>- -<br>- endpoint: 'Local/s@default'<br>- channelId: 'testsuite-default-id'<br>- otherChannelId: 'testsuite-default-other-id'<br>- extension: 's'<br>- context: 'default'<br>- priority: 1<br>-<br>-asterisk-config:<br>- -<br>- src: 'tests/rest_api/recording/stored/configs/extensions.conf'<br>- dst: 'extensions.conf'<br>-<br>-ari-config:<br>- apps: testsuite<br>- events:<br>- -<br>- conditions:<br>- match:<br>- type: StasisStart<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-id$'<br>- count: 1<br>- requests:<br>- method: 'post'<br>- uri: 'channels/testsuite-default-id/record'<br>- params:<br>- name: 'superfly'<br>- format: 'wav'<br>- -<br>- conditions:<br>- match:<br>- type: StasisStart<br>- application: testsuite<br>- channel:<br>- id: 'testsuite-default-other-id'<br>- count: 1<br>- requests:<br>- method: 'post'<br>- uri: 'channels/testsuite-default-other-id/play/MyPlaybackId'<br>- params:<br>- media: 'sound:tt-monkeys'<br>- -<br>- conditions:<br>- match:<br>- type: PlaybackFinished<br>- application: testsuite<br>- playback:<br>- id: MyPlaybackId<br>- count: 1<br>- requests:<br>- method: 'post'<br>- uri: 'recordings/live/superfly/stop'<br>- -<br>- conditions:<br>- match:<br>- type: RecordingFinished<br>- recording:<br>- name: superfly<br>- count: 1<br>- callback:<br>- module: recording<br>- method: on_recording_finished<br>-<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python : autobahn.websocket<br>- - python : requests<br>- - python : twisted<br>- - python : starpy<br>- - asterisk : res_ari_channels<br>- - asterisk : res_ari_recordings<br>- - asterisk : app_echo<br>- tags:<br>- - ARI<br>diff --git a/tests/sorcery/memory_cache_expire/test-config.yaml b/tests/sorcery/memory_cache_expire/test-config.yaml<br>deleted file mode 100644<br>index 53086be..0000000<br>--- a/tests/sorcery/memory_cache_expire/test-config.yaml<br>+++ /dev/null<br>@@ -1,54 +0,0 @@<br>-testinfo:<br>- summary: 'Sorcery Memory Cache AMI SorceryMemoryCacheExpire Test'<br>- description: |<br>- 'This tests that the SorceryMemoryCacheExpire AMI action successfully expires<br>- and removes an object from the cache upon invocation. The test works by doing<br>- the following:<br>- 1. PJSIP endpoints are configured with a memory cache and realtime.<br>- 2. A PJSIP endpoint is defined in realtime at the start of the test.<br>- 3. The PJSIPShowEndpoint AMI action is invoked which populates the memory cache.<br>- 4. The PJSIP endpoint is removed from realtime.<br>- 5. The PJSIPShowEndpoint AMI action is invoked to confirm the endpoint<br>- is retrieved from the cache.<br>- 6. The SorceryMemoryCacheExpire AMI action is invoked on the memory cache.<br>- 7. The PJSIPShowEndpoint AMI action is invoked to confirm the endpoint<br>- CAN NOT be retrieved as it does not exist in realtime or the cache.<br>- 8. The PJSIP endpoint is added back into realtime.<br>- 9. The PJSIPShowEndpoint AMI action is invoked to confirm the endpoint is<br>- retrieved from realtime.'<br>-<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_config_curl'<br>- - asterisk: 'func_curl'<br>- - asterisk: 'res_sorcery_realtime'<br>- - asterisk: 'res_sorcery_memory_cache'<br>- tags:<br>- - realtime<br>- - pjsip<br>-<br>-test-modules:<br>- add-test-to-search-path: 'True'<br>- test-object:<br>- config-section: test-case-config<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- config-section: 'realtime-config'<br>- typename: 'realtime_test_module.RealtimeTestModule'<br>-<br>-test-case-config:<br>- connect-ami: 'True'<br>-<br>-realtime-config:<br>- entry_module: 'memory_cache_expire'<br>- entry_method: 'check_it'<br>- data:<br>- endpoint:<br>- -<br>- id: 'test'<br>diff --git a/tests/sorcery/memory_cache_expire_object/test-config.yaml b/tests/sorcery/memory_cache_expire_object/test-config.yaml<br>deleted file mode 100644<br>index 4e2f62a..0000000<br>--- a/tests/sorcery/memory_cache_expire_object/test-config.yaml<br>+++ /dev/null<br>@@ -1,54 +0,0 @@<br>-testinfo:<br>- summary: 'Sorcery Memory Cache AMI SorceryMemoryCacheExpireObject Test'<br>- description: |<br>- 'This tests that the SorceryMemoryCacheExpireObject AMI action successfully expires<br>- and removes an object from the cache upon invocation. The test works by doing<br>- the following:<br>- 1. PJSIP endpoints are configured with a memory cache and realtime.<br>- 2. A PJSIP endpoint is defined in realtime at the start of the test.<br>- 3. The PJSIPShowEndpoint AMI action is invoked which populates the memory cache.<br>- 4. The PJSIP endpoint is removed from realtime.<br>- 5. The PJSIPShowEndpoint AMI action is invoked to confirm the endpoint<br>- is retrieved from the cache.<br>- 6. The SorceryMemoryCacheExpireObject AMI action is invoked on the memory cache.<br>- 7. The PJSIPShowEndpoint AMI action is invoked to confirm the endpoint<br>- CAN NOT be retrieved as it does not exist in realtime or the cache.<br>- 8. The PJSIP endpoint is added back into realtime.<br>- 9. The PJSIPShowEndpoint AMI action is invoked to confirm the endpoint is<br>- retrieved from realtime.'<br>-<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_config_curl'<br>- - asterisk: 'func_curl'<br>- - asterisk: 'res_sorcery_realtime'<br>- - asterisk: 'res_sorcery_memory_cache'<br>- tags:<br>- - realtime<br>- - pjsip<br>-<br>-test-modules:<br>- add-test-to-search-path: 'True'<br>- test-object:<br>- config-section: test-case-config<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- config-section: 'realtime-config'<br>- typename: 'realtime_test_module.RealtimeTestModule'<br>-<br>-test-case-config:<br>- connect-ami: 'True'<br>-<br>-realtime-config:<br>- entry_module: 'memory_cache_expire_object'<br>- entry_method: 'check_it'<br>- data:<br>- endpoint:<br>- -<br>- id: 'test'<br>diff --git a/tests/sorcery/memory_cache_stale/test-config.yaml b/tests/sorcery/memory_cache_stale/test-config.yaml<br>deleted file mode 100644<br>index c0d8558..0000000<br>--- a/tests/sorcery/memory_cache_stale/test-config.yaml<br>+++ /dev/null<br>@@ -1,51 +0,0 @@<br>-testinfo:<br>- summary: 'Sorcery Memory Cache AMI SorceryMemoryCacheStale Test'<br>- description: |<br>- 'This tests that the SorceryMemoryCacheStale AMI action successfully marks an<br>- object as stale and refreshes it upon the next retrieval. The test works by<br>- doing the following:<br>- 1. PJSIP endpoints are configured with a memory cache and realtime.<br>- 2. A PJSIP endpoint is defined in realtime at the start of the test.<br>- 3. The PJSIPShowEndpoint AMI action is invoked which populates the memory cache.<br>- 4. The PJSIP endpoint is removed from realtime.<br>- 5. The SorceryMemoryCacheStale AMI action is invoked on the memory cache.<br>- 6. The PJSIPShowEndpoint AMI action is invoked to force a refresh of the object.<br>- 7. The test waits for 5 seconds for the fresh to occur.<br>- 6. The PJSIPShowEndpoint AMI action is invoked to confirm the endpoint<br>- CAN NOT be retrieved as it should not exist in realtime or the cache.'<br>-<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_config_curl'<br>- - asterisk: 'func_curl'<br>- - asterisk: 'res_sorcery_realtime'<br>- - asterisk: 'res_sorcery_memory_cache'<br>- tags:<br>- - realtime<br>- - pjsip<br>-<br>-test-modules:<br>- add-test-to-search-path: 'True'<br>- test-object:<br>- config-section: test-case-config<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- config-section: 'realtime-config'<br>- typename: 'realtime_test_module.RealtimeTestModule'<br>-<br>-test-case-config:<br>- connect-ami: 'True'<br>-<br>-realtime-config:<br>- entry_module: 'memory_cache_stale'<br>- entry_method: 'check_it'<br>- data:<br>- endpoint:<br>- -<br>- id: 'test'<br>diff --git a/tests/sorcery/memory_cache_stale_object/test-config.yaml b/tests/sorcery/memory_cache_stale_object/test-config.yaml<br>deleted file mode 100644<br>index d1743f8..0000000<br>--- a/tests/sorcery/memory_cache_stale_object/test-config.yaml<br>+++ /dev/null<br>@@ -1,51 +0,0 @@<br>-testinfo:<br>- summary: 'Sorcery Memory Cache AMI SorceryMemoryCacheStaleObject Test'<br>- description: |<br>- 'This tests that the SorceryMemoryCacheStaleObject AMI action successfully marks an<br>- object as stale and refreshes it upon the next retrieval. The test works by<br>- doing the following:<br>- 1. PJSIP endpoints are configured with a memory cache and realtime.<br>- 2. A PJSIP endpoint is defined in realtime at the start of the test.<br>- 3. The PJSIPShowEndpoint AMI action is invoked which populates the memory cache.<br>- 4. The PJSIP endpoint is removed from realtime.<br>- 5. The SorceryMemoryCacheStaleObject AMI action is invoked on the memory cache.<br>- 6. The PJSIPShowEndpoint AMI action is invoked to force a refresh of the object.<br>- 7. The test waits for 5 seconds for the fresh to occur.<br>- 6. The PJSIPShowEndpoint AMI action is invoked to confirm the endpoint<br>- CAN NOT be retrieved as it should not exist in realtime or the cache.'<br>-<br>-<br>-properties:<br>- minversion: '14.0.0'<br>- dependencies:<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_config_curl'<br>- - asterisk: 'func_curl'<br>- - asterisk: 'res_sorcery_realtime'<br>- - asterisk: 'res_sorcery_memory_cache'<br>- tags:<br>- - realtime<br>- - pjsip<br>-<br>-test-modules:<br>- add-test-to-search-path: 'True'<br>- test-object:<br>- config-section: test-case-config<br>- typename: 'test_case.TestCaseModule'<br>- modules:<br>- -<br>- config-section: 'realtime-config'<br>- typename: 'realtime_test_module.RealtimeTestModule'<br>-<br>-test-case-config:<br>- connect-ami: 'True'<br>-<br>-realtime-config:<br>- entry_module: 'memory_cache_stale_object'<br>- entry_method: 'check_it'<br>- data:<br>- endpoint:<br>- -<br>- id: 'test'<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8487">change 8487</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8487"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I34bfdfbbc059d45ae3007462e06dcd43970c821e </div>
<div style="display:none"> Gerrit-Change-Number: 8487 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>