<p>Friendly Automation <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/testsuite/+/11617">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">PJSIP refer: REFER response now sends 202 Accepted and NOTIFY<br><br>As part of the chan_pjsip fix for Transmit REFER waiting for the REFER<br>result the testsuite needed to be changed. Previously, it considered<br>a REFER OK immediately but it should have sent a 202 Accepted, NOTIFY<br>and waited for response.<br><br>ASTERISK-26968 #close<br>Reported-by: ASTERISK-26968<br><br>Change-Id: I55d55020ae6a9b170c70cb4ffa5c041398db9adb<br>---<br>M tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml<br>M tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml<br>2 files changed, 42 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml b/tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml</span><br><span>index 26d1b95..9001091 100644</span><br><span>--- a/tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml</span><br><span>+++ b/tests/channels/pjsip/transfers/asterisk/endpoint/refer/sipp/alice.xml</span><br><span>@@ -78,6 +78,27 @@</span><br><span> ]]></span><br><span> </send></span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ <send retrans="500"></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+ NOTIFY sip:alice@[local_ip]:[local_port] SIP/2.0</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_Via:]</span><br><span style="color: hsl(120, 100%, 40%);">+ From: alice <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]</span><br><span style="color: hsl(120, 100%, 40%);">+ To: s <sip:s@[remote_ip]:[remote_port]>[peer_tag_param]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_call-ID:]</span><br><span style="color: hsl(120, 100%, 40%);">+ CSeq: 2 NOTIFY</span><br><span style="color: hsl(120, 100%, 40%);">+ Contact: <sip:alice@[local_ip]:[local_port];transport=[transport]></span><br><span style="color: hsl(120, 100%, 40%);">+ Max-Forward: 70</span><br><span style="color: hsl(120, 100%, 40%);">+ Event: refer</span><br><span style="color: hsl(120, 100%, 40%);">+ Subscription-State: terminated</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Type: message/sipfrag</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: [len]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ SIP/2.0 200 OK</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <recv response="200" rtd="true" /></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> <recv request="BYE"/></span><br><span> </span><br><span> <send retrans="500"></span><br><span>diff --git a/tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml b/tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml</span><br><span>index 67fa240..5cccac8 100644</span><br><span>--- a/tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml</span><br><span>+++ b/tests/channels/pjsip/transfers/asterisk/uri/refer/sipp/alice.xml</span><br><span>@@ -78,6 +78,27 @@</span><br><span> ]]></span><br><span> </send></span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ <send retrans="500"></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+ NOTIFY sip:alice@[local_ip]:[local_port] SIP/2.0</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_Via:]</span><br><span style="color: hsl(120, 100%, 40%);">+ From: alice <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]</span><br><span style="color: hsl(120, 100%, 40%);">+ To: s <sip:s@[remote_ip]:[remote_port]>[peer_tag_param]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_call-ID:]</span><br><span style="color: hsl(120, 100%, 40%);">+ CSeq: 2 NOTIFY</span><br><span style="color: hsl(120, 100%, 40%);">+ Contact: <sip:alice@[local_ip]:[local_port];transport=[transport]></span><br><span style="color: hsl(120, 100%, 40%);">+ Max-Forward: 70</span><br><span style="color: hsl(120, 100%, 40%);">+ Event: refer</span><br><span style="color: hsl(120, 100%, 40%);">+ Subscription-State: terminated</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Type: message/sipfrag</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: [len]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ SIP/2.0 200 OK</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <recv response="200" rtd="true" /></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> <recv request="BYE"/></span><br><span> </span><br><span> <send retrans="500"></span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/testsuite/+/11617">change 11617</a>. To unsubscribe, or for help writing mail filters, 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/c/testsuite/+/11617"/><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-Change-Id: I55d55020ae6a9b170c70cb4ffa5c041398db9adb </div>
<div style="display:none"> Gerrit-Change-Number: 11617 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Dan Cropp <dan@amtelco.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>