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


Change subject: Revert "stp: Add TCAP_N_NOTICE_req to send a UDTS with TCAP 
payload"
......................................................................

Revert "stp: Add TCAP_N_NOTICE_req to send a UDTS with TCAP payload"

This reverts commit 11bf6593481d413f35c48db9b614e39fe4a05de1.

Change-Id: I4e96d9f0ceaafb2b5883b0e1f2d8d9f6065fd415
---
M library/tcap/TCAP_CodecPort.ttcn
1 file changed, 0 insertions(+), 30 deletions(-)



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

diff --git a/library/tcap/TCAP_CodecPort.ttcn b/library/tcap/TCAP_CodecPort.ttcn
index d2ad994..5bec2c4 100644
--- a/library/tcap/TCAP_CodecPort.ttcn
+++ b/library/tcap/TCAP_CodecPort.ttcn
@@ -241,25 +241,6 @@
        importance := *
 }

-type record TCAP_N_NOTICE_req
-{
-  SCCP_PAR_Address               calledAddress            ,
-  SCCP_PAR_Address               callingAddress           ,
-  SCCP_PAR_Reason_For_Return     reasonForReturn          ,
-  TCMessage                      userData                 ,
-  SCCP_PAR_Importance            importance       optional
-}
-
-template (value) TCAP_N_NOTICE_req ts_TCAP_N_NOTICE_req(SCCP_PAR_Address 
called,
-                                                         SCCP_PAR_Address 
calling,
-                                                         template (value) 
SCCP_PAR_Reason_For_Return reason,
-                                                         template (value) 
TCMessage payload) := {
-       calledAddress := called,
-       callingAddress := calling,
-       reasonForReturn := reason,
-       userData := payload,
-       importance := omit
-}

 private function f_dec_ConnectInd(in ASP_SCCP_N_CONNECT_ind pin, out 
TCAP_N_CONNECT_ind pout) {
        pout.calledAddress := pin.calledAddress;
@@ -389,22 +370,12 @@
        //port.setstate(0);
 } with {extension "prototype(fast)" }

-private function f_enc_NoticeReq(in TCAP_N_NOTICE_req pin, out 
ASP_SCCP_N_NOTICE_req pout) {
-       pout.calledAddress := pin.calledAddress;
-       pout.callingAddress := pin.callingAddress;
-       pout.reasonForReturn := pin.reasonForReturn;
-       pout.userData := enc_TCAP_TCMessage(pin.userData);
-       pout.importance := pin.importance;
-       //port.setstate(0);
-} with {extension "prototype(fast)" }
-
 type port TCAP_CODEC_PT message {
        out     TCAP_N_CONNECT_req,
                TCAP_N_CONNECT_res,
                TCAP_N_DATA_req,
                TCAP_N_DISCONNECT_req,
                TCAP_N_UNITDATA_req,
-               TCAP_N_NOTICE_req,
                ASP_SCCP_N_RESET_req,
                ASP_SCCP_N_NOTICE_req;
        in      TCAP_N_CONNECT_ind,
@@ -423,7 +394,6 @@
            TCAP_N_DATA_req -> ASP_SCCP_N_DATA_req: function(f_enc_DataReq);
            TCAP_N_DISCONNECT_req -> ASP_SCCP_N_DISCONNECT_req: 
function(f_enc_DisconnectReq);
            TCAP_N_UNITDATA_req -> ASP_SCCP_N_UNITDATA_req: 
function(f_enc_UnitdataReq);
-           TCAP_N_NOTICE_req -> ASP_SCCP_N_NOTICE_req: 
function(f_enc_NoticeReq);
            ASP_SCCP_N_RESET_req -> ASP_SCCP_N_RESET_req: simple;
            ASP_SCCP_N_NOTICE_req -> ASP_SCCP_N_NOTICE_req: simple)
        in(ASP_SCCP_N_CONNECT_ind -> TCAP_N_CONNECT_ind: 
function(f_dec_ConnectInd);

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43153?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: I4e96d9f0ceaafb2b5883b0e1f2d8d9f6065fd415
Gerrit-Change-Number: 43153
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to