<p>neels <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/15134">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgcp_test: extend / rewrite test_mgcp_codec_pt_translate()<br><br>Instead of manually entering codec values, use mgcp_codec_add() to populate<br>test conns with codecs. The idea is to better test what actually happens when<br>parsing SDP codec strings.<br><br>Rewrite current test_mgcp_codec_pt_translate() from procedural to a data model<br>with human readable stdout logging.<br><br>This prepares to enable interpreting codec strings like "FOO/8000/1" as<br>equivalent with "FOO/8000": the SDP standard defines the final "/1", indicating<br>the nr of channels, as optional for a single channel, but osmo-mgw currently is<br>unable to match these two formats as identical. So prepare the<br>test_mgcp_codec_pt_translate() so that upcoming patches can incorporate strings<br>with and without the final "/1" by extending the struct arrays.<br><br>Change-Id: I888000d77512cfecb0f199b86ef6003e7fc0e6cb<br>---<br>M tests/mgcp/mgcp_test.c<br>M tests/mgcp/mgcp_test.ok<br>2 files changed, 204 insertions(+), 86 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/34/15134/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/15134">change 15134</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/c/osmo-mgw/+/15134"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I888000d77512cfecb0f199b86ef6003e7fc0e6cb </div>
<div style="display:none"> Gerrit-Change-Number: 15134 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>