mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-msc.git
synced 2025-11-03 13:33:28 +00:00
ASCI: Clear VGCS call and channel on BSSMAP reset message
When sending or receiving BSSMAP reset msg, the ongoing VGCS/VBS SCCP connections are cleared. E.g. this happens if the BSC is restarted and there is an ongoing VGCS/VBS call at this BSC. Change-Id: Ib0b309150b82148098d05cfb1fb18767283e654e Related: OS#4854
This commit is contained in:
@@ -119,7 +119,12 @@ void ran_peer_discard_all_conns(struct ran_peer *rp)
|
||||
struct ran_conn *conn, *next;
|
||||
|
||||
ran_peer_for_each_ran_conn_safe(conn, next, rp) {
|
||||
ran_conn_discard(conn);
|
||||
/* Tell VGCS FSM that the connections have been cleared. */
|
||||
if (conn->vgcs.bss)
|
||||
vgcs_vbs_clear_cpl(conn->vgcs.bss, NULL);
|
||||
else if (conn->vgcs.cell)
|
||||
vgcs_vbs_clear_cpl_channel(conn->vgcs.cell, NULL);
|
||||
else ran_conn_discard(conn);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user