Project

General

Profile

Bug #3114

libosmo-mgcp doesn't properly deal with SDP containing multiple codecs

Added by laforge about 2 months ago. Updated 6 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
libosmo-mgcp
Target version:
-
Start date:
03/26/2018
Due date:
% Done:

0%


Description

libosmo-mgcp has a SDP parser that can deal with a rtpmap of up to 8 different codecs, but then only passes two of them up in the parsed data structure, see mgcp_rtp_end.codec and mgcp_rtp_end.alt_codec

This needs to change to make sure that the full list of codecs is parsed + passed into the actual MGW codebase, so the MGW can make an educated choice between the codecs.


Related issues

Related to osmo-sip-connector - Bug #1683: osmo-sip-connector: Implement codec selection New 03/31/2016

History

#1 Updated by laforge about 2 months ago

  • Related to Bug #1683: osmo-sip-connector: Implement codec selection added

#2 Updated by laforge 15 days ago

  • Assignee changed from sysmocom to dexter

#3 Updated by dexter 6 days ago

As a peperation I have cleaned up the existing codec selection. There is a codec and an alt_codec struct memeber. The codec is the primary field which is actually used in the code. However, alt_codec is not used at all. I have removed this alt_codec field now.

https://gerrit.osmocom.org/#/c/osmo-mgw/+/9234 sdp: remove unused alt_codec field from struct mgcp_rtp_end

Also available in: Atom PDF