Dmitri,<br><br>I had to do this to workaround some Huawei bug.<br><br>You have to check for supported and then replace ´100rel;&#39; and then &#39;100rel&#39; just in the case Alex mentioned.<br><br>You can forward a message with an empty &#39;Supported:&#39; but you cannot send one with a &#39;;&#39; at last.<br>
<br>Check if tha works.<br>Uriel<br><br><div class="gmail_quote">On Fri, Aug 14, 2009 at 2:50 PM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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.<br>

<br>
Dmitri G. wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Thank you for your reply Alex!<br>
<br>
This cannot be done like this?<br>
<br>
        if(is_present_hf(&quot;Supported&quot;))<br>
        {<br>
                replace_all(&quot;100rel&quot;, &quot;&quot;);<br>
<br>
        }<br>
<br>
I mean instead of using the subst() function what you mentioned.<br>
<br>
<br>
Dmitri<br>
<br></div>
2009/8/14 Alex Balashov &lt;<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a> &lt;mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>&gt;&gt;<div class="im">
<br>
<br>
    This can certainly be done using the subst() function in textops,<br>
    but it is not proper for a proxy to make such manipulations.<br>
<br>
    Dmitri G. wrote:<br>
<br>
        Hello,<br>
<br>
        Is there a way to remove 100rel from Supported header (only<br>
        this, and keep the others) by Kamailio?<br>
        I am using Kamailio 1.5.1 notls.<br>
<br>
        Kind regards,<br>
        Dmitri<br>
<br>
<br>
        ------------------------------------------------------------------------<br>
<br>
        _______________________________________________<br>
        Kamailio (OpenSER) - Users mailing list<br></div>
        <a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a> &lt;mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>&gt;<div class="im"><br>
        <a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
        <a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
    --     Alex Balashov<br>
    Evariste Systems<br>
    Web     : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
    Tel     : (+1) (678) 954-0670<br>
    Direct  : (+1) (678) 954-0671<br>
<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
</div></blockquote><div><div></div><div class="h5">
<br>
<br>
-- <br>
Alex Balashov<br>
Evariste Systems<br>
Web     : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel     : (+1) (678) 954-0670<br>
Direct  : (+1) (678) 954-0671<br>
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>