<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Ravi,<br>
      <br>
      why do you say the remove_hf() doesn't work ? do you still see the
      incoming Route hdr in the outbound message ??<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
    <div class="moz-cite-prefix">On 09/10/2018 08:14 AM, Ravi wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:007801d448c5$1f57c530$5e074f90$@panterranetworks.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#203864">Hello,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#203864"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#203864">I am using
            opensips</span> (2.3)<span style="color:#203864"> as Proxy
            service and my requirement is to  remove “Route” header in
            initial (out dialog) INVITE request before forwarding to
            next Hop. This is because I don’t want to follow the route
            set from End Point as I have my internal route.</span> <span
            style="color:#203864"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#203864"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#203864">I tried option
            “remove_hf("Route")”  from configuration but  still Route
            header is not being removed when forwarding to next Hop. <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#203864"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#203864">I cannot use
            “loose_route” which only remove Route header when matched
             self  but my requirement is to remove all Route header (if
            present multiple). Please suggest on  how can I do that.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#203864"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#203864">Regards,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#203864">V Ravi Kumar<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>