aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/msc/codec_mapping.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-03-23 00:27:00 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-04-15 00:10:40 +0200
commit192f75010b889b54cd9f189b55a8f95bc58d2aa4 (patch)
treede2af1f61684932eb3bfb2770e458714c15a7067 /include/osmocom/msc/codec_mapping.h
parentac55f8721a17244d0bc83bb15854933fdb1c2918 (diff)
more verbose MNCC logging
It is pretty unclear what codec items MNCC sends and receives exactly when: * Bearer Capabilities speech versions, * 'payload message type' and * the new SDP information Include these items in MNCC rx and tx logging. In msc_log_to_ladder.py, in sequence charts generated from an actual osmo-msc log, also show all MNCC codec items. Change-Id: I19ccffa2f9b627ad51fffd344ee6e75908d30295
Diffstat (limited to 'include/osmocom/msc/codec_mapping.h')
-rw-r--r--include/osmocom/msc/codec_mapping.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/msc/codec_mapping.h b/include/osmocom/msc/codec_mapping.h
index 1232d2d8a..6d55f2dc4 100644
--- a/include/osmocom/msc/codec_mapping.h
+++ b/include/osmocom/msc/codec_mapping.h
@@ -45,6 +45,7 @@ const struct codec_mapping *codec_mapping_by_gsm0808_speech_codec(const struct g
const struct codec_mapping *codec_mapping_by_perm_speech(enum gsm0808_permitted_speech perm_speech);
const struct codec_mapping *codec_mapping_by_subtype_name(const char *subtype_name);
const struct codec_mapping *codec_mapping_by_mgcp_codec(enum mgcp_codecs mgcp);
+const struct codec_mapping *codec_mapping_by_mncc_pmt(uint32_t pmt);
int bearer_cap_add_speech_ver(struct gsm_mncc_bearer_cap *bearer_cap, enum gsm48_bcap_speech_ver speech_ver);
int sdp_audio_codec_add_to_bearer_cap(struct gsm_mncc_bearer_cap *bearer_cap, const struct sdp_audio_codec *codec);