<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 2:</p><p style="white-space: pre-wrap; word-wrap: break-word;">Hi lynxis!</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">@fixeria Is there a way how I can add an IE? I could also add 2nd template for EPS.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">I would either make the existing templates more flexible by introducing a helper function (like f_gen_ts_ss_ies()), or do it like this:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  var template GSUP_PDU sai_msg;</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  if (is_eps) {<br>    sai_msg := ts_GSUP_SAI_REQ_EPS(imsi);<br>  } else {<br>    sai_msg := ts_GSUP_SAI_REQ(imsi);<br>  }</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  if (not istemplatekind(num_auth_tuple, "omit") {<br>    sai_msg.ies := sai_msg.ies & { valueof(ts_GSUP_IE_NUM_VECTORS_REQ(valueof(num_auth_tuple))) };<br>  }</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  GSUP.send(sai_msg);</pre></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Thanks a lot!</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16790">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16790">change 16790</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/+/16790"/><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: I10a523cbaf08fe42924ffd0dc498496fdc76395f </div>
<div style="display:none"> Gerrit-Change-Number: 16790 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-CC: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 12 Jan 2020 05:05:08 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>