propagate Compl L3 Info Cell ID to the VLR subscriber record

As soon as the subscriber is authenticated, update the VLR entry with the
MSC-A's full CGI, including the Cell Id received from the Complete Layer 3
Information.

Thus the Cell Id will be shown by vty 'show subscriber cache' and 'show
connection'.

This is tested by osmo-ttcn3-hacks Ie410714a96353f74a52a104c56fa0a08683e0004.

Related: OS#4627
Change-Id: Iee1781985fb25b21ce27526c6a3768bf70d4dc9a
This commit is contained in:
Neels Hofmeyr 2020-06-24 14:23:26 +02:00
parent 41c0333730
commit 83cf10c8a6
1 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,12 @@ static void evaluate_acceptance_outcome(struct osmo_fsm_inst *fi, bool conn_acce
update_counters(fi, conn_accepted);
if (conn_accepted) {
/* Record the Cell ID seen in Complete Layer 3 Information in the VLR, so that it also shows in vty
* 'show' output. */
vsub->cgi = msc_a->via_cell;
}
/* Trigger transactions that we paged for */
if (msc_a->complete_layer3_type == COMPLETE_LAYER3_PAGING_RESP) {
if (conn_accepted)