xua: Don't send NOTIFY messages to IPA ASPs

Change-Id: Ice3d948e4d2f57a8f52cfb93792d5f4d23284b96
This commit is contained in:
Pau Espin 2019-11-07 18:20:55 +01:00 committed by laforge
parent b92589a1a2
commit b6140e4b43
1 changed files with 4 additions and 2 deletions

View File

@ -233,8 +233,10 @@ static void notify_any_other_active_asp_as_inactive(struct osmo_ss7_as *as, stru
if (asp_cmp == asp)
continue;
msg = encode_notify(&npar);
osmo_ss7_asp_send(asp, msg);
if (asp->cfg.proto != OSMO_SS7_ASP_PROT_IPA) {
msg = encode_notify(&npar);
osmo_ss7_asp_send(asp, msg);
}
osmo_fsm_inst_state_chg(asp->fi, XUA_ASP_S_INACTIVE, 0, 0);
}