File project.diff of Package osmo-cc-misdn-endpoint
--- _service.orig
+++ _service
@@ -1,14 +1,14 @@
<services>
- <service mode="disabled" name="tar_scm">
- <param name="url">https://git.osmocom.org/cc/osmo-cc-misdn-endpoint</param>
+ <service mode="manual" name="tar_scm">
+ <param name="url">https://gitea.osmocom.org/cc/osmo-cc-misdn-endpoint</param>
<param name="revision">master</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="versionformat">0~git%cd</param>
</service>
- <service mode="disabled" name="recompress">
+ <service mode="manual" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
- <service mode="disabled" name="set_version"/>
+ <service mode="manual" name="set_version"/>
</services>
--- _servicedata.orig
+++ _servicedata
@@ -1,4 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.osmocom.org/cc/osmo-cc-misdn-endpoint</param>
- <param name="changesrevision">c2caeb2a2fb759f01e40340b40e64a4a4c9dfe35</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">c2caeb2a2fb759f01e40340b40e64a4a4c9dfe35</param></service><service name="tar_scm">
+ <param name="url">https://gitea.osmocom.org/cc/osmo-cc-misdn-endpoint</param>
+ <param name="changesrevision">2b70c0913f388d8bbe011646dc10ba95198dadf5</param></service></servicedata>
\ No newline at end of file
--- osmo-cc-misdn-endpoint.changes.orig
+++ osmo-cc-misdn-endpoint.changes
@@ -1,4 +1,137 @@
-------------------------------------------------------------------
+Sun Aug 17 20:06:31 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250817:
+ * Add echo canceller/suppressor support
+
+-------------------------------------------------------------------
+Sat Aug 16 20:06:21 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250816:
+ * Updated libs
+
+-------------------------------------------------------------------
+Sat Jul 19 20:06:34 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250719:
+ * Do not seize channel 1, if any channel was requested
+ * Add missing states of previous commit
+
+-------------------------------------------------------------------
+Wed Jul 09 20:07:31 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250709:
+ * Forward media when disconnect is received from interface
+
+-------------------------------------------------------------------
+Sun Jun 08 20:07:37 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250608:
+ * Fix secondary connected party number
+
+-------------------------------------------------------------------
+Thu May 01 20:08:01 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250501:
+ * Fixup "cc-ringback"
+
+-------------------------------------------------------------------
+Mon Apr 21 20:08:38 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250421:
+ * Correctly transcode alaw<->ulaw when we run ulaw and accept alaw
+
+-------------------------------------------------------------------
+Wed Mar 26 21:08:40 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250326:
+ * Correctly do lost frame concealment for data calls
+
+-------------------------------------------------------------------
+Mon Mar 24 21:08:02 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250324:
+ * Add options for target and maximum jitter buffer lengths
+ * Use CLEARMODE for bearer capability data w/ tones
+ * Use correct bit order for clear mode
+
+-------------------------------------------------------------------
+Wed Mar 19 21:08:18 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250224:
+ * Make CNIP via DISPLAY IE configurable (--cnip)
+ * Add calling name presentation via DISPLAY facility
+ * Add option "cc-ringback"
+ * Replace local generated tones by libtones of osmocom-analog
+
+-------------------------------------------------------------------
+Mon Feb 24 21:08:10 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250224:
+ * Fix conference audio
+
+-------------------------------------------------------------------
+Sun Feb 09 21:08:41 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250208:
+ * Cleanup configure.ac from warnings during autoreconf and configure
+
+-------------------------------------------------------------------
+Wed Jan 15 21:09:19 UTC 2025 - mardnh@gmx.de
+
+- Update to version 0~git20250115:
+ * Fix some compiler warnings
+ * Prevent crash when codec negotiation fails and not codec is assigned
+ * Use interface name from Osmo-CC environment, if defined
+ * Update libph-socket
+ * Fix DLCC logging
+
+-------------------------------------------------------------------
+Sun Sep 29 19:30:54 UTC 2024 - mardnh@gmx.de
+
+- Update to version 0~git20240828:
+ * Fix uninitialized mISDN timer
+ * Fix another logging issue (printk of mISDN)
+ * Increase compiler warnings and fix them
+ * Update libs
+ * Correctly display mISDN debugging
+
+-------------------------------------------------------------------
+Fri Mar 29 21:07:44 UTC 2024 - mardnh@gmx.de
+
+- Update to version 0~git20240329:
+ * Audio rework, new jitter buffer
+ * Updated libs
+ * Add "morsegerman" parameter; fix german tone pattern timings
+ * Change IE_METERING timing information from deciseconds to seconds and milliseconds
+ * Fix: AOC-D unit information length; encode AOC-E according to real traces; Add option to disable seconds in time/date IE
+ * Updated libs
+ * AOC-S: Changed typeOfCharging to stepFunction
+ * AOC-S: Use variable time unit length (1...3 Bytes). Fixes wrong time calculation on Clubtelefon 5 ISDN
+ * AOC-S time scale adjusted
+ * AOC information as separate facility messages for compatibility (CONNECT-attached AOC-D IE ignored by NT1plus)
+ * Handling of unknown facility indications from terminals
+ * Changed AOC-D encoding value of TypeOfChargingInfo from Total to SubTotal
+ * AOC-D and AOC-S facility generation from CC metering information
+ * Move from local to external osmo* libraries
+ * Updated libs
+
+-------------------------------------------------------------------
+Sat Mar 16 12:53:50 UTC 2024 - mardnh@gmx.de
+
+- Update to version 0~git20230819:
+ * Updated libs
+ * Fix channel selection for PTMP/NT-Mode
+ * Fix brigde daemon forking; no more 'defunct' child process
+ * Send two B-channel frames when first frame is received
+ * Debugging of libmisdn shows file and line now
+ * Replace polling by select and timer events
+ * Updated libs
+ * Add confirm message to ph_driver
+ * fixed minor comment
+ * Add comfort noise when call is on hold
+
+-------------------------------------------------------------------
Fri Jan 1 12:21:03 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 0~git20210103
--- osmo-cc-misdn-endpoint.spec.orig
+++ osmo-cc-misdn-endpoint.spec
@@ -1,7 +1,7 @@
#
# spec file for package osmo-cc-misdn-endpoint
#
-# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
+# Copyright (c) 2021-2024, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,28 @@
Name: osmo-cc-misdn-endpoint
-Version: 0~git20210103
+Version: 0~git20250817
Release: 0
Summary: OsmoCC mISDN endpoint
License: GPL-3.0-or-later
Group: Productivity/Telephony/Servers
URL: http://osmocom-analog.eversberg.eu/
-#Git-Clone: https://git.osmocom.org/cc/osmo-cc-misdn-endpoint
+#Git-Clone: https://gitea.osmocom.org/cc/osmo-cc-misdn-endpoint
Source: %{name}-%{version}.tar.xz
+Patch0: x.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: mISDNuser-devel
+BuildRequires: pkgconfig(libosmocore) >= 1.9.0
+BuildRequires: pkgconfig(libosmocc) >= 2.0.0
%description
OsmoCC mISDN endpoint.
%prep
%setup -q
+%autopatch -p1
%build
echo "%{version}" >.tarball-version