Module: kamailio
Branch: 5.8
Commit: a7d4ce95b383dc26c547ef9ee07b05d51abc50f9
URL: https://github.com/kamailio/kamailio/commit/a7d4ce95b383dc26c547ef9ee07b05d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-03-20T13:16:00+01:00
keepalive: small formatting updates and comments to the ka dest structure
(cherry picked from commit cee82c92b06a026b88fea654944f6146eb5cb4d8)
---
Modified: src/modules/keepalive/keepalive.h
---
Diff: https://github.com/kamailio/kamailio/commit/a7d4ce95b383dc26c547ef9ee07b05d…
Patch: https://github.com/kamailio/kamailio/commit/a7d4ce95b383dc26c547ef9ee07b05d…
---
diff --git a/src/modules/keepalive/keepalive.h b/src/modules/keepalive/keepalive.h
index d5a8fcb2197..5ca1ce3561d 100644
--- a/src/modules/keepalive/keepalive.h
+++ b/src/modules/keepalive/keepalive.h
@@ -69,13 +69,15 @@ typedef struct _ka_initial_dest
typedef struct _ka_dest
{
str uri;
- str owner; // name of destination "owner"
- // (module asking to monitor this destination
- str uuid; // Universal id for this record
+ str owner; /*!< Name of destination "owner" */
+ /*!< Module asking to monitor this destination */
+ str uuid; /*!< Universal id for this record */
int flags;
int state;
- time_t last_checked, last_up, last_down;
- int counter; // counts unreachable attempts
+ time_t last_checked;
+ time_t last_up; /*!< Time of last successful SIP reply */
+ time_t last_down; /*!< Time of last failure SIP reply */
+ int counter; /*!< Counts unreachable attempts */
ticks_t ping_interval; /*!< Actual interval between OPTIONS */
void *user_attr;
Module: kamailio
Branch: 5.8
Commit: 7df7508d7d2b7b9495dafab8b515a5721bd669ee
URL: https://github.com/kamailio/kamailio/commit/7df7508d7d2b7b9495dafab8b515a57…
Author: Dennis Yurasov <dennis-y(a)yandex-team.ru>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-03-20T13:14:16+01:00
dispatcher: refine documentation
- more clear documentation for the new ds_is_from_list flags
(cherry picked from commit 761e963c0f7d9bf1b66c1ef18a409756b919ae2c)
---
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/7df7508d7d2b7b9495dafab8b515a57…
Patch: https://github.com/kamailio/kamailio/commit/7df7508d7d2b7b9495dafab8b515a57…
---
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 4708ca06c92..83ef06285a0 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -1805,9 +1805,12 @@ if(ds_list_exists("10")) {
If bit two is set, then protocol is ignored.
If bit three is set, then state must be active.
If bit four is set, then socket/sockname be matched.
- If bit five is set, then try to find the most complete
- "address/protocol/port/local socket" combination for all dispatcher targets. The parameter
- can be an integer or a variable holding an integer value.
+ If bit five is set, then try to find the most closest target from all
+ dispatcher targets with the mandatory ip and combination of local socket, protocol, port,
+ the weighted search result is combined from bit flags of matched components:
+ ip - 1, port - 2, protocol - 4, local socket - 8,
+ the target with the maximum value of flags combination will be selected.
+ The parameter can be an integer or a variable holding an integer value.
It must be provided if the uri parameter is provided.
</para>
</listitem>