aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-28Bump version: 1.1.0.1-6299 → 1.1.11.1.1Harald Welte1-0/+6
Change-Id: I0143cbf462d8685bb7388024dddbc0eb9b3883dc
2017-10-28Debian: Depend on libosmo-sigtran-dev, not libsomo-sccp-dev!Harald Welte1-1/+1
Change-Id: I478e28ba5f7e39cecea8912183e288ecb2f03337
2017-10-28jenkins: use osmo-clean-workspace.sh before and after buildNeels Hofmeyr1-1/+4
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale. Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93 Change-Id: I6ae80147b2624079b5c364dbce08194215cc4e95
2017-10-28Tag/Release Version 1.1.01.1.0Harald Welte1-0/+55
[ Alexander Couzens ] * debian/rules: show testsuite.log when tests are failing [ Neels Hofmeyr ] * build: check for -lgsm * am: msc_vlr_tests: use AM_LDFLAGS instead of COMMON vars * jenkins: fix build: osmo-mgw from master, not pre_release * jenkins: drop unused build matrix vars, always --enable-smpp * configure.ac: fix to "AC_INIT[osmo-msc]" * rewrite README * rename openbsc.pc to osmo-msc.pc * debian: fix web and VCS links, tweak osmo-msc.install * drop files unrelated to osmo-msc * rename include/openbsc to include/osmocom/msc * doc/examples: add detailed cs7 config examples * use separated libosmo-mgcp-client, apply rename to mgcp_client_* * ctrl: subscriber-list-active: list only attached subscribers * debian: fix dependency to mgcp library * main: remove cmdline args no longer available for osmo-msc * vty: fix: missing default cmds at hlr node * ctrl: remove unimplemented cmds subscriber-{modify,delete} * fix build: remove obsolete header legacy_mgcp/mgcp.h * fix debian: fix erratic doc/examples install path * fix memory leak: vlr: vlr_gsupc_read_cb() must msgb_free() * fix vty tests: long timeout due to unreachable STP address * cosmetic: vlr: declare a struct in .h; drop unused header * add ';' after OSMO_ASSERT() [ Philipp Maier ] * a_iface: fix memory leaks * a_iface: fix typo [ Max ] * Remove rest_octets.h * Remove SI-related code * Remove BTS-specific attributes * Remove unused osmo_bsc_rf.h header * Remove pkg-config file [ Harald Welte ] * Update .gitignore for post-nitb-split * remove further files and autotest/autoconf bits irrelevant to osmo-msc * Rename osmo_fsm to avoid illegal space in name + more meaningful name * Debian: remove obsolete Dependencies * configure.ac: Depend on latest tagged/released libosmo-* versions * Debian: Build with enabled SMPP support * osmo-msc: Don't link against libasn1c * Debian: Include systemd.service in package * Debian: include all (not just one) example config files Change-Id: Ic24d937658e5b467c6643ae3cd54e5b6d9db3175
2017-10-28Debian: Add proper description for packages.Harald Welte1-0/+23
Change-Id: I6cf4a6d84048e68abd7323387766acb674fd345c
2017-10-28Debian: include all (not just one) example config filesHarald Welte1-1/+1
Change-Id: I19ac23898e9543081a1407da9af63ed643791d6e
2017-10-28Debian: Include systemd.service in packageHarald Welte1-0/+1
Change-Id: Iee768a0e812db782f3e23c5a1454e141eee08a74
2017-10-28osmo-msc: Don't link against libasn1cHarald Welte3-3/+0
osmo-msc doesn't use any API/symbols of libasn1c directlry. Rather, we use libosmo-ranap which in turn uses libasn1c. Let the linker work out that dependency. This fixes the following dpkg-shlibdeps warning: Change-Id: I2f840884d8f1cc542de1e26acd3d4215bd2fd899 dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/osmo-msc/usr/bin/osmo-msc was not linked against libasn1c.so.0 (it uses none of the library's symbols)
2017-10-28Debian: Build with enabled SMPP supportHarald Welte2-1/+2
Change-Id: Ibab5ede36cf329620a66b7811c43cc73c7135ecd
2017-10-28configure.ac: Depend on latest tagged/released libosmo-* versionsHarald Welte1-9/+9
This is the safe choice, as in absence of automatic testing we don't know if we actually still build against the [sometimes] ancient dependencies. Would be great to automatize this, but until we have that, better be safe. Change-Id: Idf5cad1dc17a5136d00c970c326cdf3b7ee18e3c
2017-10-28Debian: remove obsolete DependenciesHarald Welte1-3/+0
libgtp and c-ares are GRPS dependencies; we don't have GPRS in MSC Change-Id: Ie7fb8a9417d9024e3da0e8547679f7b696c79a9f
2017-10-25Rename osmo_fsm to avoid illegal space in name + more meaningful nameHarald Welte1-2/+2
A FSM doesn't need "FSM" in its name, as it is obvious that it is a FSM. Also, having two that are called RESET is confusing, so let's try to come up with better names. Also, after Change-Id I9ef59432f43a3cdb94e4cbb0c44ac3f9b2aac0f2 in libosmocore, we now enforce that no FSM identifiers contain spaces or other illegal characters. Closes: OS#2593 Change-Id: I858a81b8a4e01b2e802e3159f2835e5ca515953d
2017-10-16Remove pkg-config fileMax4-24/+1
It's an artefact of split which is unused anyway. Change-Id: I15c0b4457c108c7791b0f30b79660d9e6d09b269
2017-10-11debian/rules: show testsuite.log when tests are failingAlexander Couzens1-0/+4
Change-Id: I588ed7c7766a2e71284c9c7a3f3ce5a48561fe7f
2017-10-05add ';' after OSMO_ASSERT()Neels Hofmeyr1-1/+1
Currently, OSMO_ASSERT() is defined such that it ends in a semicolon, hence an added ';' is redundant. However, the usual way this kind of macro should be defined is #define OSMO_ASSERT(x) do { ... } while(0) so that the compiler requires a trailing semicolon. To prepare for such a change possibly coming up in libosmocore, add ';' to all OSMO_ASSERT() users. Change-Id: Ic79c8b8f98a7f3bef761751d55a7e6125cf2c46d
2017-10-04cosmetic: vlr: declare a struct in .h; drop unused headerNeels Hofmeyr2-1/+2
In vlr_core.h, "pre-declare" a struct used in function declaration. In vlr_lu_fsm.c, gsup.h is not used, drop the #include. Change-Id: I61d793c3001abbe6d381be1ae0bb350b07403e88
2017-10-04fix vty tests: long timeout due to unreachable STP addressNeels Hofmeyr2-3/+3
The doc/examples/osmo-msc SCCP config examples with 10.23.42.1 as asp ip-remote cause >5 minutes timeout for each VTY config test being run before the VTY becomes available. This hugely elongates the config tests, we didn't spot it before because it does succeed after that timeout. Rather use link-local addresses in order to immediately note the lack of connection and carry on with the VTY config tests. Related: OS#2333 Change-Id: I5ea4ef8a7e181bd3a38edf9c3b5d098f6ba65ee5
2017-10-03fix memory leak: vlr: vlr_gsupc_read_cb() must msgb_free()Neels Hofmeyr2-1/+2
Add required msgb_free() to vlr_gsupc_read_cb(). Adjust msc_vlr_tests.c gsup_rx() to *not* free the msgb again after vlr_gsupc_read_cb() did. Related: OS#2476 Change-Id: I347c53f57a7fa79921aed3f6e42599841acf27c0
2017-10-03remove further files and autotest/autoconf bits irrelevant to osmo-mscHarald Welte3-534/+0
Change-Id: I68e879e7474cbd3dd053f23bc4d5d22dc2748c5b
2017-10-03Update .gitignore for post-nitb-splitHarald Welte1-26/+11
Change-Id: I8bac4399a35b722908a4dc4d47c4962946ed52e9
2017-09-25fix debian: fix erratic doc/examples install pathNeels Hofmeyr1-1/+1
Change-Id: I8fc3d50b95649145e45ea6b56792ddbaf0548050
2017-09-24fix build: remove obsolete header legacy_mgcp/mgcp.hNeels Hofmeyr1-1/+0
Since Ifb8f3fc2b399662a9dbba174e942352a1a21df3f libosmo-mgcp-client has its own definitions in mgcp_common.h, which conflict with legacy_mgcp/mgcp.h. This cross-inclusion to support libosmo-mgcp-client is no longer necessary. In the future, including libosmo-mgcp-client together with libosmo-mgcp will be made possible, but not with libosmo-legacy-mgcp (because we don't care enough). That is why including libosmo-legacy-mgcp headers would cause build failure. Depends: Ifb8f3fc2b399662a9dbba174e942352a1a21df3f Change-Id: I8e3359bedf973077c0a038aa04f5371a00c48fa0
2017-09-19ctrl: remove unimplemented cmds subscriber-{modify,delete}Neels Hofmeyr1-22/+0
Change-Id: I754de5d08c053fea5f1ca2673b0ac4d26a85778a
2017-09-19vty: fix: missing default cmds at hlr nodeNeels Hofmeyr1-0/+1
Without this, it is impossible to exit the 'hlr' node. Change-Id: I53e572194af39a431c54f83cd07e4c41c6fdf7f8
2017-09-18main: remove cmdline args no longer available for osmo-mscNeels Hofmeyr1-27/+1
Change-Id: I3009d2b3dd89eacdf6bc3d9c19744e9fdf4be6c3
2017-09-15Remove unused osmo_bsc_rf.h headerMax3-68/+0
Change-Id: I7a668665b571d00a6a34629626ddbfb60b6c09cc
2017-09-15Remove BTS-specific attributesMax7-338/+2
Remove *bts_model_* functions as they are only useful to BSC. Change-Id: Ic80d11d6f8167b49a94fc9c6edbc5ff9fbe36587
2017-09-15Remove SI-related codeMax3-112/+1
Get rid of unused data structures and functions related to SI handling. Change-Id: I048885e85a9f97b8b071f3a3f1c362b54a44720e
2017-09-15Remove rest_octets.hMax18-145/+21
The MSC should not fiddle with low-level SI details like rest octets anyway. Unfortunately simply removing the header is impossible as it causes massive fallout due to missing includes. Fixed it as well. The only other parameter which required removal is cell_ro_sel_par which is not referenced anywhere in the code anyway. Change-Id: Ibff77330de056fad4288cd4c48d016aad8105354
2017-09-14debian: fix dependency to mgcp libraryNeels Hofmeyr1-1/+1
osmo-mgw has split the MGCP client to a separate library in change-id I8e0b2d2a399b77086a36606f5e427271c6242df1 or commit 97df691307e48c39170ac39b2394a7095d7f0ee5. Change-Id: I9c56c218fce2264fe0acae62caed4d9ff4bfb54c
2017-09-11a_iface: fix typoPhilipp Maier1-1/+1
Change-Id: Ia849a4043d0fb209fe6e6840908f4f7fe90dc9e5
2017-09-11a_iface: fix memory leaksPhilipp Maier4-10/+21
Fix multiple memory leaske in A/BSSMAP code Change-Id: I90703c96e6a266a1cfa60b184139375aeb9ae32d
2017-09-09ctrl: subscriber-list-active: list only attached subscribersNeels Hofmeyr1-0/+3
I would have liked to add a regression test to verify this, but currently there is no easy way to run CTRL tests and at the same time have access to the osmo-msc in a way that simulates an attached subscriber. Related: OS#2285 Change-Id: I003542b208ecf3713e9e67712d84ccb4c61af14e
2017-09-08use separated libosmo-mgcp-client, apply rename to mgcp_client_*Neels Hofmeyr11-69/+41
After osmo-mgw changes I8e0b2d2a399b77086a36606f5e427271c6242df1 and I99f7faab637cfcc22ece64a1dbcbe590f2042187, apply linking of new libosmo-mgcp-client and renames to drop the "gw" from mgcp_client_*. Also rename the gsm_network.mgcpgw to mgw, to indicate that the MGCP client is used to contact the MGW (Media Gateway). Depends: I8e0b2d2a399b77086a36606f5e427271c6242df1 (osmo-mgw) I99f7faab637cfcc22ece64a1dbcbe590f2042187 (osmo-mgw) Change-Id: I093ad02ca0e532f659447c785e09678b3e6f220d
2017-09-07doc/examples: add detailed cs7 config examplesNeels Hofmeyr3-1/+60
Change-Id: I4da6724cd4348e92dfd06516f82af06c97277ef9
2017-09-06rename include/openbsc to include/osmocom/mscNeels Hofmeyr137-345/+349
Change-Id: I1f96a1285bbd1b4607614856bca935d5c26e2da9
2017-09-06drop files unrelated to osmo-mscNeels Hofmeyr47-2705/+0
These either remain from openbsc.git or slipped in while applying recent patches from openbsc.git and do not belong in osmo-msc. Empty out contrib: remove things that are either obviously unrelated to osmo-msc, or seem old and/or esoteric. Change-Id: I49957769e09eed6d723bf7c3777024b62b3480fd
2017-09-06debian: fix web and VCS links, tweak osmo-msc.installNeels Hofmeyr2-4/+4
Change-Id: I3fffa73722c5437c969d25294e0ff86de5385087
2017-09-06rename openbsc.pc to osmo-msc.pcNeels Hofmeyr3-4/+4
Change-Id: Ibe73012cb2a27d886b5faf931a62d5efbddd8120
2017-09-06rewrite READMENeels Hofmeyr1-37/+22
Change-Id: I2bdcf42c2f3340fe0d33ecd85368904312127cb9
2017-09-06configure.ac: fix to "AC_INIT[osmo-msc]"Neels Hofmeyr1-1/+1
Change-Id: I3c0dea06e341ccd944448b133381a390fc500c32
2017-09-05jenkins: drop unused build matrix vars, always --enable-smppNeels Hofmeyr1-2/+2
Change-Id: I24fbc756e79bbf25fc37dbf9b2c573972e712c7e
2017-09-03jenkins: fix build: osmo-mgw from master, not pre_releaseNeels Hofmeyr1-1/+1
pre_release is gone, we need to build from master now. Change-Id: I86a50c523ab04d96575aade624daa5a2f9fd6d83
2017-08-30am: msc_vlr_tests: use AM_LDFLAGS instead of COMMON varsNeels Hofmeyr1-53/+32
It was a n00b mistake to define COMMON_LDFLAGS and COMMON_LDADD to pass the same linker options to each test binary. Instead, use AM_LDFLAGS and remove the autoreconf warning. tests/msc_vlr/Makefile.am:66: warning: variable 'COMMON_LDFLAGS' is defined but no program or tests/msc_vlr/Makefile.am:66: library has 'COMMON' as canonical name (possible typo) Related: OS#2448 Change-Id: I6efae6e192b22de2c1d706edd55385135142532b
2017-08-29build: check for -lgsmNeels Hofmeyr1-11/+27
If libosmo-legacy-mgcp is built with --enable-mgcp-transcoding, we need to link -lgsm here as well. This autodetects whether -lgsm is necessary. Todo: how about --with-g729? Todo: osmo-msc is only using the mgcp client and should not actually need transcoding nor -lgsm. Change-Id: Iab55a089ae36017b79e7cbc3cac45ef9fd85dd43
2017-08-29rework debian packages supportAlexander Couzens13-551/+234
Remove old leftover from split of osmo-mgw out of openbsc. Change-Id: I77544cb38c31777c3fab52979d19488a63e52de3
2017-08-29libmsc: make pitfall in gsm0408_dispatch() more obviousPhilipp Maier1-2/+6
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. Change-Id: I43bd9bd1c170559aaa8dacaef25dba090744bcd5
2017-08-29split off osmo-msc: remove files, apply build, renameNeels Hofmeyr251-100345/+17
Change-Id: Icf025e5ea8d180613b3114282951c9afa67af9a7
2017-08-29add msg type to SMS rx loggingNeels Hofmeyr1-1/+3
Change-Id: I73ea4eebe57b2d1008045a27f174072178b9f077
2017-08-29msc_vlr tests: add IMEISV testsNeels Hofmeyr6-48/+1324
Change-Id: I752afef2ae3ce04e813c7e9fea0e883e607c0e14