Vadim Yanitskiy has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9469 )

Change subject: USSD_Helpers.ttcn: add f_USSD_FACILITY_IE_RETURN_ERROR
......................................................................

USSD_Helpers.ttcn: add f_USSD_FACILITY_IE_RETURN_ERROR

Change-Id: I9f2b526cb67224cab81364cec34efd42bbb44327
---
M msc/USSD_Helpers.ttcn
1 file changed, 15 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/msc/USSD_Helpers.ttcn b/msc/USSD_Helpers.ttcn
index 6a71681..5dd4bb1 100644
--- a/msc/USSD_Helpers.ttcn
+++ b/msc/USSD_Helpers.ttcn
@@ -60,4 +60,19 @@
        return enc_SS_FacilityInformation(facility_ie);
 }

+function f_USSD_FACILITY_IE_RETURN_ERROR(
+       integer invoke_id := 1,
+       SS_Err_Code err_code := SS_ERR_CODE_UNEXPECTED_DATA_VALUE
+) return octetstring {
+       var SS_FacilityInformation facility_ie;
+
+       /* Encode Facility IE */
+       facility_ie := valueof(ts_SS_FACILITY_RETURN_ERROR(
+               invoke_id := invoke_id,
+               err_code := err_code
+       ));
+
+       return enc_SS_FacilityInformation(facility_ie);
+}
+
 }

--
To view, visit https://gerrit.osmocom.org/9469
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9f2b526cb67224cab81364cec34efd42bbb44327
Gerrit-Change-Number: 9469
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <[email protected]>

Reply via email to