Thank you Uriel and Alex for the helpful tips, I changed it like how it was suggested by you, and works like a charm!<br><br>Thanks,<br><br>Dmitri<br><br><div class="gmail_quote">2009/8/14 Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Or &quot;100rel,&quot; if there are other values.<br>
<br>
Uriel Rozenbaum 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">
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><div class="im">
On Fri, Aug 14, 2009 at 2:50 PM, 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; wrote:<br>

<br>
    I suppose it could, but it would not be SIP-compliant to have a<br>
    blank value for the Supported: header if 100rel is the only thing in<br>
    there.<br>
<br>
    Dmitri G. wrote:<br>
<br>
        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>
        2009/8/14 Alex Balashov &lt;<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a><br>
        &lt;mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>&gt;<br></div>
        &lt;mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a><div class="im"><br>
        &lt;mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>&gt;&gt;&gt;<br>
<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>
               <a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
        &lt;mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>&gt;<br></div>
        &lt;mailto:<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;&gt;<div><div>
</div><div class="h5"><br>
<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> &lt;mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>&gt;<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>
    Kamailio (OpenSER) - Users mailing list<br>
    <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;<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>
</div></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>
</div></div></blockquote></div><br>