I have not tested it but I think you could use
{re.subst,expression}
<https://www.kamailio.org/wiki/cookbooks/5.2.x/transformations#resubst_expression>
to create a variable with the value of the header with the desired field
removed and then use append_hf to insert the variable as the modified
header.On Tue, Jun 20, 2023 at 11:58 PM <[email protected]> wrote: > Hello mates, > > > > Sorry for sending my message several times. I need your help > > I want to remove a field from the headers PAI, Diversion and History info. > > > > I can remove the whole header by loading the *sipmsgops* and the function > Remove_hd > > But i did not find a way how to remove a specefic field in the header PAI > for example. > > > > Could you please help ? > > > > Thank you > > > > Best regards > > > > Amel > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
