Or "100rel," if there are other values.
Uriel Rozenbaum wrote:
Dmitri,
I had to do this to workaround some Huawei bug.
You have to check for supported and then replace ยด100rel;' and then '100rel' just in the case Alex mentioned.
You can forward a message with an empty 'Supported:' but you cannot send one with a ';' at last.
Check if tha works. Uriel
On Fri, Aug 14, 2009 at 2:50 PM, Alex Balashov <abalashov@evaristesys.com mailto:abalashov@evaristesys.com> wrote:
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> <mailto: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> <mailto: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 <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 <mailto:Users@lists.kamailio.org> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users