<p>Kevin Harwell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8043">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Initial commit for 14 testsuite branch<br><br>This patch removes all tests that are not supported by the current Asterisk 14<br>branch. Subsequently, this patch removes all tests that have a minversion<br>greater than 14.7.6 or a maxversion less than 14.7.6.<br><br>Change-Id: I5fc45029a2a28542290f5548a84ef7f484fa6ae4<br>---<br>D tests/apps/waitdigit/test-config.yaml<br>D tests/channels/SIP/ami/sip_notify/call_id/test-config.yaml<br>D tests/channels/SIP/redirecting_reason/v13.0.0/test-config.yaml<br>D tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/test-config.yaml<br>D tests/channels/pjsip/dialplan_functions/pjsip_channel2/test-config.yaml<br>D tests/channels/pjsip/identify/header_ordering_header_ip/test-config.yaml<br>D tests/channels/pjsip/identify/header_ordering_ip_header/test-config.yaml<br>D tests/channels/pjsip/refer_send_to_vm/v12.2.0/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/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml<br>D tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml<br>19 files changed, 0 insertions(+), 1,193 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/43/8043/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">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/SIP/ami/sip_notify/call_id/test-config.yaml b/tests/channels/SIP/ami/sip_notify/call_id/test-config.yaml<br>deleted file mode 100644<br>index 4ed7627..0000000<br>--- a/tests/channels/SIP/ami/sip_notify/call_id/test-config.yaml<br>+++ /dev/null<br>@@ -1,48 +0,0 @@<br>-info:<br>- summary: 'Test SIPNotify AMI Action for Call-ID'<br>- description: |<br>- This Tests the AMI Action SIPNotify in order to make sure<br>- that Call-ID header can be specified.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: sipp.SIPpTestCase<br>- modules:<br>- -<br>- config-section: ami-config<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-test-object-config:<br>- fail-on-any: True<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': { 'scenario': 'caller.xml', '-i': '127.0.0.1', '-p': '5062', '-trace_msg': '-pause_msg_ign' } }<br>- - { 'key-args': { 'scenario': 'callee.xml', '-i': '127.0.0.1', '-p': '5063', '-trace_msg': '-pause_msg_ign' } }<br>-<br>-ami-config:<br>- -<br>- ami-events:<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'VarSet'<br>- Channel: 'SIP/callee-.*'<br>- Variable: 'SIPCALLID'<br>- ami-actions:<br>- action:<br>- Action: 'SIPnotify'<br>- Channel: '{channel}'<br>- Variable: 'Event=talk'<br>- Call-ID: '{value}'<br>-<br>-properties:<br>- minversion: [ '13.20.0', '15.3.0' ]<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'chan_sip'<br>- tags:<br>- - SIP<br>-<br>diff --git a/tests/channels/SIP/redirecting_reason/v13.0.0/test-config.yaml b/tests/channels/SIP/redirecting_reason/v13.0.0/test-config.yaml<br>deleted file mode 100644<br>index 15bb36a..0000000<br>--- a/tests/channels/SIP/redirecting_reason/v13.0.0/test-config.yaml<br>+++ /dev/null<br>@@ -1,67 +0,0 @@<br>-testinfo:<br>- summary: 'Test that custom SIP redirecting reasons are accessible from the dialplan'<br>- description: |<br>- 'This test performs three calls.<br>-<br>- On the first call, an INVITE with a Diversion header arrives into Asterisk. We<br>- ensure that from the dialplan, the redirecting reason is what we expect it to be.<br>-<br>- On the second call, we place an outgoing call to a UAS that responds with a 302. In<br>- that 302, there is a Diversion header with a reason parameter. We again check in the<br>- dialplan to ensure that the redirecting reason has been set to this value.<br>-<br>- On the third call, we place an outgoing call to a UAS that responds with a 480, and<br>- with custom status text. We then ensure that the custom status text appears as the<br>- redirecting reason in the dialplan.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: 'calls'<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: 'ami-config'<br>- typename: 'ami.AMIEventModule'<br>-<br>-calls:<br>- fail-on-any: False<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': { 'scenario': 'uac-diversion.xml', '-s': 'test_diversion'} }<br>- -<br>- scenarios:<br>- - { 'key-args': { 'scenario': 'uas-redirect.xml', '-p': '5062'},<br>- 'ordered-args': ['-key', 'redir_target', 'test_diversion']}<br>- - { 'key-args': { 'scenario': 'uac-no-hangup.xml', '-d': '2000', '-s': 'diverter', '-p': '5061'} }<br>- -<br>- scenarios:<br>- - { 'key-args': { 'scenario': 'uas-480.xml', '-p': '5062'}}<br>- - { 'key-args': { 'scenario': 'uac-no-hangup.xml', '-d': '2000', '-s': 'unavailable', '-p': '5061'} }<br>-<br>-ami-config:<br>- -<br>- type: 'headermatch'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- UserEvent: 'RedirectReason'<br>- requirements:<br>- match:<br>- Result: 'Success'<br>- count: '3'<br>-<br>-properties:<br>- minversion: '13.0.0'<br>- maxversion: '13.8.0'<br>- dependencies:<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - sipp:<br>- version: 'v3.1'<br>- - asterisk: 'app_dial'<br>- - asterisk: 'app_userevent'<br>- - asterisk: 'chan_sip'<br>- - asterisk: 'func_callerid'<br>- tags:<br>- - SIP<br>diff --git a/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/test-config.yaml b/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/test-config.yaml<br>deleted file mode 100644<br>index a7061f1..0000000<br>--- a/tests/channels/pjsip/basic_calls/incoming/nominal/unauthed/ident_by_host_only/test-config.yaml<br>+++ /dev/null<br>@@ -1,34 +0,0 @@<br>-testinfo:<br>- summary: 'Tests incoming calls without authentication matching only on IP address'<br>- description: |<br>- 'Run a SIPp scenario that sends various calls to res_pjsip, which should be matched only on IP address'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>-<br>-test-object-config:<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'} }<br>- # IPv6 & UDP<br>- -<br>- scenarios:<br>- - { 'target': '[::1]', 'key-args': {'scenario': 'playback_with_initial_sdp.xml', '-i': '[::1]', '-p': '5061'} }<br>-<br>-properties:<br>- minversion: [ '13.19.0', '15.2.0' ]<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_pjsip_session'<br>- - asterisk : 'chan_pjsip'<br>- - asterisk : 'res_pjsip_endpoint_identifier_ip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/dialplan_functions/pjsip_channel2/test-config.yaml b/tests/channels/pjsip/dialplan_functions/pjsip_channel2/test-config.yaml<br>deleted file mode 100644<br>index bc1a537..0000000<br>--- a/tests/channels/pjsip/dialplan_functions/pjsip_channel2/test-config.yaml<br>+++ /dev/null<br>@@ -1,62 +0,0 @@<br>-testinfo:<br>- summary: 'Test PJSIP channel for CALLERID(dnid) and CHANNEL(pjsip,request_uri)'<br>- description: |<br>- 'Run a SIPp scenario that places a call from endpoint alice to check<br>- that the CALLERID(dnid) and CHANNEL(pjsip,request_uri) are set to<br>- expected values.'<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: ami-config<br>- typename: 'ami.AMIEventModule'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'incoming.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 'alice'} }<br>-<br>-ami-config:<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'Newchannel'<br>- Channel: 'PJSIP/alice-.*'<br>- count: '1'<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- Channel: 'PJSIP/alice-.*'<br>- UserEvent: 'Failure'<br>- count: '0'<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- Channel: 'PJSIP/alice-.*'<br>- UserEvent: 'Done'<br>- count: '1'<br>-<br>-properties:<br>- minversion: ['13.19.0', '15.2.0']<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'app_dial'<br>- - asterisk : 'app_userevent'<br>- - asterisk : 'func_callerid'<br>- - asterisk : 'func_channel'<br>- - asterisk : 'res_pjsip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/identify/header_ordering_header_ip/test-config.yaml b/tests/channels/pjsip/identify/header_ordering_header_ip/test-config.yaml<br>deleted file mode 100644<br>index 0c91298..0000000<br>--- a/tests/channels/pjsip/identify/header_ordering_header_ip/test-config.yaml<br>+++ /dev/null<br>@@ -1,56 +0,0 @@<br>-testinfo:<br>- summary: 'Tests incoming calls identified by header and source IP'<br>- description: |<br>- This test covers sending calls to an Asterisk instance<br>- identifiable by a custom header and by a source IP address.<br>- It is expected that the requests are accepted by the correct<br>- endpoint determined by endpoint_identifier_order.<br>- This test expects the call to be accepted by the header identifier.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: ami-config<br>- typename: 'ami.AMIEventModule'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: True<br>- test-iterations:<br>- # IPv4 & UDP<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'nominal.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 's'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>-<br>-ami-config:<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- UserEvent: 'Header'<br>- count: '1'<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- UserEvent: 'Ip'<br>- count: '0'<br>-<br>-properties:<br>- minversion: ['13.20.0', '15.3.0']<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'app_userevent'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_pjsip_endpoint_identifier_ip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/identify/header_ordering_ip_header/test-config.yaml b/tests/channels/pjsip/identify/header_ordering_ip_header/test-config.yaml<br>deleted file mode 100644<br>index 0dc4167..0000000<br>--- a/tests/channels/pjsip/identify/header_ordering_ip_header/test-config.yaml<br>+++ /dev/null<br>@@ -1,56 +0,0 @@<br>-testinfo:<br>- summary: 'Tests incoming calls identified by header and source IP'<br>- description: |<br>- This test covers sending calls to an Asterisk instance<br>- identifiable by a custom header and by a source IP address.<br>- It is expected that the requests are accepted by the correct<br>- endpoint determined by endpoint_identifier_order.<br>- This test expects the call to be accepted by the ip identifier.<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: ami-config<br>- typename: 'ami.AMIEventModule'<br>-<br>-test-object-config:<br>- memcheck-delay-stop: 7<br>- fail-on-any: True<br>- test-iterations:<br>- # IPv4 & UDP<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'nominal.xml', '-i': '127.0.0.1', '-p': '5061', '-s': 's'},<br>- 'ordered-args': ['-key', 'ident_key', 'e7657250-07fa-11e7-92f8-1b946c0c7e84'] }<br>-<br>-ami-config:<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- UserEvent: 'Header'<br>- count: '0'<br>- -<br>- type: 'headermatch'<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- UserEvent: 'Ip'<br>- count: '1'<br>-<br>-properties:<br>- minversion: ['13.20.0', '15.3.0']<br>- dependencies:<br>- - sipp :<br>- version : 'v3.0'<br>- - asterisk : 'app_userevent'<br>- - asterisk : 'res_pjsip'<br>- - asterisk : 'res_pjsip_endpoint_identifier_ip'<br>- tags:<br>- - pjsip<br>diff --git a/tests/channels/pjsip/refer_send_to_vm/v12.2.0/test-config.yaml b/tests/channels/pjsip/refer_send_to_vm/v12.2.0/test-config.yaml<br>deleted file mode 100644<br>index 0344df6..0000000<br>--- a/tests/channels/pjsip/refer_send_to_vm/v12.2.0/test-config.yaml<br>+++ /dev/null<br>@@ -1,54 +0,0 @@<br>-testinfo:<br>- summary: 'Test the send to voicemail headers in a refer.'<br>- description: |<br>- 'When using a Digium phone depending on the configuration it is<br>- possible for a REFER to contain a diversion and/or custom header.<br>- This tests that the appropriate variables are set on the channel<br>- before entering the dialplan when those headers are present in<br>- a REFER.'<br>-<br>-properties:<br>- minversion: '12.2.0'<br>- maxversion: '13.8.0'<br>- dependencies:<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - app: 'sipp'<br>- - asterisk: 'app_dial'<br>- - asterisk: 'app_userevent'<br>- - asterisk: 'func_callerid'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_pjsip_header_funcs'<br>- - asterisk: 'res_pjsip_refer'<br>- - asterisk: 'res_pjsip_send_to_voicemail'<br>- tags:<br>- - pjsip<br>-<br>-test-modules:<br>- test-object:<br>- config-section: test-object-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: ami-config<br>- typename: 'ami.AMIEventModule'<br>-<br>-test-object-config:<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': { 'scenario':'refer.xml', '-p':'5062' } }<br>- - { 'key-args': { 'scenario':'invite.xml', '-p':'5061' } }<br>-<br>-ami-config:<br>- -<br>- id: '0'<br>- type: 'headermatch'<br>- count: '1'<br>- conditions:<br>- match:<br>- Event: 'UserEvent'<br>- requirements:<br>- match:<br>- Status: 'passed'<br>-<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/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml b/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml<br>deleted file mode 100644<br>index 1c81712..0000000<br>--- a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_pidf/test-config.yaml<br>+++ /dev/null<br>@@ -1,261 +0,0 @@<br>-testinfo:<br>- summary: 'Ensure NOTIFY bodies for pidf+xml subscriptions are correct.'<br>- description: |<br>- 'A SIPp instance subscribes to "bob" using pidf+xml. Upon the<br>- first TestEvent indicating that there is an active subscription, the<br>- state of "Custom:bob" is changed. Each AMI event indicating that a<br>- state change occurred triggers another state change until all states<br>- have been set. The SIPp scenario expects to receive a NOTIFY message<br>- for each state and simply responds to them.<br>-<br>- A test module is used to verify each NOTIFY body that it finds while<br>- listening for SIP packets. The module parses the body and verifies the<br>- tags, attributes, and text for each element using the specified<br>- configuration. If the body is not able to be parsed(IE. malformed XML)<br>- or any component of the body does not match what is expected, the test<br>- fails.'<br>-<br>-properties:<br>- minversion: ['13.19.0', '15.2.0']<br>- dependencies:<br>- - buildoption: 'TEST_FRAMEWORK'<br>- - sipp :<br>- version : 'v3.0'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - python: 'yappcap'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_pjsip_exten_state'<br>- - asterisk: 'res_pjsip_pidf_body_generator'<br>- tags:<br>- - pjsip<br>-<br>-test-modules:<br>- add-relative-to-search-path: ['..']<br>- test-object:<br>- config-section: sipp-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: test-config<br>- typename: 'presence.BodyCheck'<br>- -<br>- config-section: ami-config<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-sipp-config:<br>- reactor-timeout: 30<br>- fail-on-any: True<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'subscribe.xml', '-p': '5061'},<br>- 'ordered-args': ['-timeout_error'] }<br>-<br>-test-config:<br>- # Expected number of NOTIFY messages with the expected body type.<br>- expected_notifies: '7'<br>- # Expected body type.<br>- expected_body_type: 'pidf'<br>- # Expected body.<br>- expected_body:<br>- # Expected namespaces for PIDF bodies.<br>- namespaces:<br>- default: 'urn:ietf:params:xml:ns:pidf'<br>- pp: 'urn:ietf:params:xml:ns:pidf:data-model'<br>- ep: 'urn:ietf:params:xml:ns:pidf:rpid'<br>- # All expected element tag names for PIDF bodies.<br>- tags:<br>- ['presence', 'note', 'tuple', 'status', 'basic', 'contact',<br>- 'pp:person', 'ep:activities', 'ep:on-the-phone']<br>- # Regex patterns for element attributes for each body in order. Some<br>- # attribute values of elements differ for each body depending on the<br>- # body type and state changes. Therefore we list them in the order that<br>- # matches the state changes. For this test the attribute values should<br>- # be the same for all bodies.<br>- attributes:<br>- -<br>- presence:<br>- entity: '^sip:bob@127.0.0.1(:5060)?$'<br>- tuple:<br>- id: '^bob$'<br>- contact:<br>- priority: '^1$'<br>- -<br>- presence:<br>- entity: '^sip:bob@127.0.0.1(:5060)?$'<br>- tuple:<br>- id: '^bob$'<br>- contact:<br>- priority: '^1$'<br>- -<br>- presence:<br>- entity: '^sip:bob@127.0.0.1(:5060)?$'<br>- tuple:<br>- id: '^bob$'<br>- contact:<br>- priority: '^1$'<br>- -<br>- presence:<br>- entity: '^sip:bob@127.0.0.1(:5060)?$'<br>- tuple:<br>- id: '^bob$'<br>- contact:<br>- priority: '^1$'<br>- -<br>- presence:<br>- entity: '^sip:bob@127.0.0.1(:5060)?$'<br>- tuple:<br>- id: '^bob$'<br>- contact:<br>- priority: '^1$'<br>- -<br>- presence:<br>- entity: '^sip:bob@127.0.0.1(:5060)?$'<br>- tuple:<br>- id: '^bob$'<br>- contact:<br>- priority: '^1$'<br>- -<br>- presence:<br>- entity: '^sip:bob@127.0.0.1(:5060)?$'<br>- tuple:<br>- id: '^bob$'<br>- contact:<br>- priority: '^1$'<br>- # Regex patterns for element text for each body in order. Some text<br>- # of elements differ for each body depending on the body type and state<br>- # changes. Therefore we list them in the order that matches the state<br>- # changes.<br>- text:<br>- -<br>- note: 'Ready'<br>- basic: 'open'<br>- contact: '^sip:alice@127.0.0.1(:5060)?$'<br>- -<br>- note: 'Ringing'<br>- basic: 'open'<br>- contact: '^sip:alice@127.0.0.1(:5060)?$'<br>- -<br>- note: 'On the phone'<br>- basic: 'open'<br>- contact: '^sip:alice@127.0.0.1(:5060)?$'<br>- -<br>- note: 'On hold'<br>- basic: 'open'<br>- contact: '^sip:alice@127.0.0.1(:5060)?$'<br>- -<br>- note: 'On the phone'<br>- basic: 'open'<br>- contact: '^sip:alice@127.0.0.1(:5060)?$'<br>- -<br>- note: 'Unavailable'<br>- basic: 'closed'<br>- contact: '^sip:alice@127.0.0.1(:5060)?$'<br>- -<br>- note: 'Ready'<br>- basic: 'open'<br>- contact: '^sip:alice@127.0.0.1(:5060)?$'<br>-<br>-ami-config:<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'TestEvent'<br>- State: 'SUBSCRIPTION_STATE_SET'<br>- StateText: 'ACTIVE'<br>- Endpoint: 'alice'<br>- count: '>1'<br>- trigger-on-count: True<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'RINGING'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Ringing'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'INUSE'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'InUse'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'ONHOLD'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Hold'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'BUSY'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Busy'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'UNAVAILABLE'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Unavailable'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'NOT_INUSE'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Idle'<br>- count: '1'<br>diff --git a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml b/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml<br>deleted file mode 100644<br>index a7cc47f..0000000<br>--- a/tests/channels/pjsip/subscriptions/presence/verify_bodies/verify_xpidf/test-config.yaml<br>+++ /dev/null<br>@@ -1,265 +0,0 @@<br>-testinfo:<br>- summary: 'Ensure NOTIFY bodies for xpidf+xml subscriptions are correct.'<br>- description: |<br>- 'A SIPp instance subscribes to "bob" using xpidf+xml. Upon the<br>- first TestEvent indicating that there is an active subscription, the<br>- state of "Custom:bob" is changed. Each AMI event indicating that a<br>- state change occurred triggers another state change until all states<br>- have been set. The SIPp scenario expects to receive a NOTIFY message<br>- for each state and simply responds to them.<br>-<br>- A test module is used to verify each NOTIFY body that it finds while<br>- listening for SIP packets. The module parses the body and verifies the<br>- tags, attributes, and text for each element using the specified<br>- configuration. If the body is not able to be parsed(IE. malformed XML)<br>- or any component of the body does not match what is expected, the test<br>- fails.'<br>-<br>-properties:<br>- minversion: ['13.19.0', '15.2.0']<br>- dependencies:<br>- - buildoption: 'TEST_FRAMEWORK'<br>- - sipp :<br>- version : 'v3.0'<br>- - python: 'twisted'<br>- - python: 'starpy'<br>- - python: 'yappcap'<br>- - asterisk: 'res_pjsip'<br>- - asterisk: 'res_pjsip_exten_state'<br>- - asterisk: 'res_pjsip_xpidf_body_generator'<br>- tags:<br>- - pjsip<br>-<br>-test-modules:<br>- add-relative-to-search-path: ['..']<br>- test-object:<br>- config-section: sipp-config<br>- typename: 'sipp.SIPpTestCase'<br>- modules:<br>- -<br>- config-section: test-config<br>- typename: 'presence.BodyCheck'<br>- -<br>- config-section: ami-config<br>- typename: 'pluggable_modules.EventActionModule'<br>-<br>-sipp-config:<br>- reactor-timeout: 30<br>- fail-on-any: True<br>- test-iterations:<br>- -<br>- scenarios:<br>- - { 'key-args': {'scenario': 'subscribe.xml', '-p': '5061'},<br>- 'ordered-args': ['-timeout_error'] }<br>-<br>-test-config:<br>- # Expected number of NOTIFY messages with the expected body type.<br>- expected_notifies: '7'<br>- # Expected body type.<br>- expected_body_type: 'xpidf'<br>- # Expected body.<br>- expected_body:<br>- # All expected element tag names for XPIDF bodies.<br>- tags:<br>- ['presence', 'presentity', 'atom', 'address', 'status',<br>- 'msnsubstatus']<br>- # Regex patterns for element attributes for each body in order. Some<br>- # attribute values of elements differ for each body depending on the<br>- # body type and state changes. Therefore we list them in the order that<br>- # matches the state changes. For this test some attribute values will<br>- # differ between all bodies.<br>- attributes:<br>- -<br>- presentity:<br>- uri: '^sip:bob@127.0.0.1(:5060)?;method=SUBSCRIBE$'<br>- atom:<br>- atomid: '^[a-z0-9-]+$'<br>- id: '^bob$'<br>- address:<br>- uri: '^sip:alice@127.0.0.1(:5060)?;user=ip$'<br>- priority: '^0\.80000$'<br>- status:<br>- status: '^open$'<br>- msnsubstatus:<br>- substatus: '^online$'<br>- -<br>- presentity:<br>- uri: '^sip:bob@127.0.0.1(:5060)?;method=SUBSCRIBE$'<br>- atom:<br>- atomid: '^[a-z0-9-]+$'<br>- id: '^bob$'<br>- address:<br>- uri: '^sip:alice@127.0.0.1(:5060)?;user=ip$'<br>- priority: '^0\.80000$'<br>- status:<br>- status: '^inuse$'<br>- msnsubstatus:<br>- substatus: '^onthephone$'<br>- -<br>- presentity:<br>- uri: '^sip:bob@127.0.0.1(:5060)?;method=SUBSCRIBE$'<br>- atom:<br>- atomid: '^[a-z0-9-]+$'<br>- id: '^bob$'<br>- address:<br>- uri: '^sip:alice@127.0.0.1(:5060)?;user=ip$'<br>- priority: '^0\.80000$'<br>- status:<br>- status: '^inuse$'<br>- msnsubstatus:<br>- substatus: '^onthephone$'<br>- -<br>- presentity:<br>- uri: '^sip:bob@127.0.0.1(:5060)?;method=SUBSCRIBE$'<br>- atom:<br>- atomid: '^[a-z0-9-]+$'<br>- id: '^bob$'<br>- address:<br>- uri: '^sip:alice@127.0.0.1(:5060)?;user=ip$'<br>- priority: '^0\.80000$'<br>- status:<br>- status: '^inuse$'<br>- msnsubstatus:<br>- substatus: '^onthephone$'<br>- -<br>- presentity:<br>- uri: '^sip:bob@127.0.0.1(:5060)?;method=SUBSCRIBE$'<br>- atom:<br>- atomid: '^[a-z0-9-]+$'<br>- id: '^bob$'<br>- address:<br>- uri: '^sip:alice@127.0.0.1(:5060)?;user=ip$'<br>- priority: '^0\.80000$'<br>- status:<br>- status: '^inuse$'<br>- msnsubstatus:<br>- substatus: '^onthephone$'<br>- -<br>- presentity:<br>- uri: '^sip:bob@127.0.0.1(:5060)?;method=SUBSCRIBE$'<br>- atom:<br>- atomid: '^[a-z0-9-]+$'<br>- id: '^bob$'<br>- address:<br>- uri: '^sip:alice@127.0.0.1(:5060)?;user=ip$'<br>- priority: '^0\.80000$'<br>- status:<br>- status: '^closed$'<br>- msnsubstatus:<br>- substatus: '^offline$'<br>- -<br>- presentity:<br>- uri: '^sip:bob@127.0.0.1(:5060)?;method=SUBSCRIBE$'<br>- atom:<br>- atomid: '^[a-z0-9-]+$'<br>- id: '^bob$'<br>- address:<br>- uri: '^sip:alice@127.0.0.1(:5060)?;user=ip$'<br>- priority: '^0\.80000$'<br>- status:<br>- status: '^open$'<br>- msnsubstatus:<br>- substatus: '^online$'<br>-<br>-ami-config:<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'TestEvent'<br>- State: 'SUBSCRIPTION_STATE_SET'<br>- StateText: 'ACTIVE'<br>- Endpoint: 'alice'<br>- count: '>1'<br>- trigger-on-count: True<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'RINGING'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Ringing'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'INUSE'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'InUse'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'ONHOLD'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Hold'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'BUSY'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Busy'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'UNAVAILABLE'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Unavailable'<br>- count: '1'<br>- ami-actions:<br>- action:<br>- action: 'SetVar'<br>- variable: 'DEVICE_STATE(Custom:bob)'<br>- value: 'NOT_INUSE'<br>- -<br>- ami-events:<br>- id: '0'<br>- conditions:<br>- match:<br>- Event: 'ExtensionStatus'<br>- Exten: 'bob'<br>- Hint: 'Custom:bob'<br>- StatusText: 'Idle'<br>- count: '1'<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8043">change 8043</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/8043"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: 14 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I5fc45029a2a28542290f5548a84ef7f484fa6ae4 </div>
<div style="display:none"> Gerrit-Change-Number: 8043 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>