Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10755 )
Change subject: codec_pref: Log unsupported codec name used ...................................................................... codec_pref: Log unsupported codec name used Change-Id: If3ed8ba3bad7c927ed0efc908c005cd308e304e6 --- M src/osmo-bsc/codec_pref.c 1 file changed, 4 insertions(+), 1 deletion(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/osmo-bsc/codec_pref.c b/src/osmo-bsc/codec_pref.c index 5f55312..212c2a6 100644 --- a/src/osmo-bsc/codec_pref.c +++ b/src/osmo-bsc/codec_pref.c @@ -20,6 +20,7 @@ */ #include <osmocom/core/msgb.h> +#include <osmocom/gsm/protocol/gsm_08_08.h> #include <osmocom/gsm/gsm0808_utils.h> #include <osmocom/bsc/bsc_msc_data.h> #include <osmocom/bsc/codec_pref.h> @@ -43,7 +44,9 @@ return GSM48_CMODE_SPEECH_AMR; break; default: - LOGP(DMSC, LOGL_FATAL, "Unsupported permitted speech selected, assuming AMR as channel mode...\n"); + LOGP(DMSC, LOGL_FATAL, "Unsupported permitted speech %s selected, " + "assuming AMR as channel mode...\n", + gsm0808_permitted_speech_name(speech)); return GSM48_CMODE_SPEECH_AMR; } } -- To view, visit https://gerrit.osmocom.org/10755 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: If3ed8ba3bad7c927ed0efc908c005cd308e304e6 Gerrit-Change-Number: 10755 Gerrit-PatchSet: 2 Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002)