<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25065">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">L3_Templates: add ts_ML3_MO_CC_DISC<br><br>To simulate an MS initiated call release at the MSC, a MO CC DISCONNECT<br>is required. So far msc's f_call_hangup() has some really weird<br>sequences of MNCC events. This is one preparation to fix that.<br><br>Will be used by MSC_Tests.TC_call_re_establishment in<br>Ifdff5573eeb3b3d41e8599b9b0228411d2576864<br><br>Related: SYS#5130<br>Change-Id: Ie152f8760c9bd6df04a20fdbb7ce9bbde9cb3d68<br>---<br>M library/L3_Templates.ttcn<br>1 file changed, 40 insertions(+), 0 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/65/25065/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn</span><br><span>index c6ebeb4..997b433 100644</span><br><span>--- a/library/L3_Templates.ttcn</span><br><span>+++ b/library/L3_Templates.ttcn</span><br><span>@@ -62,6 +62,23 @@</span><br><span>        diagnostics := omit</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+template ML3_Cause_LV ts_ML3_Cause_LV(BIT7 cause, BIT4 loc := '0001'B, BIT2 std := '11'B) := {</span><br><span style="color: hsl(120, 100%, 40%);">+  lengthIndicator := 0, /* overwritten */</span><br><span style="color: hsl(120, 100%, 40%);">+       oct3 := {</span><br><span style="color: hsl(120, 100%, 40%);">+             location := loc,</span><br><span style="color: hsl(120, 100%, 40%);">+              spare1_1 := '0'B,</span><br><span style="color: hsl(120, 100%, 40%);">+             codingStandard := std,</span><br><span style="color: hsl(120, 100%, 40%);">+                ext1 := '0'B,</span><br><span style="color: hsl(120, 100%, 40%);">+         recommendation := omit,</span><br><span style="color: hsl(120, 100%, 40%);">+               ext2 := omit</span><br><span style="color: hsl(120, 100%, 40%);">+  },</span><br><span style="color: hsl(120, 100%, 40%);">+    oct4 := {</span><br><span style="color: hsl(120, 100%, 40%);">+             causeValue := cause,</span><br><span style="color: hsl(120, 100%, 40%);">+          ext3 := '1'B</span><br><span style="color: hsl(120, 100%, 40%);">+  },</span><br><span style="color: hsl(120, 100%, 40%);">+    diagnostics := omit</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> </span><br><span> /* 3GPP TS 24.008, section 10.5.1.4 "Mobile Identity" */</span><br><span> template (value) MobileIdentityTLV ts_MI_TLV(template (value) MobileIdentityV mi) := {</span><br><span>@@ -1566,6 +1583,29 @@</span><br><span>        }</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+template PDU_ML3_MS_NW ts_ML3_MO_CC_DISC(integer tid, BIT1 tid_remote, BIT7 cause) := {</span><br><span style="color: hsl(120, 100%, 40%);">+   discriminator := '0011'B,</span><br><span style="color: hsl(120, 100%, 40%);">+     tiOrSkip := {</span><br><span style="color: hsl(120, 100%, 40%);">+         transactionId := {</span><br><span style="color: hsl(120, 100%, 40%);">+                    tio := int2bit(tid, 3),</span><br><span style="color: hsl(120, 100%, 40%);">+                       tiFlag := tid_remote,</span><br><span style="color: hsl(120, 100%, 40%);">+                 tIExtension := omit</span><br><span style="color: hsl(120, 100%, 40%);">+           }</span><br><span style="color: hsl(120, 100%, 40%);">+     },</span><br><span style="color: hsl(120, 100%, 40%);">+    msgs := {</span><br><span style="color: hsl(120, 100%, 40%);">+             cc := {</span><br><span style="color: hsl(120, 100%, 40%);">+                       disconnect_MS_NW := {</span><br><span style="color: hsl(120, 100%, 40%);">+                         messageType := '100101'B,</span><br><span style="color: hsl(120, 100%, 40%);">+                             nsd := '00'B,</span><br><span style="color: hsl(120, 100%, 40%);">+                         cause := ts_ML3_Cause_LV(cause),</span><br><span style="color: hsl(120, 100%, 40%);">+                              facility := omit,</span><br><span style="color: hsl(120, 100%, 40%);">+                             user_user := omit,</span><br><span style="color: hsl(120, 100%, 40%);">+                            ss_VersionIndicator := omit</span><br><span style="color: hsl(120, 100%, 40%);">+                   }</span><br><span style="color: hsl(120, 100%, 40%);">+             }</span><br><span style="color: hsl(120, 100%, 40%);">+     }</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> template PDU_ML3_NW_MS tr_ML3_MT_CC_RELEASE(integer tid) := {</span><br><span>      discriminator := '0011'B,</span><br><span>    tiOrSkip := {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25065">change 25065</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-ttcn3-hacks/+/25065"/><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-Change-Id: Ie152f8760c9bd6df04a20fdbb7ce9bbde9cb3d68 </div>
<div style="display:none"> Gerrit-Change-Number: 25065 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>