Change in ...osmo-msc[master]: Set coding in mncc_set_cause()

keith gerrit-no-reply at lists.osmocom.org
Thu Aug 1 10:21:52 UTC 2019


keith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/15009


Change subject: Set coding in mncc_set_cause()
......................................................................

Set coding in mncc_set_cause()

GSM 04.08 10.5.4.11

The Release indication needs to have the Coding Standard set.

For phones that would display a message on screen, such as
"Number not in use", if the coding standard is not defined,
the display may show "Error in Connection"

Change-Id: Ib28b62a41d433e231cff5910d19455296b284df6
---
M src/libmsc/mncc.c
1 file changed, 1 insertion(+), 0 deletions(-)



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

diff --git a/src/libmsc/mncc.c b/src/libmsc/mncc.c
index 8c95ecb..d0b2ff2 100644
--- a/src/libmsc/mncc.c
+++ b/src/libmsc/mncc.c
@@ -100,6 +100,7 @@
 void mncc_set_cause(struct gsm_mncc *data, int loc, int val)
 {
 	data->fields |= MNCC_F_CAUSE;
+	data->cause.coding = GSM48_CAUSE_CODING_GSM;
 	data->cause.location = loc;
 	data->cause.value = val;
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/15009
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ib28b62a41d433e231cff5910d19455296b284df6
Gerrit-Change-Number: 15009
Gerrit-PatchSet: 1
Gerrit-Owner: keith <keith at rhizomatica.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190801/db5041d7/attachment.html>


More information about the gerrit-log mailing list