Attention is currently required from: dexter.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/32083 )
Change subject: mgcp_codec: refactor payload type converstion ......................................................................
Patch Set 2:
(1 comment)
File src/libosmo-mgcp/mgcp_network.c:
https://gerrit.osmocom.org/c/osmo-mgw/+/32083/comment/abf95e12_4062732b PS2, Line 516: codec_dst = mgcp_codec_find_convertible(conn_dst, codec_src); IIUC you also need to do a 2 stage check here. Otherwise you may return a codec which needs mangling before returning a codec which only needs forwarding. So you first check if you find "codec_same", and otherwise look for convertible.