osmo-mgw/src/libosmo-mgcp
Philipp Maier 9dd80ca1f8 mgcp_codec: refactor payload type converstion
in mgcp_codec.c we have a function mgcp_codec_pt_translate that is used
to find the equivalent payload type number on an opposite connection.
This is quite specific and the resulting payload type number may still
belong to a codec that might require some form of conversion.

Lets refactor this so that the function just finds a convertible codec
for a given connection. This also opens up other usecases. The payload
type conversion like we did it before can then be done with a few lines
in mgcp_network.c

Related: OS#5461
Change-Id: I085260a2ca8cfecdb58656b7a046c536189e238d
2023-03-27 17:50:18 +02:00
..
Makefile.am */Makefile.am: libraries shall not be in AM_LDFLAGS 2023-03-11 04:46:12 +07:00
g711common.h treewide: remove FSF address 2021-12-14 12:50:59 +00:00
mgcp_codec.c mgcp_codec: refactor payload type converstion 2023-03-27 17:50:18 +02:00
mgcp_conn.c mgcp_conn_dump(): Separate dump for osmux and iuup connections 2022-10-06 18:49:31 +02:00
mgcp_e1.c mgcp_e1: cosmetic: rewrite comment 2023-03-22 09:58:34 +00:00
mgcp_endp.c mgcp_e1: be more frugal withe E1 line resources 2023-02-22 13:03:54 +01:00
mgcp_iuup.c iuup: Use osmo_amr_ft_valid() API 2022-12-19 13:24:23 +01:00
mgcp_msg.c osmux: Erase references to bsc-nat 2022-10-06 18:24:24 +02:00
mgcp_network.c mgcp_codec: refactor payload type converstion 2023-03-27 17:50:18 +02:00
mgcp_osmux.c osmux: Use new osmux_xfrm_input API to set name on each link 2022-11-21 10:52:17 +01:00
mgcp_protocol.c Fix various typos 2023-01-24 13:23:21 +01:00
mgcp_ratectr.c osmux: Fix incorrect rate_ctr_group used in mgcp_osmux.c 2022-09-25 00:05:49 +02:00
mgcp_sdp.c mgcp_sdp: cosmetic: remove newline 2023-02-08 10:21:42 +01:00
mgcp_stat.c osmux: Clean up mgcp_config osmux fields 2022-10-13 12:36:44 +02:00
mgcp_threads_queue.c add a lock-free bounded spsc interthread queue 2021-11-17 21:20:08 +00:00
mgcp_trunk.c adjust talloc context 2021-09-13 18:49:49 +02:00
mgcp_vty.c osmux: Clean up mgcp_config osmux fields 2022-10-13 12:36:44 +02:00