[SR-Users] Re: Kamailio to aid in seamless data center migration?

2024-03-21 Thread Ihor Olkhovskyi via sr-users
Brad, Sounds like a quite big project. And if you never used a Kamailio before this "switch" can be quite painful in a sense that you are adding 1 extra component to already working system. Also you may get into a pit with media relaying upon switching (different signalling and media IP) with

[SR-Users] Re: RFC5626 Keep-Alive with CRLF

2024-03-21 Thread Ihor Olkhovskyi via sr-users
Daniel, Many thanks, will do some test plays with this option as well! Le 21/03/2024 à 18:22, Daniel-Constantin Mierla a écrit : Hello, there is the core option:   - https://www.kamailio.org/wikidocs/cookbooks/5.8.x/core/#tcp_crlf_ping But I guess is the client that sends crlfcrlf and the s

[SR-Users] Re: RFC5626 Keep-Alive with CRLF

2024-03-21 Thread Daniel-Constantin Mierla via sr-users
Hello, there is the core option:   - https://www.kamailio.org/wikidocs/cookbooks/5.8.x/core/#tcp_crlf_ping But I guess is the client that sends crlfcrlf and the server sends back crlf. Cheers, Daniel On 21.03.24 16:26, Ihor Olkhovskyi via sr-users wrote: > Just to add a bit for an issue: > > O

[SR-Users] Re: Branch Route trigger for Withindialog calls?

2024-03-21 Thread Patrick Karton via sr-users
Headers manipulations are per transaction so yes you Will Always need to filter them in a  branch route Le 21 mars 2024 15:54, Benoit Panizzon via sr-users a écrit :Hi List I am just wondering... When I am sending the initial INVITE to a customer CPE, this goes throug the whole location loo

[SR-Users] Kamailio to aid in seamless data center migration?

2024-03-21 Thread Brad via sr-users
I need to move a few dozen FreePBXen with some commercial modules running in individual VMs to a new data center. I’m trying to work out a plan to move the PBXes to the new data center in a way that will be transparent to the endpoints, or at the very least with the absolute minimum of downtim

[SR-Users] Branch Route trigger for Withindialog calls?

2024-03-21 Thread Benoit Panizzon via sr-users
Hi List I am just wondering... When I am sending the initial INVITE to a customer CPE, this goes throug the whole location lookup and through a branch route in which I make some last adjustments to the headers, like removing header the customer shall not get (like P-Asserted-Identity which would

[SR-Users] Re: loose_route false when using topos? At which point in the call flow, does topos restore the Route header?

2024-03-21 Thread Patrick Karton via sr-users
Yes topos restores the Route headers as soon as the request enters kamailio. So they are already available before you call loose_route.Le 27 févr. 2024 11:13, Benoit Panizzon via sr-users a écrit :Hi By setting: branch_expire to the same value as dialog_expire which is 12 hours, now my headers

[SR-Users] Re: RFC5626 Keep-Alive with CRLF

2024-03-21 Thread Ihor Olkhovskyi via sr-users
Just to add a bit for an issue: On a mobile client, Linphone in particular, system may be in state, that it "believes", that TCP connection still exists, but on a server (Kamailio) side it's already closed by tcp_keepalive_enable() option. As I got, RST is not reaching mobile device (which is ok,

[SR-Users] No 408 generated by tm module on fr_timer when redis crashes

2024-03-21 Thread Patrick Karton via sr-users
Hello im using redis for topos and i noticed that when kamailio sending INVITEs and no response received yet and and if redis crash the retransmissions stop but the fr_timer is never called so no 408 is generated by kamailio.So the transaction lives for a very long long time in memory.Do topos call

[SR-Users] Re: RFC5626 Keep-Alive with CRLF

2024-03-21 Thread Ihor Olkhovskyi via sr-users
Julien, Yes, I did. It just invokes setsockopt() from system library - https://linux.die.net/man/3/setsockopt This one is a bit different. Le jeu. 21 mars 2024 à 14:29, Julien Chavanton a écrit : > Did you look at the tcpops module. > > I am sometimes getting confused but I think this is the

[SR-Users] Re: RFC5626 Keep-Alive with CRLF

2024-03-21 Thread Julien Chavanton via sr-users
Did you look at the tcpops module. I am sometimes getting confused but I think this is the one made by the kernel and it is simply a socket option flag. On Thu, Mar 21, 2024, 6:14 AM Ihor Olkhovskyi via sr-users < sr-users@lists.kamailio.org> wrote: > Hello, > > A bit generic question, does Kama

[SR-Users] RFC5626 Keep-Alive with CRLF

2024-03-21 Thread Ihor Olkhovskyi via sr-users
Hello, A bit generic question, does Kamailio supports CRLF keepalive per https://www.rfc-editor.org/rfc/rfc5626#section-4.4.1 ? It's more for tracking TCP connection states, as seems tcp_keepalive_enable is not super reliable especially in mobile networks. -- Best regards, Ihor (Igor) __