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 corner cases in the documentation. If I use remove_hf() I assume that it works. If I can not trust what it is written in the documentation, I have to check each SIP packet for inconsistencies if I use an additional command in the cfg file.
2 possibilities: 1. Add this behaviour in the documentation (bad, but ok) 2. The command should work as described.
Best regards,
Bernd
Am 09.08.2022 um 21:59 schrieb Henning Westerholt:
Hello,
the Via header is a bit of a special one, as its obviously also added from the Kamailio server during relay or other operations. This might interfere with the textops remove_hf operation.
What is your goal that you want to achieve? There might be another way to doing it.
Cheers,
Henning