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 ?