aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-02-07 16:58:42 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-02-07 16:58:42 +0100
commit342a9a941859a4c2cd7157641f9a2931cea65123 (patch)
tree039cdd0f81c4e37ec624fafadeae65ac9a6aac11
parent22f9cf268763cd0f7d7a763cb5be5980588be6f3 (diff)
Bump version: 1.10.0.117-22f9c-dirty → 1.11.01.11.0
-rw-r--r--TODO-RELEASE3
-rw-r--r--configure.ac14
-rw-r--r--contrib/osmo-mgw.spec.in30
-rw-r--r--debian/changelog135
-rw-r--r--debian/control12
-rw-r--r--debian/libosmo-mgcp-client11.install (renamed from debian/libosmo-mgcp-client9.install)0
-rw-r--r--src/libosmo-mgcp-client/Makefile.am2
7 files changed, 164 insertions, 32 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 3e10bf9a5..c5a3b36a5 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -24,6 +24,3 @@
# If any interfaces have been removed or changed since the last public release, a=0.
#
#library what description / commit summary line
-libosmo-netif >1.2.0 OSMUX_DEFAULT_PORT, osmux_xfrm_output_*, osmux_xfrm_input_*
-libosmocore >1.7.0 osmo_sockaddr_is_any()
-libmgcp-client NEW APIs mgcp_client_pool_member_...(), mgcp_client_pool_config_write() \ No newline at end of file
diff --git a/configure.ac b/configure.ac
index 017d78cda..db8c4e6b1 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.7.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.7.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.7.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.7.0)
-PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 1.2.0)
-PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 1.3.0)
-PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 1.3.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.8.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.8.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.8.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.8.0)
+PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 1.3.0)
+PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOTRAU, libosmotrau >= 1.4.0)
CFLAGS="$CFLAGS -pthread"
LDFLAGS="$LDFLAGS -pthread"
diff --git a/contrib/osmo-mgw.spec.in b/contrib/osmo-mgw.spec.in
index b994098d1..5e6d21f4d 100644
--- a/contrib/osmo-mgw.spec.in
+++ b/contrib/osmo-mgw.spec.in
@@ -29,30 +29,30 @@ BuildRequires: pkgconfig >= 0.20
%if 0%{?suse_version}
BuildRequires: systemd-rpm-macros
%endif
-BuildRequires: pkgconfig(libosmo-netif) >= 1.2.0
-BuildRequires: pkgconfig(libosmocore) >= 1.7.0
-BuildRequires: pkgconfig(libosmoctrl) >= 1.7.0
-BuildRequires: pkgconfig(libosmogsm) >= 1.7.0
-BuildRequires: pkgconfig(libosmovty) >= 1.7.0
-BuildRequires: pkgconfig(libosmocoding) >= 1.7.0
-BuildRequires: pkgconfig(libosmoabis) >= 1.3.0
-BuildRequires: pkgconfig(libosmotrau) >= 1.3.0
+BuildRequires: pkgconfig(libosmo-netif) >= 1.3.0
+BuildRequires: pkgconfig(libosmocore) >= 1.8.0
+BuildRequires: pkgconfig(libosmoctrl) >= 1.8.0
+BuildRequires: pkgconfig(libosmogsm) >= 1.8.0
+BuildRequires: pkgconfig(libosmovty) >= 1.8.0
+BuildRequires: pkgconfig(libosmocoding) >= 1.8.0
+BuildRequires: pkgconfig(libosmoabis) >= 1.4.0
+BuildRequires: pkgconfig(libosmotrau) >= 1.4.0
%{?systemd_requires}
%description
OsmoMGW is Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks.
-%package -n libosmo-mgcp-client9
+%package -n libosmo-mgcp-client11
Summary: Osmocom's Media Gateway Control Protocol client library
Group: System/Libraries
-%description -n libosmo-mgcp-client9
+%description -n libosmo-mgcp-client11
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-client9 = %{version}
+Requires: libosmo-mgcp-client11 = %{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-client9 -p /sbin/ldconfig
-%postun -n libosmo-mgcp-client9 -p /sbin/ldconfig
+%post -n libosmo-mgcp-client11 -p /sbin/ldconfig
+%postun -n libosmo-mgcp-client11 -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-client9
-%{_libdir}/libosmo-mgcp-client.so.9*
+%files -n libosmo-mgcp-client11
+%{_libdir}/libosmo-mgcp-client.so.11*
%files -n libosmo-mgcp-client-devel
%{_libdir}/libosmo-mgcp-client.so
diff --git a/debian/changelog b/debian/changelog
index 668c77f8c..bac901e7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,138 @@
+osmo-mgw (1.11.0) unstable; urgency=medium
+
+ [ Pau Espin Pedrol ]
+ * mgcp-client: Remove impossible code path
+ * mgcp_osmux: Drop duplicated conn_osmux_release_cid() in code path
+ * Use Osmux default port define from libosmo-netif
+ * osmux: Use new osmux APIs to let libosmo-netif alloc struct osmux_out_handle
+ * mgw: Fix osmux conn local IP selection
+ * cosmetic: osmux: Fix wrong indentation
+ * mgw: Use X-Osmux string define
+ * Add Osmux log category
+ * cosmetic: main: Properly format log_info_cat
+ * osmux: Use better name for function which may allocate a new struct
+ * osmux: Use osmo_sockaddr wherever possible
+ * osmux: Log refcounting of osmux_handle_list
+ * osmux: Fix memleak on error code path
+ * osmux: don't store conn ptr inside shared osmux_handle
+ * osmux: set log level of expected code path to INFO
+ * cosmetic: vty: Fix indentation whitespace
+ * osmux: Log sendto() error
+ * cosmetic: mgcp_conn.h: fix indentation whitespace
+ * osmux: Attach osmux to virtual trunk
+ * osmux: Clean up helper macro osmux_chunk_length()
+ * osmux: Get rid of static NULL talloc context
+ * Fix typo in ratectr description
+ * mgcp_conn: rename field s/rate_ctr_group/ctrg/g
+ * Use 'static const' instead of 'const static' everywhere
+ * osmux: Add connection and global rate counters
+ * cosmetic: osmux: Fix formatting of if-else brackets
+ * osmux: Rename field osmux usage policy and define it with proper type
+ * Use bool type instead of int in config field
+ * osmux: Support local CID != remote CID
+ * osmux: Fix incorrect rate_ctr_group used in mgcp_osmux.c
+ * osmux: Improve per-conn tx rate counters
+ * vty: show per-connection Osmux VTY stats
+ * osmux: Rename field s/init/initialized
+ * osmux: Allocate rate counters during initialization of osmux conn
+ * cosmetic: osmux: Drop extra empty line
+ * osmux: Drop unneeded comment block
+ * osmux: Lower log level when osmux batch received for unknown CID
+ * osmux: Keep decoding osmux pkt if a batch contains an unknown CID
+ * Allocate struct osmux_in_handle through new libosmo-netif APIs
+ * osmux: Drop logging of osmux internal counters
+ * osmux: cleanup misleading code calling rtp_bridge_cb
+ * osmux: Unify rtp_conn osmux type into a single type
+ * osmux: Match remote address in osmux_conn_lookup()
+ * osmux: Fill in from_addr in struct osmo_rtp_msg_ctx
+ * osmux: Log remote address upon rx of osmux pkt
+ * send_dummy: Use proper condition to test if conn is osmux
+ * Fix regression in detection of legacy dummy packets
+ * Use new libosmocore API osmo_sockaddr_is_any()
+ * Get rid of separate rtp_port field
+ * osmux: Use available API to check if remote end is known
+ * Add Osmux IPv6 support
+ * Clean up local var pointers in mgcp_get_local_addr()
+ * osmux: Change couple log lines to OSMUX category
+ * osmux: Add square brackets around IPv6 address to distinguish port in log line
+ * osmux: Drop unused role parameter
+ * osmux: cosmetic: Fix indentation
+ * Check once if remote addr is available when sending dummy packet
+ * osmux: Simplify and constify param passing
+ * osmux: Set conn->type during osmux_init_conn()
+ * osmux: Make conn_osmux_{allocate,release}_local_cid() APIs static
+ * osmux: Define osmux_dummy cfg as boolean
+ * osmux: Move setting OSMUX_STATE_DISABLED to initializer function
+ * osmux: Erase references to bsc-nat
+ * mgcp_conn_dump(): Separate dump for osmux and iuup connections
+ * osmux: Introduce osmux peer-behind-nat (on|off) and rework conn activation
+ * osmux: Clean up mgcp_config osmux fields
+ * cosmetic: Fix typo in comment
+ * mgcp-client: pool: Improve documentation of some internal fields
+ * mgcp-client: Avoid double iteration picking client from pool
+ * mgcp-client: Fix typo in internal function name
+ * mgcp-client: Rename internal field in mgcp_client_pool
+ * mgcp-client: Move & rename helper function outside of vty code
+ * mgcp-client: Create alloc() and free() internal APIs for mgcp_client_pool_member
+ * mgcp-client: Move internal API acting on mgcp_client_pool to the correct file section
+ * mgcp-client: Refactor reinit of mgcp clients
+ * mgcp-client: Rearrange order of structs and APIs in header
+ * mgcp-client: Rearrange internal backpointers
+ * mgcp-client: Introduce APIs to manually select mgcp_client from pool
+ * mgcp-client: vty: Write deprecation warning using non-mgw nodes
+ * mgcp-client: Use random free local port by default
+ * mgcp-client: Convert users supporting new MGW Pool VTY node during write-config
+ * mgcp-client: Introduce API mgcp_client_pool_config_write
+ * mgcp-client: Add new VTY commands under mgw node without mgw prefix
+ * mgcp-client: Fix 'mgw endpoint-range' command dropped from old VTY node
+ * mgcp-client: Refactor system keeping old users not calling mgcp_client_pool_config_write() working
+ * mgcp-client: Fix no 'mgw ' prefix written in old VTY node
+ * Fix misleading error log
+ * mgcp_send: Use mgcp_conn_rtp_is_iuup() helper
+ * cosmetic: Clarify and fix typos in comment
+ * mgw: Log unexpected RTP AMR OA-vs-BE payload
+ * Rename and move func checking if amr mode is explicitly configured
+ * mgw: rx_rtp(): reorder checks and handlings
+ * mgw: Rename s/mgcp_send_rtp/mgcp_conn_rtp_dispatch_rtp/
+ * osmux: Rename function and pass msgb directly to it
+ * osmux: Make sure RTP AMR feed to osmux is in octet-aligned mode
+ * Improve logging on AMR OA<->BWE conversion failure
+ * osmux: Rotate over available Osmux CID when allocating a new one
+ * osmux: Use new osmux_xfrm_input API to set name on each link
+ * iuup: Use osmo_amr_ft_valid() API
+
+ [ Vadim Yanitskiy ]
+ * libosmo-mgcp-client: add -no-undefined to *_la_LDFLAGS
+
+ [ Philipp Maier ]
+ * mgcp_e1: fix apidoc
+ * mgcp_network: improve coment
+
+ [ Max ]
+ * Set working directory in systemd service file
+ * Add realtime scheduling and set priority in service file
+ * ctrl: take both address and port from vty config
+
+ [ Harald Welte ]
+ * Make osmo_mgcpc_ep_fsm_pre_term() static
+ * Support building with -Werror=strict-prototypes / -Werror=old-style-definition
+ * Add -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition
+ * update outdated vty copyright statement
+
+ [ Oliver Smith ]
+ * mgcp_client_pool.h: add missing stdbool include
+ * Fix various typos
+ * mgcp_client: add new clearmode codec
+
+ [ Neels Hofmeyr ]
+ * AMR->IuUP: do not crash on AMR data before IuUP Init
+ * AMR->IuUP: properly translate Q -> FQC
+ * IuUP->AMR: do not patch payload type a second time
+ * IuUP->AMR: log whether converting to AMR OA or BE
+ * AMR->IuUP: log conversion, like for the flipside
+
+ -- Pau Espin Pedrol <pespin@sysmocom.de> Tue, 07 Feb 2023 16:58:41 +0100
+
osmo-mgw (1.10.0) unstable; urgency=medium
[ Eric ]
diff --git a/debian/control b/debian/control
index f37eafde1..bef8691ea 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,10 @@ Build-Depends: debhelper (>=9),
dh-autoreconf,
pkg-config,
autotools-dev,
- libosmocore-dev (>= 1.7.0),
- libosmo-netif-dev (>= 1.2.0),
- libosmo-abis-dev (>= 1.3.0),
- osmo-gsm-manuals-dev (>= 1.3.0)
+ libosmocore-dev (>= 1.8.0),
+ libosmo-netif-dev (>= 1.3.0),
+ libosmo-abis-dev (>= 1.4.0),
+ osmo-gsm-manuals-dev (>= 1.4.0)
Standards-Version: 3.9.8
Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw
Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/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-client9
+Package: libosmo-mgcp-client11
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-client9 (= ${binary:Version}), ${misc:Depends}
+Depends: libosmo-mgcp-client11 (= ${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-client9.install b/debian/libosmo-mgcp-client11.install
index 7e86498ca..7e86498ca 100644
--- a/debian/libosmo-mgcp-client9.install
+++ b/debian/libosmo-mgcp-client11.install
diff --git a/src/libosmo-mgcp-client/Makefile.am b/src/libosmo-mgcp-client/Makefile.am
index fffb42afd..36d6ca68b 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=10:0:1
+MGCP_CLIENT_LIBVERSION=11:0:0
lib_LTLIBRARIES = \
libosmo-mgcp-client.la \