<p>Vadim Yanitskiy <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/9469">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">USSD_Helpers.ttcn: add f_USSD_FACILITY_IE_RETURN_ERROR<br><br>Change-Id: I9f2b526cb67224cab81364cec34efd42bbb44327<br>---<br>M msc/USSD_Helpers.ttcn<br>1 file changed, 15 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/msc/USSD_Helpers.ttcn b/msc/USSD_Helpers.ttcn</span><br><span>index 6a71681..5dd4bb1 100644</span><br><span>--- a/msc/USSD_Helpers.ttcn</span><br><span>+++ b/msc/USSD_Helpers.ttcn</span><br><span>@@ -60,4 +60,19 @@</span><br><span>        return enc_SS_FacilityInformation(facility_ie);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+function f_USSD_FACILITY_IE_RETURN_ERROR(</span><br><span style="color: hsl(120, 100%, 40%);">+   integer invoke_id := 1,</span><br><span style="color: hsl(120, 100%, 40%);">+       SS_Err_Code err_code := SS_ERR_CODE_UNEXPECTED_DATA_VALUE</span><br><span style="color: hsl(120, 100%, 40%);">+) return octetstring {</span><br><span style="color: hsl(120, 100%, 40%);">+     var SS_FacilityInformation facility_ie;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+     /* Encode Facility IE */</span><br><span style="color: hsl(120, 100%, 40%);">+      facility_ie := valueof(ts_SS_FACILITY_RETURN_ERROR(</span><br><span style="color: hsl(120, 100%, 40%);">+           invoke_id := invoke_id,</span><br><span style="color: hsl(120, 100%, 40%);">+               err_code := err_code</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%);">+ return enc_SS_FacilityInformation(facility_ie);</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9469">change 9469</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/9469"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I9f2b526cb67224cab81364cec34efd42bbb44327 </div>
<div style="display:none"> Gerrit-Change-Number: 9469 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>