Hello,
When using TOPOS module, Kamailio add this header : P-SR-XBranch before executing the topos module. Doing this "remove_hf_re("P-")" in the scripting seems to bypass the addition of the P-SR-XBranch in the sip message.
In my mind, remove header function just remove the headers based on the incoming message.
What do you think ?
Hello, if you need to remove header by prefix P- but keep the ones used for topos, then use:
- https://www.kamailio.org/docs/modules/devel/modules/textops.html#textops.f.r...
I guess the best would be to make those internal header names configurable.
Cheers, Daniel
On Thu, Jun 27, 2019 at 10:56 AM Nicolas Breuer < Nicolas.Breuer@belcenter.biz> wrote:
Hello,
When using TOPOS module, Kamailio add this header : P-SR-XBranch before executing the topos module.
Doing this “remove_hf_re("P-")” in the scripting seems to bypass the addition of the P-SR-XBranch in the sip message.
In my mind, remove header function just remove the headers based on the incoming message.
What do you think ?
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users