lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41291?usp=email )


Change subject: library: TCAP: ts_TCAP_UNITDATA_req: allow to define the 
returnOption
......................................................................

library: TCAP: ts_TCAP_UNITDATA_req: allow to define the returnOption

TCAP loadsharing will use RETURN_OPTION_ON_ERROR option to
test UDTS when no TCAP ranges matches.

Related: SYS#5423
Change-Id: Ie4f6d9e02f65687c3158cae41f28aa30b95f85f8
---
M library/tcap/TCAP_CodecPort.ttcn
1 file changed, 6 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/91/41291/1

diff --git a/library/tcap/TCAP_CodecPort.ttcn b/library/tcap/TCAP_CodecPort.ttcn
index 50b0eed..882a288 100644
--- a/library/tcap/TCAP_CodecPort.ttcn
+++ b/library/tcap/TCAP_CodecPort.ttcn
@@ -20,6 +20,9 @@
 import from TCAPMessages language "ASN.1:1997" all;
 import from TCAP_Types all;

+const BIT8n RETURN_OPTION_DISCARD := '00000000'B;
+const BIT8n RETURN_OPTION_ON_ERROR := '00000001'B;
+
 type record TCAP_N_CONNECT_req
 {
    SCCP_PAR_Address                 calledAddress,
@@ -187,11 +190,12 @@

 template (value) TCAP_N_UNITDATA_req ts_TCAP_UNITDATA_req(SCCP_PAR_Address 
called,
                                                          SCCP_PAR_Address 
calling,
-                                                         template (value) 
TCMessage payload) := {
+                                                         template (value) 
TCMessage payload,
+                                                         template (omit) 
SCCP_PAR_Return_Option returns := omit) := {
        calledAddress := called,
        callingAddress := calling,
        sequenceControl := omit,
-       returnOption := omit,
+       returnOption := returns,
        userData := payload,
        importance := omit
 }

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41291?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie4f6d9e02f65687c3158cae41f28aa30b95f85f8
Gerrit-Change-Number: 41291
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <[email protected]>

Reply via email to