aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/osmo_msc.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-01-30 21:01:12 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-31 11:17:44 +0100
commit8e68b56fe580c25a74b3e6238547d4d3422bfb25 (patch)
tree868ab43de60efd029dcf5f4282a9b755e7815fc8 /openbsc/src/libmsc/osmo_msc.c
parentdcf38e1c9623f997d9b87c1a5868862581aa05cf (diff)
sms/dtap: Add log messages to analyse SMS message loss
Incoming DTAP messages from MS are discarded during silent calls, which leads to the repeated delivery of SMS since the ACKs are not being processed. This patch adds some log messages that have been helpful to track this down. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/libmsc/osmo_msc.c')
-rw-r--r--openbsc/src/libmsc/osmo_msc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/osmo_msc.c b/openbsc/src/libmsc/osmo_msc.c
index 31b72b925..f3badb779 100644
--- a/openbsc/src/libmsc/osmo_msc.c
+++ b/openbsc/src/libmsc/osmo_msc.c
@@ -59,6 +59,8 @@ static int msc_compl_l3(struct gsm_subscriber_connection *conn, struct msgb *msg
return BSC_API_CONN_POL_ACCEPT;
if (trans_has_conn(conn))
return BSC_API_CONN_POL_ACCEPT;
+
+ LOGP(DRR, LOGL_INFO, "MSC Complete L3: Rejecting connection.\n");
return BSC_API_CONN_POL_REJECT;
}
@@ -71,11 +73,13 @@ static void msc_assign_compl(struct gsm_subscriber_connection *conn,
uint8_t rr_cause, uint8_t chosen_channel,
uint8_t encr_alg_id, uint8_t speec)
{
+ LOGP(DRR, LOGL_DEBUG, "MSC assign complete (do nothing).\n");
}
static void msc_assign_fail(struct gsm_subscriber_connection *conn,
uint8_t cause, uint8_t *rr_cause)
{
+ LOGP(DRR, LOGL_DEBUG, "MSC assign failure (do nothing).\n");
}
static void msc_classmark_chg(struct gsm_subscriber_connection *conn,