- [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)
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
Added missing kemi exports for RTP Engine module play_dtmf event_callback functions and Dialog module dlg_req_within …
[View More]function
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4245
-- Commit Summary --
* Add support for playing DTMF tones in RTP engine module using Kemi
* Add support for KEMI callbacks in RTP engine events
* Add `ki_dlg_req_within4` handling for dialog requests
-- File Changes --
M src/modules/dialog/dialog.c (24)
M src/modules/rtpengine/rtpengine.c (215)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4245.patchhttps://github.com/kamailio/kamailio/pull/4245.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4245
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4245(a)github.com>
[View Less]
Module: kamailio
Branch: master
Commit: df8e38958a3fa0a2e356bec727bb8d7ce19bec43
URL: https://github.com/kamailio/kamailio/commit/df8e38958a3fa0a2e356bec727bb8d7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2025-05-27T08:58:17+02:00
secfilter: remove unnecessary check on clean up
---
Modified: src/modules/secfilter/secfilter_db.c
---
Diff: https://github.com/kamailio/kamailio/commit/…
[View More]df8e38958a3fa0a2e356bec727bb8d7…
Patch: https://github.com/kamailio/kamailio/commit/df8e38958a3fa0a2e356bec727bb8d7…
---
diff --git a/src/modules/secfilter/secfilter_db.c b/src/modules/secfilter/secfilter_db.c
index 1c0138b0193..24884b231c9 100644
--- a/src/modules/secfilter/secfilter_db.c
+++ b/src/modules/secfilter/secfilter_db.c
@@ -185,9 +185,9 @@ int secf_append_rule(int action, int type, str *value)
/**
* @brief Removes entries from a whitelist or blacklist based on action, type, and value.
*
- * The function validates the action and type, locates the relevant list, and iterates
- * through its nodes to find and remove all matches for the given value. If matches are found,
- * the corresponding memory is freed, and the list pointers are updated. Logs are generated
+ * The function validates the action and type, locates the relevant list, and iterates
+ * through its nodes to find and remove all matches for the given value. If matches are found,
+ * the corresponding memory is freed, and the list pointers are updated. Logs are generated
* for each removal and at the end of the process to summarize the result.
* @param action: Specifies the target list (0 = blacklist, 1 = whitelist, 2 = destination blacklist).
* @param type: Indicates the type of rule to be removed (e.g., domain, IP, user, etc.).
@@ -358,10 +358,8 @@ int secf_load_db(void)
lock_release(&(*secf_data)->lock);
clean:
- if(db_res) {
- if(db_funcs.free_result(db_handle, db_res) < 0) {
- LM_DBG("Failed to free the result\n");
- }
+ if(db_funcs.free_result(db_handle, db_res) < 0) {
+ LM_DBG("Failed to free the result\n");
}
db_funcs.close(db_handle);
return res;
[View Less]
sergey-safarov created an issue (kamailio/kamailio#4255)
### Description
I now make testing `cmake` packaging and see this error
```
RPM build errors:
Directory not found: /root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev1.0.el10.centos.x86_64/usr/share/kamailio/postgres
File not found: /root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev1.0.el10.centos.x86_64/usr/share/kamailio/postgres/*
```
### Troubleshooting
#### Reproduction
I use this module list for build
https://github.com/sergey-safarov/…
[View More]kamailio/blob/master/pkg/kamailio/obs/kam…
@xkaraman could you look?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4255
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4255(a)github.com>
[View Less]