<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10755">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">codec_pref: Log unsupported codec name used<br><br>Change-Id: If3ed8ba3bad7c927ed0efc908c005cd308e304e6<br>---<br>M src/osmo-bsc/codec_pref.c<br>1 file changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/55/10755/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/codec_pref.c b/src/osmo-bsc/codec_pref.c</span><br><span>index 5f55312..212c2a6 100644</span><br><span>--- a/src/osmo-bsc/codec_pref.c</span><br><span>+++ b/src/osmo-bsc/codec_pref.c</span><br><span>@@ -20,6 +20,7 @@</span><br><span>  */</span><br><span> </span><br><span> #include <osmocom/core/msgb.h></span><br><span style="color: hsl(120, 100%, 40%);">+#include <osmocom/gsm/protocol/gsm_08_08.h></span><br><span> #include <osmocom/gsm/gsm0808_utils.h></span><br><span> #include <osmocom/bsc/bsc_msc_data.h></span><br><span> #include <osmocom/bsc/codec_pref.h></span><br><span>@@ -43,7 +44,9 @@</span><br><span>              return GSM48_CMODE_SPEECH_AMR;</span><br><span>               break;</span><br><span>       default:</span><br><span style="color: hsl(0, 100%, 40%);">-                LOGP(DMSC, LOGL_FATAL, "Unsupported permitted speech selected, assuming AMR as channel mode...\n");</span><br><span style="color: hsl(120, 100%, 40%);">+         LOGP(DMSC, LOGL_FATAL, "Unsupported permitted speech %s selected, "</span><br><span style="color: hsl(120, 100%, 40%);">+              "assuming AMR as channel mode...\n",</span><br><span style="color: hsl(120, 100%, 40%);">+                gsm0808_permitted_speech_name(speech));</span><br><span>                 return GSM48_CMODE_SPEECH_AMR;</span><br><span>       }</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10755">change 10755</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/10755"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: If3ed8ba3bad7c927ed0efc908c005cd308e304e6 </div>
<div style="display:none"> Gerrit-Change-Number: 10755 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>