aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmsc/osmo_msc.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-06-03 18:46:41 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-12-01 03:37:43 +0100
commit2085b6a51dd6ce752390f92342efc99e56fdda15 (patch)
tree1dcca7e992f1ae0a3e5c8793cad241135f164241 /src/libmsc/osmo_msc.c
parent558b466383623b1496f0397fcb0eb3f09c73bfbd (diff)
HO: In case of assignment failure, release all call control transactions
If the initial assignment to the TCH channel fails, the call is released and the MNCC application receives cause 41 (Temporary Failure).
Diffstat (limited to 'src/libmsc/osmo_msc.c')
-rw-r--r--src/libmsc/osmo_msc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmsc/osmo_msc.c b/src/libmsc/osmo_msc.c
index 31b72b925..2b1655905 100644
--- a/src/libmsc/osmo_msc.c
+++ b/src/libmsc/osmo_msc.c
@@ -76,6 +76,8 @@ static void msc_assign_compl(struct gsm_subscriber_connection *conn,
static void msc_assign_fail(struct gsm_subscriber_connection *conn,
uint8_t cause, uint8_t *rr_cause)
{
+ /* release call transactions */
+ gsm48_lchan_modify_error(conn);
}
static void msc_classmark_chg(struct gsm_subscriber_connection *conn,