#### Pre-Submission Checklist
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New …
[View More]feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
Fixes an issue where setting the ``$rU`` for a SIPS R-URI containing ``user=phone`` would overwrite the scheme to ``sip``.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4093
-- Commit Summary --
* core: parser - set URI type to TELS_URI_T for user=phone SIPS R-URI
-- File Changes --
M src/core/parser/parse_uri.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4093.patchhttps://github.com/kamailio/kamailio/pull/4093.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4093
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4093(a)github.com>
[View Less]
Module: kamailio
Branch: master
Commit: 001390d802c73e840e57015763a4b6164ae2eb6d
URL: https://github.com/kamailio/kamailio/commit/001390d802c73e840e57015763a4b61…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
Date: 2025-01-10T12:17:00Z
cmake: Don't build all utils unless required by modules
- Build always kamctl and kamcmd
- The rest of utils should be included from the module that requires them or a new add_subdirectory in src/…
[View More]CMakelists.txt
---
Modified: CMakeLists.txt
Modified: src/modules/db_berkeley/CMakeLists.txt
---
Diff: https://github.com/kamailio/kamailio/commit/001390d802c73e840e57015763a4b61…
Patch: https://github.com/kamailio/kamailio/commit/001390d802c73e840e57015763a4b61…
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f3ccd88160d..d8836184b73 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,9 @@ include(${CMAKE_SOURCE_DIR}/cmake/defs.cmake)
add_subdirectory(src)
# Add utils
-add_subdirectory(utils)
+# add_subdirectory(utils)
+add_subdirectory(utils/kamctl)
+add_subdirectory(utils/kamcmd)
# TODO: Packaging stuuf. These should be on different file propably
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
diff --git a/src/modules/db_berkeley/CMakeLists.txt b/src/modules/db_berkeley/CMakeLists.txt
index 1ff6f84245d..f2884f8e51e 100644
--- a/src/modules/db_berkeley/CMakeLists.txt
+++ b/src/modules/db_berkeley/CMakeLists.txt
@@ -8,4 +8,7 @@ find_package(BerkeleyDB REQUIRED)
target_link_libraries(${module_name} PRIVATE BerkeleyDB::BerkeleyDB)
# Build also the util function found in utils/db_berkeley/
+# This is needed to build the kamdb_recover utility
+add_subdirectory(${CMAKE_SOURCE_DIR}/utils/db_berkeley
+ ${CMAKE_BINARY_DIR}/utils/db_berkeley)
add_dependencies(${module_name} kamdb_recover)
[View Less]