[SR-Users] Re: Multiple websocket connections with the same port

2022-12-19 Thread bvisonl
I am currently investigating why this "would" happen. I am experiencing what I described above, its TLDR is "UA2 is getting invites that were destined to UA1" and they both were using the same port at a given time. Applying a patch for this is rather easy and has already been done. However, I

[SR-Users] Re: auth_challenge() and async

2022-12-19 Thread Alex Balashov
Just to conclude this, I have worked around it by setting tm.wt_timer to about ~300 ms, which is low enough to shuffle the old transaction off before the retransmissions ad nauseum can start. But I don't think this is the ideal solution to this problem. -- Alex > On Dec 16, 2022, at 9:09 AM,

[SR-Users] Multiple websocket connections with the same port

2022-12-19 Thread Benjamín Visón
Hello! I'm examining the WebSocket module and I am wondering how it handles multiple connections from the same port. For context, imagine the following scenario: UA1 ==> Load Balancer:41914 ==> Kamailio (WS) UA2 ==> Load Balancer:41914 ==> Kamailio (WS) Now, imagine Kamailio perceives UA1 from

[SR-Users] Re: Multiple websocket connections with the same port

2022-12-19 Thread Alex Balashov
Under what circumstances would this happen, practically? A previously allocated port for a recently shutdown connection is not immediately recycled. > On Dec 19, 2022, at 4:22 PM, Benjamín Visón wrote: > > Hello! > > I'm examining the WebSocket module and I am wondering how it handles

[SR-Users] Re: DNS Host-Names in Via and Record-Route for more redundancy?

2022-12-19 Thread Rick Barenthin
Hi Benoît, For me in these cases I use to have a SIP loadbalancer with a floating IP that just forwards the traffic into my network. That gave these devices one IP to speak to and I could do the rest internally. Best Rick > On 19. Dec 2022, at 14:24, Benoit Panizzon wrote: > > Hello World

[SR-Users] How to unset_dlg_profile in request_route or react more quickly to CANCEL?

2022-12-19 Thread Benoit Panizzon
Hi List Testing failure situations, I discovered unset_dlg_profile can not be used in request_route: I count the channels per customer in a dlg_profile to know when they are busy. Residential POTS customer have 1 channel. Now this situation (Trying to mimik POTS behavior) Kamailio <=> CPE of

[SR-Users] Re: DNS Host-Names in Via and Record-Route for more redundancy?

2022-12-19 Thread Benoit Panizzon
Hello World and Rick > A quick update. Now it works. I guess the newly added DNS hostname was > not yet fully propagated to all DNS caches. I start doubting, this was a clever idea... I wonder what solutions other have come up to. After some testing I noticed: SIP ALG on NAT devices do work by

[SR-Users] Re: Topoh module not decoding the BYE received from the callee

2022-12-19 Thread Henning Westerholt
Hello, are you able to observe some irregularities related to this BYEs from the callee, e.g. with sngrep? Any error log messages in the kamailio.log related to topoh? Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com