[asterisk-commits] res pjsip: fix PJSIP tests to comply with ASTERISK-26061 (testsuite[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 30 10:56:33 CDT 2016


Anonymous Coward #1000019 has submitted this change and it was merged.

Change subject: res_pjsip: fix PJSIP tests to comply with ASTERISK-26061
......................................................................


res_pjsip: fix PJSIP tests to comply with ASTERISK-26061

This patch adds 'Unknown' state as allowable for DeviceState.

This patch is to change checking 'Reachable' peer_status
insted of 'Unreachable'.

Change-Id: Ifb824331c26b88d77e5b653efd51498bba039f04
---
M tests/channels/pjsip/config_wizard/phone/test-config.yaml
M tests/rest_api/applications/subscribe-all/test-config.yaml
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/tests/channels/pjsip/config_wizard/phone/test-config.yaml b/tests/channels/pjsip/config_wizard/phone/test-config.yaml
index ce0bed6..91cca9b 100644
--- a/tests/channels/pjsip/config_wizard/phone/test-config.yaml
+++ b/tests/channels/pjsip/config_wizard/phone/test-config.yaml
@@ -120,7 +120,7 @@
                     RtpIpv6: 'false'
                     DtmfMode: 'rfc4733'
                     Context: 'default'
-                    DeviceState: 'Invalid|Not in use|Unavailable'
+                    DeviceState: 'Unknown|Invalid|Not in use|Unavailable'
                     ActiveChannels: ''
             count: 1
     -
diff --git a/tests/rest_api/applications/subscribe-all/test-config.yaml b/tests/rest_api/applications/subscribe-all/test-config.yaml
index 66e0277..817afa4 100644
--- a/tests/rest_api/applications/subscribe-all/test-config.yaml
+++ b/tests/rest_api/applications/subscribe-all/test-config.yaml
@@ -71,10 +71,10 @@
                     endpoint:
                         technology: 'PJSIP'
                         resource: 'alice'
-                        state: 'offline'
+                        state: 'online'
                     application: 'testsuite'
                     peer:
-                        peer_status: 'Unreachable'
+                        peer_status: 'Reachable'
                 count: 1
             -
                 match:

-- 
To view, visit https://gerrit.asterisk.org/3091
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifb824331c26b88d77e5b653efd51498bba039f04
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>



More information about the asterisk-commits mailing list