aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/mgcp/mgcp_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-08-14 11:11:51 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-08-14 11:13:48 +0200
commitca7d05bdb9e5be89442d6a2870e87919fdb11b98 (patch)
treec902883443dd44e0013a86a6f6fac5faad930d3d /openbsc/tests/mgcp/mgcp_test.c
parenta611da8407a609a3a426c61e7fb10230a9320122 (diff)
mgcp: Turn SDP file parsing in a two stage process
First collect everything we know and the mapping. E.g. a genuis could remap "3" to "AMR" so we only know the codecs once we are at the end of the SDP file. Once we have collected everything we can select the audio codecs. The current code is compatible in that two codecs will be selected regardless of if they make any sense or not. mgcp_set_audio_info could re-use some of our codec information but then the caller in the MGCP protocol needs to be updated as well as we use the "I: GSM" information to derive the codec from there.
Diffstat (limited to 'openbsc/tests/mgcp/mgcp_test.c')
0 files changed, 0 insertions, 0 deletions