Re: [SR-Users] set source port of TCP socket in Contact header

2022-08-03 Thread Henning Westerholt
Hello, the tcp_reuse port setting is mainly using if Kamailio is acting as UAC, and needs an existing connection to be able to re-use something. The RFC specify how its normally should done from a client : 18.1.1 Sending Requests

Re: [SR-Users] Contact header modification - Kamailio

2022-08-03 Thread Alex Balashov
How did you conclude that it doesn’t work? > On Aug 3, 2022, at 8:06 AM, Ankit Jayswal wrote: > > Hello, > > Can you suggest directly replacing the value of the Contact header ? As > remove_hf("Contact") does not work for me. > > I need just Contact: instead of, > Contact: > > > On Tue,

Re: [SR-Users] Contact header modification - Kamailio

2022-08-03 Thread Ankit Jayswal
Hello, Can you suggest directly replacing the value of the Contact header ? As remove_hf("Contact") does not work for me. I need just *Contact: http://sip:009122692405xx@10.52.26.98:5060>> *instead of, *Contact: * On Tue, Aug 2, 2022 at 12:56 PM Alex Balashov wrote: > The suggestion given by

Re: [SR-Users] set source port of TCP socket in Contact header

2022-08-03 Thread Henning Westerholt
Hello, Not sure if I completely understand the issue. Kamailio will either use a random source port, or the port 5060 if you specify the tcp_reuse_port core configuration. Cheers, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services -

Re: [SR-Users] Support of ECDHE cipher suites for tls connection in kamailio

2022-08-03 Thread Henning Westerholt
Hello, any error messages related to tls in the kamailio.log? Do you see in the logs that its actually set the ciphers? If you are using also a dedicated tls.cfg, you might need to place the cipher_list there. Cheers, Henning From: sr-users On Behalf Of Sent: Tuesday, August

[SR-Users] set source port of TCP socket in Contact header

2022-08-03 Thread Maarten Ureel
Hello I want to set the correct source port in an outgoing message over TCP. Is it possible? I can't find a pseudo-variable for this. Currently we have no port number in the contact header, and the other party is sending their BYE to port 5060 instead of to the source port from which the

[SR-Users] Support of ECDHE cipher suites for tls connection in kamailio

2022-08-03 Thread Илья Болмосов
Hello. I have a question about support of ECDHE cipher suites in kamailio-5.6.0 in centos7 with installed OpenSSL 1.0.2k-fips. We received kamailio with its modules from https://rpm.kamailio.org/. Our client can use only cipher suites: TLS_AES_256_GCM_SHA384 (0x1302) TLS_CHACHA20_POLY1305_SHA256