Hello,
for header body changes, one option is:
* https://www.kamailio.org/docs/modules/stable/modules/textops.html#textops.f.subst_hf
But you have to be careful with URI parts, because they may not have enclosing <> and if you add a URI parameter, then you have to surround with <>, otherwise are considered header parameters.
Probably, for the case of Contact, I would go with building a new header using the {tobody} transformation, removing the old one.
Cheers,
Daniel
Hi there,
Does Kamailio have a function to add URI parameters? I looked around but couldn't find one. I refuse to believe Kamailio doesn't have one.
There's a add_uri_param(param), but that's strictly for R-URI. I need it for something else, Contact.
Thanks,--Sergiu
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Funding: https://www.paypal.me/dcmierla