openbsc.git branch master updated. 0.14.0-215-gd74cce2

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at

gitosis at gitosis at
Mon Oct 12 07:12:54 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  d74cce266bbc6ec519376601a2004f4fa8155b64 (commit)
       via  696212798291688a85afc956b6d80c10c7acb033 (commit)
       via  1afe7c7fe5e79435a1ebe9aff622ca20b901d923 (commit)
       via  20626dde8fd04c2ded3788a8417ea67abf17c4cf (commit)
       via  6598ded5cdbdaee8ee2aa9b8da283582b90840ed (commit)
       via  15a40db606e317e9304651b5f644eeae151efd8d (commit)
       via  b45e4d80b6b6b6bb597ccb3a14c16395481f7816 (commit)
       via  641d387409b6d11f7166784344701438be1a45e1 (commit)
      from  2aedfbdfe1dfb4df84418af4bb39c40ca1cc5128 (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 d74cce266bbc6ec519376601a2004f4fa8155b64
Merge: 2aedfbd 6962127
Author: Holger Hans Peter Freyther <holger at>
Date:   Mon Oct 12 09:11:32 2015 +0200

    Merge branch 'zecke/features/osmux-reliability'
    Not verified that the audio handling is working. I saw a circuit
    set-up of the call though.

commit 696212798291688a85afc956b6d80c10c7acb033
Author: Holger Hans Peter Freyther <holger at>
Date:   Thu Oct 8 16:58:13 2015 +0200

    osmux: Make sure that bigger Osmux ids actually fit
    We put a signed integer into this string but did not account
    for the newline and for the terminating NUL of the string. Add
    the newline to the string and add one for NUL. Spotted while
    accidently having a CID of 255.

commit 1afe7c7fe5e79435a1ebe9aff622ca20b901d923
Author: Holger Hans Peter Freyther <holger at>
Date:   Sun Oct 4 11:11:11 2015 +0200

    osmux: Remember the allocated CID and make sure it is released
    There appears to be a leak of CIDs:
     <000b> mgcp_osmux.c:544 All Osmux circuits are in use!
    There are paths that a CID had been requested and never released
    of the NAT. Remember the allocated CID inside the endpoint so it
    can always be released. It is using a new variable as the behavior
    for the NAT and MGCP MGW is different.
    The allocated_cid must be signed so that we can assign outside
    of the 0-255 range of it.
    Fixes: OW#1493

commit 20626dde8fd04c2ded3788a8417ea67abf17c4cf
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Oct 2 18:15:18 2015 +0200

    osmux: Enforce Osmux only global and per BSC configuration
    Extend the osmux only setting from the MGCP MGW to the NAT. This
    is applied when an endpoint is allocated and/or when the allocation
    is confirmed by the remote system.
    Not tested. The impact should only be when the new option is
    being used.
    Fixes: OW#1492

commit 6598ded5cdbdaee8ee2aa9b8da283582b90840ed
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Oct 2 17:38:27 2015 +0200

    osmux: Allow to enforce using Osmux for the client
    Some systems only want to use Osmux. In case only Osmux
    should be used fail if it has not be offered/acked.
    Verified On, Off and Only with X-Osmux: 3 and without this field.
    <000b> mgcp_protocol.c:823 Osmux only and no osmux offered on 0x14
    <000b> mgcp_protocol.c:884 Resource error on 0x14
    Not tested and implemented
    Fixes: OW#1492

commit 15a40db606e317e9304651b5f644eeae151efd8d
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Oct 2 16:25:21 2015 +0200

    osmux: Add introspection for osmux.
    * Print number of used CIDs for the system
    * Hopefully this is just the beginning

commit b45e4d80b6b6b6bb597ccb3a14c16395481f7816
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Oct 2 16:11:15 2015 +0200

    osmux: Do not divide the number of bytes by eight.
    sizeof(uint8_t) == 1 and there is no need to create an array
    with 16 bytes and then only use the first two of them. This
    means the CID range is from 0 to 127 and we should be able
    to extend this to 256 by changing the array size to 32. Update
    the testcase now that we can have more than 16 calls with Osmux.

commit 641d387409b6d11f7166784344701438be1a45e1
Author: Holger Hans Peter Freyther <holger at>
Date:   Fri Oct 2 15:56:35 2015 +0200

    osmux: Test cid allocation and de-allocation
    * Test that one can get an id
    * That they are assigned predicatble right now
    * That returning them will make the number of used ones go down
    * That allocating more will fail


Summary of changes:
 openbsc/include/openbsc/mgcp_internal.h   |  2 ++
 openbsc/include/openbsc/osmux.h           |  9 ++++++
 openbsc/src/libmgcp/mgcp_osmux.c          | 29 +++++++++++++++++-
 openbsc/src/libmgcp/mgcp_protocol.c       |  8 +++++
 openbsc/src/libmgcp/mgcp_vty.c            | 48 ++++++++++++++++++++---------
 openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c | 50 +++++++++++++++++++++++--------
 openbsc/src/osmo-bsc_nat/bsc_nat_vty.c    | 22 +++++++++-----
 openbsc/tests/mgcp/mgcp_test.c            | 26 ++++++++++++++++
 8 files changed, 160 insertions(+), 34 deletions(-)

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

More information about the osmocom-commitlog mailing list