ipa: Close SCCP Connection from MSC side; set verdict on BSC side

This commit is contained in:
Harald Welte 2017-11-25 00:32:46 +01:00
parent be620f6da6
commit 0a4317a805
3 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,7 @@ runs on BSC_MS_ConnHdlr {
}
[] BSSAP.receive(BSSAP_Conn_Prim:MSC_CONN_PRIM_DISC_IND) {
setverdict(pass);
self.stop;
}

View File

@ -120,6 +120,7 @@ function main(integer connection_id, integer e1_timeslot) runs on MSC_ConnHdlr {
}
[g_state == MSC_STATE_WAIT_DLCX_ACK] BSSAP.receive(tr_DLCX_ACK) {
BSSAP.send(BSSAP_Conn_Prim:MSC_CONN_PRIM_DISC_REQ);
setverdict(pass);
self.stop;
}

View File

@ -201,6 +201,7 @@ runs on BSSMAP_Emulation_CT {
ConnectionTable[i].comp_ref, sccp_conn_id);
ConnectionTable[i].sccp_conn_id := -1;
ConnectionTable[i].comp_ref := null;
return
}
}
log("BSSMAP Connection table attempt to delete non-existant ", sccp_conn_id);