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.remove_hf_exp 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 < [email protected]> 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 > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
