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
Hello,
I am considering to release Kamailio v5.7.4 (out of branch 5.7) on
Thursday, Jan 18, 2024. If anyone is aware of issues not yet on the bug
tracker, report them there asap in order to have a better chance to be
fixed.
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
Module: kamailio
Branch: master
Commit: d0e7aa5405a293401ad19347cc062d1585d06956
URL: https://github.com/kamailio/kamailio/commit/d0e7aa5405a293401ad19347cc062d1…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2024-01-18T06:42:28+08:00
pkg: RPM spec use automatic dependency for wolfssl
- wolfssl doesn't follow semantic versioning
- let RPM figure out the correct runtime library name
depending on the -devel package used for building
i.e. based on the package used for pkgconfig(wolfssl)
e.g. if wolfssl35-devel - then libwolfssl.so.35
if wolfssl42-devel - then libwolfssl.so.42
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff: https://github.com/kamailio/kamailio/commit/d0e7aa5405a293401ad19347cc062d1…
Patch: https://github.com/kamailio/kamailio/commit/d0e7aa5405a293401ad19347cc062d1…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index ab556f5cd59..48c78435028 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -1037,7 +1037,6 @@ TLS transport for Kamailio.
%package tls_wolfssl
Summary: TLS transport for Kamailio based on wolfSSL
Group: %{PKGGROUP}
-Requires: wolfssl>=5.6.4
BuildRequires: pkgconfig(wolfssl)
%description tls_wolfssl
- URL: https://github.com/kamailio/kamailio/commit/18fead63dca0982df500b35b7c4e2d0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:10:53+01:00
core: set proto on fixing forward actions
(cherry picked from commit e51ccd11fe51f2d53dd7719b8fdec561a6ba7494)
- URL: https://github.com/kamailio/kamailio/commit/065203150aaf2f99bd6fe40ce5ffb96…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:16:40+01:00
dialog: prevent duplicate of leg1 attributes in json for dmq
- reported by #3656
(cherry picked from commit ca7e1e49aecd3e0f12cc783e3b97868980f1d3d2)
- URL: https://github.com/kamailio/kamailio/commit/3046d01bed4bdd0fe763fd770ffc8f7…
Author: Pe����ter Baraba����s <peter.barabas(a)securesoft.hu>
Date: 2024-01-16T11:18:24+01:00
uac: fix socket length settings
- set _uac_req.s_sock.len value to 0 in pv_set_uac_req() method in case of "all" case
- change setting of _uac_req.s_apasswd.len to _uac_req.s_sock.len in pv_set_uac_req() method in case of "sock" case
(cherry picked from commit 10519d199f6cac116399f4473bd82f2b08de72ba)
- URL: https://github.com/kamailio/kamailio/commit/81dce4e5003f3c00301671144ac6787…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:20:20+01:00
core: xavp - info long when skipping serializing a field
(cherry picked from commit 5d97afefd2a8f53072a36b6eb8927c180fb984c9)
- URL: https://github.com/kamailio/kamailio/commit/37621005e38a0191a93fbaf4f39b8b8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:21:55+01:00
dialog: check first the size
(cherry picked from commit 9db18bc48bff0d230e66973a45c8e72e1b7744e8)
- URL: https://github.com/kamailio/kamailio/commit/1189bb2962dd80c21a1d497125f3199…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:23:24+01:00
tm: check get_t() result for consistency
(cherry picked from commit 1191ab4e5e03b35714ec1ad9d9bf2dd9665c71fd)
- URL: https://github.com/kamailio/kamailio/commit/0712576dc4d57ba41e45012486dd206…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:23:49+01:00
registrar: check returned branch pointer
(cherry picked from commit 5d641f56fc1bc342d9be008ecd96959e114fef66)
- URL: https://github.com/kamailio/kamailio/commit/62b76c076ff0f36b847a13c180b7d50…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:24:10+01:00
core: check if conversion could not be done
(cherry picked from commit 077651fa3bfd50e0f654c907f3783b1421497bd5)
- URL: https://github.com/kamailio/kamailio/commit/4371adffc07bb555e2a52dedd6cd5af…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:24:20+01:00
app_python3: check allocated pointer
(cherry picked from commit 49b3b90cd229b7c4da06b61cdfd782450d383cc9)
- URL: https://github.com/kamailio/kamailio/commit/0ca30e87655798e3841c005abb63ca6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:24:53+01:00
core: srjson - init vars and check scanned values
(cherry picked from commit 678b1a68de86d9539adeaf0262d9735b8d435077)
- URL: https://github.com/kamailio/kamailio/commit/2d385c1983a921a95fb392e8aea0332…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:25:18+01:00
pv: typo in transformation log message
(cherry picked from commit ca2a9479adf720e67bf50c9d2795cc8937e223dc)
- URL: https://github.com/kamailio/kamailio/commit/5a26d9e9fba36a49a93bb3b88683661…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:25:38+01:00
pv: removed unnecessary condition
(cherry picked from commit 2f43510be37c157f800389dfb432b6c52d7435a7)
- URL: https://github.com/kamailio/kamailio/commit/916d02d883dc938247576bdf8f5c5b2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:27:30+01:00
tm: make lookup event_route[tm:local-response] only once
- related to issue #3064 and PR #3687
(cherry picked from commit 1f5444fd2e25d227ffd70f1087d057a3b8002558)
- URL: https://github.com/kamailio/kamailio/commit/6cd8f2acc0601fbd040999d776f15b8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:28:03+01:00
tmx: rework cleaning up on init failure
(cherry picked from commit 5192e5d275761ccd1af49d4bf9dd12e1438947b7)
- URL: https://github.com/kamailio/kamailio/commit/fc0bd88b55121e3588f5793480f0594…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:28:34+01:00
statsd: use bool type for local variable to match return of function
(cherry picked from commit 0186246fce8f0e4bb46b30c05174983cd957a3ba)
- URL: https://github.com/kamailio/kamailio/commit/be5b4b160ecff8dc398735fbd28ceb7…
Author: Nikolay Ivanuschak <ivanuschak.nikolay(a)gmail.com>
Date: 2024-01-16T11:29:08+01:00
core: fixed haproxy protocol parser
fixes GH #3683
(cherry picked from commit c5237830f3e7fbeec403a0190471a066081c1117)
- URL: https://github.com/kamailio/kamailio/commit/37a07037b6e3485f3ddd1b27b1998af…
Author: Dennis Yurasov <dennis-y(a)yandex-team.ru>
Date: 2024-01-16T11:29:22+01:00
dialog: fixed saving dialogs on shutdown that are already loaded at startup when using db_mode 3
- The dialogs that loaded at startup are not saved in DB on shutdown, and so not loaded at restart,
fixes issue #3669
(cherry picked from commit 2d00ce546bb0852dc1784d5bc2e794d06f919577)
- URL: https://github.com/kamailio/kamailio/commit/dc59286c26e9799f86e698a9698c9da…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:31:59+01:00
htable: read rpc number value as long
- remove autoconvert for number, it is only for string values
- GH #3674
(cherry picked from commit 577fb11010ff61af3c4b567581c0bbc5404654c8)
- URL: https://github.com/kamailio/kamailio/commit/2dff6f52d1393cf8eabe714262ec8e5…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2024-01-16T11:32:25+01:00
http_async_client: exit mod_init if tm is not loaded
(cherry picked from commit 5a40d1ef1b484c4fc437a3f0183a101241e80313)
- URL: https://github.com/kamailio/kamailio/commit/a539ca32ec3a898e354aab90d899b99…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-16T11:32:57+01:00
core: keep listen socket even if advertise address does not resolve
- the core advertise_address parameter works in the same fashion
- previously it was starting by skipping the listen, which resulted in
unexpected runtime list of sockets
(cherry picked from commit b50036200c5bc09fd2d412a18585b42d63763b27)