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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Sep 4 09:50:56 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/55/10755/1

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: newchange
Gerrit-Change-Id: If3ed8ba3bad7c927ed0efc908c005cd308e304e6
Gerrit-Change-Number: 10755
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180904/2f7e9c02/attachment.htm>


More information about the gerrit-log mailing list