diff options
author | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | 2009-12-26 19:45:03 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-12-26 22:48:00 +0100 |
commit | 47df39931ca867fb2efadc9dd5057e0f06d41b3f (patch) | |
tree | 7f7e2a54cf3a1f99716f5e24b4145dfa5817c47e /openbsc/src/gsm_04_08.c | |
parent | 240ce88185dc69265e4015cdfdc1a7af41006b8e (diff) |
generate INFO events for CC SETUP and LOC UPD REJ
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r-- | openbsc/src/gsm_04_08.c | 7 |
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); |