diff --git a/TODO-RELEASE b/TODO-RELEASE index 3b31cded1..c5a3b36a5 100644 --- a/TODO-RELEASE +++ b/TODO-RELEASE @@ -24,5 +24,3 @@ # If any interfaces have been removed or changed since the last public release, a=0. # #library what description / commit summary line -update dependency to libosmocore > 1.5.1 for our use of osmo_sock_set_dscp() -libosmo-mgcp-client struct mgcp_client_conf ABI breackage \ No newline at end of file diff --git a/configure.ac b/configure.ac index ddd886205..c0b7d039a 100644 --- a/configure.ac +++ b/configure.ac @@ -44,13 +44,13 @@ AC_SEARCH_LIBS([dlsym], [dl dld], [LIBRARY_DLSYM="$LIBS";LIBS=""]) AC_SUBST(LIBRARY_DLSYM) -PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.5.0) -PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.5.0) -PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.5.0) -PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.5.0) +PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.6.0) +PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.6.0) +PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.6.0) +PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.6.0) PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 1.1.0) -PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 1.1.0) -PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 1.1.0) +PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 1.2.0) +PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 1.2.0) CFLAGS="$CFLAGS -pthread" LDFLAGS="$LDFLAGS -pthread" diff --git a/contrib/osmo-mgw.spec.in b/contrib/osmo-mgw.spec.in index ee85db3dd..c181d1f8b 100644 --- a/contrib/osmo-mgw.spec.in +++ b/contrib/osmo-mgw.spec.in @@ -30,29 +30,29 @@ BuildRequires: pkgconfig >= 0.20 BuildRequires: systemd-rpm-macros %endif BuildRequires: pkgconfig(libosmo-netif) >= 1.1.0 -BuildRequires: pkgconfig(libosmocore) >= 1.5.0 -BuildRequires: pkgconfig(libosmoctrl) >= 1.5.0 -BuildRequires: pkgconfig(libosmogsm) >= 1.5.0 -BuildRequires: pkgconfig(libosmovty) >= 1.5.0 -BuildRequires: pkgconfig(libosmocoding) >= 1.5.0 -BuildRequires: pkgconfig(libosmoabis) >= 1.1.0 -BuildRequires: pkgconfig(libosmotrau) >= 1.1.0 +BuildRequires: pkgconfig(libosmocore) >= 1.6.0 +BuildRequires: pkgconfig(libosmoctrl) >= 1.6.0 +BuildRequires: pkgconfig(libosmogsm) >= 1.6.0 +BuildRequires: pkgconfig(libosmovty) >= 1.6.0 +BuildRequires: pkgconfig(libosmocoding) >= 1.6.0 +BuildRequires: pkgconfig(libosmoabis) >= 1.2.0 +BuildRequires: pkgconfig(libosmotrau) >= 1.2.0 %{?systemd_requires} %description OsmoMGW is Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks. -%package -n libosmo-mgcp-client8 +%package -n libosmo-mgcp-client9 Summary: Osmocom's Media Gateway Control Protocol client library Group: System/Libraries -%description -n libosmo-mgcp-client8 +%description -n libosmo-mgcp-client9 Osmocom's Media Gateway Control Protocol client library. %package -n libosmo-mgcp-client-devel Summary: Development files for Osmocom's Media Gateway Control Protocol client library Group: Development/Libraries/C and C++ -Requires: libosmo-mgcp-client8 = %{version} +Requires: libosmo-mgcp-client9 = %{version} %description -n libosmo-mgcp-client-devel Osmocom's Media Gateway Control Protocol client librarary. @@ -90,8 +90,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %check make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +) -%post -n libosmo-mgcp-client8 -p /sbin/ldconfig -%postun -n libosmo-mgcp-client8 -p /sbin/ldconfig +%post -n libosmo-mgcp-client9 -p /sbin/ldconfig +%postun -n libosmo-mgcp-client9 -p /sbin/ldconfig %if 0%{?suse_version} %preun @@ -119,8 +119,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +) %dir %{_sysconfdir}/osmocom %config(noreplace) %{_sysconfdir}/osmocom/osmo-mgw.cfg -%files -n libosmo-mgcp-client8 -%{_libdir}/libosmo-mgcp-client.so.8* +%files -n libosmo-mgcp-client9 +%{_libdir}/libosmo-mgcp-client.so.9* %files -n libosmo-mgcp-client-devel %{_libdir}/libosmo-mgcp-client.so diff --git a/debian/changelog b/debian/changelog index a2f5c4a3c..ec3493775 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,117 @@ +osmo-mgw (1.9.0) unstable; urgency=medium + + [ Harald Welte ] + * TOS bits != DSCP + * manual: don't define fig-bsc twice + * switch from osmo_sock_set_dscp() to OSMO_SOCK_F_DSCP() + * mgw: Add support for setting socket priority from VTY + * manual: Include QoS chapter and add osmo-mgw specific example + + [ Keith ] + * Add vty command 'show mgcp active' + * Log some useful messages at ERROR/INFO instead of DEBUG + + [ Neels Hofmeyr ] + * send DLCX only once + * tweak termination DLCX log msg + * add osmo_mgcpc_ep_ci_get_remote_rtp_info() + * check_rtp_destin(): clarify log msg + * mgcp_client_fsm delete: set mgcp_client as ctx, not NULL + * mgcp_client_endpoint_fsm: on term, still let conns wait for DLCX OK + * mgcp_client_fsm: add missing log_subsys + * mgcp_client: add logging on received MGCP messages + + [ Philipp Maier ] + * mgcp_network: fix implicit address loopback + * mgcp_common, mgcp_udp_send: make parameter buf const + * mgcp_network: refactor MGCP_DUMMY_LOAD + * mgcp_client: drop nunnecessary else statement + * mgcp_client: fix error handling in mgcp message generation + * mgcp_protocol: fix loop that sends dummy RTP packets + * mgw_main: fix loop that resets all endpoints + * mgcp_trunk: drop ws line + * mgcp_ratectr: drop ws line + * mgcp_ratectr: fix sourcecode formatting + * mgcp_trunk: add value string for trunk type. + * mgcp_ratectr: refactor rate counter and set group name + * mgcp_protocol: forward declare mgcp_endpoint + * mgcp_endp: make wildcarded detection separate + * mgcp_protocol: refactor request handler array + * mgcp_trunk: use unsigned int instead of int as trunk_nr + * mgcp_protocol: refactor MGCP request handling + * mgcp_ratectr: add stats items to monitor trunk usage + * mgcp_msg: add trunk parameter to mgcp_check_param for logging + * mgcp_protocol: refactor function create_response_with_sdp + * mgcp_protocol: add support for wildcarded DLCX + * remove struct member wildcarded_req from struct mgcp_endpoint + * mgcp_lient: remove unsubstantial FIXME note + * mgcp_protocol: assert endp when it becomes mandatory + * mgcp_trunk: check MGW domain name earlier + * mgcp_ratectr: add stats items to monitor trunk usage + * mgcp_client: fix typo Initalize -> Initialize + * mgcp_protocol: get rid of policy_cb and change_cb + * mgcp_ratectr: do not set talloc destructor on library allocated item + * mgcp_client: allow to reset endpoints on startup + * mgcp_client_vty: remove unnecessary checks + * mgcp_client: do not print (null) when address is ANY + * mgcp_client: refactor function init_socket + * libosmo-mgcp-client: extend the mgcp_client for MGW pooling + * mgcp_client_vty: add missing docstrings + * mgcp_client_vty: add OSMO_ASSERT on pool parameter + * mgcp_client_vty: fix docstrings for mgw-pool + * mgcp_client_vty: cosmetic: doc string should terminated with \n + * mgcp_client_vty: fixing docstring + * mgcp_ratectr: remove unusued rate counters + * mgcp_client: fix typo in doxygen comment + * mgcp_client: add MGW name as logging context + + [ Pau Espin Pedrol ] + * Use new stat item/ctr getter APIs + * constify arg in addr_is_any() + * Define patch_ssrc as bool type + * constify some function arg pointers + * mgcp_network.c: Reorder some functions in file + * mgcp_send_dummy: Check RTP destination is available before attempt tx + * mgw: rx CRCX: Avoid sending dummy rtp if remote address not provided + * Fail rx MDCX sendrecv with invalid remote addr + * Take into account Marker bit when patching RTP stream + * Use DLMGCP instead of DLGLOBAL in log lines + * Fix attribute parsing on gcc 11.1.0 + + [ neels ] + * Revert "mgcp_ratectr: add stats items to monitor trunk usage" + + [ Daniel Willmann ] + * contrib/jenkins: Use ASAN for osmo-mgw + + [ Oliver Smith ] + * mgcp_client_vty: add missing NO_STR + * Revert "Turn some compiler warnings into errors" + + [ Eric ] + * add vscode stuff to gitignore + * configure.ac: fix maybe-uninitialized for clang + * fix missing includes and forward declarations + * rename do_retransmission + * mgcp_sdp: fix potential leak + * stats: make sanitizers happy + * libosmo-mgcp: cleanup audio codex alloc + * libosmo-mgcp: atomic rate counter group indexes + * libosmo-mgcp: do not use the default msgb talloc context + * globally lock the portrange when trying to grab a port to prep for multithreading + * embed strings into structs + * adjust talloc context + * endp: do not cache cfg pointer + * add modified .clang-format + * rename strip_epname and find_specific_endpoint and make them available + * fix mgcp_conn_free_all + * fix up some docstrings that lost their dot + + [ Vadim Yanitskiy ] + * libosmo-mgcp: use OSMO_STRLCPY_ARRAY in mgcp_codec_add() + + -- Pau Espin Pedrol Tue, 16 Nov 2021 16:59:21 +0100 + osmo-mgw (1.8.1) unstable; urgency=medium * attempt to fix RPM spec file after recent soversion bump diff --git a/debian/control b/debian/control index 8246708a1..2ca9a1399 100644 --- a/debian/control +++ b/debian/control @@ -6,10 +6,10 @@ Build-Depends: debhelper (>=9), dh-autoreconf, pkg-config, autotools-dev, - libosmocore-dev (>= 1.5.0), + libosmocore-dev (>= 1.6.0), libosmo-netif-dev (>= 1.1.0), - libosmo-abis-dev (>= 1.1.0), - osmo-gsm-manuals-dev (>= 1.1.0) + libosmo-abis-dev (>= 1.2.0), + osmo-gsm-manuals-dev (>= 1.2.0) Standards-Version: 3.9.8 Vcs-Git: git://git.osmocom.org/osmo-mgw.git Vcs-Browser: https://git.osmocom.org/osmo-mgw/ @@ -21,7 +21,7 @@ Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: OsmoMGW: Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks -Package: libosmo-mgcp-client8 +Package: libosmo-mgcp-client9 Section: libs Architecture: any Multi-Arch: same @@ -33,7 +33,7 @@ Package: libosmo-mgcp-client-dev Section: libdevel Architecture: any Multi-Arch: same -Depends: libosmo-mgcp-client8 (= ${binary:Version}), ${misc:Depends} +Depends: libosmo-mgcp-client9 (= ${binary:Version}), ${misc:Depends} Description: libosmo-mgcp-client: Osmocom's Media Gateway Control Protocol client utilities Package: osmo-mgw-doc diff --git a/debian/libosmo-mgcp-client8.install b/debian/libosmo-mgcp-client9.install similarity index 100% rename from debian/libosmo-mgcp-client8.install rename to debian/libosmo-mgcp-client9.install diff --git a/src/libosmo-mgcp-client/Makefile.am b/src/libosmo-mgcp-client/Makefile.am index c472ec18c..4d9ec5f71 100644 --- a/src/libosmo-mgcp-client/Makefile.am +++ b/src/libosmo-mgcp-client/Makefile.am @@ -21,7 +21,7 @@ AM_LDFLAGS = \ # This is not at all related to the release version, but a range of supported # API versions. Read TODO_RELEASE in the source tree's root! -MGCP_CLIENT_LIBVERSION=8:0:0 +MGCP_CLIENT_LIBVERSION=9:0:0 lib_LTLIBRARIES = \ libosmo-mgcp-client.la \