<p>Kevin Harwell <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/5823">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Test receiving an early BYE during an attended transfer<br><br>Asterisk used to fail the transfer and drop the call if an early BYE (sometime<br>just after the 202 accepted, but before the Notify 200 OK frag) was received.<br>Added a test that makes sure the transfer does not fail when an early BYE is<br>received.<br><br>This patch modified the testsuite's pjsua phones wrapper to allow configuring<br>of when to send the transferer's BYE during the transfer process. A new option,<br>'hangup-reason', has been added that specifies when to send the BYE. Allowed<br>values are:<br><br>  accepted - Sent right after the refer is accepted<br>  trying - Sent right after receiving a sip frag 100 Trying<br>  ok - Sent right after receiving a sip frag 200 OK<br>  final - Sent upon receiving the final message<br><br>A test was also added that sends a BYE right after the REFER is accepted. As<br>noted in test-config.yaml this test is a direct copy of the 'same_stasis_app'<br>test except for when the BYE is sent.<br><br>ASTERISK-27053<br><br>Change-Id: Ifbf1d6e8f91dfc00128a2ccd7eaff6402d170650<br>---<br>M lib/python/asterisk/phones.py<br>M tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_bridge/same_stasis_app/test-config.yaml<br>A tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_bridge/same_stasis_app_accepted/configs/ast1/extensions.conf<br>A tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_bridge/same_stasis_app_accepted/configs/ast1/pjsip.conf<br>A tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_bridge/same_stasis_app_accepted/test-config.yaml<br>M tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_bridge/tests.yaml<br>6 files changed, 618 insertions(+), 17 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/23/5823/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/5823">change 5823</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/5823"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ifbf1d6e8f91dfc00128a2ccd7eaff6402d170650 </div>
<div style="display:none"> Gerrit-Change-Number: 5823 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>