Change in osmo-bsc[master]: codec_pref: Log unsupported codec name used

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Sep 4 13:08:03 UTC 2018


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 <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180904/5cb327f2/attachment.htm>


More information about the gerrit-log mailing list