Module: kamailio
Branch: master
Commit: 890ebc6f0194e7010130a1e17e720799cf6722e1
URL: https://github.com/kamailio/kamailio/commit/890ebc6f0194e7010130a1e17e72079…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-07-08T18:01:26+02:00
modules: readme files regenerated - nathelper ... [skip ci]
---
Modified: src/modules/nathelper/README
---
Diff: https://github.com/kamailio/kamailio/commit/890ebc6f0194e7010130a1e17e72079…
Patch: https://github.com/kamailio/kamailio/commit/890ebc6f0194e7010130a1e17e72079…
---
diff --git a/src/modules/nathelper/README b/src/modules/nathelper/README
index 4cfe36880b..7398c702a5 100644
--- a/src/modules/nathelper/README
+++ b/src/modules/nathelper/README
@@ -67,7 +67,7 @@ Ovidiu Sas
5.6. is_rfc1918(ip_address)
5.7. add_contact_alias([ip_addr, port, proto])
5.8. handle_ruri_alias()
- 5.9. set_contact_alias()
+ 5.9. set_contact_alias([trim])
5.10. set_alias_to_pv(target_avp)
6. Exported Pseudo Variables
@@ -158,7 +158,7 @@ Chapter 1. Admin Guide
5.6. is_rfc1918(ip_address)
5.7. add_contact_alias([ip_addr, port, proto])
5.8. handle_ruri_alias()
- 5.9. set_contact_alias()
+ 5.9. set_contact_alias([trim])
5.10. set_alias_to_pv(target_avp)
6. Exported Pseudo Variables
@@ -498,7 +498,7 @@ modparam("nathelper", "nat_addr_mode", 0)
5.6. is_rfc1918(ip_address)
5.7. add_contact_alias([ip_addr, port, proto])
5.8. handle_ruri_alias()
- 5.9. set_contact_alias()
+ 5.9. set_contact_alias([trim])
5.10. set_alias_to_pv(target_avp)
5.1. fix_nated_contact()
@@ -700,13 +700,19 @@ if(is_rfc1918("$rd")) {
};
...
-5.9. set_contact_alias()
+5.9. set_contact_alias([trim])
Adds an “;alias=ip~port~transport” parameter to the contact URI
containing the received ip, port, and transport protocol. The new
contact URI is immediately visible to other modules in the way the
fix_nated_contact() does it.
+ Meaning of parameters:
+ * trim - by default, set_contact_alias() will not detect and trim an
+ already existing alias parameter. If this optional parameter is set
+ to "1", set_contact_alias() will trim the existing alias before
+ adding a new one.
+
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
BRANCH_ROUTE, and FAILURE_ROUTE.
…stop media functions
<!-- 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 -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] 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
- [ ] 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 -->
- [ ] PR should be backported to stable branches
- [*] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
Added wrapper functions to expose functions to KEMI, tested with Lua KEMI scripts:
ki_un/block_media0, ki_un/block_media,
ki_un/block_dtmf0, ki_un/block_dtmf,
ki_play_media, ki_stop_media0, ki_stop_media
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2393
-- Commit Summary --
* rtpengine: added kemi support for block/unblock media/dtmf, and play/stop media functions
-- File Changes --
M src/modules/rtpengine/rtpengine.c (108)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2393.patchhttps://github.com/kamailio/kamailio/pull/2393.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2393
#### Pre-Submission Checklist
- [x] Commit message has the format required by CONTRIBUTING guide
- [ ] 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
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] 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 -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [x] Related to issue #2308
#### Description
add support for trimming an already existing alias parameter when calling `set_contact_alias()`
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2390
-- Commit Summary --
* nathelper: add optional set_contact_alias([trim]) parameter
-- File Changes --
M src/core/dset.c (85)
M src/core/dset.h (1)
M src/modules/nathelper/doc/nathelper_admin.xml (12)
M src/modules/nathelper/nathelper.c (37)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2390.patchhttps://github.com/kamailio/kamailio/pull/2390.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2390
@rfuchs I think this sounds more like a bug in the patch, not taking in account your mode of operation. If you can create a patch that fix to the original problem that does not break your operation, this would be great.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/bf2ecd4dec55d5009e0904392d083e1…