Module: kamailio
Branch: master
Commit: e92be0e131193b4b0a294e71fb2cfb4f52f5ef6f
URL:
https://github.com/kamailio/kamailio/commit/e92be0e131193b4b0a294e71fb2cfb4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-06-11T13:35:44+02:00
docs: new parameter for ds_oc_set_attrs()
---
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/e92be0e131193b4b0a294e71fb2cfb4…
Patch:
https://github.com/kamailio/kamailio/commit/e92be0e131193b4b0a294e71fb2cfb4…
---
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml
b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 62e212f8744..70a30ed7f7e 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -2016,7 +2016,7 @@ onreply_route {
</section>
<section id="dispatcher.f.ds_oc_set_attrs">
<title>
- <function moreinfo="none">ds_oc_set_attrs(setid, uri, rval,
tval)</function>
+ <function moreinfo="none">ds_oc_set_attrs(setid, uri, rval, tval,
sval)</function>
</title>
<para>
Sets the overload control rate and time internval limit
@@ -2041,9 +2041,13 @@ onreply_route {
<para><emphasis>tval</emphasis> - time interval limit to apply the
overload control rate (in milliseconds). If the value is 0 or
negative, then the default value 500 is used.</para>
- </listitem>
+ </listitem>
+ <listitem>
+ <para><emphasis>sval</emphasis> - the sequence number for overload
+ control.</para>
+ </listitem>
</itemizedlist>
-
+ <para>The parameters can include variables.</para>
<para>
This function can be used from ANY_ROUTE.
</para>
@@ -2051,7 +2055,7 @@ onreply_route {
<title><function>ds_oc_set_attrs()</function> usage</title>
<programlisting format="linespecific">
...
- ds_oc_set_attrs("1", "sip:127.0.0.1:5080", "30",
"1000");
+ ds_oc_set_attrs("1", "sip:127.0.0.1:5080", "30",
"1000", "1");
...
</programlisting>
</example>