[SR-Users] Topos / Remove HF_re

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Thu Jun 27 16:37:18 CEST 2019


Would be great with a mod-param or move the addition of this internal after after the remove_hf’s 😊


De : sr-users <sr-users-bounces at lists.kamailio.org> De la part de Daniel-Constantin Mierla
Envoyé : jeudi 27 juin 2019 14:54
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Objet : Re: [SR-Users] Topos / Remove HF_re

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 <Nicolas.Breuer at belcenter.biz<mailto:Nicolas.Breuer at 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 at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190627/3b91bdc2/attachment.html>


More information about the sr-users mailing list