pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41060?usp=email )

Change subject: library/SGsAP_CodecPort: Properly fill in ASP_Send record
......................................................................

library/SGsAP_CodecPort: Properly fill in ASP_Send record

Otherwise it showed up as unbound and errors about wrong protocol showed
up. According to osmo-msc code ppid 0 is expected, so set it.

Change-Id: I6434a6522af3cae35824df5931ad5c33d79c505b
---
M library/SGsAP_CodecPort.ttcn
1 file changed, 8 insertions(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified
  fixeria: Looks good to me, but someone else must approve




diff --git a/library/SGsAP_CodecPort.ttcn b/library/SGsAP_CodecPort.ttcn
index 47fe2cd..bbcf98c 100644
--- a/library/SGsAP_CodecPort.ttcn
+++ b/library/SGsAP_CodecPort.ttcn
@@ -56,7 +56,14 @@

        private function SGsAP_to_IPL4_Send(in SGsAP_Send pin, out ASP_Send 
pout) {
                pout.connId := pin.connId;
-               pout.proto := { sctp := {} };
+               pout.proto := {
+                       sctp := {
+                               sinfo_stream := omit,
+                               sinfo_ppid := 0,
+                               remSocks := omit,
+                               assocId := omit
+                       }
+               };
                pout.msg := enc_PDU_SGsAP(pin.msg);
        } with { extension "prototype(fast)" };


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

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6434a6522af3cae35824df5931ad5c33d79c505b
Gerrit-Change-Number: 41060
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>

Reply via email to