[SR-Users] Topos / Remove HF_re
Daniel-Constantin Mierla
miconda at gmail.com
Thu Jun 27 14:53:42 CEST 2019
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> 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
> 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/0b32fb6c/attachment.html>
More information about the sr-users
mailing list