osmo-mgw/tests
Neels Hofmeyr c3a7b6b085 fix SDP codecs lists returned in OK messages
So far, osmo-mgw picked a single codec per side and returned only that
entry in the SDP part of MGCP 'OK' responses.

Instead, return all of the codec entries that were successfully
assigned.

The difference is shown in mgcp_test.c: before, only one of the codecs
made it through to the 'OK' reponse. Now, all of them are reflected
properly.

To clients that only ever assign a single codec, there is no change in
behavior.

Simplify the code: collapse these functions
  add_rtpmap()
  add_fmtp()
  add_audio()
  codec related part from mgcp_write_response_sdp()
and have only
  add_codecs()
add_codecs() simply iterates all assigned codecs to output the 'm=audio'
line as well as any 'a=rtpmap' and 'a=fmtp' lines.

Also helping to simplify is that we recently dropped the 'fmtp-extra'
feature in Icee0cd1f5a751fa760d5a9deca29089e78e7eb93

Related: OS#6293
Change-Id: Ib197ae30a4e732e7dc36700ba8b5841806ea12f7
2023-12-23 06:59:35 +01:00
..
mgcp fix SDP codecs lists returned in OK messages 2023-12-23 06:59:35 +01:00
mgcp_client drop (now) unused code 2023-12-22 03:04:53 +01:00
Makefile.am tests: $(BUILT_SOURCES) is not defined, depend on osmo-mgw 2023-03-31 11:56:02 +00:00
atlocal.in Remove libosmo-legacy-mgcp and osmo-bsc-mgcp 2018-09-06 20:39:53 +00:00
testsuite.at Remove libosmo-legacy-mgcp and osmo-bsc-mgcp 2018-09-06 20:39:53 +00:00