pespin has uploaded this change for review. ( 
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(-)



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

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: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6434a6522af3cae35824df5931ad5c33d79c505b
Gerrit-Change-Number: 41060
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to