aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-23 01:25:42 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2018-02-19 11:43:07 +0100
commitc1a676e75ef2164f0db7dca92a20d50e59a51130 (patch)
tree7c53b9c42ee4314fda2ab1bfb5ed3f390f4a0e0d /src
parentd387ac8ad7635798f0a1d9f12ef85a1b699fef2a (diff)
bssmap_handle_assignm_req(): Use more conscise error/log message texts
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/osmo_bsc_bssap.c6
1 files 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;