[sr-dev] Re: [kamailio/kamailio] dialog: failover database loading behaviour in shared DB scenario, expiration of dialogs (#2080)

2023-11-23 Thread Benoît Panizzon via sr-dev
> But still I can see scenarios where the current behaviour can cause problems. 
> Imagine a small dialog timeout combined with SIP Session Timer keep-alive 
> re-INVITEs. The proxy 1 would not expire the dialog, but proxy2 (which did 
> not got the re-INVITE) would expire it. 

I also came across that issue, but the other way round. I started with a short 
session timer, intending to extend it on every re-invite according to the timer 
values in the sip message and reply. This turned out not to work, as the peer 
nodes would not get an update on re-invites and thus fire the timeout and 
expiring the dialog from memory, and also sync state 5 (delete) back to the 
node handling the dialog causing the next in-dialog sip message hitting a 481 
dialog not found.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2080#issuecomment-1825263391
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Dialog DMQ sync: Timer needs fixing, firing on wrong node! (Issue #3656)

2023-11-23 Thread Henning Westerholt via sr-dev
Just for reference, there is also another issue with is related to the DMQ 
dialog handling #2080

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3656#issuecomment-1825244374
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] pkg: RPM packaging add kamailio-tls_wolfssl subpackage (PR #3592)

2023-11-23 Thread space88man via sr-dev
@space88man pushed 1 commit.

16c10e35c71a166c0495b2fc742a426ccab912d2  pkg: RPM packaging add 
kamailio-tls_wolfssl subpackage

-- 
View it on GitHub:
https://github.com/kamailio/kamailio/pull/3592/files/faea6215c5abfc414a675f425dd2f51cbeec44f6..16c10e35c71a166c0495b2fc742a426ccab912d2
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Dialog DMQ sync: Timer needs fixing, firing on wrong node! (Issue #3656)

2023-11-23 Thread Olle E. Johansson via sr-dev
Maybe we can add a setting in the dialog module for

- ignoring the timeout on the DMQ peer (receiver)
- adding a value on the DMQ peer so the primary server triggers first.

/O

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3656#issuecomment-1824654839
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] [kamailio/kamailio] Dialog DMQ sync: Timer needs fixing, firing on wrong node! (Issue #3656)

2023-11-23 Thread Benoît Panizzon via sr-dev
Situation: Two Kamailio nodes syncing dialog profiles via DMQ

Observation: When a dialog timeout is encountered, about half of the time, the 
timeout is triggered on the peer node not handling the dialog preventing the 
call to be correctly terminated and also leaving entries in the dialog database 
which never get deleted.

https://kamailio.org/docs/modules/5.7.x/modules/dialog.html#dialog.p.enable_dmq

Makes clear, that only the node which is handling the dialog in question, can 
make changes not related to the dialog profiles. So when a dialog times out, it 
is this node which has to trigger the timeout, not any other one.

When looking at the source code, it is clear, that the 'lifetime' is 
transmitted via DMQ dialog message to the peer nodes, which in turn arm a 
timer. So it is obvious, this time will trigger, sometimes before the instance 
handling the dialog itself triggers that timer.

With some assistance of @oej I found a way to alter the JSON payload to extend 
the lifetime on the peer nodes:

```
route[DMQ_CAPTURE]
{
if(is_method("KDMQ"))
{
if(has_body("application/json") && $fU == 'dialog')
{
if (jansson_get("lifetime", $rb, "$var(lifetime)"))
{
$var(new_lifetime) = $var(lifetime) + 60; # Add 
60 seconds on DMQ peer to make sure it expires AFTER main node.
$var(newrb) = $rb;
jansson_set("integer", "lifetime", 
$var(new_lifetime), "$var(newrb)");
set_body("$var(newrb)","application/json");
msg_apply_changes();
}
}
dmq_handle_message();
exit;
}
}
```

Testing with this config fixed the issue of the timeout firing on a peer node 
instead of the node handling the dialog.

Issue is present in 5.5, 5.6 and after looking at the code, I assume also on 5.7

-Benoît

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3656
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Dialog DMQ sync: Timer needs fixing, firing on wrong node! (Issue #3655)

2023-11-23 Thread Benoît Panizzon via sr-dev
Closed #3655 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3655#event-11049140451
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Dialog DMQ sync: Timer needs fixing, firing on wrong node! (Issue #3655)

2023-11-23 Thread Benoît Panizzon via sr-dev
Somehow hit enter at wrong time.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3655#issuecomment-1824639111
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] [kamailio/kamailio] Dialog DMQ sync: Timer needs fixing, firing on wrong node! (Issue #3655)

2023-11-23 Thread Benoît Panizzon via sr-dev


### Description



### Troubleshooting

 Reproduction



 Debugging Data



```
(paste your debugging data here)
```

 Log Messages



```
(paste your log messages here)
```

 SIP Traffic



```
(paste your sip traffic here)
```

### Possible Solutions



### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

```
(paste your output here)
```

* **Operating System**:



```
(paste your output here)
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3655
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:9b72b6dd: github: refresh alpine workflow [skip ci]

2023-11-23 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: 9b72b6dd4ffcf67f47f9d51c862e7a101c110c3f
URL: 
https://github.com/kamailio/kamailio/commit/9b72b6dd4ffcf67f47f9d51c862e7a101c110c3f

Author: Victor Seva 
Committer: Victor Seva 
Date: 2023-11-23T13:29:15+01:00

github: refresh alpine workflow [skip ci]

---

Modified: .github/workflows/alpine.yml

---

Diff:  
https://github.com/kamailio/kamailio/commit/9b72b6dd4ffcf67f47f9d51c862e7a101c110c3f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9b72b6dd4ffcf67f47f9d51c862e7a101c110c3f.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:7ea47e5f: pkg/docker: set branch 5.7 and refresh [skip ci]

2023-11-23 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: 7ea47e5fc72d08384223fb479f6bcc098e236990
URL: 
https://github.com/kamailio/kamailio/commit/7ea47e5fc72d08384223fb479f6bcc098e236990

Author: Victor Seva 
Committer: Victor Seva 
Date: 2023-11-23T13:27:51+01:00

pkg/docker: set branch 5.7 and refresh [skip ci]

---

Modified: .gitmodules
Modified: pkg/docker

---

Diff:  
https://github.com/kamailio/kamailio/commit/7ea47e5fc72d08384223fb479f6bcc098e236990.diff
Patch: 
https://github.com/kamailio/kamailio/commit/7ea47e5fc72d08384223fb479f6bcc098e236990.patch

---

diff --git a/.gitmodules b/.gitmodules
index 1d8f99966ed..dc138023d0c 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,7 @@
 [submodule "pkg/docker"]
path = pkg/docker
url = https://github.com/kamailio/kamailio-ci.git
+   branch = 5.7
 [submodule "src/modules/tls_wolfssl/lib/wolfssl"]
path = misc/external/wolfssl/wolfssl
url = https://github.com/wolfSSL/wolfssl.git
diff --git a/pkg/docker b/pkg/docker
index 5c45c0f8871..064be5f078d 16
--- a/pkg/docker
+++ b/pkg/docker
@@ -1 +1 @@
-Subproject commit 5c45c0f8871ceebb1a8f5308653bca924afb0d6f
+Subproject commit 064be5f078d679b0e44abda0e2bfea22e6c6e9ec

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.6:924212da: pkg/docker: set branch 5.6 and refresh it [skip ci]

2023-11-23 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.6
Commit: 924212dadb66b45e649d614ec0e85b0d37f84366
URL: 
https://github.com/kamailio/kamailio/commit/924212dadb66b45e649d614ec0e85b0d37f84366

Author: Victor Seva 
Committer: Victor Seva 
Date: 2023-11-23T13:08:11+01:00

pkg/docker: set branch 5.6 and refresh it [skip ci]

---

Modified: .gitmodules
Modified: pkg/docker

---

Diff:  
https://github.com/kamailio/kamailio/commit/924212dadb66b45e649d614ec0e85b0d37f84366.diff
Patch: 
https://github.com/kamailio/kamailio/commit/924212dadb66b45e649d614ec0e85b0d37f84366.patch

---

diff --git a/.gitmodules b/.gitmodules
index f03308d506e..00d2e21d03c 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,4 @@
 [submodule "pkg/docker"]
path = pkg/docker
url = https://github.com/kamailio/kamailio-ci.git
+   branch = 5.6
diff --git a/pkg/docker b/pkg/docker
index 5c45c0f8871..1d37927ac25 16
--- a/pkg/docker
+++ b/pkg/docker
@@ -1 +1 @@
-Subproject commit 5c45c0f8871ceebb1a8f5308653bca924afb0d6f
+Subproject commit 1d37927ac257597dc820a686ba32426cdd58babe

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.6:48d48f6c: github: refresh alpine workflow

2023-11-23 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.6
Commit: 48d48f6c2623a2d78f1178d2ce280dce567467f8
URL: 
https://github.com/kamailio/kamailio/commit/48d48f6c2623a2d78f1178d2ce280dce567467f8

Author: Victor Seva 
Committer: Victor Seva 
Date: 2023-11-23T13:17:08+01:00

github: refresh alpine workflow

---

Modified: .github/workflows/alpine.yml

---

Diff:  
https://github.com/kamailio/kamailio/commit/48d48f6c2623a2d78f1178d2ce280dce567467f8.diff
Patch: 
https://github.com/kamailio/kamailio/commit/48d48f6c2623a2d78f1178d2ce280dce567467f8.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git: new commits in branch master

2023-11-23 Thread Daniel-Constantin Mierla via sr-dev
- URL:  
https://github.com/kamailio/kamailio/commit/d434270933f06b4de43cdf6d4b464bd264a3cb92
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

dialog: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/40dd9f4e0fbe54046b7786e3572b491103af03d1
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

http_async_client: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/407168804cc1806b857c2ce78399e02a81692d1e
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

imc: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/524eeca084e0a0e61ad80f349ea79f8b1c3031f6
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

ims_auth: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/39514660001b37eabfe3af6818949586fae9a4bf
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

ims_icscf: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/641d29820f8536247c49d5fb4caa882764dbd9af
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

ims_registrar_scscf: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/d29b3d6515f74d4cd7417dc9030d8ca53d57054e
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

ims_usrloc_pcscf: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/609960812c572d2d19ba774b064fdf7e2ac45765
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

msilo: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/f35f327a528670dcca0d7a767643a222f1aebd89
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

nat_traversal: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/a951cb44ecbcd0f9cba937176ea5117c6a1d15b6
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

p_usrloc: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/0516fb802628ddb659a130aa2959df5b0b8e0c96
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

registrar: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/01abed3ef17f6a5f0f215675a2980f0b9a4267fd
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

sipcapture: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/92cdcb4bd280850743b3a952f1b6003be69daaf2
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

siptrace: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/96bdd69945af9f08e6c89fb725248b8b268ee71a
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

sst: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/d4c0e1bbcb0e423a545650aad4fbb4b2da8bb488
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

tmx: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/a9d29645ab417c9b0f7afc6745e6dd54bdac07b4
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

tsilo: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/186ae3eef7f3e1b5ad6222c98a2f35a487deb316
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:47+01:00

usrloc: use literal module name for stats group

- prevent conflicts with global exports

- URL:  
https://github.com/kamailio/kamailio/commit/93609b53d70df84788741800fc2b80c5502a3358
Author: Daniel-Constantin Mierla 
Date:   2023-11-23T12:35:48+01:00

websocket: use literal module name for stats group

- prevent conflicts with global exports


___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Kamailio v5.6.5 Released

2023-11-23 Thread Daniel-Constantin Mierla via sr-dev
Hello,

Kamailio SIP Server v5.6.5 stable release is out.

This is a maintenance release of the latest stable branch, 5.6, that
includes fixes since the release of v5.6.4. There is no change to
database schema or configuration language structure that you have to do
on previous installations of v5.6.x. Deployments running previous v5.6.x
versions are strongly recommended to be upgraded to v5.6.5.


Note that 5.6 is the second last stable branch, still officially
maintained by Kamailio development team. The latest stable branch is
5.7, with v5.7.3 being release out of it.


For more details about version 5.6.5 (including links and guidelines to
download the tarball or from GIT repository), visit:

  * https://www.kamailio.org/w/2023/11/kamailio-v5-6-5-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 and Development Services
Kamailio Advanced Training -- asipto.com

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.6:6bdc5333: ChangeLog: content updated for v5.6.5

2023-11-23 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: 5.6
Commit: 6bdc53338bb7f0ec329be57dba2154853c685e08
URL: 
https://github.com/kamailio/kamailio/commit/6bdc53338bb7f0ec329be57dba2154853c685e08

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2023-11-23T09:42:39+01:00

ChangeLog: content updated for v5.6.5

---

Modified: ChangeLog

---

Diff:  
https://github.com/kamailio/kamailio/commit/6bdc53338bb7f0ec329be57dba2154853c685e08.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6bdc53338bb7f0ec329be57dba2154853c685e08.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org