Hello,
I am considering to release Kamailio v5.2.5 out of the latest branch 5.2
on Thursday, October 10. As usual, if you noticed any patch that should
be backported or you are aware of some issue not yet reported, announce
it to sr-dev or via bug tracker.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, Oct 21-23, 2019, Berlin, Germany -- https://asipto.com/u/kat
<!-- 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)
- [ ] 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
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
MR to add another xavp_copy function taking 4 params
```
xavc_copy("source_name", "source_index", "destination_name", "destination_index")
```
This will let the user copy to a specific position in the stack (replacing its value).
This would bring coherent behaviour compared to assign to a specific index vs appending.
Example : swapping xavp in and existing stack:
(second and third elements)
```
$xavp(a=>x) = "a-0-x";
$xavp(a[0]=>y) = "a-0-y";
$xavp(a=>x) = "a-1-x";
$xavp(a[0]=>y) = "a-1-y";
$xavp(a=>x) = "a-2-x";
$xavp(a[0]=>y) = "a-2-y";
# INFO: <script>: NEW $xavp(a[0]) = [a-2-x][a-2-y]
# INFO: <script>: NEW $xavp(a[1]) = [a-1-x][a-1-y]
# INFO: <script>: NEW $xavp(a[2]) = [a-0-x][a-0-y]
xavp_copy("a", "1", "c");
xavp_copy("a", "2", "a", "1");
xavp_copy("c", "0", "a", "2");
# INFO: <script>: AFTER $xavp(a[0]) = [a-2-x][a-2-y]
# INFO: <script>: AFTER $xavp(a[1]) = [a-0-x][a-0-y]
# INFO: <script>: AFTER $xavp(a[2]) = [a-1-x][a-1-y]
```
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2096
-- Commit Summary --
* pv: adding xavp_copy with destination index
-- File Changes --
M src/modules/pv/pv.c (78)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2096.patchhttps://github.com/kamailio/kamailio/pull/2096.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/2096
Module: kamailio
Branch: 5.2
Commit: 9271ec3e0bc1de5d911f44e311104d8d685e8f4b
URL: https://github.com/kamailio/kamailio/commit/9271ec3e0bc1de5d911f44e311104d8…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-10-09T22:46:37+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/websocket/README
---
Diff: https://github.com/kamailio/kamailio/commit/9271ec3e0bc1de5d911f44e311104d8…
Patch: https://github.com/kamailio/kamailio/commit/9271ec3e0bc1de5d911f44e311104d8…
---
diff --git a/src/modules/websocket/README b/src/modules/websocket/README
index c8241be6e6..433f2c833c 100644
--- a/src/modules/websocket/README
+++ b/src/modules/websocket/README
@@ -427,9 +427,11 @@ modparam("websocket", "ping_application_data", "WebSockets rock")
A bitmap that allows you to control the sub-protocols supported by the
WebSocket server.
* 1 - sip (RFC 7118)
- * 2 - msrp (RFC 7977) - msrp.so must be loaded before websocket.so
+ * 2 - msrp (RFC 7977) - the msrp module must be loaded before the
+ websocket module
- Default value is 1 when msrp.so is not loaded 3 when msrp.so is loaded.
+ Default value is 1 when msrp module is not loaded, 3 when msrp module
+ is loaded.
Example 1.8. Set sub_protocols parameter
...
Module: kamailio
Branch: 5.3
Commit: 1c1791db132aaa87dec0a60a2080680da19a49f9
URL: https://github.com/kamailio/kamailio/commit/1c1791db132aaa87dec0a60a2080680…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-10-09T22:46:24+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/websocket/README
---
Diff: https://github.com/kamailio/kamailio/commit/1c1791db132aaa87dec0a60a2080680…
Patch: https://github.com/kamailio/kamailio/commit/1c1791db132aaa87dec0a60a2080680…
---
diff --git a/src/modules/websocket/README b/src/modules/websocket/README
index c8241be6e6..433f2c833c 100644
--- a/src/modules/websocket/README
+++ b/src/modules/websocket/README
@@ -427,9 +427,11 @@ modparam("websocket", "ping_application_data", "WebSockets rock")
A bitmap that allows you to control the sub-protocols supported by the
WebSocket server.
* 1 - sip (RFC 7118)
- * 2 - msrp (RFC 7977) - msrp.so must be loaded before websocket.so
+ * 2 - msrp (RFC 7977) - the msrp module must be loaded before the
+ websocket module
- Default value is 1 when msrp.so is not loaded 3 when msrp.so is loaded.
+ Default value is 1 when msrp module is not loaded, 3 when msrp module
+ is loaded.
Example 1.8. Set sub_protocols parameter
...
Module: kamailio
Branch: master
Commit: af8e67033da2dabab319a9ecc21a279e6609f447
URL: https://github.com/kamailio/kamailio/commit/af8e67033da2dabab319a9ecc21a279…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-10-09T22:46:11+02:00
modules: readme files regenerated - websocket ... [skip ci]
---
Modified: src/modules/websocket/README
---
Diff: https://github.com/kamailio/kamailio/commit/af8e67033da2dabab319a9ecc21a279…
Patch: https://github.com/kamailio/kamailio/commit/af8e67033da2dabab319a9ecc21a279…
---
diff --git a/src/modules/websocket/README b/src/modules/websocket/README
index c8241be6e6..433f2c833c 100644
--- a/src/modules/websocket/README
+++ b/src/modules/websocket/README
@@ -427,9 +427,11 @@ modparam("websocket", "ping_application_data", "WebSockets rock")
A bitmap that allows you to control the sub-protocols supported by the
WebSocket server.
* 1 - sip (RFC 7118)
- * 2 - msrp (RFC 7977) - msrp.so must be loaded before websocket.so
+ * 2 - msrp (RFC 7977) - the msrp module must be loaded before the
+ websocket module
- Default value is 1 when msrp.so is not loaded 3 when msrp.so is loaded.
+ Default value is 1 when msrp module is not loaded, 3 when msrp module
+ is loaded.
Example 1.8. Set sub_protocols parameter
...
Module: kamailio
Branch: 5.2
Commit: 88adabadaa1b2916dbdffdc7a6eb526dc124c871
URL: https://github.com/kamailio/kamailio/commit/88adabadaa1b2916dbdffdc7a6eb526…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-10-09T22:43:33+02:00
websocket: small doc improvement (use module names instead of file names)
(cherry picked from commit 179c536e972f4f8739a4ba3446610161d8cb913f)
---
Modified: src/modules/websocket/doc/websocket_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/88adabadaa1b2916dbdffdc7a6eb526…
Patch: https://github.com/kamailio/kamailio/commit/88adabadaa1b2916dbdffdc7a6eb526…
---
diff --git a/src/modules/websocket/doc/websocket_admin.xml b/src/modules/websocket/doc/websocket_admin.xml
index 6b6483d73f..132ede160b 100644
--- a/src/modules/websocket/doc/websocket_admin.xml
+++ b/src/modules/websocket/doc/websocket_admin.xml
@@ -378,11 +378,11 @@ modparam("websocket", "ping_application_data", "WebSockets rock")
</para></listitem>
<listitem><para>
<emphasis>2</emphasis> - msrp (RFC 7977) -
- msrp.so must be loaded before websocket.so
+ the msrp module must be loaded before the websocket module
</para></listitem>
</itemizedlist>
- <para><emphasis>Default value is 1 when msrp.so is not loaded
- 3 when msrp.so is loaded.</emphasis></para>
+ <para><emphasis>Default value is 1 when msrp module is not loaded,
+ 3 when msrp module is loaded.</emphasis></para>
<example>
<title>Set <varname>sub_protocols</varname>
parameter</title>
Module: kamailio
Branch: 5.3
Commit: 90fb9166dd8ec011540c3401cc583996b5bd7c5a
URL: https://github.com/kamailio/kamailio/commit/90fb9166dd8ec011540c3401cc58399…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-10-09T22:43:12+02:00
websocket: small doc improvement (use module names instead of file names)
(cherry picked from commit 179c536e972f4f8739a4ba3446610161d8cb913f)
---
Modified: src/modules/websocket/doc/websocket_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/90fb9166dd8ec011540c3401cc58399…
Patch: https://github.com/kamailio/kamailio/commit/90fb9166dd8ec011540c3401cc58399…
---
diff --git a/src/modules/websocket/doc/websocket_admin.xml b/src/modules/websocket/doc/websocket_admin.xml
index 6b6483d73f..132ede160b 100644
--- a/src/modules/websocket/doc/websocket_admin.xml
+++ b/src/modules/websocket/doc/websocket_admin.xml
@@ -378,11 +378,11 @@ modparam("websocket", "ping_application_data", "WebSockets rock")
</para></listitem>
<listitem><para>
<emphasis>2</emphasis> - msrp (RFC 7977) -
- msrp.so must be loaded before websocket.so
+ the msrp module must be loaded before the websocket module
</para></listitem>
</itemizedlist>
- <para><emphasis>Default value is 1 when msrp.so is not loaded
- 3 when msrp.so is loaded.</emphasis></para>
+ <para><emphasis>Default value is 1 when msrp module is not loaded,
+ 3 when msrp module is loaded.</emphasis></para>
<example>
<title>Set <varname>sub_protocols</varname>
parameter</title>