<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7181">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pjsip/resolver: Add missing content-length headers<br><br>Content-Length is a required header when TCP is the transport but<br>the 2 sipp scenarios were missing in their 503 responses causing<br>failures in pjproject.<br><br>Partial fix for ASTERISK_27408<br><br>Change-Id: I971bc130ec7adab187da19144421c05f722c5be4<br>---<br>M tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml<br>M tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml<br>2 files changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/81/7181/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml<br>index c31ddce..33c42d8 100644<br>--- a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml<br>+++ b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml<br>@@ -15,6 +15,8 @@<br> [last_Call-ID:]<br> [last_CSeq:]<br> Contact: <sip:[local_ip]:[local_port];transport=[transport]><br>+ Content-Length: 0<br>+<br> ]]><br> </send><br> </scenario><br>diff --git a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml<br>index c31ddce..33c42d8 100644<br>--- a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml<br>+++ b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml<br>@@ -15,6 +15,8 @@<br> [last_Call-ID:]<br> [last_CSeq:]<br> Contact: <sip:[local_ip]:[local_port];transport=[transport]><br>+ Content-Length: 0<br>+<br> ]]><br> </send><br> </scenario><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7181">change 7181</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/7181"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I971bc130ec7adab187da19144421c05f722c5be4 </div>
<div style="display:none"> Gerrit-Change-Number: 7181 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>