aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_data.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-12-24 16:06:33 +0100
committerHarald Welte <laforge@gnumonks.org>2010-12-24 16:07:40 +0100
commita29e43a26fae23d5132461cf7bfa43a1ca64761f (patch)
tree82f893561e7a5c55391f436985f5595a88d468e9 /openbsc/src/gsm_data.c
parent75e2defc7f15b4c8e349af090acfdf31973272bf (diff)
BSC Call Control: Actually implement call statistics
The existing call realated statistics counters apparently were never used. This introduces a new set of counters, two for the MO and MT case.
Diffstat (limited to 'openbsc/src/gsm_data.c')
-rw-r--r--openbsc/src/gsm_data.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/openbsc/src/gsm_data.c b/openbsc/src/gsm_data.c
index 1d07cbf50..f6920480c 100644
--- a/openbsc/src/gsm_data.c
+++ b/openbsc/src/gsm_data.c
@@ -305,9 +305,10 @@ struct gsm_network *gsm_network_init(u_int16_t country_code, u_int16_t network_c
net->stats.sms.delivered = counter_alloc("net.sms.delivered");
net->stats.sms.rp_err_mem = counter_alloc("net.sms.rp_err_mem");
net->stats.sms.rp_err_other = counter_alloc("net.sms.rp_err_other");
- net->stats.call.dialled = counter_alloc("net.call.dialled");
- net->stats.call.alerted = counter_alloc("net.call.alerted");
- net->stats.call.connected = counter_alloc("net.call.connected");
+ net->stats.call.mo_setup = counter_alloc("net.call.mo_setup");
+ net->stats.call.mo_connect_ack = counter_alloc("net.call.mo_connect_ack");
+ net->stats.call.mt_setup = counter_alloc("net.call.mt_setup");
+ net->stats.call.mt_connect = counter_alloc("net.call.mt_connect");
net->stats.chan.rf_fail = counter_alloc("net.chan.rf_fail");
net->stats.chan.rll_err = counter_alloc("net.chan.rll_err");
net->stats.bts.oml_fail = counter_alloc("net.bts.oml_fail");