aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whyte <keith@rhizomatica.org>2019-08-01 12:20:25 +0200
committerkeith <keith@rhizomatica.org>2019-08-02 08:08:33 +0000
commitff17f8fd8a0281c326fd875776cee2bde21e65be (patch)
tree4a22abc615dbf43e26815cb32e6ff21421a965de /src
parent4014e481d46318a49174cfac65e4be291c133cf8 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/libmsc/mncc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmsc/mncc.c b/src/libmsc/mncc.c
index 8c95ecb14..d0b2ff263 100644
--- a/src/libmsc/mncc.c
+++ b/src/libmsc/mncc.c
@@ -100,6 +100,7 @@ const char *get_mncc_name(int value)
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;
}