's reason for being is to
function as a SIP proxy, and proper insertion of the Via: header is usually
critical to that function it wouldn't seem so.
Kaufman
From: sr-users On Behalf Of Federico
Cabiddu
Sent: Thursday, August 11, 2022 6:31 AM
To: Kamailio (SER) - Users Mailing List
Hi Bernd,
as I said I am using it to remove Via headers inserted by previous hops
since years with no issue.
Cheers,
Federico
On Thu, Aug 11, 2022 at 1:10 PM Bernd Krueger-Knauber wrote:
> Hi,
>
> if I remove only 1 of 2 it is not against the standard, because one Via
> header line is still in
– https://skalatan.de/blog/
Kamailio services – https://gilawa.com
-Original Message-
From: Bernd Krueger-Knauber
Sent: Thursday, August 11, 2022 1:03 PM
To: Henning Westerholt ; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] remove_hf() does not remove the complete line
Hi
Hi,
if I remove only 1 of 2 it is not against the standard, because one Via
header line is still inside.
But if I modify the documentation I would write:
"Attention: it is not working with a Via header field"
Then everyone thinks: ok, that is the only point where it will not work.
But how ca
Hi Bernd,
I am using remove_hf{"Via") without any issue to remove Via headers added
from previous hops.
As explained by Henning you cannot remove the Via that kamailio has to
insert as a proxy, also because, by rfc, the Via is used to relay back the
replies. If Kamailio would not insert its own Via
rsday, August 11, 2022 12:20 PM
To: Henning Westerholt ; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] remove_hf() does not remove the complete line
Hello Henning,
thanks for your response.
We had a problem were a BYE was not sended by the pbx. So I wanted to test if
it ma
Hello Henning,
thanks for your response.
We had a problem were a BYE was not sended by the pbx. So I wanted to
test if it makes a difference if only the Record-Route entry
is in the header of the INVITE.
But in general, I will call this a bug in kamailio.
There is nothing written about corne
,
Henning
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com
-Original Message-
From: sr-users On Behalf Of Bernd
Krueger-Knauber
Sent: Tuesday, August 9, 2022 2:39 PM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] remove_hf() does not remove the
Hi,
I tried to remove a Via header line with:
remove_hf("Via");
Original I have this 2 lines:
Via: SIP/2.0/TCP
xxx.xxx.xxx.xxx;branch=z9hG4bK370b.21720bb33c4f8264fde4e7994d288a57.0;i
Via: SIP/2.0/TCP
yyy.yyy.yyy.yyy:53967;received=yyy.yyy.yyy.yyy;rport=53967;branch=z9hG4bKPjxb0bdb2c962407681