<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [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 feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [x] PR should be backported to stable branches
- [ ] Tested changes locally
#### Description
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4335
-- Commit Summary --
* ims_ipsec_pcscf: fill_contact() build AOR from VIA as fallback on SIP_REPLY
-- File Changes --
M src/modules/ims_ipsec_pcscf/cmd.c (39)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4335.patchhttps://github.com/kamailio/kamailio/pull/4335.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4335
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4335(a)github.com>
Module: kamailio
Branch: master
Commit: 7edec9ec8420f9239134f408e6c829e299b4d213
URL: https://github.com/kamailio/kamailio/commit/7edec9ec8420f9239134f408e6c829e…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2025-07-22T15:17:03+02:00
cdp: added support for Min-Requested-Bandwidth-[DU]L AVPs
From 3GPP TS 29.214 version 10.6.0 Release 10:
> 5.3.31 Min-Requested-Bandwidth-DL AVP
> The Min-Requested-Bandwidth-DL AVP (AVP code 534) is of type Unsigned32, and it indicates the minimum
> requested bandwidth in bits per second for a downlink IP flow. The bandwidth contains all the overhead coming from
> the IP-layer and the layers above, e.g. IP, TCP, UDP, HTTP, RTP and RTP payload.
> When provided in an AA-Request, it indicates the minimum requested bandwidth.
>
> 5.3.32 Min-Requested-Bandwidth-UL AVP
> The Min-Requested-Bandwidth-UL AVP (AVP code 535) is of type Unsigned32, and it indicates the minimum
> requested bandwidth in bits per second for an uplink IP flow. The bandwidth contains all the overhead coming from the
> IP-layer and the layers above, e.g. IP, TCP, UDP, HTTP, RTP and RTP payload.
> When provided in an AA-Request, it indicates the minimum requested bandwidth.
---
Modified: src/modules/cdp/diameter_epc_code_avp.h
---
Diff: https://github.com/kamailio/kamailio/commit/7edec9ec8420f9239134f408e6c829e…
Patch: https://github.com/kamailio/kamailio/commit/7edec9ec8420f9239134f408e6c829e…
---
diff --git a/src/modules/cdp/diameter_epc_code_avp.h b/src/modules/cdp/diameter_epc_code_avp.h
index 186b75fe678..7c294bf21d1 100644
--- a/src/modules/cdp/diameter_epc_code_avp.h
+++ b/src/modules/cdp/diameter_epc_code_avp.h
@@ -112,6 +112,8 @@ enum
AVP_EPC_Service_URN = 525,
AVP_EPC_Acceptable_Service_Info = 526,
AVP_EPC_Service_Info_Status = 527,
+ AVP_EPC_Min_Requested_Bandwidth_DL = 534,
+ AVP_EPC_Min_Requested_Bandwidth_UL = 535,
/** 600 to 699 reserved for TS29.229 */
/** 700 to 799 reserved for TS29.329 */
sergey-safarov created an issue (kamailio/kamailio#4333)
### Description
I want to compile Kamailio sources on `ppc64le` arch.
During compilation, I see an error
```sh
[ 0%] Building C object src/CMakeFiles/kamailio.dir/main.c.o
In file included from /tmp/kamailio/src/core/parser/../mem/../lock_ops.h:92,
from /tmp/kamailio/src/core/parser/../mem/shm.h:44,
from /tmp/kamailio/src/core/parser/../mem/shm_mem.h:32,
from /tmp/kamailio/src/core/parser/../ut.h:46,
from /tmp/kamailio/src/core/parser/../ip_addr.h:41,
from /tmp/kamailio/src/core/parser/msg_parser.h:39,
from /tmp/kamailio/src/core/select.h:36,
from /tmp/kamailio/src/core/route_struct.h:35,
from /tmp/kamailio/src/core/route.h:39,
from /tmp/kamailio/src/main.c:79:
/tmp/kamailio/src/core/parser/../mem/../fastlock.h:130:2: error: #error "unknown architecture"
130 | #error "unknown architecture"
| ^~~~~
/tmp/kamailio/src/core/parser/../mem/../fastlock.h: In function ‘tsl’:
/tmp/kamailio/src/core/parser/../mem/../fastlock.h:294:2: error: #error "unknown architecture"
294 | #error "unknown architecture"
| ^~~~~
/tmp/kamailio/src/core/parser/../mem/../fastlock.h: In function ‘get_lock’:
/tmp/kamailio/src/core/parser/../mem/../fastlock.h:317:9: error: implicit declaration of function ‘membar_getlock’ [-Wimplicit-function-declaration]
317 | membar_getlock();
| ^~~~~~~~~~~~~~
/tmp/kamailio/src/core/parser/../mem/../fastlock.h: In function ‘release_lock’:
/tmp/kamailio/src/core/parser/../mem/../fastlock.h:436:2: error: #error "unknown architecture"
436 | #error "unknown architecture"
| ^~~~~
In file included from /tmp/kamailio/src/core/atomic_ops.h:180,
from /tmp/kamailio/src/core/locking.h:74,
from /tmp/kamailio/src/core/rpc.h:36,
from /tmp/kamailio/src/core/sr_module.h:38,
from /tmp/kamailio/src/main.c:85:
/tmp/kamailio/src/core/atomic/atomic_unknown.h: At top level:
/tmp/kamailio/src/core/atomic/atomic_unknown.h:53:2: warning: #warning no native memory barrier implementations, falling back to slow lock based workaround [-Wcpp]
53 | #warning no native memory barrier implementations, falling back to slow lock \
| ^~~~~~~
gmake[2]: *** [src/CMakeFiles/kamailio.dir/build.make:76: src/CMakeFiles/kamailio.dir/main.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:3359: src/CMakeFiles/kamailio.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2
```
### Expected behavior
Sources compiled without error messages.
#### Actual observed behavior
Build failed be error described above.
### Reproduction
```sh
git clone https://github.com/kamailio/kamailio.git
docker run -it \
--platform linux/ppc64le \
-v ./kamailio:/usr/src/kamailio \
ghcr.io/sergey-safarov/kamailio-builder:centos-10
cd /usr/src/kamailio
cmake -S . -B build
cmake --build build
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4333
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4333(a)github.com>
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [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 feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [x] Related to issue #4321
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4334
-- Commit Summary --
* dialog: docs: Remove dlg_flag related mentions
-- File Changes --
M src/modules/dialog/doc/dialog_admin.xml (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4334.patchhttps://github.com/kamailio/kamailio/pull/4334.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4334
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4334(a)github.com>
dilyanpalauzov created an issue (kamailio/kamailio#4317)
In the 6.0 branch the FLAVOUR option allows in cmake-gui (ccmake) setting `kamailio` as only option. As it is no-op, it should not be displayed in cmake-gui.
The option MODULE_GROUP_NAME is documented as „Group of modules to build (one or multiple space seperated group)“. In cmake-gui it allows with enter to toggle between several values: DEFAULT, STANDARD, COMMON, KSTANDARD, KMINI, KPCRE, KMYSQL, KPOSTGRES, …. Using ccmake it is not possible to to set multiple values. The help string should mention all possible values. It should be plural: groups.
The options in ccmake-gui `XSLT_VALIDATE,` and `XSLT_VERBOSE,` have a comma in their names too much.
The option `CMAKE_BUILD_TYPE` allows in Kamailio toggling between four possible values: Debug, Release, MinSizeRel and RelWithDebInfo. ClamAV adds one more value for cmake-gui: `None`. This toggling is not yet available in the build system of cmake (when building cmake using cmake) - https://gitlab.kitware.com/cmake/cmake/-/issues/26434 . Is it reasonable to have for CMAKE_BUILD_TYPE also `None` as permitted value? I do not know the answer, that is why I am raising this question.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4317
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4317(a)github.com>