Module: kamailio
Branch: master
Commit: 77e7494d29d891c44a49377a462b0c82e6769f1e
URL: https://github.com/kamailio/kamailio/commit/77e7494d29d891c44a49377a462b0c8…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2024-11-26T10:46:10+01:00
modules: readme files regenerated - dispatcher ... [skip ci]
---
Modified: src/modules/dispatcher/README
---
Diff: https://github.com/kamailio/kamailio/commit/77e7494d29d891c44a49377a462b0c8…
Patch: https://github.com/kamailio/kamailio/commit/77e7494d29d891c44a49377a462b0c8…
---
diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README
index ef5c56f6df6..44439a450d7 100644
--- a/src/modules/dispatcher/README
+++ b/src/modules/dispatcher/README
@@ -1678,6 +1678,11 @@ onreply_route {
The parameters can include variables.
+ The returns 1 (cfg-true) when the oc attrbutes are udpated for a
+ destination record; -1 (cfg-false) when there is an internal error; -2
+ (cfg-false) when no destination is updated (e.g., not found or the
+ ocseq condition fails).
+
This function can be used from ANY_ROUTE.
Example 1.61. ds_oc_set_attrs() usage
Module: kamailio
Branch: master
Commit: 76f2d91dc00fa33368d4df0d5a25a2dbbbc9f8c7
URL: https://github.com/kamailio/kamailio/commit/76f2d91dc00fa33368d4df0d5a25a2d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-11-26T10:39:35+01:00
dispatcher: updated docs for ds_oc_set_attrs()
---
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/76f2d91dc00fa33368d4df0d5a25a2d…
Patch: https://github.com/kamailio/kamailio/commit/76f2d91dc00fa33368d4df0d5a25a2d…
---
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 5e7cb95953c..f311be2f1ff 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -2073,6 +2073,10 @@ onreply_route {
</listitem>
</itemizedlist>
<para>The parameters can include variables.</para>
+ <para>The returns 1 (cfg-true) when the oc attrbutes are udpated for a
+ destination record; -1 (cfg-false) when there is an internal error;
+ -2 (cfg-false) when no destination is updated (e.g., not found or the
+ ocseq condition fails).</para>
<para>
This function can be used from ANY_ROUTE.
</para>