Change in osmo-msc[master]: Iu: Send SMS over SAPI-3

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri May 10 21:56:57 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13984


Change subject: Iu: Send SMS over SAPI-3
......................................................................

Iu: Send SMS over SAPI-3

After neels/ho was merged, SMS over IuCS/RANAP was failing in both
MO and MT direction.  The reason was that all mobile-terminated SMS-CP
layer messages were sent in RANAP with SAPI-0 instaed of SAPI-1.

Change-Id: I98e6eddb52d5c61c4e2d34bdfcd43cf460296ad7
Closes: OS#3993
---
M src/libmsc/ran_msg_iu.c
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/84/13984/1

diff --git a/src/libmsc/ran_msg_iu.c b/src/libmsc/ran_msg_iu.c
index 79b0d5c..f443944 100644
--- a/src/libmsc/ran_msg_iu.c
+++ b/src/libmsc/ran_msg_iu.c
@@ -322,7 +322,9 @@
 static struct msgb *ran_iu_wrap_dtap(struct msgb *dtap)
 {
 	struct msgb *an_apdu;
-	an_apdu = ranap_new_msg_dt(0, dtap->data, msgb_length(dtap));
+	uint8_t sapi = OMSC_LINKID_CB(dtap);
+
+	an_apdu = ranap_new_msg_dt(sapi, dtap->data, msgb_length(dtap));
 	an_apdu->l2h = an_apdu->data;
 	msgb_free(dtap);
 	return an_apdu;

-- 
To view, visit https://gerrit.osmocom.org/13984
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I98e6eddb52d5c61c4e2d34bdfcd43cf460296ad7
Gerrit-Change-Number: 13984
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190510/d6f075d7/attachment.htm>


More information about the gerrit-log mailing list