I suppose it could, but it would not be SIP-compliant to have a blank value for the Supported: header if 100rel is the only thing in there.
Dmitri G. wrote:
Thank you for your reply Alex!
This cannot be done like this?
if(is_present_hf("Supported")) { replace_all("100rel", ""); }
I mean instead of using the subst() function what you mentioned.
Dmitri
2009/8/14 Alex Balashov <abalashov@evaristesys.com mailto:abalashov@evaristesys.com>
This can certainly be done using the subst() function in textops, but it is not proper for a proxy to make such manipulations. Dmitri G. wrote: Hello, Is there a way to remove 100rel from Supported header (only this, and keep the others) by Kamailio? I am using Kamailio 1.5.1 notls. Kind regards, Dmitri ------------------------------------------------------------------------ _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org <mailto:Users@lists.kamailio.org> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users