aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2020-05-16 18:49:59 +0300
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2020-05-16 22:26:55 +0300
commitccbba5955814f04bb003844a1eea7a251c0e41f4 (patch)
tree01db951e152f0b4752706044ef8bc2dc2b6b0248 /src
parent6b16ef8c290fe4d6e53862a4bdfda60a928f2afb (diff)
stats: Add a BTS/BSC counter PAGING_NON_ACTIVE.
Otherwise we're missing an important part of the callflow and the counters of responded/expired paging requests don't add up to attempted paging number. Change-Id: I1755be40d29980b75353cb4b8087d1ce0d92854a
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/gsm_08_08.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bsc/gsm_08_08.c b/src/osmo-bsc/gsm_08_08.c
index 4f9c69eb6..d48c9f72c 100644
--- a/src/osmo-bsc/gsm_08_08.c
+++ b/src/osmo-bsc/gsm_08_08.c
@@ -388,6 +388,8 @@ static int handle_page_resp(struct gsm_subscriber_connection *conn, struct msgb
if (!subscr) {
LOGP(DMSC, LOGL_ERROR, "Non active subscriber got paged.\n");
+ rate_ctr_inc(&conn->lchan->ts->trx->bts->bts_ctrs->ctr[BTS_CTR_PAGING_NON_ACTIVE]);
+ rate_ctr_inc(&conn->network->bsc_ctrs->ctr[BSC_CTR_PAGING_NON_ACTIVE]);
return -1;
}