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


Change subject: sigtran: N-DISCONNECT.req: Use proper SCCP-User release reason
......................................................................

sigtran: N-DISCONNECT.req: Use proper SCCP-User release reason

Until recently, libosmo-sigtran was incorrectly expecting low-level
wire-format cause in N-DISCONNECT.req. Nowadays it supports specific
reason values in the SCCP-User SAP, so use those instead.

Related: OS#2601
Change-Id: I702718a00031592c2aa870ea8981228848129659
---
M TODO-RELEASE
M src/osmo-hnbgw/hnbgw_sccp.c
2 files changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/00/43800/1

diff --git a/TODO-RELEASE b/TODO-RELEASE
index 0ed7189..b6d61b1 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,3 +7,4 @@
 # If any interfaces have been added since the last public release: c:r:a + 1.
 # If any interfaces have been removed or changed since the last public 
release: c:r:0.
 #library       what                    description / commit summary line
+libosmo-sigtran >2.3.0                  OSMO_SCCP_REL_REASON_NSU_*
diff --git a/src/osmo-hnbgw/hnbgw_sccp.c b/src/osmo-hnbgw/hnbgw_sccp.c
index 6f01f7c..2e9b79a 100644
--- a/src/osmo-hnbgw/hnbgw_sccp.c
+++ b/src/osmo-hnbgw/hnbgw_sccp.c
@@ -449,7 +449,7 @@
        }

        rc = osmo_sccp_tx_disconn(hsu->sccp_user, scu_conn_id, NULL,
-                                 SCCP_RELEASE_CAUSE_END_USER_ORIGINATED);
+                                 OSMO_SCCP_REL_REASON_NSU_DISC_NORMAL);
        if (rc)
                LOG_HSU(hsu, DCN, LOGL_ERROR, "Failed to send SCCP 
N-DISCONNECT.req(%u)\n", scu_conn_id);
        return rc;

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

Gerrit-MessageType: newchange
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I702718a00031592c2aa870ea8981228848129659
Gerrit-Change-Number: 43800
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to