osmo-mgw/src/libosmo-mgcp
Philipp Maier e0058b7207 mgcp_codec: do not differentiate between oa and bwe when comparing codec
AMR that has the payload format bandwith-efficient is the same codec as
AMR that has the payload format octet-aligned. Its the same codec, and a
comparison of the codec info with the function codecs_same() should
return true (=equal).

The affected function codecs_same() is used by mgcp_codec_pt_translate().
When the egress payload type number is looked up, the ingress and egress
codec information is compared. When one end is using AMR in
bandwith-efficient format and the other end is using it in
octet-alingned format. Then the codec still must be recognized as the
same codec. Othersiwse the payload type number translation would not
work, even though the codec is the same on both sides.

Change-Id: I64731570c287a75d39c79c10e1bc09a37bdd54d6
Related: SYS#5834
2022-02-16 17:17:45 +01:00
..
Makefile.am Initial IuUP support using proper FSMs 2022-02-07 17:50:31 +00:00
g711common.h treewide: remove FSF address 2021-12-14 12:50:59 +00:00
mgcp_codec.c mgcp_codec: do not differentiate between oa and bwe when comparing codec 2022-02-16 17:17:45 +01:00
mgcp_conn.c Initial IuUP support using proper FSMs 2022-02-07 17:50:31 +00:00
mgcp_ctrl.c Add CTRL interface to osmo-mgw 2020-03-08 13:23:46 +01:00
mgcp_e1.c libosmo-mgcp: do not use the default msgb talloc context 2021-09-13 18:49:49 +02:00
mgcp_endp.c fix up some docstrings that lost their dot 2021-11-09 18:45:09 +01:00
mgcp_iuup.c Initial IuUP support using proper FSMs 2022-02-07 17:50:31 +00:00
mgcp_msg.c Define mgcp_rtp_end.output_enabled as bool 2022-01-03 12:29:39 +01:00
mgcp_network.c Initial IuUP support using proper FSMs 2022-02-07 17:50:31 +00:00
mgcp_osmux.c endp: do not cache cfg pointer 2021-09-14 18:33:24 +02:00
mgcp_protocol.c Initial IuUP support using proper FSMs 2022-02-07 17:50:31 +00:00
mgcp_ratectr.c libosmo-mgcp: atomic rate counter group indexes 2021-09-13 18:49:49 +02:00
mgcp_sdp.c cosmetic: Rename variable payload=>payload_type 2021-12-23 16:22:32 +01:00
mgcp_stat.c Fix attribute parsing on gcc 11.1.0 2021-09-20 10:00:50 +00: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 endp: do not cache cfg pointer 2021-09-14 18:33:24 +02:00