aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-26 19:45:03 +0100
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-26 19:45:03 +0100
commitb6d6779dcf5ba47f44bf4c64fb255ec832e77a7b (patch)
tree32254c6e6c47c2437817a915c6aa91f534de57f1
parentad2fbf3450ee141450f5870fae32f0f0153da07f (diff)
generate INFO events for CC SETUP and LOC UPD REJ
-rw-r--r--openbsc/src/gsm_04_08.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index 982870ba1..7bcfb6f22 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -829,7 +829,8 @@ int gsm0408_loc_upd_rej(struct gsm_lchan *lchan, u_int8_t cause)
gh->msg_type = GSM48_MT_MM_LOC_UPD_REJECT;
gh->data[0] = cause;
- DEBUGP(DMM, "-> LOCATION UPDATING REJECT on channel: %d\n", lchan->nr);
+ LOGP(DMM, LOGL_INFO, "Subscriber %s: LOCATION UPDATING REJECT\n",
+ lchan->subscr ? subscr_name(lchan->subscr) : "unknown");
counter_inc(bts->network->stats.loc_upd_resp.reject);
@@ -2147,6 +2148,10 @@ static int gsm48_cc_rx_setup(struct gsm_trans *trans, struct msgb *msg)
new_cc_state(trans, GSM_CSTATE_INITIATED);
+ LOGP(DCC, LOGL_INFO, "Subscriber %s (%s) sends SETUP to %s\n",
+ subscr_name(trans->subscr), trans->subscr->extension,
+ setup.called.number);
+
/* indicate setup to MNCC */
mncc_recvmsg(trans->subscr->net, trans, MNCC_SETUP_IND, &setup);