<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9324">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bsc: Don't expect codec list in IPA/SCCPlite case<br><br>In classic non-AoIP-cases, OsmoBSC should simply return the<br>chosen speech version, but not any codec list in the BSSMAP ASSIGNMENT<br>COMPLETE message. Let's adjust the expectations accordingly.<br><br>Change-Id: Id8e2a749bce91cfadd316bc2d56d1289412b9026<br>---<br>M bsc/BSC_Tests.ttcn<br>1 file changed, 5 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/24/9324/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn</span><br><span>index 95b7625..2534cf6 100644</span><br><span>--- a/bsc/BSC_Tests.ttcn</span><br><span>+++ b/bsc/BSC_Tests.ttcn</span><br><span>@@ -1737,11 +1737,13 @@</span><br><span> var template PDU_BSSAP exp_compl := f_gen_exp_compl();</span><br><span> </span><br><span> /* puzzle together the ASSIGNMENT REQ for given codec[s] */</span><br><span style="color: hsl(0, 100%, 40%);">- ass_cmd.pdu.bssmap.assignmentRequest.codecList := g_pars.ass_codec_list;</span><br><span style="color: hsl(120, 100%, 40%);">+ if (mp_bssap_cfg.transport == BSSAP_TRANSPORT_AoIP) {</span><br><span style="color: hsl(120, 100%, 40%);">+ ass_cmd.pdu.bssmap.assignmentRequest.codecList := g_pars.ass_codec_list;</span><br><span style="color: hsl(120, 100%, 40%);">+ exp_compl.pdu.bssmap.assignmentComplete.speechCodec.codecElements[0] :=</span><br><span style="color: hsl(120, 100%, 40%);">+ g_pars.ass_codec_list.codecElements[0];</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> ass_cmd.pdu.bssmap.assignmentRequest.channelType :=</span><br><span> f_BSSMAP_chtype_from_codec(g_pars.ass_codec_list.codecElements[0]);</span><br><span style="color: hsl(0, 100%, 40%);">- exp_compl.pdu.bssmap.assignmentComplete.speechCodec.codecElements[0] :=</span><br><span style="color: hsl(0, 100%, 40%);">- g_pars.ass_codec_list.codecElements[0];</span><br><span> log("expecting ASS COMPL like this: ", exp_compl);</span><br><span> </span><br><span> f_establish_fully(ass_cmd, exp_compl);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9324">change 9324</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/9324"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Id8e2a749bce91cfadd316bc2d56d1289412b9026 </div>
<div style="display:none"> Gerrit-Change-Number: 9324 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>