aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-08-09 02:17:57 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-08-09 02:28:32 +0200
commit1ca957c0a4c6ba246eb3fcb471e458dfd07ae799 (patch)
treef4cb350b621f10961d954dfa24230f8043ee8cc9
parentfc7d678043a7772061f28c60840d45f1935d9b84 (diff)
reset assignment codec on start_assignmentneels/codecs
-rw-r--r--src/libmsc/msc_a.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmsc/msc_a.c b/src/libmsc/msc_a.c
index 8eaece37b..f99fbf02f 100644
--- a/src/libmsc/msc_a.c
+++ b/src/libmsc/msc_a.c
@@ -1842,6 +1842,7 @@ static int msc_a_start_assignment(struct msc_a *msc_a, struct gsm_trans *cc_tran
msc_a->cc.active_trans = cc_trans;
cc_trans->cc.mncc_release_sent = false;
+ cc_trans->cc.codecs.assignment = (struct sdp_audio_codec){};
OSMO_ASSERT(cc_trans && cc_trans->type == TRANS_CC);
cl = msc_a_ensure_call_leg(msc_a, cc_trans);