openbsc.git branch master updated. 0.14.0-154-ga334e90

gitosis at gitosis at
Fri Aug 14 13:52:44 UTC 2015

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".

The branch, master has been updated
       via  a334e90ddf99697ad6b18df80f1cd7473b2314d4 (commit)
       via  aeadf261e54d4e3987797b5818a8356441512568 (commit)
       via  ca7d05bdb9e5be89442d6a2870e87919fdb11b98 (commit)
       via  a611da8407a609a3a426c61e7fb10230a9320122 (commit)
       via  0eaad4f216637804458eacf31b0a1b10cff19e7b (commit)
      from  e9f7c9925c26b23f7c29ace8da381e439a658eeb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit a334e90ddf99697ad6b18df80f1cd7473b2314d4
Merge: e9f7c99 aeadf26
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Aug 14 15:48:54 2015 +0200

    Merge branch 'zecke/features/sdp-codec-handling'
    Move forward while preserving the legacy handling. Beging to
    extract SDP rtpmap information and select codecs atfer this.
    It is a foundation we can now build further and better check

commit aeadf261e54d4e3987797b5818a8356441512568
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Aug 14 15:43:06 2015 +0200

    mgcp: Allow to enforce that the codecs need to match
    We have a lot of legacy that I am afraid to break. We have
    everything in place to make a good codec selection (e.g. if
    we can avoid transcoding, pick the one with best quality or
    the lowest speed). Right now I have a specific case where
    from all options I want to pick GSM. Guard the codec compat
    check behind the disallow transcoding option to make sure
    to not break legacy application.

commit ca7d05bdb9e5be89442d6a2870e87919fdb11b98
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Aug 14 11:11:51 2015 +0200

    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

commit a611da8407a609a3a426c61e7fb10230a9320122
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Aug 14 09:24:11 2015 +0200

    mgcp: Move the SDP handling into a separate file/module
    The SDP file handling will get more complicated in terms of
    codec selection so let's remove it from the protocol handling
    before we start blowing it up in size.

commit 0eaad4f216637804458eacf31b0a1b10cff19e7b
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Aug 14 08:54:58 2015 +0200

    mgcp: Remove unused parsing data struct
    This struct was removed when we switched to strtok_r for
    parsing the data. Remove the left-over.


Summary of changes:
 openbsc/include/openbsc/mgcp_internal.h |  64 ++++++-
 openbsc/src/libmgcp/         |   3 +-
 openbsc/src/libmgcp/mgcp_protocol.c     | 222 +-----------------------
 openbsc/src/libmgcp/mgcp_sdp.c          | 294 ++++++++++++++++++++++++++++++++
 openbsc/tests/mgcp/mgcp_test.c          |  59 +++++++
 5 files changed, 421 insertions(+), 221 deletions(-)
 create mode 100644 openbsc/src/libmgcp/mgcp_sdp.c

The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)

More information about the osmocom-commitlog mailing list