From c1a676e75ef2164f0db7dca92a20d50e59a51130 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 23 Dec 2017 01:25:42 +0100 Subject: bssmap_handle_assignm_req(): Use more conscise error/log message texts Change-Id: Iffbdfd7591aaeedf24ff0de5f34093be78e2833a --- src/osmo-bsc/osmo_bsc_bssap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c index 399b04a8d..3e15248f3 100644 --- a/src/osmo-bsc/osmo_bsc_bssap.c +++ b/src/osmo-bsc/osmo_bsc_bssap.c @@ -799,13 +799,13 @@ static int bssmap_handle_assignm_req(struct gsm_subscriber_connection *conn, rc = gsm0808_dec_aoip_trasp_addr(&rtp_addr, TLVP_VAL(&tp, GSM0808_IE_AOIP_TRASP_ADDR), TLVP_LEN(&tp, GSM0808_IE_AOIP_TRASP_ADDR)); if (rc < 0) { - LOGP(DMSC, LOGL_ERROR, "Unable to decode aoip transport address.\n"); + LOGP(DMSC, LOGL_ERROR, "Unable to decode AoIP transport address.\n"); cause = GSM0808_CAUSE_INCORRECT_VALUE; goto reject; } aoip = true; } else { - LOGP(DMSC, LOGL_ERROR, "transport address missing. Audio routing will not work.\n"); + LOGP(DMSC, LOGL_ERROR, "AoIP transport address and CIC missing. Audio will not work.\n"); cause = GSM0808_CAUSE_INFORMATION_ELEMENT_OR_FIELD_MISSING; goto reject; } @@ -869,7 +869,7 @@ static int bssmap_handle_assignm_req(struct gsm_subscriber_connection *conn, conn->user_plane.mgcp_ctx = mgcp_assignm_req(msc->network, msc->network->mgw.client, conn, chan_mode, full_rate); if (!conn->user_plane.mgcp_ctx) { - LOGP(DMSC, LOGL_ERROR, "MGCP GW failure, rejecting assignment... (id=%i)\n", + LOGP(DMSC, LOGL_ERROR, "MGCP / MGW failure, rejecting assignment... (id=%i)\n", conn->sccp.conn_id); cause = GSM0808_CAUSE_EQUIPMENT_FAILURE; goto reject; -- cgit v1.2.3