MT#55831 sems (CE): stop using patches - add commit messages

We need to add commit messages to patches to properly apply them
as a code later.

Change-Id: I2fd7b627c6705725438cbe2529f6b7864d5e1ae9
mr11.2.1
Donat Zenichev 4 years ago
parent b3a3ab6f63
commit 544c77403c

@ -1,7 +1,12 @@
Description: Make the code build again
Due to the build system not failing on compilation/link errors, parts of
the code base has suffered bit rot.
Author: Guillem Jover <gjover@sipwise.com>
From efbb87f805fcf4325060c9dbfd6c92c01537886b Mon Sep 17 00:00:00 2001
From: Guillem Jover <gjover@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:13 +0100
Subject: MT#55831 Make the code build again
Due to the build system not failing on compilation/link errors, parts of
the code base has suffered bit rot.
(real ticket number: TT#6850)
---

@ -1,9 +1,15 @@
Description: Fix module exclusion logic
Several of the modules cannot be compiled because they miss Makefiles,
others require additional dependencies or similar. So encode this in the
build system so that people building do not have to figure this out, even
if they pass an explicit list of modules to include or exclude.
Author: Guillem Jover <gjover@sipwise.com>
From efbb87f805fcf4325060c9dbfd6c92c01537886d Mon Sep 17 00:00:00 2001
From: Guillem Jover <gjover@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:15 +0100
Subject: MT#55831 Fix module exclusion logic
Fix module exclusion logic
Several of the modules cannot be compiled because they miss Makefiles,
others require additional dependencies or similar. So encode this in the
build system so that people building do not have to figure this out, even
if they pass an explicit list of modules to include or exclude.
(real ticket number: TT#6850)
---

@ -1,7 +1,13 @@
Description: Build the library as shared
Otherwise we are trying to link a static library built as PIE into a
shared library.
Author: Guillem Jover <gjover@sipwise.com>
From efbb87f805fcf4325060c9dbfd6c92c01537886c Mon Sep 17 00:00:00 2001
From: Guillem Jover <gjover@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:14 +0100
Subject: MT#55831 Build the library as shared
Build the library as shared.
Otherwise we are trying to link a static library built as PIE into a
shared library.
(real ticket number: TT#6850)
---

@ -1,9 +1,14 @@
Description: Revamp the build system
From efbb87f805fcf4325060c9dbfd6c92c01537886e Mon Sep 17 00:00:00 2001
From: Guillem Jover <gjover@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:16 +0100
Subject: MT#55831 Revamp the build system
- Make errors fatal, so that they do not get ignored anymore.
- Use sane make variables that a shell will accept as valid, otherwise
the exports do not work at all.
- Do not use system paths when we should use in-tree ones.
Author: Guillem Jover <gjover@sipwise.com>
(real ticket number: TT#6850)
---

@ -1,6 +1,11 @@
Author: Guillem Jover <gjover@sipwise.com>
Description: Use a proper accessor instead of messing with the struc directly
which has become opaque in latest OpenSSL versions.
From 5634f22d2b3423b7988d7ca932846d8daa5e34f2 Mon Sep 17 00:00:00 2001
From: Guillem Jover <gjover@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:17 +0100
Subject: MT#55831 Use a proper accessor instead of messing with the struc directly
Use a proper accessor instead of messing with the struc directly
which has become opaque in latest OpenSSL versions.
(real ticket number: TT#12308)
---
apps/diameter_client/lib_dbase/tcp_comm.c | 2 +-

@ -1,3 +1,10 @@
From e580ff5ca6db1d455d6dc8e8942b8f29e0913ca7 Mon Sep 17 00:00:00 2001
From: Victor Seva <vseva@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:06 +0100
Subject: MT#55831 No config patch
No config patch
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -69,7 +69,7 @@

@ -1,3 +1,11 @@
From cc61483b348ea0a5aa0c6effa0d2961aee5bcb57 Mon Sep 17 00:00:00 2001
From: Victor Seva <vseva@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:07 +0100
Subject: MT#55831 fix py_sems install dir properly
fix py_sems install dir properly
(real ticket number: MT#7349)
--- a/apps/py_sems/Makefile.defs
+++ b/apps/py_sems/Makefile.defs
@@ -15,4 +15,4 @@

@ -1,10 +1,11 @@
From 12ea81babb899cd637426afd13740dc9729ca8d3 Mon Sep 17 00:00:00 2001
From: Roman Romanchenko <rromanchenko@sipwise.com>
Date: Mon, 26 Mar 2018 12:47:33 +0300
Subject: [PATCH] TT#34704 Fix sems and sems-pbx to write pid file when running
with -E option
Date: Thu, 29 Dec 2022 10:14:22 +0100
Subject: MT#55831 Fix sems and sems-pbx to write pid file when running with -E option
- now pid file written with -E as well
(real ticket number: TT#34704)
---
core/sems.cpp | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)

@ -1,3 +1,13 @@
From e3f342754ac8c736b551c8b52376c15cb6e7f8dd Mon Sep 17 00:00:00 2001
From: Kirill Solomko <ksolomko@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:23 +0100
Subject: MT#55831 add header filter wildcard match support
'\*' \- matches 0 or more characters
'?' \- matches any one character
for more info, refer to <fnmatch\.h>
(real ticket number: TT#53685)
--- a/apps/sbc/HeaderFilter.cpp
+++ b/apps/sbc/HeaderFilter.cpp
@@ -28,6 +28,7 @@

@ -1,8 +1,10 @@
From 5ec9bf2d042f90f0f29b7de2bb215a8cf6ba7169 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Fri, 12 Aug 2016 12:35:45 +0200
Subject: [PATCH 2/6] b/f:dsm:mod_conference:set callgroup to conference
channel
Date: Thu, 29 Dec 2022 10:14:10 +0100
Subject: MT#55831 dsm:mod_conference:set callgroup to conference channel
dsm:mod_conference:set callgroup to conference channel
(real ticket number: MT#18839)
---
apps/dsm/mods/mod_conference/ModConference.cpp | 3 +++

@ -1,8 +1,11 @@
commit d1f87cfcb35f4fe27078f7760e9b4a5fff8e189c
Author: Andrew Pogrebennyk <apogrebennyk@sipwise.com>
Date: Thu Jan 29 12:04:00 2015 +0100
From d1f87cfcb35f4fe27078f7760e9b4a5fff8e189c Mon Sep 17 00:00:00 2001
From: Andrew Pogrebennyk <apogrebennyk@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:02 +0100
Subject: MT#55831 rename prompts x1..9.wav to 1..9-and.wav
rename prompts x1..9.wav to 1..9-and.wav
rename prompts x1..9.wav to 1..9-and.wav
(real ticket number: MT#11239 MT#11219)
--- a/apps/dsm/mods/mod_utils/ModUtils.cpp
+++ b/apps/dsm/mods/mod_utils/ModUtils.cpp

@ -1,8 +1,9 @@
From 4ec1e1d2d06359c599d9fc551478d443934c616c Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Thu, 20 Nov 2014 19:46:49 +0100
Subject: [PATCH 2/3] dsm: helper functions / macros for modules:
replaceParams/SET_ERROR/CLR_ERROR
Date: Thu, 29 Dec 2022 10:14:03 +0100
Subject: MT#55831 dsm: helper functions / macros for modules:
replaceParams/SET_ERROR/CLR_ERROR
use resolveVars in module actions/condition to replace only one variable/param,
use replaceParams to replace substrings as well,

@ -1,7 +1,7 @@
From fe53372de8a97d3af08dc3e54d842a4291449190 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Fri, 20 Feb 2015 21:55:59 +0100
Subject: [PATCH 7/7] confpin: simple pin conference app
Date: Thu, 29 Dec 2022 10:14:04 +0100
Subject: MT#55831 confpin: simple pin conference app
---
apps/confpin/confpin.conf | 39 +++++
@ -38,6 +38,8 @@ Subject: [PATCH 7/7] confpin: simple pin conference app
create mode 100755 apps/confpin/tools/fetch_file
create mode 100755 apps/confpin/tools/push_file
(real ticket number: MT#11241)
--- /dev/null
+++ b/apps/confpin/confpin.conf
@@ -0,0 +1,39 @@

@ -1,3 +1,12 @@
From 89c3172468d4bc02fb7484e20c4feae58ccd23e2 Mon Sep 17 00:00:00 2001
From: Andrew Pogrebennyk <apogrebennyk@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:05 +0100
Subject: MT#55831 don't create CF map if CF is denied by profile
don't create CF map if CF is denied by profile
(real ticket number: MT#13599)
--- a/apps/sw_vsc/SW_Vsc.cpp
+++ b/apps/sw_vsc/SW_Vsc.cpp
@@ -1214,36 +1214,36 @@ void SW_VscDialog::onInvite(const AmSipR

@ -1,8 +1,10 @@
From 1f02da5c8cc9dc711ded015059ae85a5126dd269 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Fri, 13 Jan 2017 23:30:01 +0100
Subject: [PATCH] db_reg_agent: add username_with_domain option to use auth
user with domain part
Date: Thu, 29 Dec 2022 10:14:11 +0100
Subject: MT#55831 db_reg_agent: add username_with_domain option to use auth user with domain part
add username_with_domain option to use auth user with domain part
(real ticket number: MT#9306)
implements M758
---

@ -1,3 +1,11 @@
From 1f02da5c8cc9dc711ded015059ae85a5126dd269 Mon Sep 17 00:00:00 2001
From: Andrew Pogrebennyk <apogrebennyk@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:12 +0100
Subject: MT#55831 increase the config line length to 4096 because of header_list
increase the config line length to 4096 because of header_list
(real ticket number: MT#1640)
--- a/core/AmConfigReader.h
+++ b/core/AmConfigReader.h
@@ -33,7 +33,7 @@

@ -1,3 +1,11 @@
From 564d4c09263c021aa7e651edbfbd22e8b895a3bf Mon Sep 17 00:00:00 2001
From: Jozef Kenyeres <jkenyeres@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:18 +0100
Subject: MT#55831 fix failed relay of 200OK without SDP
fix failed relay of 200OK without SDP
(real ticket number: TT#9521)
Index: sems/core/AmOfferAnswer.cpp
===================================================================
--- sems.orig/core/AmOfferAnswer.cpp

@ -1,3 +1,11 @@
From cd20d43797777716900311f95a43dc864bb546c3 Mon Sep 17 00:00:00 2001
From: Andreas Granig <agranig@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:08 +0100
Subject: MT#55831 Implement vsc for block_in_clir
Implement vsc for block_in_clir
(real ticket number: MT#20649)
Index: sems/apps/sw_vsc/SW_Vsc.cpp
===================================================================
--- sems.orig/apps/sw_vsc/SW_Vsc.cpp 2016-07-20 13:39:47.454933967 +0200

@ -1,3 +1,15 @@
From f40a8b932a1dabd664995014d2fc2c9f2bcc9722 Mon Sep 17 00:00:00 2001
From: Andreas Granig <agranig@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:09 +0100
Subject: MT#55831 Rework config validation to be more slack
Don't bail out on missing config options, rather than using some
invalid defaults.
Also only check for existence of sound files in the places where
they are needed for optimization purposes.
Use macros to clean up redundant code.
(real ticket number: MT#20649)
Index: sems/apps/sw_vsc/SW_Vsc.cpp
===================================================================
--- sems.orig/apps/sw_vsc/SW_Vsc.cpp 2016-07-21 12:55:32.091065992 +0200

@ -1,3 +1,15 @@
From f40a8b932a1dabd664995014d2fc2c9f2bcc9723 Mon Sep 17 00:00:00 2001
From: Andreas Granig <agranig@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:09 +0100
Subject: MT#55831 Rework config validation to be more slack (part 2)
Don't bail out on missing config options, rather than using some
invalid defaults.
Also only check for existence of sound files in the places where
they are needed for optimization purposes.
Use macros to clean up redundant code.
(real ticket number: MT#20649)
Index: sems/apps/sw_vsc/SW_Vsc.cpp
===================================================================
--- sems.orig/apps/sw_vsc/SW_Vsc.cpp 2016-07-21 16:00:25.721737956 +0200

@ -1,3 +1,16 @@
From 7ce85a46b4d4ba01c1c98309a5c6d28c654efae3 Mon Sep 17 00:00:00 2001
From: Marco Capetta <mcapetta@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:24 +0100
Subject: MT#55831 Add VSC to disable all active call forwards at once
This feature gives the user the ability to disable all active
call forwards (CFU, CFB, CFT, CFNA, CFS, CFR, CFO) by triggering
a VSC on the phone.
Additionally create function SW_VscDialog::deleteCF to group all
the common operations that are done to delete a CF.
(real ticket number: TT#71001)
--- a/apps/sw_vsc/SW_Vsc.cpp
+++ b/apps/sw_vsc/SW_Vsc.cpp
@@ -72,6 +72,9 @@ using namespace pcrecpp;

@ -1,3 +1,31 @@
From afa952009459f9a9c24ad7a649e1ba759229d128 Mon Sep 17 00:00:00 2001
From: Donat Zenichev <dzenichev@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:30 +0100
Subject: MT#55831 add support of SIP peering registrations based on XMLRPC requests
We need to add a possibility to control (add/modify/delete) registrations
for SIP peerings using NGCP-panel. For that to work NGCP-panel uses XMLRPC
requests being sent towards SEMS, which in its turn takes care of work with:
- locally cached map structures:
* registrations / registrations_peers
* registration_ltags / registration_ltags_peers
* registration_timers / registration_timers_peers
- MySQL database (our scope of interest is 'sems_registrations')
- triggering events
Main amount of work is concentrated on interaction with map structures which keep
an actual information on registrations of either subscribers and peerings,
and less amount of work is related to the SQL side.
Basically, the main idea is to add an identifier, which will be used by
NGCP-panel when sending XMLRPC messages to SEMS, which will let SEMS know,
whether it's an event for a usual subscriber or a SIP peering.
Also we take care of loading time, when SEMS retrieves all previously saved data
from the DB using: peer / subscriber auth preferences and loads this to be usable.
A new query has been added for peering type, to let peerings be loadable after restart.
(real ticket number: TT#66577)
--- a/apps/db_reg_agent/DBRegAgent.cpp
+++ b/apps/db_reg_agent/DBRegAgent.cpp
@@ -36,7 +36,8 @@ DEFINE_MODULE_INSTANCE(DBRegAgent, MOD_N

@ -1,3 +1,22 @@
From 7ffd8f9b54c49e61deada1efc00cfced7616c275 Mon Sep 17 00:00:00 2001
From: Donat Zenichev <dzenichev@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:31 +0100
Subject: MT#55831 Detect emergency calls and let them pass on license limitation (SEMS CE)
Remark: this commit is created as an attempt to keep PRO / CE sems repositories
consistent in terms of the provided code and functionality.
We need to have a possibility to detect emergency calls and let them
pass through the SEMS, even if the license limitation (CPSLimit) is triggered.
Also taking into account the global policy defined by the cfg parameter
'skip_cpslimit_emergency'.
If set to 'yes' (in the code will be treated as True)
then we do not drop emergency calls on CPSLimit triggering.
If set to 'no' - we treat emergency calls
as if they were usual calls in terms of checking CPSLimit license limitation.
(real ticket number: TT#138356)
--- a/core/AmConfig.cpp
+++ b/core/AmConfig.cpp
@@ -125,6 +125,8 @@ bool AmConfig::AcceptForkedDialo

@ -1,3 +1,11 @@
From 087e126e607c0ec6215cbef7fd47ab29deadd0d0 Mon Sep 17 00:00:00 2001
From: Fabricio Santolin <fabricio.santolin-da-silva@al-enterprise.com>
Date: Thu, 29 Dec 2022 10:14:28 +0100
Subject: MT#55831 Authorization header format support
Authorization header format support
(real ticket number: TT#82409)
--- a/apps/reg_agent/RegistrationAgent.cpp
+++ b/apps/reg_agent/RegistrationAgent.cpp
@@ -138,10 +138,10 @@ void RegThread::create_registration(RegI

@ -1,3 +1,18 @@
From b3a3ab6f636394ea214e1f27a1d3702b8c714189 Mon Sep 17 00:00:00 2001
From: Donat Zenichev <dzenichev@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:33 +0100
Subject: MT#55831 DSM: ModCurl - fix ordered comparison of const ptr with 0 (CE)
We don't have to compare a const char pointer with '>' / '<' operands
agains 0.
The conditional code will not get executed, if 'data->version' is null -
but not that it will, if it's not null.
We should use a classical check for null pointers agains 0 using '!=',
this has the least potential for subtle bugs, and is guaranteed to be portable.
(real ticket number: MT#55816)
--- a/apps/dsm/mods/mod_curl/ModCurl.cpp
+++ b/apps/dsm/mods/mod_curl/ModCurl.cpp
@@ -41,20 +41,23 @@ SC_EXPORT(CurlModule);

@ -1,3 +1,14 @@
From 2d0775b77c60c8536ecb49302b794a2a36a25a92 Mon Sep 17 00:00:00 2001
From: Donat Zenichev <dzenichev@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:32 +0100
Subject: MT#55831 dsm: ModUtils, fix the work of utils_get_count_files() (CE)
We need to rework the utils_get_count_files(), because it improperly
treats the given list of numbers, especially what relates to zeroes.
Previous approach gets deprecated, and another approach is applied.
(real ticket number: TT#143150)
--- a/apps/dsm/mods/mod_utils/ModUtils.cpp
+++ b/apps/dsm/mods/mod_utils/ModUtils.cpp
@@ -72,20 +72,32 @@ vector<string> utils_get_count_files(DSM

@ -1,3 +1,12 @@
From 38ad6c8d75fa9e0f3ebcc6320272dd5252505c5f Mon Sep 17 00:00:00 2001
From: Marco Capetta <mcapetta@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:25 +0100
Subject: MT#55831 Handle BYE after 180 with to_tag
- customer has a scenario when 180 has to_tag and call terminated by caller with BYE but calle did not get any call termination signalling.
- a bit more special for such cases BYE handling added.
(real ticket number: TT#73957)
--- a/apps/sbc/CallLeg.cpp
+++ b/apps/sbc/CallLeg.cpp
@@ -961,7 +961,11 @@ void CallLeg::onSipRequest(const AmSipRe

@ -1,3 +1,16 @@
From d0d4dc33c2097979deb35464749ec4601d68547b Mon Sep 17 00:00:00 2001
From: Marco Capetta <mcapetta@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:21 +0100
Subject: MT#55831 Fix issue if an UPDATE is received after 183
If an SDP UPDATE is received after the 183, but before the 200,
SEMS fails when it receive the final ACK. In fact SEMS tries to
find the SDP content inside the ACK message itself.
The solution is copied from sems-pbx module where the issue
doesn't happen.
(real ticket number: TT#43503)
--- a/core/AmOfferAnswer.cpp
+++ b/core/AmOfferAnswer.cpp
@@ -53,7 +53,8 @@ AmOfferAnswer::AmOfferAnswer(AmSipDialog

@ -1,3 +1,46 @@
From ef4a7b95cf479acc107792e265d626a6c23bd736 Mon Sep 17 00:00:00 2001
From: Michael Prokop <mprokop@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:27 +0100
Subject: MT#55831 Build and include SBC tools + examples, port to py3k
Otherwise we're missing plenty of audio files in /usr/lib/ngcp-sems/audio/,
several plugins in /usr/lib/ngcp-sems/plug-in/, as well as a bunch of binaries:
* /usr/sbin/ngcp-sems-get-callproperties
* /usr/sbin/ngcp-sems-list-active-calls
* /usr/sbin/ngcp-sems-list-calls
* /usr/sbin/ngcp-sems-list-finished-calls
* /usr/sbin/ngcp-sems-sbc-get-activeprofile
* /usr/sbin/ngcp-sems-sbc-get-regex-map-names
* /usr/sbin/ngcp-sems-sbc-list-profiles
* /usr/sbin/ngcp-sems-sbc-load-callcontrol-modules
* /usr/sbin/ngcp-sems-sbc-load-profile
* /usr/sbin/ngcp-sems-sbc-reload-profile
* /usr/sbin/ngcp-sems-sbc-reload-profiles
* /usr/sbin/ngcp-sems-sbc-set-activeprofile
* /usr/sbin/ngcp-sems-sbc-set-regex-map
* /usr/sbin/ngcp-sems-sbc-teardown-call
* /usr/sbin/ngcp-sems-webconference-addparticipant
* /usr/sbin/ngcp-sems-webconference-roomcreate
* /usr/sbin/ngcp-sems-webconference-roominfo
This fixes a regression introduced in commit 1619876f76d (TT#101059).
Ported the python2 scripts we ship with our Debian package to python3
(AKA py3k), fixed inconsistent use of tabs and spaces in indentation
and indention in several files:
* apps/sbc/tools/sems-sbc-*
* apps/examples/db_announce/announcement.py
* apps/examples/py_sems_ex/*py
We're also not installing the *.pyc files (see
apps/ivr/Makefile.ivr_application +
apps/py_sems/Makefile.py_sems_application), they don't exist in py3k
builds and it wouldn't make any sense to ship them in Debian packages
anyway.
(real ticket number: TT#105412)
--- a/apps/sbc/tools/sems-sbc-get-activeprofile
+++ b/apps/sbc/tools/sems-sbc-get-activeprofile
@@ -1,7 +1,7 @@

@ -1,3 +1,12 @@
From f47f18c2f666cea2d20a60afe9255ab93ae243bc Mon Sep 17 00:00:00 2001
From: Marco Capetta <mcapetta@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:20 +0100
Subject: MT#55831 NGCP refreshes the session even if STT is not supported
Unset Sems internal Session Timers in case B leg doesn't support it
(no Timer in Supported header of 200OK message).
(real ticket number: TT#29926)
--- a/core/plug-in/session_timer/SessionTimer.cpp
+++ b/core/plug-in/session_timer/SessionTimer.cpp
@@ -346,7 +346,21 @@ void SessionTimer::updateTimer(AmSession

@ -1,3 +1,24 @@
From 5ef025a2bf958ba5a78c9091f6f9f7c7fc3c67ce Mon Sep 17 00:00:00 2001
From: Donat Zenichev <dzenichev@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:29 +0100
Subject: MT#55831 Authentication from SEMS with no credentials
There are cases when calls coming to a subscriber of C5 CE,
is being challenged by this subscriber, the use case for that could be
if for e.g. we have a PBX/SBC connected to NGCP via subscriber's object.
Current implementation of SEMS works so, that in case parameters;
'enable_auth' and 'enable_aleg_auth' are set to value 'yes',
SEMS tries to pass the digest for the calling party.
This leads to the empty 'username' and wrong 'response' parameters of
the Proxy-Authorization header, eventually the Authorization process is failed.
This is to be changed, so in case 'u=', 'p=' and 'd=' have not been
previously sent by the Proxy (in 'P-App-Param:'), or rather they are empty, authentication should be transparent,
hence be processed by the calling side, with no interfer from SEMS into that.
(real ticket number: TT#128701)
--- a/core/plug-in/uac_auth/UACAuth.cpp
+++ b/core/plug-in/uac_auth/UACAuth.cpp
@@ -173,7 +173,9 @@ bool UACAuth::onSipReply(const AmSipRequ

@ -1,3 +1,12 @@
From 5d430bb258c024f0b367f0f7d8f957ea53186234 Mon Sep 17 00:00:00 2001
From: Victor Seva <vseva@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:01 +0100
Subject: MT#55831 add sw_vcs module
add sw_vcs module
(real ticket number: MT#7349)
--- /dev/null
+++ b/apps/sw_vsc/Makefile
@@ -0,0 +1,10 @@

@ -1,3 +1,12 @@
From d7bce5145bb852a9cf439326bb33e5a142b6a2e1 Mon Sep 17 00:00:00 2001
From: Roman Romanchenko <rromanchenko@sipwise.com>
Date: Thu, 29 Dec 2022 10:13:00 +0100
Subject: MT#55831 sems-* constant 10% CPU usage in idle Virtual environment vagrant/vmware
sems-* constant 10% CPU usage in idle Virtual environment vagrant/vmware
DBRegagent loop sleep replaced with waitForEvent() call
(real ticket number: TT#52455)
--- a/apps/db_reg_agent/DBRegAgent.cpp
+++ b/apps/db_reg_agent/DBRegAgent.cpp
@@ -897,9 +897,8 @@ void DBRegAgent::run() {

@ -1,3 +1,11 @@
From 1619876f76da9ac3530b3524795ba06ddcfdab09 Mon Sep 17 00:00:00 2001
From: Roman Romanchenko <rromanchenko@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:26 +0100
Subject: MT#55831 sems: fails to build against Debian/bullseye
- python support removed
(real ticket number: TT#101059)
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -85,7 +85,7 @@

@ -1,3 +1,11 @@
From 944cf94dcd2ad44e66b895682329ead001c72546 Mon Sep 17 00:00:00 2001
From: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu, 29 Dec 2022 10:14:19 +0100
Subject: MT#55831 restore reporting of number of running calls
restore reporting of number of running calls
(real ticket number: TT#27201)
--- a/core/AmSession.cpp
+++ b/core/AmSession.cpp
@@ -49,6 +49,9 @@

@ -1,7 +1,9 @@
From 09dca94aa38c3e9ec5efc9b3c119fa97ce404bed Mon Sep 17 00:00:00 2001
From: Raphael Coeffic <rco@iptel.org>
Date: Mon, 17 Mar 2014 12:34:53 +0100
Subject: [PATCH] b/f: sbc: fixed reading encoding param in readPayload()
Date: Thu, 29 Dec 2022 10:13:01 +0100
Subject: MT#55831 sbc: fixed reading encoding param in readPayload()
(real ticket number: TT#13019)
---
apps/sbc/SBCCallProfile.cpp | 2 +-

@ -1,7 +1,9 @@
From b722a91680499851990c192a7023cecb0ef04609 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Wed, 24 Jun 2015 00:46:14 +0200
Subject: [PATCH] b/f: sbc: codecs: compare encoding_param only if both != 0
Date: Thu, 29 Dec 2022 10:13:02 +0100
Subject: MT#55831 sbc: codecs: compare encoding_param only if both != 0
(real ticket number: TT#13019)
---
apps/sbc/SBCCallLeg.cpp | 2 +-

@ -1,7 +1,7 @@
From 03cd08e1f0f05d5477e797d5184cec61544b0e55 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@frafos.com>
Date: Fri, 6 Mar 2015 00:49:55 +0100
Subject: [PATCH] core:codec init: support for fmt params negotiation,
Date: Thu, 29 Dec 2022 10:13:03 +0100
Subject: MT#55831 core:codec init: support for fmt params negotiation,
fmt_description changed
- a codec may export with CODEC_WITH_FMT also a payload format negotiation function
@ -16,6 +16,9 @@ Conflicts:
core/plug-in/amr/amr.c
core/plug-in/speex/speex.c
(real ticket number: TT#13019)
---
apps/sbc/SBCCallProfile.cpp | 5 +++--
core/AmAudio.cpp | 16 +++++++++-----

@ -1,9 +1,11 @@
From 42df04a7b48e5a98ad73e003affebc77a10697d5 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Wed, 24 Jun 2015 05:41:09 +0200
Subject: [PATCH] core:amci: call codec module init function with
Date: Thu, 29 Dec 2022 10:13:04 +0100
Subject: MT#55831 core:amci: call codec module init function with
mod_config_path param
(real ticket number: TT#13019)
---
core/AmPlugIn.cpp | 2 +-
core/amci/amci.h | 2 +-

@ -1,7 +1,9 @@
From c7800eabce5aeb190dc57484d1b550a81035f409 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Wed, 24 Jun 2015 05:42:51 +0200
Subject: [PATCH] core:rtp stream: take fmt params in payload initialization
Date: Thu, 29 Dec 2022 10:13:05 +0100
Subject: MT#55831 core:rtp stream: take fmt params in payload initialization
(real ticket number: TT#13019)
---
core/AmRtpAudio.cpp | 5 +++++

@ -1,7 +1,7 @@
From bbb13a13954da9e566b664f7916362dd0313e4d1 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Wed, 24 Jun 2015 05:43:22 +0200
Subject: [PATCH] opus: configurable codec settings for OPUS codec
Date: Thu, 29 Dec 2022 10:13:06 +0100
Subject: MT#55831 opus: configurable codec settings for OPUS codec
opus.conf may contain an fmtp line with opus codec parameters,
all in one line, e.g.
@ -11,6 +11,8 @@ supported parameters:
maxplaybackrate
stereo
useinbandfec
(real ticket number: TT#13019)
---
core/plug-in/opus/opus.c | 179 +++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 172 insertions(+), 7 deletions(-)

@ -1,9 +1,11 @@
From f407e4dfec0f9e011db94b847c9f6f4b9156af93 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Wed, 24 Jun 2015 05:53:04 +0200
Subject: [PATCH] b/f:fixes c7800ea: remove leftover stacktrace in
Date: Thu, 29 Dec 2022 10:13:07 +0100
Subject: MT#55831 :fixes c7800ea: remove leftover stacktrace in
setCurrentPayload
(real ticket number: TT#13019)
---
core/AmRtpAudio.cpp | 1 -
1 file changed, 1 deletion(-)

@ -1,7 +1,9 @@
From 0843bee8ae90a8d3cb35efa8485332b088e49183 Mon Sep 17 00:00:00 2001
From: Stefan Sayer <stefan.sayer@googlemail.com>
Date: Wed, 24 Jun 2015 05:55:51 +0200
Subject: [PATCH] b/f:fix bbb13a1: remove excessive debug info
Date: Thu, 29 Dec 2022 10:13:08 +0100
Subject: MT#55831 b/f:fix bbb13a1: remove excessive debug info
(real ticket number: TT#13019)
---
core/plug-in/opus/opus.c | 3 ---

@ -1,9 +1,11 @@
From 4b2fc5d117242c659e4df0395c6e12f4fcb75edc Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Fri, 8 Apr 2016 14:50:23 +0300
Subject: [PATCH] Fix for C++11
Date: Thu, 29 Dec 2022 10:13:09 +0100
Subject: MT#55831 Fix for C++11
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Fix for C++11
(real ticket number: TT#6431)
---
apps/sbc/RegisterCache.cpp | 2 +-
apps/sbc/RegisterDialog.cpp | 2 +-

Loading…
Cancel
Save