Vadim Yanitskiy has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks
refs/changes/69/9469/1
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: newchange
Gerrit-Change-Id: I9f2b526cb67224cab81364cec34efd42bbb44327
Gerrit-Change-Number: 9469
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>