Module: kamailio
Branch: master
Commit: e683ee506d702e9edbe4ce74304170ca04c1d5ec
URL: https://github.com/kamailio/kamailio/commit/e683ee506d702e9edbe4ce74304170c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-15T10:35:17+02:00
dmq: docs - reorganized the dmq request section
---
Modified: src/modules/dmq/doc/dmq_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/e683ee506d702e9edbe4ce74304170c…
Patch: https://github.com/kamailio/kamailio/commit/e683ee506d702e9edbe4ce74304170c…
---
diff --git a/src/modules/dmq/doc/dmq_admin.xml b/src/modules/dmq/doc/dmq_admin.xml
index 7a2c933c62..d463fac2d9 100644
--- a/src/modules/dmq/doc/dmq_admin.xml
+++ b/src/modules/dmq/doc/dmq_admin.xml
@@ -52,15 +52,20 @@
major version. Internal structures can be incompatible between different
major versions and can lead to crashes or unexpected behaviour.
</para>
- <example>
- <title>KDMQ Request Example</title>
+ <section>
+ <title>KDMQ Request</title>
<para>
- This request is generated for DMQ peers availability notifications.
- Other messages can be produced by various modules, with different R-URI
- username and body content, such as <emphasis>htable</emphasis>,
- <emphasis>dialog</emphasis> or <emphasis>usrloc</emphasis> modules.
+ KDMQ messages can have different format and content for R-URI username, headers
+ and body, being specific to each component that leverages DMQ to replicate
+ data, such as <emphasis>htable</emphasis>, <emphasis>dialog</emphasis>
+ or <emphasis>usrloc</emphasis> modules.
</para>
- <programlisting format="linespecific">
+ <para>
+ Next request is generated by DMQ module for peers availability notifications.
+ </para>
+ <example>
+ <title>KDMQ Request Example</title>
+ <programlisting format="linespecific">
...
KDMQ sip:notification_peer@192.168.40.15:5090 SIP/2.0
@@ -82,6 +87,7 @@ sip:192.168.40.17:5060;status=active
</programlisting>
</example>
</section>
+ </section>
<section>
<title>Dependencies</title>
Module: kamailio
Branch: 5.6
Commit: 31b538926d89783cf0ef86bfbc588ee39342b433
URL: https://github.com/kamailio/kamailio/commit/31b538926d89783cf0ef86bfbc588ee…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2022-09-15T10:31:54+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/dmq/README
---
Diff: https://github.com/kamailio/kamailio/commit/31b538926d89783cf0ef86bfbc588ee…
Patch: https://github.com/kamailio/kamailio/commit/31b538926d89783cf0ef86bfbc588ee…
---
diff --git a/src/modules/dmq/README b/src/modules/dmq/README
index 1e7d6ff375..10f0f7f80a 100644
--- a/src/modules/dmq/README
+++ b/src/modules/dmq/README
@@ -161,6 +161,11 @@ Chapter 1. Admin Guide
the from local list of active nodes, no longer being considered to be
part of the KDMQ cluster.
+ IMPORTANT: DMQ must be used only between Kamailio instances having same
+ major version. Internal structures can be incompatible between
+ different major versions and can lead to crashes or unexpected
+ behaviour.
+
Example 1.1. KDMQ Request Example
This request is generated for DMQ peers availability notifications.
Module: kamailio
Branch: master
Commit: b7e6b0cc44b46a615dc23b6fae7f67e63296c913
URL: https://github.com/kamailio/kamailio/commit/b7e6b0cc44b46a615dc23b6fae7f67e…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2022-09-15T10:31:28+02:00
modules: readme files regenerated - dmq ... [skip ci]
---
Modified: src/modules/dmq/README
---
Diff: https://github.com/kamailio/kamailio/commit/b7e6b0cc44b46a615dc23b6fae7f67e…
Patch: https://github.com/kamailio/kamailio/commit/b7e6b0cc44b46a615dc23b6fae7f67e…
---
diff --git a/src/modules/dmq/README b/src/modules/dmq/README
index 1e7d6ff375..10f0f7f80a 100644
--- a/src/modules/dmq/README
+++ b/src/modules/dmq/README
@@ -161,6 +161,11 @@ Chapter 1. Admin Guide
the from local list of active nodes, no longer being considered to be
part of the KDMQ cluster.
+ IMPORTANT: DMQ must be used only between Kamailio instances having same
+ major version. Internal structures can be incompatible between
+ different major versions and can lead to crashes or unexpected
+ behaviour.
+
Example 1.1. KDMQ Request Example
This request is generated for DMQ peers availability notifications.
Module: kamailio
Branch: master
Commit: 1fd789246cc7c58237b9a903a198521cd5b3494d
URL: https://github.com/kamailio/kamailio/commit/1fd789246cc7c58237b9a903a198521…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-15T10:26:38+02:00
dmq: docs - note about using same Kamailio version
---
Modified: src/modules/dmq/doc/dmq_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/1fd789246cc7c58237b9a903a198521…
Patch: https://github.com/kamailio/kamailio/commit/1fd789246cc7c58237b9a903a198521…
---
diff --git a/src/modules/dmq/doc/dmq_admin.xml b/src/modules/dmq/doc/dmq_admin.xml
index 661fd4b8471..7a2c933c62f 100644
--- a/src/modules/dmq/doc/dmq_admin.xml
+++ b/src/modules/dmq/doc/dmq_admin.xml
@@ -47,6 +47,11 @@
Nodes that are not responding to KDMQ reguests are removed the from local
list of active nodes, no longer being considered to be part of the KDMQ cluster.
</para>
+ <para>
+ IMPORTANT: DMQ must be used only between Kamailio instances having same
+ major version. Internal structures can be incompatible between different
+ major versions and can lead to crashes or unexpected behaviour.
+ </para>
<example>
<title>KDMQ Request Example</title>
<para>
Hello,
kamailio.org system needs a reboot and it will become unavailable for a
short time frame about 08:00UTC (20 min from now). Website, mailing
list, wiki, and a few other web services will be affected.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Module: kamailio
Branch: 5.6
Commit: ad753f4657bc72a79fd61b56276de5ae87b3c574
URL: https://github.com/kamailio/kamailio/commit/ad753f4657bc72a79fd61b56276de5a…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2022-09-14T20:16:27+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/acc/README
Modified: src/modules/posops/README
Modified: src/modules/ratelimit/README
Modified: src/modules/usrloc/README
---
Diff: https://github.com/kamailio/kamailio/commit/ad753f4657bc72a79fd61b56276de5a…
Patch: https://github.com/kamailio/kamailio/commit/ad753f4657bc72a79fd61b56276de5a…
---
diff --git a/src/modules/acc/README b/src/modules/acc/README
index 7c31188ac77..1ea4e6f98d0 100644
--- a/src/modules/acc/README
+++ b/src/modules/acc/README
@@ -529,6 +529,11 @@ Note
information given will not be stored in the CDR as they cannot be
accessed by the end of the call when the CDR is logged.
+ The dialog module needs to be engaged on the dialogs that should be
+ accounted, that they will be tracked by the server. This is usally done
+ by calling the function dlg_manage() or setting the dlg_flag. Refer to
+ the documentation of the dialog module for more information.
+
Sometimes, dialogs expire because the UA has a problem and a final
message is never transmitted. You can toggle on/off the generation of
CDR-based logging in such cases with only the dlg_vars showing by using
@@ -1129,7 +1134,7 @@ modparam("acc", "cdr_start_on_confirmed", 1)
6.34. cdr_facility (integer)
Log facility to which CDR messages are issued to syslog. This allows to
- easily seperate CDR-specific logging from the other log messages.
+ easily separate CDR-specific logging from the other log messages.
Default value is LOG_DAEMON.
diff --git a/src/modules/posops/README b/src/modules/posops/README
index 035f807acb8..e7583adc588 100644
--- a/src/modules/posops/README
+++ b/src/modules/posops/README
@@ -214,6 +214,9 @@ pos_insert("100", "10");
Set the char at position index to first character in val.
+ Important: it changes the character directly in the SIP message buffer,
+ the update being immediately visible.
+
The idx can be an integer value or a variable holding an integer. If
the value is negative, the position is counted from the end of the
buffer.
diff --git a/src/modules/ratelimit/README b/src/modules/ratelimit/README
index ecd6fce79a1..4862e717f73 100644
--- a/src/modules/ratelimit/README
+++ b/src/modules/ratelimit/README
@@ -514,5 +514,5 @@ modparam("ratelimit", "pipe", "4:NETWORK:10000")
The pipes and queues are stored as static vectors, so no more than
MAX_PIPES/MAX_QUEUES can be added without recompilation.
- * MAX_PIPES - 16
- * MAX_QUEUES - 10
+ * MAX_PIPES - 32
+ * MAX_QUEUES - 32
diff --git a/src/modules/usrloc/README b/src/modules/usrloc/README
index d180968e95d..a15bc8c62de 100644
--- a/src/modules/usrloc/README
+++ b/src/modules/usrloc/README
@@ -1113,10 +1113,15 @@ modparam("usrloc", "version_table", 0)
Note: the internal keepalive is for the moment implemented only for
contact records stored in memory.
- Note: it is recommeder to set 'timer_procs' parameter in order to have
+ Note: it is recommended to set 'timer_procs' parameter in order to have
dedicated timer processes for usrloc module and off-load the keepalive
sending process from the core timers.
+ Note: Keepalives will be sent to the IP and port using the transport
+ defined in the âreceivedâ column. If not set, then keepalives will
+ be sent to the AOR using UDP as a default transport. If available, the
+ TCP connection will be re-used for WS, TCP and TLS.
+
Default value is “0 (keepalive disabled)”.
Example 1.50. ka_mode parameter usage
- URL: https://github.com/kamailio/kamailio/commit/98342927e3493a8af6b859ab1cd1877…
Author: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-09-14T18:54:05+02:00
ratelimit: fix docs to actual values in the code for queue and pipe limits
(cherry picked from commit cae9d78a6c8d33f6c4ec780901a55c27260c2000)
- URL: https://github.com/kamailio/kamailio/commit/e8d797cb26e2b16dff3afd7ecb54beb…
Author: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-09-14T18:55:47+02:00
acc: add some explanation that dialogs need to be tracked for CDR accounting
(cherry picked from commit 3ec40d792df5bcee838eee3e5e0e89a2ebdcc453)
- URL: https://github.com/kamailio/kamailio/commit/8aceadf62fde1b1faf414e5d47c4210…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T18:58:47+02:00
core/cfg: cast pointer to long to silent compiler warning
- GH #3208
(cherry picked from commit 26785f866eeadc6944af83ae1a57e8ff100f60f5)
- URL: https://github.com/kamailio/kamailio/commit/a5cbf0bade8ab0b04d1f8e9288b239d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:00:15+02:00
msrp: proper cmap insert when last item has greater citemid
- condition for last item was processed first, resulting in improper
order of items, GH #3215
(cherry picked from commit 1e4bf1dd7fbfc9d51f0e56e98472a42de781cdbd)
- URL: https://github.com/kamailio/kamailio/commit/5bcb685d19b55b3b2046345e195e5de…
Author: Shane Mitchell <sm(a)opencluster.com.au>
Date: 2022-09-14T19:02:39+02:00
dialog: dont reset dlg_db_mode in POSTCHILDINIT for DB_MODE_SHUTDOWN
(cherry picked from commit 8fb25f7cb6fa73dc37fe11df9b921c32009bd107)
- URL: https://github.com/kamailio/kamailio/commit/506e20e6aae21d862f6d643a2c87c74…
Author: Andy Brezinsky <andy.brezinsky(a)mitel.com>
Date: 2022-09-14T19:03:09+02:00
usrloc: re-use TCP connections for keepalive
- Fixes GH #3178. Sets TCP connection id for keepalive based on the value in the database
If unset, tcpconn_id will remain 0 and keepalives will work the same as they do today
- Update documentation to clarify when it will use received vs AOR for keepalive
(cherry picked from commit 06f933ad17aac3a3f0f81cf0e0ab04f38cf60993)
- URL: https://github.com/kamailio/kamailio/commit/9d473f92d3ff534535e6170b8895569…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:04:06+02:00
usrloc: increased the size for keys2 array in ul_ka_db_records()
- consequence of 06f933ad17aac3a3f0f81cf0e0ab04f38cf60993
(cherry picked from commit b5ae633242e5e34b1f6dc8f025e68872b47b461c)
- URL: https://github.com/kamailio/kamailio/commit/5ffbbaa6c956a74665859a709bd6c79…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:05:12+02:00
registrar: print number of contacts and max limit in logs and formatting updates
(cherry picked from commit a88f805236ef0549ce8a8079142b202d569bf3f1)
- URL: https://github.com/kamailio/kamailio/commit/94101dfc2df05f471fdb7ea1e6190f0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:05:26+02:00
registrar: use macro to init str value and more debug messages
(cherry picked from commit 5f229a799b251e82431b4642e9bd8aa76c405d13)
- URL: https://github.com/kamailio/kamailio/commit/addd16c13a0a6ab5cb460850141073d…
Author: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-09-14T19:05:58+02:00
utils: small whitespace fix for Makefile
(cherry picked from commit 3cb1f8eaec344433fd94011ec28da464c5626c2a)
- URL: https://github.com/kamailio/kamailio/commit/4bdd89b4709553e2dde2fb2356ba47d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:06:19+02:00
pv: detect known headers provided with variable for $hfl(...) and $hflc(...)
- GH #3194
(cherry picked from commit fb13cf364870895dec94fa1ddf6a1afd3c099715)
- URL: https://github.com/kamailio/kamailio/commit/33e1638b92c073f58b27232e7985a5f…
Author: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-09-14T19:06:40+02:00
etc/kamailio.cfg: corrected a typo ("endabled"), GH #3223
(cherry picked from commit b46afeca6c515f5baf1812ca821321117df6478b)
- URL: https://github.com/kamailio/kamailio/commit/e44c6716b5d640c489561062ea02545…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:06:54+02:00
pv: parse header name given with variable to $hdr() and $hdrc()
(cherry picked from commit a10da3a8802fd02bab9e8c655aa845d121370fd4)
- URL: https://github.com/kamailio/kamailio/commit/902807e5de185cb6d6463ff617bf4c2…
Author: korayvt <koray.vatansever(a)gmail.com>
Date: 2022-09-14T19:07:29+02:00
core: added parser mode check
(cherry picked from commit 4598f0a0df90ad81e192be55a89fbd5cca52a40e)
- URL: https://github.com/kamailio/kamailio/commit/272060e1079d9edbc819d396dafb203…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:07:48+02:00
usrloc: adde random and pid to call-id for keepalive requests
- GH #3225
(cherry picked from commit 721daf5ca55a8fb366cff2821e249bfff64d8f87)
- URL: https://github.com/kamailio/kamailio/commit/60a62d6f7df233d61d4ccecc39504e7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:09:04+02:00
acc: duplicate dlg var values used in extra2strar_dlg_only()
- avoid buffer index overlapping and be coherent with extra2strar()
(cherry picked from commit 54905e6b02e36e72bb74a92c77b273cf57822f18)
- URL: https://github.com/kamailio/kamailio/commit/948f066718e102a7d592ef647754ba0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:09:22+02:00
dialog: updated to get the int value for cseq update operations
(cherry picked from commit a070f5c132a68111fade7212db6a2bc738e03193)
- URL: https://github.com/kamailio/kamailio/commit/363a6267c4c50b6e321e59961dedc4a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:09:30+02:00
dialog: safer version for getting dlg variable value
- clone to ensure that reference is not becoming invalid over the time
(cherry picked from commit aded00bbfe75771cef8d0ee9ae8401772f7644a9)
- URL: https://github.com/kamailio/kamailio/commit/38cbf04afa2c02fa2f15bb1528d6b7f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:09:37+02:00
dialog: fetch directly the int value for dlg variable used in dlg_cseq_update()
(cherry picked from commit 8cb948cc07e2d577cdd14efdfe38f3e9bbf11d79)
- URL: https://github.com/kamailio/kamailio/commit/e1deb704bc1df02e4dbdc85d7728acc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:09:48+02:00
pua_dialoginfo: clone dlg var values
(cherry picked from commit 1553a6c0efb2cec0b5962bba13bc0095211ee75d)
- URL: https://github.com/kamailio/kamailio/commit/89fa86703adfdf6e30dc43c191d7327…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:09:59+02:00
siptrace: use socket name for hep mirroring
- GH #3174
(cherry picked from commit 30c628732092108e8d73856a5c9ec60b16d5ef99)
- URL: https://github.com/kamailio/kamailio/commit/2427f1951a1c63a8c047710d49ef067…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:10:20+02:00
dialog: wrapper function to set a dlg var with unsigned integer parameter
- use it to set cseq diff value
(cherry picked from commit b7dc2ac6d66839b38ba8d6f36e9f28bc0a2d1425)
- URL: https://github.com/kamailio/kamailio/commit/644938a6be5f841634f2e1443e5f123…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:10:29+02:00
dialog: remove strlen() checks when setting a variable
- assumed key->s and val->s are 0-terminated, which may not be the case
(cherry picked from commit 2cebd46f8f2dc3f87c9cfd2054976e347aa75ace)
- URL: https://github.com/kamailio/kamailio/commit/d8c8922ff4dd47a47773e5391e4ce49…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:10:44+02:00
core: kemi - duplicate module name when registering the api exports
(cherry picked from commit 43f764cae870b15a96b8ca88f1eb195d4ceb8455)
- URL: https://github.com/kamailio/kamailio/commit/b0636ff4aaa3f5c21389ca6b99a90be…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:11:20+02:00
core: use unsigned printing for version defines
(cherry picked from commit 3e94dd4bd3901d503c7be655d761f1d70453a451)
- URL: https://github.com/kamailio/kamailio/commit/5edc2cd0f0308099be410f7f34c0c25…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-14T19:11:46+02:00
posops: docs - updated pos_set_char() section
- note that the change is done directly inside the sip message buffer
(cherry picked from commit c3771966fa8470db91d04323a1e9c837a16a22cf)