Module: kamailio
Branch: master
Commit: ad0f9a692e9e56195844e77ee8e6ebe0ca1f0bd2
URL: https://github.com/kamailio/kamailio/commit/ad0f9a692e9e56195844e77ee8e6ebe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-09-13T10:25:46+02:00
dispatcher: docs for ds_is_active()
---
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/…
[View More]ad0f9a692e9e56195844e77ee8e6ebe…
Patch: https://github.com/kamailio/kamailio/commit/ad0f9a692e9e56195844e77ee8e6ebe…
---
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 0ac1a430e6..7507773e13 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -1732,6 +1732,46 @@ if(ds_is_from_list("10", "3", "sip:127.0.0.1:5080")) {
...
}
...
+</programlisting>
+ </example>
+ </section>
+ <section id="dispatcher.f.ds_is_active">
+ <title>
+ <function moreinfo="none">ds_is_active(groupid [, uri])</function>
+ </title>
+ <para>
+ This function returns true, if there is an active URI in the destination
+ group; otherwise false. If the uri parameter is provided, then the
+ corresponding destination has to be active.
+ </para>
+ <para>Description of parameters:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>groupid</emphasis> - the group id. The parameter
+ can be an integer or a variable holding an integer value.
+ </para>
+ </listitem>
+ <listitem>
+ <para><emphasis>uri</emphasis> (optional) - the URI of the destination.
+ if parameter is empty or missing, the any destination is matched.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>ds_is_active</function> usage</title>
+ <programlisting format="linespecific">
+...
+if(ds_is_active("10")) {
+ ...
+}
+if(ds_is_active("10", "sip:127.0.0.1:5080")) {
+ ...
+}
+...
</programlisting>
</example>
</section>
[View Less]
Module: kamailio
Branch: master
Commit: a34463c9f5fc5faade30d36f168b10105de98ac8
URL: https://github.com/kamailio/kamailio/commit/a34463c9f5fc5faade30d36f168b101…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-09-13T09:31:18+02:00
modules: readme files regenerated - registrar ... [skip ci]
---
Modified: src/modules/registrar/README
---
Diff: https://github.com/kamailio/kamailio/commit/…
[View More]a34463c9f5fc5faade30d36f168b101…
Patch: https://github.com/kamailio/kamailio/commit/a34463c9f5fc5faade30d36f168b101…
---
diff --git a/src/modules/registrar/README b/src/modules/registrar/README
index a33e556545..94ab08ab3c 100644
--- a/src/modules/registrar/README
+++ b/src/modules/registrar/README
@@ -1009,6 +1009,8 @@ kamcmd cfg.set_now_int registrar use_expired_contacts 0
AoR (user).
+ 0x08 - Do not apply expires_range or default_expires_range to
this registration.
+ + 0x10 - prepare the headers for reply, used only if flag 0x02
+ is set.
The flags may be given in decimal or hexadecimal format.
* uri (optional - flags param has to be set and can be 0 for default
behavior) - SIP URI to do be used instead of To header URI. It can
[View Less]
### Description
I have working Kamailio config for WebRTC clients.
I now want to use `tcp_reuse_port` feature and this feature breaks WebRTC clients.
#### Log Messages
```
106(106803) DEBUG: {1 41089865 ACK d50c83b4-124a-11ec-a038-835ce78b460e} <core> [core/forward.c:578]: forward_request(): orig. len=865, new_len=741, proto=5
106(106803) DEBUG: {1 41089865 ACK d50c83b4-124a-11ec-a038-835ce78b460e} <core> [core/forward.h:169]: msg_send_buffer(): sending to: 109.121.188.190:56424, …
[View More]force_socket=4, send_sock=0xffffa40ffa98
106(106803) WARNING: {1 41089865 ACK d50c83b4-124a-11ec-a038-835ce78b460e} <core> [core/forward.h:203]: msg_send_buffer(): TCP/TLS connection for WebSocket could not be found
106(106803) ERROR: {1 41089865 ACK d50c83b4-124a-11ec-a038-835ce78b460e} sl [sl_funcs.c:418]: sl_reply_error(): stateless error reply used: Unfortunately error on sending to next hop occurred (477/SL)
```
More logs at the attached `ack.log` file.
[ask.log](https://github.com/kamailio/kamailio/files/7144893/ask.log)
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
used master branch with small customization, base commit c503d2bd31a580138a67f1d4a265ccde5791d271
* **Operating System**:
aarch64
```
[root@tmp kamailio]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
```
--
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/issues/2849
[View Less]
Hello all,
Debian 11 "Bullseye" is to be released this Saturday. Do you expect to have
binaries available for it on deb.kamailio.org anytime soon following the
release? Thanks!
BR,
George