[Asterisk-code-review] PJSIP refer: REFER response now sends 202 Accepted instead of 200 OK (...testsuite[master])

Dan Cropp asteriskteam at digium.com
Tue Jul 2 13:22:07 CDT 2019


Dan Cropp has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/11524


Change subject: PJSIP refer: REFER response now sends 202 Accepted instead of 200 OK
......................................................................

PJSIP refer: REFER response now sends 202 Accepted instead of 200 OK

As part of the chan_pjsip fix for Transmit REFER waiting for the REFER
result the testsuite needed to be changed.  Previously, it considered
a REFER OK immediately but it should have sent a 202 Accepted in
response.

ASTERISK-26968 #close
Reported-by: ASTERISK-26968

Change-Id: I879c38e327c55350a2ddb36af75e5057b85e7207
---
M tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml
M tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/24/11524/1

diff --git a/tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml b/tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml
index ee5ccca..26d1b95 100644
--- a/tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml
+++ b/tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml
@@ -62,7 +62,7 @@
 
   <send retrans="500">
       <![CDATA[
-          SIP/2.0 200 OK
+          SIP/2.0 202 Accepted
           [last_Via:]
           [last_From:]
           [last_To:]
diff --git a/tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml b/tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml
index c3a4100..67fa240 100644
--- a/tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml
+++ b/tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml
@@ -62,7 +62,7 @@
 
   <send retrans="500">
       <![CDATA[
-          SIP/2.0 200 OK
+          SIP/2.0 202 Accepted
           [last_Via:]
           [last_From:]
           [last_To:]

-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/11524
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Change-Id: I879c38e327c55350a2ddb36af75e5057b85e7207
Gerrit-Change-Number: 11524
Gerrit-PatchSet: 1
Gerrit-Owner: Dan Cropp <dan at amtelco.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190702/daef30cc/attachment-0001.html>


More information about the asterisk-code-review mailing list