<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8857">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Corey Farrell: Looks good to me, but someone else must approve
  Richard Mudgett: Looks good to me, approved
  Jenkins2: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pjsip_channel: Use specified media port<br><br>This test took advantage of the fact that SIPp defaults the media port to 6000,<br>which it then checked against for the test. However, a recent patch made it so<br>tests using the SIPp 'media_port' option would get an available random port<br>instead.<br><br>This patch specifies the media_port for SIPp to use and makes sure it is the<br>same one checked by the test. A number was chosen which hopefully makes port<br>collisions highly unlikely.<br><br>Change-Id: Id7f82d8245401659d269e6ba084c2ad05aee068d<br>---<br>M tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf<br>M tests/channels/pjsip/dialplan_functions/pjsip_channel/test-config.yaml<br>2 files changed, 4 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf b/tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf<br>index 22ec556..8d6b12d 100644<br>--- a/tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf<br>+++ b/tests/channels/pjsip/dialplan_functions/pjsip_channel/configs/ast1/extensions.conf<br>@@ -22,13 +22,13 @@<br> <br> ; Source will often be various things; just make sure we get something back<br> same => n,GoSub(default,test_variable,1(rtp,src,audio,!=,""))<br>-same => n,GoSub(default,test_variable,1(rtp,dest,audio,=,"127.0.0.1:6000"))<br>+same => n,GoSub(default,test_variable,1(rtp,dest,audio,=,"127.0.0.1:9050"))<br> same => n,GoSub(default,test_variable,1(rtp,hold,audio,=,"0"))<br> same => n,GoSub(default,test_variable,1(rtp,secure,audio,=,"0"))<br> same => n,GoSub(default,test_variable,1(rtp,direct,audio,=,"(null)"))<br> <br> ; Verify audio is set by default<br>-same => n,GoSub(default,test_variable,1(rtp,dest,,=,"127.0.0.1:6000"))<br>+same => n,GoSub(default,test_variable,1(rtp,dest,,=,"127.0.0.1:9050"))<br> <br> ; No video stream, these should be empty<br> same => n,GoSub(default,test_variable,1(rtp,src,video,=,""))<br>diff --git a/tests/channels/pjsip/dialplan_functions/pjsip_channel/test-config.yaml b/tests/channels/pjsip/dialplan_functions/pjsip_channel/test-config.yaml<br>index 911edc6..8095c81 100644<br>--- a/tests/channels/pjsip/dialplan_functions/pjsip_channel/test-config.yaml<br>+++ b/tests/channels/pjsip/dialplan_functions/pjsip_channel/test-config.yaml<br>@@ -20,7 +20,8 @@<br>     test-iterations:<br>         -<br>              scenarios:<br>-                - { 'key-args': { 'scenario': 'uac-no-hangup.xml', '-p': '5062', '-i': '127.0.0.1', '-s': 'alice', '-rsa': '127.0.0.1:5061', '-s': 'alice'} }<br>+                - { 'key-args': { 'scenario': 'uac-no-hangup.xml', '-p': '5062', '-i': '127.0.0.1',<br>+                '-s': 'alice', '-rsa': '127.0.0.1:5061', '-s': 'alice', '-mp': '9050'} }<br> <br> <br> ami-config:<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8857">change 8857</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/8857"/><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-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Id7f82d8245401659d269e6ba084c2ad05aee068d </div>
<div style="display:none"> Gerrit-Change-Number: 8857 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>