[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-08 Thread Alberto Diez via sr-users
eat if you could open an issue in our tracker. Cheers, Henning -Original Message- From: Alberto Diez via sr-users Sent: Freitag, 8. März 2024 10:28 To: sr-users@lists.kamailio.org Cc: Alberto Diez Subject: [SR-Users] Re: from TCP to UDP and Kamailio doing it wrong thanks Alex. Sadly in m

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-08 Thread Daniel-Constantin Mierla via sr-users
oblem towards a small test >> cfg and a test message, it would be great if you could open an issue >> in our tracker. >> >> Cheers, >> >> Henning >> >>> -Original Message- >>> From: Alberto Diez via sr-users >>> Sent: Freitag, 8

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-08 Thread Alberto Diez via sr-users
bject: [SR-Users] Re: from TCP to UDP and Kamailio doing it wrong thanks Alex. Sadly in my case the Request-URI does not contain a transport parameter. So the call to prepare_new_uac() function is deciding based on another parameter (don't know which, was trying to avoid investigating that b

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-08 Thread Henning Westerholt via sr-users
open an issue in our tracker. Cheers, Henning > -Original Message- > From: Alberto Diez via sr-users > Sent: Freitag, 8. März 2024 10:28 > To: sr-users@lists.kamailio.org > Cc: Alberto Diez > Subject: [SR-Users] Re: from TCP to UDP and Kamailio doing it wrong >

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-08 Thread Alberto Diez via sr-users
thanks Alex. Sadly in my case the Request-URI does not contain a transport parameter. So the call to prepare_new_uac() function is deciding based on another parameter (don't know which, was trying to avoid investigating that because the function is a pain and not commented). I think its quite

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-07 Thread Alex Balashov via sr-users
if(proto == TCP) $ru = $(ru{s.replace,transport=TCP,}{s.replace,transport=tcp,}); ... t_relay(); -- Alex > On 7 Mar 2024, at 10:46, Alberto Diez via sr-users > wrote: > > Hi kamailio community, > > I have an issue with a Kamailio 5.7. It's listening both in TCP and UDP. In > my sc

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-07 Thread Alex Balashov via sr-users
If you just strip the incoming ;transport=tcp attribute, I think all should be well when t_relay() consumes the modified RURI. > On 7 Mar 2024, at 12:48, Alberto Diez via sr-users > wrote: > > Hi Sergiu, > yes I am pretty sure something is going wrong. > I do have kamailio listening udp socket

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-07 Thread Alberto Diez via sr-users
Hi Sergiu, yes I am pretty sure something is going wrong. I do have kamailio listening udp sockets and also the dispatcher is on UDP doing SIP OPTIONS over UDP all the time without any problem. I have not tried forcing the socket I tried to find out why kamailio is trying to use TCP with the

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-07 Thread Sergiu Pojoga via sr-users
You must be doing something essentially wrong if it came down to checking C functions for something as trivial as transport conversion.. Are you sure you have a UDP listening socket? kamcmd corex.list_sockets Result of: kamcmd dispatcher.list Have you tried forcing the send socket? https://www.k