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/OpenBSC@lists.osmocom.org/.
pablo at gnumonks.org pablo at gnumonks.orgFrom: Pablo Neira Ayuso <pablo at soleta.eu> We only support voice osmux messages by now. Discard unsupported types. --- src/osmux.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/osmux.c b/src/osmux.c index eb2c683..a3eccaa 100644 --- a/src/osmux.c +++ b/src/osmux.c @@ -65,6 +65,11 @@ struct osmux_hdr *osmux_xfrm_output_pull(struct msgb *msg) osmuxh = (struct osmux_hdr *)msg->data; + if (osmuxh->ft != OSMUX_FT_VOICE_AMR) { + LOGP(DLMIB, LOGL_ERROR, "Discarding unsupported Osmux FT %d\n", + osmuxh->ft); + return NULL; + } if (!osmo_amr_ft_valid(osmuxh->amr_ft)) { LOGP(DLMIB, LOGL_ERROR, "Discarding bad AMR FT %d\n", osmuxh->amr_ft); -- 1.7.10.4