openbsc.git branch neels/aoip updated. 0.15.0-859-g44b975a64

gitosis at gitosis at
Sat Jun 17 23:50:25 UTC 2017

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, neels/aoip has been updated
  discards  449f3c2c118d5a3da09aa1021397414752668851 (commit)
  discards  78194ee6695c3101de3cc63e2d98ec9d627ef272 (commit)
  discards  08d83578d08e9bdb379e93a13c3f243849558029 (commit)
  discards  8f6810760b7b0f2b00e9957390b614feef4aa989 (commit)
  discards  39ceafd8799b28226a01c406e391d4351aa5057c (commit)
  discards  1ce55acc36b52fbc9aaa492c4c33118fc2c59d9e (commit)
  discards  6c6964f96d8ee3505dd44942464e91d5f8e2635a (commit)
  discards  ad65b8474a1f9e1c8ce795eb7914d969f44dda6f (commit)
  discards  d6472533fd57ca7b1a3b6f7f5c25a8bcb82315c1 (commit)
  discards  db652d8e76a97cde7ece311e3261e6ebf6c463a9 (commit)
  discards  d462fdff5adef13c94c15a70955318ce9c4be6bc (commit)
  discards  1204627da9f75508caaac7296f5fdea3b5c430b4 (commit)
  discards  269def78b0d9e7db3d74b6a40faf2742e3d82e1f (commit)
  discards  06cdfe4e0dffbf86661c85abc04c0f504907d937 (commit)
  discards  9debdfe8e3a65be454f4227b8194f829ce019002 (commit)
  discards  f752974f0f296f5913aee3d2942723a2483c0198 (commit)
  discards  06f487b88df7755f8f579a0e717ee61f06362d2d (commit)
  discards  0daa6fe82e9fee501b577898a565cc801e6b645d (commit)
  discards  7b90c558e006ea3b97cb042d95b53afb51dd3a7c (commit)
  discards  925c66b992c4240de80314801f859d7f73e13156 (commit)
  discards  39f616aeb98061c4bb6ce899fa84c04a9b2fe1cd (commit)
  discards  8397e5e5a0316011ce6fccece43f0e1eaea68b5d (commit)
  discards  99e44652ae9532b5a919c2c9580003bae3febe19 (commit)
  discards  7d84fabb2b008ebda71f915102a772a2df964849 (commit)
  discards  ffd92da2597b396a86efaab63f34097afb3cb978 (commit)
  discards  b87a67c87f7e4eb5754da385b2455c6f5e700b13 (commit)
  discards  e8de2185640742b737776d5264765fbac12b4f96 (commit)
  discards  bdd0329621b85b8d4949944e9ac566e5dea241fb (commit)
  discards  0f033eafe76d1423a49bd94ec37c4cb6221398fd (commit)
  discards  083b88cb35feda06808e6a2efdf64e32c29e9d12 (commit)
  discards  6c2016eb225a1250402e6990f9fdf5aa0c037da1 (commit)
  discards  f532c38198403106da45df57aca0e26e4f998b0c (commit)
  discards  e7becc10fb2f647f13086cef55962a0bc91bb814 (commit)
  discards  3f9a62130d4e4c92e8812fcd36a149e0635ac18e (commit)
  discards  57d0b25ddff5fde4a22314fa13071e50d444a5c5 (commit)
  discards  7cadf1111c1a29bb7524f23e79491a6c1fd12f64 (commit)
  discards  2dfafa2d62a9389c2682d6d2b90e8de394d4ac93 (commit)
  discards  94717d0fcd4c273eb86e7019fc0ecbde713f1ad3 (commit)
  discards  963c9292e39c00b99795553e77f3c58cb2eaed67 (commit)
  discards  bb6d57121cdb75238184abaf1583efe72f86f598 (commit)
  discards  eba73a4410676f67823f72b80f965b03a79d39a3 (commit)
  discards  8c3ad11d80f8b7097d207f510d5d34cdc06fc478 (commit)
  discards  3dc65dc8939d81b0b208fd0cd7994ecafe2268e8 (commit)
  discards  d70a755edecb8db92948df8c6986eb85fb668f4e (commit)
  discards  14bc78691ae62f546ffb56c457d20e35f4e61375 (commit)
  discards  b455583b14ac6bf10efbbbc529cddff6530c2c40 (commit)
  discards  1499fd3772fc19fee3d613ce730de6f0b45064f4 (commit)
  discards  3c6b297f539c83bc71cea5eb4d8bd29b2017717b (commit)
  discards  f7bc286f3bab4d7274712b8d448d50c9b276db4c (commit)
  discards  30beb12cc12780e0174281da90d556df84e1f9ff (commit)
       via  44b975a641c500c6d2ebdc7b7e3650ebba121d2d (commit)
       via  0e99f565fecef8552d51b6bf839c76f1f2122846 (commit)
       via  cb897b8f8d4384e2e72b377d604224b4b591858f (commit)
       via  6c5b1c279a10fd74b92f6740c9cc24d53c2e4c7b (commit)
       via  0416fa67b553002027784f050b43983b8f12ebe2 (commit)
       via  ff1dd87b01c5516fb7b782aba79e402e3c4a4004 (commit)
       via  2925cec20257ebee1675c7fad5cd9530382d6739 (commit)
       via  612ec3d595281f713de8e5712e54c70d48026fbe (commit)
       via  95a374854994136150ff107e0697a728b38730f6 (commit)
       via  a828fce165a160eb4879f02a3e80a8f5de509f53 (commit)
       via  160e54e6c35eeaf63323c65058306d9244d2280b (commit)
       via  310b37e308f65b9bd6a7f6576a63a16ed8426b12 (commit)
       via  ccc91e2754baf98c3348307793ef7c26511d8157 (commit)
       via  cc058c70163081ec4d09d5ccfa1d36f99debdfe1 (commit)
       via  5b83e9942229968b371e414ab58aa3edaca46419 (commit)
       via  a12e840426c8adc534eac2669f81bcb41667e6ee (commit)
       via  e228956dd3d2d59c0cd742289fa91678c989ea5d (commit)
       via  2395f55300b3f76b090d3c870c998f6663ad6281 (commit)
       via  8559e411b45101faffe9a880a9f0839eb2ebb773 (commit)
       via  d0a6769d5f1c0b55f54d354cee5a6c9c8884828a (commit)
       via  553ffc4b0f803e79d55e8513899145831ed7a33b (commit)
       via  c1558c072105f5e8df634a2dbd3f5f0aed88f28f (commit)
       via  d02e73d218dbbbe08adbd0d655297a1e0ade7c42 (commit)
       via  ee610e49c0340d563a42ed3e592e7a22acc41796 (commit)
       via  5660e224239f441a1ec5fae16ae0a405b117f8ca (commit)
       via  f50df360aeffc7e0c69459faf681120ae2824620 (commit)
       via  9545666ee1a47bfc43f7e41ed920db7c2124a1bb (commit)
       via  04219aba466870f7737a57bf29bd2adf7315af38 (commit)
       via  1fb043506c0aec583e2683c691f05c3d55b39146 (commit)
       via  b91572a361d2e0a1daa6489b5b5729d4f009f998 (commit)
       via  1593d01fb19e466833e4e87da9f74963753bb5f4 (commit)
       via  719a60f0840e2e61ae809ab35035905906afd58f (commit)
       via  e998f542c43d41db4720c0cbe856c11820db8196 (commit)
       via  d45bab2c41ad9f9521dd7be58842e95aad3e06ef (commit)
       via  d5d3009a67d5cb14fb10f46d9a2721dac0eb0b90 (commit)
       via  ea7934dbaa3962154861993f0e0e8c2dbd34235c (commit)
       via  18f0d6ecd49d80d3850c9717936372c8a477c444 (commit)
       via  5b9c47cceb65e67ff64e8803467df34a737e945b (commit)
       via  3b9e0197d4113dd0650465480ba3ec5fa5e10e0c (commit)
       via  86b98a9a9e0c5af3c60d985571ee72c5d9f69c48 (commit)
       via  9695c6c6e278bb4eb43f2dc3d76abf9211ade325 (commit)
       via  653345afd013b8a48432e6732cdd9b38cff83343 (commit)
       via  7db2bf610a7364be333faecee49779b4a1515fd6 (commit)
       via  6954acf2f4399dce397a6ba8bfac5bdf92a26d81 (commit)
       via  8cdabef4816ed7b2b58260e08b00a68ca73fc196 (commit)
       via  781fb3d5e44d19cb257cc525ad0bb655e5268098 (commit)
       via  dba7d4aaceb88323f4f4af0c84b8883b29c73888 (commit)
       via  047377f8f2fa7509445aeeda270cc4e9c0686c60 (commit)
       via  71ad637ca261d63d8f7d8a49cdb1f819796c9c79 (commit)
       via  4430a620b0c9427bb001f0428305f53265ab03d5 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (449f3c2c118d5a3da09aa1021397414752668851)
             N -- N -- N (44b975a641c500c6d2ebdc7b7e3650ebba121d2d)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 44b975a641c500c6d2ebdc7b7e3650ebba121d2d
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 19:09:43 2017 +0200

    osmo-bsc: react on reset requests from MSC
    The bsc side currently can not receive reset commands from an
    MSC. This patch adds required functionality to receive a reset
    command and acknowlege it properly. The effects are the same
    as with when sending resets (all drop all ongoing calls and
    sccp connections)

commit 0e99f565fecef8552d51b6bf839c76f1f2122846
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 17:40:01 2017 +0200

    libcommon-cs: genralize a interface reset fsm
    The AoIP standard also describes an MSC->BSC reset procedure. We
    currently do not implement it. However, the fsm that is used to
    issue the reset request from the bsc side is not generalized. This
    patch generalizes the code in order to be able to use the same
    code on the MSC side to perform a reset procedure from there.

commit cb897b8f8d4384e2e72b377d604224b4b591858f
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 15:58:28 2017 +0200

    fixup: remove unused counter
    Forgot to remove the counter struct osmo_timer_list msc_reset_timer;
    Needs to be fixuped into the reset handling patches

commit 6c5b1c279a10fd74b92f6740c9cc24d53c2e4c7b
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 14:06:18 2017 +0200

    sccp-lite: remove old sccp-lite code
    in osmo_bsc_sccp.c all code is commented out. There is no point
    in keeping the file. This commit deletes it.

commit 0416fa67b553002027784f050b43983b8f12ebe2
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 13:49:07 2017 +0200

    osmo-bsc: Send USSD notification when an MSC loss is detected
    the old sccp-lite based imlementation offered support for sending
    an USSD notification as soon as a loss of the MSC connection is
    detected. This is done before forcefully dropping the affected
    This commit ports the feature to the new libosmo-sigtran
    NOTE: I do not know if this works and I also do not really
    understand how this is even possible. Sending an USSD notification
    would rquire the subscriber to be properly attached? When the MSC
    is lost this almost not possible since no backend to authenticate
    against is available.

commit ff1dd87b01c5516fb7b782aba79e402e3c4a4004
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 13:22:59 2017 +0200

    cosmetic: make function names in a_iface_bssap more expressive.
    The function names in a_iface_bssap.c are not very expressive.
    The problem not only exists on the API side, but also for static
    functions. This patch replaces the function names with more
    expressive names.

commit 2925cec20257ebee1675c7fad5cd9530382d6739
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 12:52:35 2017 +0200

    cosmetic: more expressive function names in a_iface
    The function names if the API function in a_iface.c are not
    very expressive. Besides of that, the prototypes are in the
    wrong header file. This commit gives the function more
    expressive names and moves the prototypes in the right header

commit 612ec3d595281f713de8e5712e54c70d48026fbe
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 12:34:26 2017 +0200

    fixup: return with value in void function

commit 95a374854994136150ff107e0697a728b38730f6
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 12:26:31 2017 +0200

    mgcp: make bts base port configurable
    Currently the rtp base port of the BTS is hardcoded (4000) and not
    configurable. This patch adds VTY configuration options to make
    it adjustable.

commit a828fce165a160eb4879f02a3e80a8f5de509f53
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 11:43:44 2017 +0200

    Revert "mgcp: make sure all endpoints are closed on startup"
    Clearing all endpoints by sending a DLCX on startup has ben found
    to be a bit too offensive. It also will not help against
    inconsitancies that may occour during runtime (e.g. an overheard
    DLCX during regular call teardown).
    This reverts commit b669ea94cb78fd9b56ee8dd9392538151349f8ba.

commit 160e54e6c35eeaf63323c65058306d9244d2280b
Author: Philipp Maier <pmaier at>
Date:   Mon Jun 12 11:39:41 2017 +0200

    mgcp: Make sure endpoint is free on CRCX
    The MSC is aware of the assigned endpoints at all times, so it
    will not assign an occupied endpoint to someone else. However,
    if it has just restarted, there maybe lingering open endpoints.
    This patch introduces a fairly simple soultion. Before a new
    endpoint is seized (CRCX), a DLCX is send in advance. If the
    endpoint was still occupied with a dead connection, it will
    be freed. If it was free anyway, the DLCX will just have no

commit 310b37e308f65b9bd6a7f6576a63a16ed8426b12
Author: Philipp Maier <pmaier at>
Date:   Thu Jun 8 17:22:07 2017 +0200

    a_iface_bssap: clear lingering subscriber connections on reset
    When the BSC is vanishing, the subscriber connections will stay
    active until the MSC is instructed via tha A interface to clear
    the connections. Unfortunately, this will most likely not be
    the case because the BSC will most likeley have lost all its
    state and does not know about the old connections anymore.
    This patch fixes the problem by looping through the list with
    the active gsm subscriber connections and clearing them manually
    when the reset from the BSC is received. Only connections by the
    bsc who actually executes the reset are affected. Connections
    from other BSCs will not be touched.

commit ccc91e2754baf98c3348307793ef7c26511d8157
Author: Philipp Maier <pmaier at>
Date:   Thu Jun 8 17:00:31 2017 +0200

    cosmetic: fix typo

commit cc058c70163081ec4d09d5ccfa1d36f99debdfe1
Author: Philipp Maier <pmaier at>
Date:   Thu Jun 8 15:36:14 2017 +0200

    mgcp: make sure all endpoints are closed on startup
    If the MSC is crashing and restarting, it may leave some endpoints
    open. The endpoints can not be re-used until they are deleted
    (DLCX). This patch sends a DLCX to all possible endpoints (usually
    this is in a countable range) in order to clear possible open
    endpoints from a previous run

commit 5b83e9942229968b371e414ab58aa3edaca46419
Author: Philipp Maier <pmaier at>
Date:   Thu Jun 8 15:28:39 2017 +0200

    mgcp: make structs accessible from outside
    struct mgcpgw_client and struct mgcp_inuse_endpoint are not
    accessible from outside, making it difficult to look in the
    mgcp client properties and status. The commit moves the
    structs into the header file.

commit a12e840426c8adc534eac2669f81bcb41667e6ee
Author: Philipp Maier <pmaier at>
Date:   Thu Jun 8 14:21:50 2017 +0200

    mgcp: release no longer used endpoint identifiers
    When an MGCP endpoint is deleted, we need to mark its endpoint
    id as unused, so other calls can used it. This is currently not
    happening. This patch fixes that.

commit e228956dd3d2d59c0cd742289fa91678c989ea5d
Author: Philipp Maier <pmaier at>
Date:   Thu Jun 8 14:18:47 2017 +0200

    mgcp: improve endpoint management
    Currently the assignment of endpoint identifiers works by just
    incrementing a counter. The mgcpgw only has a limited amount
    of endpoint identifiers avaliable, this means we will run out
    of endpoints after only a few calls.
    This commit adds a mechanism to keep track of used endpoint
    identifiers so unused endpoint identifiers can be re-used

commit 2395f55300b3f76b090d3c870c998f6663ad6281
Author: Philipp Maier <pmaier at>
Date:   Thu Jun 8 12:21:07 2017 +0200

    mgcp: use mgcp DLCX command to terminate endpoint after call is done
    Currently no DLCX command is sent to the mgcpgw when a call is over,
    this leaves the endpoint open. This means that the endpoint can not
    never be reused by other calls. This patch adds a DLCX that
    terminates the the endpoint when the call is done.

commit 8559e411b45101faffe9a880a9f0839eb2ebb773
Author: Philipp Maier <pmaier at>
Date:   Thu Jun 8 12:19:30 2017 +0200

    mgcp: add DLCX command to mgcpgw client
    The mgcpgw client currently lacks support for DLCX. This patch
    adds a generator function to generate a DLCX command as well.

commit d0a6769d5f1c0b55f54d354cee5a6c9c8884828a
Author: Philipp Maier <pmaier at>
Date:   Wed Jun 7 18:19:53 2017 +0200

    cosmetic: fixing coding style

commit 553ffc4b0f803e79d55e8513899145831ed7a33b
Author: Philipp Maier <pmaier at>
Date:   Tue Jun 6 14:39:22 2017 +0200

    fixup: in osmo-bsc-sigtran.h header (bsc_msc_data.h) was missing

commit c1558c072105f5e8df634a2dbd3f5f0aed88f28f
Author: Philipp Maier <pmaier at>
Date:   Tue Jun 6 14:31:36 2017 +0200

    osmo-bsc: Handle RESET/RESET-ACK properly
    Improve the way the BSC executes its RESET/RESET-ACK sequence.
    Currently only a simple bool variable serves as a state holder.
    We set this variable to true when we receive the RESET-ACK
    message. Unfortunately no further checking is done. This
    patch replaces the old mechanism with a more elaborated
    implementation which also detects a loss of the connection
    and makes sure to reconnect properly afterwards. Also the
    all open connections are closed on connection loss

commit d02e73d218dbbbe08adbd0d655297a1e0ade7c42
Author: Philipp Maier <pmaier at>
Date:   Tue Jun 6 12:31:00 2017 +0200

    sccp: Use osmo-stp instead of direct server/client connection
    This patch adjusts the code to use osmo-stp. This is only an
    intermediate solution, since we still have hardcoded parameter.
    Next step is to use the VTY options from libosmo-sigtran to
    issue the configurations.

commit ee610e49c0340d563a42ed3e592e7a22acc41796
Author: Philipp Maier <pmaier at>
Date:   Fri Jun 2 17:48:37 2017 +0200

    fixup for: aoip: signal channel type to BSC
    The channel type and the speech codec element is now
    signalled to the BSC. The BSC checks both fields and
    select a codec by its preference. The choosen speech
    codec and the choosen channel (type) is returned to
    the MSC. Currently the MSC ignores the return values

commit 5660e224239f441a1ec5fae16ae0a405b117f8ca
Author: Philipp Maier <pmaier at>
Date:   Wed May 31 17:17:59 2017 +0200

    aoip: signal channel type to BSC
    obtain the permitted speech and the prefered channel parameters
    and signal it to the MSC with the channel type field.

commit f50df360aeffc7e0c69459faf681120ae2824620
Author: Philipp Maier <pmaier at>
Date:   Mon May 29 13:18:44 2017 +0200

    osmo-msc: Integrate A interface into existing call control
    The MSC already has some basic call control handling mechanism, that
    was primarily used with 3G before. However, the already existing
    code that handles the 3G calls is also perfectly fine for handling
    2G calls. This commit integrates the A interface without breaking
    it for 3G.

commit 9545666ee1a47bfc43f7e41ed920db7c2124a1bb
Author: Philipp Maier <pmaier at>
Date:   Mon May 29 13:14:18 2017 +0200

    osmo-bsc: Negotiate rtp ip address/port with BTS
    This patch adds the support for the RTP IP-Address/Port assignment.
    The post communicated via the assignment request is now transmitted
    via RSL/IPACC to the BTS. The Response containing the RX-Port at
    the BTS side is communicated back to the MSC.
    Since we plan to add a private MGCPGW to each BSC, this has to
    be extended. Currently it only creates a direct connection to
    the BTS. This will be introduced with a future patch.

commit 04219aba466870f7737a57bf29bd2adf7315af38
Author: Philipp Maier <pmaier at>
Date:   Thu May 18 16:20:18 2017 +0200

    fixup: Hexdump for incoming unit data was missing

commit 1fb043506c0aec583e2683c691f05c3d55b39146
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon May 22 21:27:19 2017 +0200

    comment: fixme to cleanup MGCP ports
    Related: OS#2279
    Change-Id: Iaf4877ad1c6446609715094d785e9be93c9e0429

commit b91572a361d2e0a1daa6489b5b5729d4f009f998
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon May 22 21:28:09 2017 +0200

    msc: enable basic CTRL commands
    So far CTRL was not used by anyone, and was still disabled from the initial
    implementation of the OsmoMSC. Now we need it in osmo-gsm-tester.
    Only add the MSC specific CTRL commands, the bsc_base_ctrl_cmds_install() still
    needs to be split up.
    Change-Id: Id8f72000e0f4dea081bfce94fde8cd54290dfa7d

commit 1593d01fb19e466833e4e87da9f74963753bb5f4
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Thu May 11 14:31:35 2017 +0200

    sgsn: add missing osmo_ss7_init()
    Change-Id: I7abe7a96fc4f46757605a75334a3bd240f54faf3

commit 719a60f0840e2e61ae809ab35035905906afd58f
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon May 8 15:11:00 2017 +0200

    drop libosmo-ranap from sms_queue test
    Change-Id: I0afd8e4db3c84fd1265d3903e389c5164ea73335

commit e998f542c43d41db4720c0cbe856c11820db8196
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon May 8 15:10:42 2017 +0200

    wip iudummy struct osmo_sccp_addr -- drop this?
    Change-Id: I90b807b1c6f2a3e86c81c0906168f8c0fc5440b3

commit d45bab2c41ad9f9521dd7be58842e95aad3e06ef
Author: Philipp Maier <pmaier at>
Date:   Wed Apr 12 15:19:45 2017 +0200

    WIP: Integrate AoIP into MSC

commit d5d3009a67d5cb14fb10f46d9a2721dac0eb0b90
Author: Philipp Maier <pmaier at>
Date:   Thu Apr 20 18:40:37 2017 +0200

    libmsc: make pitfall in gsm0408_dispatch() more obvious
    The function gsm0408_dispatch() accepts a message buffer pointer
    and accesses the l3h pointer. Even in a properly allocated
    message buffer, this may lead into a segfault if the user forgets
    to set the l3h pointer. This commit adds assertions to popup a
    more expressive error message.

commit ea7934dbaa3962154861993f0e0e8c2dbd34235c
Author: Philipp Maier <pmaier at>
Date:   Wed Apr 12 15:26:04 2017 +0200

    WIP: Integrate AoIP into OsmoBSC

commit 18f0d6ecd49d80d3850c9717936372c8a477c444
Author: Harald Welte <laforge at>
Date:   Sun Apr 9 12:32:51 2017 +0200

    WIP: Port to new libosmo-sigtran API (with proper M3UA for Iuh)
    This changes over to the new libosmo-sigtran API with support for
    proper SCCP/M3UA/SCTP stacking, as mandated by 3GPP specifications for
    the IuCS and IuPS interfaces.
    Only the ASP (client) is used, assuming that both the HNB-GWs and RNCs
    as well as the MSCs and SGSNs are all connecting as ASP to some STP/SGW
    which offers M3UA server functionality as well as point-code and/or
    global title based routing.
    Tweaked-by: nhofmeyr (test expectation)
    Change-Id: If0ff956fbf1484899d59ae1a5885543bca31645b

commit 5b9c47cceb65e67ff64e8803467df34a737e945b
Author: Daniel Willmann <dwillmann at>
Date:   Mon May 8 13:04:59 2017 +0200

    examples: Change IP address of config files
    This helps in providing 3G software packages for the sysmoNITB hardware.
    Change-Id: I99ba316be1088c10496025325dfe03035892d394

commit 3b9e0197d4113dd0650465480ba3ec5fa5e10e0c
Author: Daniel Willmann <dwillmann at>
Date:   Mon May 8 13:04:49 2017 +0200

    contrib: Add osmo-msc service file
    Change-Id: I60b1b134beec741c50df4c32d44ed51b720e12c9

commit 86b98a9a9e0c5af3c60d985571ee72c5d9f69c48
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon May 30 15:09:47 2016 +0200

    temporary dev: set debug log level almost everywhere
    Change-Id: I0d5a36560e7edde27497de57e579f5b1d00eb525

commit 9695c6c6e278bb4eb43f2dc3d76abf9211ade325
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Fri Mar 10 02:15:20 2017 +0100

    log protocol discriminators and message types by name
    Depends: libosmocore change-id I0fca8e95ed5c2148b1a7440eff3fc9c7583898df
    Change-Id: If1c49faf6e1757cb16b383dd2db87b48bc94eee6

commit 653345afd013b8a48432e6732cdd9b38cff83343
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Thu Mar 16 16:14:34 2017 +0100

    mgcp: hack RAB success from nano3G: patch first RTP payload
    The ip.access nano3G needs the first RTP payload's first two bytes to read hex
    'e400', or it will reject the RAB assignment. Add flag
    patched_first_rtp_payload to mgcp_rtp_state to detect the first RTP payload on
    a stream, and overwrite its first bytes with e400. This should probably be
    configurable, but seems to not harm other femto cells (as long as we patch only
    the first RTP payload in each stream). Only do this when sending to the BTS
    Change-Id: I31a4475f42d59fd5704d52ee6e473e270db6d779

commit 7db2bf610a7364be333faecee49779b4a1515fd6
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Fri May 20 21:59:55 2016 +0200

    Implement IuCS (large refactoring and addition)
    osmo-nitb becomes osmo-msc
    add DIUCS debug log constant
    add iucs.[hc]
    add msc vty, remove nitb vty
    add libiudummy, to avoid linking Iu deps in tests
    Use new msc_tx_dtap() instead of gsm0808_submit_dtap()
    libmgcp: add mgcpgw client API
    bridge calls via mgcpgw
    mgcp: hack RAB success from nano3G: patch first RTP payload
    The ip.access nano3G needs the first RTP payload's first two bytes to read hex
    'e400', or it will reject the RAB assignment. Add flag
    patched_first_rtp_payload to mgcp_rtp_state to detect the first RTP payload on
    a stream, and overwrite its first bytes with e400. This should probably be
    configurable, but seems to not harm other femto cells (as long as we patch only
    the first RTP payload in each stream). Only do this when sending to the BTS
    Change-Id: Ie13ff348117e892d41b8355ab6c24915301eaeaf

commit 6954acf2f4399dce397a6ba8bfac5bdf92a26d81
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon May 8 15:12:20 2017 +0200

    mscsplit: various preparations to separate MSC from BSC
    Disable large parts of the code that depend on BSC presence.
    Don't set msg->lchan nor msg->dst.
    Don't use lchan in libmsc.
    Decouple lac from bts.
    Prepare entry/exit point for MSC -> BSC and MSC -> RNC communication:
    Add msc_ifaces.[hc], a_iface.c, with a general msc_tx_dtap() to redirect to
    different interfaces depending on the actual subscriber connection.
    While iu_tx() is going to be functional fairly soon, the a_tx() is going to be
    just a dummy for some time (see comment).
    Add Iu specific fields in gsm_subscriber_connection: the UE connection pointer
    and an indicator for the Integrity Protection status on Iu (to be fully
    implemented in later commits).
    Add lac member to gsm_subscriber_connection, to allow decoupling from
    bts->location_area_code. The conn->lac will actually be set in iu.c in an
    upcoming commit ("add iucs.[hc]").
    move to libcommon-cs: gsm48_extract_mi(), gsm48_paging_extract_mi().
    libmsc: duplicate gsm0808 / gsm48 functions (towards BSC).
    In osmo-nitb, libmsc would directly call the functions on the BSC level, not
    always via the bsc_api. When separating libmsc from libbsc, some functions are
    missing from the linkage.
    Hence duplicate these functions to libmsc, add an msc_ prefix for clarity, also
    add a _tx to gsm0808_cipher_mode():
    * add msc_gsm0808_tx_cipher_mode() (dummy/stub)
    * add msc_gsm48_tx_mm_serv_ack()
    * add msc_gsm48_tx_mm_serv_rej()
    Call these from libmsc instead of
    * gsm0808_cipher_mode()
    * gsm48_tx_mm_serv_ack()
    * gsm48_tx_mm_serv_rej()
    Also add a comment related to msc_gsm0808_tx_cipher_mode() in two places.
    Temporarily disable all paging to be able to link libmsc without libbsc.
    Skip the paging part of channel_test because the paging is now disabled.
    In osmo-nitb, paging is done on BSC level and MSC level "at the same time".
    When the new MSC is fully operational, paging will be controlled separately on
    the MSC level, and the BSC (RNC) level will be instructed over an IuCS or
    A-interface to negotiate paging with the MS (UE). This MSC level paging does
    not yet exist and will be added in subsequent commits.
    msc_compl_l3(): publish in .h, tweak return value.  Use new libmsc enum values
    for return val, to avoid dependency on libbsc headers.  Make callable from
    other scopes: publish in osmo_msc.h and remove 'static' in osmo_msc.c
    add gsm_encr to subscr_conn
    move subscr_request to gsm_subscriber.h
    subscr_request_channel() -> subscr_request_conn()
    move to libmsc: osmo_stats_vty_add_cmds()
    gsm_04_08: remove apply_codec_restrictions()
    gsm0408_test: use NULL for root ctx
    move to libbsc: gsm_bts_neighbor()
    move to libbsc: lchan_next_meas_rep()
    move vty config for t3212 to network level (periodic lu)
    remove unneccessary linking from some tests
    remove handle_abisip_signal()
    abis_rsl.c: don't use libvlr from libbsc
    Change-Id: I9cf80f9c2c8a53a29e42f000029e680a9922cb41

commit 8cdabef4816ed7b2b58260e08b00a68ca73fc196
Author: Harald Welte <laforge at>
Date:   Mon May 2 08:34:57 2016 +0200

    IuPS adjustments
    SGSN: Don't indicate GERAN in Iu mode PDP CTX ACT REQ to GGSN
    sgsn_ranap_iu_event: handle some events without valid MM context
    sgsn init: pass sgsn_config pointer to sgsn_vty_init(), not sgsn_parse_config
    IuPS: cosmetic: explicitly check RAN type; move comment
    Change-Id: I8375ba42dd47d7ccd9ce9290767d6f8653a23b94

commit 781fb3d5e44d19cb257cc525ad0bb655e5268098
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Mar 29 15:17:55 2017 +0200

    osmo-nitb: change default config file name to osmo-nitb.cfg
    Since the VLR development marks a move away from the 'openbsc' name, now is a
    good opportunity to also change the default config file name to the more
    accurate and obvious 'osmo-nitb.cfg'.
    Change-Id: I47658dad59ec38c39be59415db5f648c9e4c79f2

commit dba7d4aaceb88323f4f4af0c84b8883b29c73888
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Mar 29 15:16:08 2017 +0200

    osmo-nitb: change default db name to sms.db
    libvlr now delegates subscriber management to osmo-hlr, so the database no
    longer represents a HLR. It basically only stores SMS, so reflect that fact in
    the default database name.
    Change-Id: Ibf766d9f7f67aae17f76988d6279da20ad18e4bc

commit 047377f8f2fa7509445aeeda270cc4e9c0686c60
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Feb 22 02:27:59 2017 +0100

    SI3: indicate R99+ MSC to GSM MS to enable UMTS AKA
    Change-Id: Iaf11218327f139e8cabfbc5f9916505c66eadbd8

commit 71ad637ca261d63d8f7d8a49cdb1f819796c9c79
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Jan 25 15:04:16 2017 +0100

    Add msc_vlr test suite for MSC+VLR end-to-end tests
    Change-Id: Ic073f3a069a7f5e7e421e0e56140f069ee9b10b8

commit 4430a620b0c9427bb001f0428305f53265ab03d5
Author: Harald Welte <laforge at>
Date:   Sun Jun 19 18:06:02 2016 +0200

    Use libvlr in libmsc (large refactoring)
    Original libvlr code is by Harald Welte <laforge at>,
    polished and tweaked by Neels Hofmeyr <nhofmeyr at>.
    This is a long series of development collapsed in one patch. The original
    history may still be available as branch neels/vlr_orig.
    TODO: This commit may be split in several smaller changes before merging to
    The SQL based lookup of SMS for attached subscribers no longer works since the
    SQL database no longer has the subscriber data. Replace with a round-robin on
    the SMS recipient MSISDNs paired with a VLR subscriber RAM lookup whether the
    subscriber is currently attached.
    If there are many SMS for not-attached subscribers in the SMS database, this
    will become inefficient: a DB hit returns a pending SMS, the RAM lookup will
    reveal that the subscriber is not attached, after which the DB is hit for the
    next SMS. It would become more efficient e.g. by having an MSISDN based hash
    list for the VLR subscribers and by marking non-attached SMS recipients in the
    SMS database so that they can be excluded with the SQL query already.
    There is a sanity limit to do at most 100 db hits per attempt to find a pending
    SMS. So if there are more than 100 stored SMS waiting for their recipients to
    actually attach to the MSC, it may take more than one SMS queue trigger to
    deliver SMS for subscribers that are actually attached.
    This is not very beautiful, but is merely intended to carry us over to a time
    when we have a proper separate SMSC entity.
    Introduce gsm_subscriber_connection ref-counting in libmsc.
    Related: OS#1592
    Change-Id: I702ba504ce2de93507312c28eca8d11f09f4ee8b


Summary of changes:
 openbsc/src/libcommon/gsm_data.c      | 12 +-----------
 openbsc/src/libmsc/smpp_openbsc.c     | 12 ++++++------
 openbsc/src/libmsc/smpp_smsc.h        |  2 +-
 openbsc/tests/msc_vlr/     |  4 ++--
 openbsc/tests/msc_vlr/msc_vlr_tests.c | 13 +++++++------
 5 files changed, 17 insertions(+), 26 deletions(-)

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

More information about the osmocom-commitlog mailing list