Module: kamailio
Branch: master
Commit: c3962fff1c0efbd9ba2939b8f173efd08c263bac
URL: https://github.com/kamailio/kamailio/commit/c3962fff1c0efbd9ba2939b8f173efd…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-07-17T08:01:20+02:00
modules: readme files regenerated - sipdump ... [skip ci]
---
Modified: src/modules/sipdump/README
---
Diff: https://github.com/kamailio/kamailio/commit/c3962fff1c0efbd9ba2939b8f173efd…
Patch: https://github.com/kamailio/kamailio/commit/c3962fff1c0efbd9ba2939b8f173efd…
---
diff --git a/src/modules/sipdump/README b/src/modules/sipdump/README
index 7b8aebedff..a699336f53 100644
--- a/src/modules/sipdump/README
+++ b/src/modules/sipdump/README
@@ -154,8 +154,10 @@ modparam("sipdump", "enable", 1)
3.2. mode (int)
Set the type of activity done by the module, the value can be set based
- on flags: 1 (value 1) - write to text files; 2 (value 2) - execute
- event route; 3 (value 4) - write to pcap files.
+ on flags index: 0 (value 1) - write to text files; 1 (value 2) -
+ execute event route; 2 (value 4) - write to pcap files; 3 (value 8) -
+ insert the P-KSR-SIPDump header with meta data inside the SIP message
+ written in pcap file.
To enable several activity modes, set the parameter to the sum of
corresponding values.
Module: kamailio
Branch: master
Commit: e63c52d02465575dbcf38c2181607fc391cbb390
URL: https://github.com/kamailio/kamailio/commit/e63c52d02465575dbcf38c2181607fc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-07-17T07:55:53+02:00
sipdump: docs about mode flag 3 (value 8)
- corrected indexes for flags
---
Modified: src/modules/sipdump/doc/sipdump_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/e63c52d02465575dbcf38c2181607fc…
Patch: https://github.com/kamailio/kamailio/commit/e63c52d02465575dbcf38c2181607fc…
---
diff --git a/src/modules/sipdump/doc/sipdump_admin.xml b/src/modules/sipdump/doc/sipdump_admin.xml
index 9ddb55735c..7e642f6010 100644
--- a/src/modules/sipdump/doc/sipdump_admin.xml
+++ b/src/modules/sipdump/doc/sipdump_admin.xml
@@ -96,9 +96,11 @@ modparam("sipdump", "enable", 1)
<title><varname>mode</varname> (int)</title>
<para>
Set the type of activity done by the module, the value can be set
- based on flags: 1 (value 1) - write to text files;
- 2 (value 2) - execute event route;
- 3 (value 4) - write to pcap files.
+ based on flags index: 0 (value 1) - write to text files;
+ 1 (value 2) - execute event route;
+ 2 (value 4) - write to pcap files; 3 (value 8) - insert the
+ P-KSR-SIPDump header with meta data inside the SIP message written
+ in pcap file.
</para>
<para>
To enable several activity modes, set the parameter to the sum of
#### 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
- [ ] 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:
- [ ] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
allow kamailio modules to be notified when a websocket is closed without depending on script callbacks.
this allows for multiple independent modules to subscribe to new core event `SREV_TCP_WS_CLOSE`
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2397
-- Commit Summary --
* core: add websocket event
* websocket: emit core event on close
-- File Changes --
M src/core/events.c (20)
M src/core/events.h (2)
M src/modules/websocket/ws_conn.c (21)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2397.patchhttps://github.com/kamailio/kamailio/pull/2397.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/2397