Module: kamailio
Branch: master
Commit: 304b8a41464f1bed83d733a3002088b759c7e679
URL: https://github.com/kamailio/kamailio/commit/304b8a41464f1bed83d733a3002088b…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2024-01-18T16:01:19+01:00
modules: readme files regenerated - kex ... [skip ci]
---
Modified: src/modules/kex/README
---
Diff: https://github.com/kamailio/kamailio/commit/304b8a41464f1bed83d733a3002088b…
Patch: https://github.com/kamailio/kamailio/commit/304b8a41464f1bed83d733a3002088b…
---
diff --git a/src/modules/kex/README b/src/modules/kex/README
index 55d341211d0..d0661e611ed 100644
--- a/src/modules/kex/README
+++ b/src/modules/kex/README
@@ -47,9 +47,10 @@ Ovidiu Sas
3.9. isdsturiset()
3.10. pv_printf(var, str)
3.11. is_myself(uri)
- 3.12. setdebug(level)
- 3.13. resetdebug()
- 3.14. km_append_branch([uri])
+ 3.12. is_myhost(uri)
+ 3.13. setdebug(level)
+ 3.14. resetdebug()
+ 3.15. km_append_branch([uri])
4. RPC Commands
@@ -102,8 +103,9 @@ Ovidiu Sas
1.9. isdsturiset usage
1.10. pv_printf usage
1.11. is_myself usage
- 1.12. setdebug usage
- 1.13. resetdebug usage
+ 1.12. is_myhost usage
+ 1.13. setdebug usage
+ 1.14. resetdebug usage
Chapter 1. Admin Guide
@@ -128,9 +130,10 @@ Chapter 1. Admin Guide
3.9. isdsturiset()
3.10. pv_printf(var, str)
3.11. is_myself(uri)
- 3.12. setdebug(level)
- 3.13. resetdebug()
- 3.14. km_append_branch([uri])
+ 3.12. is_myhost(uri)
+ 3.13. setdebug(level)
+ 3.14. resetdebug()
+ 3.15. km_append_branch([uri])
4. RPC Commands
@@ -206,9 +209,10 @@ Chapter 1. Admin Guide
3.9. isdsturiset()
3.10. pv_printf(var, str)
3.11. is_myself(uri)
- 3.12. setdebug(level)
- 3.13. resetdebug()
- 3.14. km_append_branch([uri])
+ 3.12. is_myhost(uri)
+ 3.13. setdebug(level)
+ 3.14. resetdebug()
+ 3.15. km_append_branch([uri])
3.1. setsflag(flag)
@@ -391,7 +395,8 @@ pv_printf("$avp(x)", "From: $fU - To: $tU");
Meaning of the parameters is as follows:
* uri - Valid SIP URI or IP address to check against the list of
- local IP addresses or domains. The parameter value can contain
+ local IP addresses or domains, matching as well the port and
+ protocol if they are provided. The parameter value can contain
pseudo-variables.
This function can be used from ANY_ROUTE.
@@ -403,7 +408,27 @@ if(is_myself("$fu")) {
}
...
-3.12. setdebug(level)
+3.12. is_myhost(uri)
+
+ Check if the host part of the parameter matches a local domain or IP
+ address.
+
+ Meaning of the parameters is as follows:
+ * uri - Valid SIP URI, hostname of IP address to check against the
+ list of local IP addresses or domains. If it is a SIP URI, the port
+ and protocol are ignored. The parameter value can contain
+ pseudo-variables.
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.12. is_myhost usage
+...
+if(is_myhost("$tu")) {
+ ...
+}
+...
+
+3.13. setdebug(level)
Set the debug log level per process.
@@ -413,7 +438,7 @@ if(is_myself("$fu")) {
This function can be used from ANY_ROUTE.
- Example 1.12. setdebug usage
+ Example 1.13. setdebug usage
...
setdebug("1");
...
@@ -421,19 +446,19 @@ $var(level) = 2;
setdebug("$var(level)");
...
-3.13. resetdebug()
+3.14. resetdebug()
Reset the local debug log level back to the value of core parameter
'debug'.
This function can be used from ANY_ROUTE.
- Example 1.13. resetdebug usage
+ Example 1.14. resetdebug usage
...
resetdebug();
...
-3.14. km_append_branch([uri])
+3.15. km_append_branch([uri])
This function was replaced by append_branch() from corex module,
starting with version 4.0.0.
Module: kamailio
Branch: master
Commit: ee191ccd01ec6391c715e22efed2dc6581fe9d72
URL: https://github.com/kamailio/kamailio/commit/ee191ccd01ec6391c715e22efed2dc6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-18T09:29:21+01:00
kex: docs for is_myhost()
---
Modified: src/modules/kex/doc/kex_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/ee191ccd01ec6391c715e22efed2dc6…
Patch: https://github.com/kamailio/kamailio/commit/ee191ccd01ec6391c715e22efed2dc6…
---
diff --git a/src/modules/kex/doc/kex_admin.xml b/src/modules/kex/doc/kex_admin.xml
index 91080d8c1db..9f99e6a6bc4 100644
--- a/src/modules/kex/doc/kex_admin.xml
+++ b/src/modules/kex/doc/kex_admin.xml
@@ -360,7 +360,8 @@ pv_printf("$avp(x)", "From: $fU - To: $tU");
<listitem>
<para>
<emphasis>uri</emphasis> - Valid SIP URI or IP address to
- check against the list of local IP addresses or domains.
+ check against the list of local IP addresses or domains, matching
+ as well the port and protocol if they are provided.
The parameter value can contain pseudo-variables.
</para>
</listitem>
@@ -376,6 +377,37 @@ if(is_myself("$fu")) {
...
}
...
+</programlisting>
+ </example>
+ </section>
+ <section id="kex.f.is_myhost">
+ <title><function moreinfo="none">is_myhost(uri)</function></title>
+ <para>
+ Check if the host part of the parameter matches a local domain
+ or IP address.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>uri</emphasis> - Valid SIP URI, hostname of IP address to
+ check against the list of local IP addresses or domains. If it
+ is a SIP URI, the port and protocol are ignored.
+ The parameter value can contain pseudo-variables.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>is_myhost</function> usage</title>
+ <programlisting format="linespecific">
+...
+if(is_myhost("$tu")) {
+ ...
+}
+...
</programlisting>
</example>
</section>
@@ -992,4 +1024,3 @@ Module: kex
</section>
</chapter>
-
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [x] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
Add support for LoongArch.The LoongArch architecture (LoongArch) is an Instruction Set Architecture (ISA) that has a RISC style.
Documentations:
ISA:
https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html
ABI:
https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html
More docs can be found at:
https://loongson.github.io/LoongArch-Documentation/README-EN.html
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3715
-- Commit Summary --
* Add support for LoongArch.
-- File Changes --
M src/modules/app_jsdt/duk_config.h (11)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3715.patchhttps://github.com/kamailio/kamailio/pull/3715.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3715
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3715(a)github.com>
Hello,
Kamailio SIP Server v5.7.4 stable release is out.
This is a maintenance release of the latest stable branch, 5.7, that
includes fixes since the release of v5.7.3. There is no change to
database schema or configuration language structure that you have to do
on previous installations of v5.7.x. Deployments running previous v5.7.x
versions are strongly recommended to be upgraded to v5.7.4.
For more details about version 5.7.4 (including links and guidelines to
download the tarball or from GIT repository), visit:
* https://www.kamailio.org/w/2024/01/kamailio-v5-7-4-released/
RPM, Debian/Ubuntu packages will be available soon as well.
Many thanks to all contributing and using Kamailio!
Cheers,
Daniel
--
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com
Kamailio Advanced Training, February 20-22, 2024 -- asipto.com
Kamailio World Conference, April 18-19, 2024, Berlin -- kamailioworld.com
Hi devs,
The CI/CD seems to be broken after I pushed a few commits to master.
There seem to be docker pull errors.
Appreciate if someone could take a look.
Regards
Shih-Ping