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 <bkk@ednt.de> wrote:
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 can I, as not a kamailio programmer, can know if this is really
the only case?

So I would also write something which is not 100% correct.
This has to be done by a guy who knows this, and not by me as a kamailio
learner.

Best regards,

Bernd


Am 11.08.2022 um 12:56 schrieb Henning Westerholt:
> Hi Bernd,
>
> The Via header is mandatory according to RFC 3261, section 20, in Requests:
>
>     Header field              where       proxy ACK BYE CAN INV OPT REG
>     ___________________________________________________________________
> [..]
>     Via                         R          amr   m   m   m   m   m   m
>
> You are asking Kamailio to do something that is against the standard. So, some people might expect that it's not working in this case, and I personally would not call it a Bug.
>
> Documentation would be never fully complete for a complex software like Kamailio, sure.
> You could open a feature request or (even better) a pull request to improve the documentation for the textops module in the Kamailio github.
>
> Cheers,
>
> Henning
>


--
EDNT GmbH
Werner-von-Siemens-Strasse 7
64625 Bensheim
www.ednt.de

Registergericht: Darmstadt
Registernummer: 24972

Geschäftsführerin: Kerstin Knapp



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users