<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Hello,</p>
    <p>adding that one thing to watch is if the dialog record is still
      available or it was removed when the 200ok is handled, especially
      if it doesn't happen all the time, maybe it is a delayed
      response...</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 06.03.20 10:23, Henning Westerholt
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:VI1PR05MB4590F42A17EB630532E553EEC5E30@VI1PR05MB4590.eurprd05.prod.outlook.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;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.E-MailFormatvorlage19
        {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:70.85pt 70.85pt 70.85pt 70.85pt;}
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="mso-fareast-language:EN-US">Hi
            Grant,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">Are you saying the Kamailio is failing to alter
            the URI or does the User Agent does something wrong?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">Check the Kamailio log files if maybe the
            dialog module tracking does not work correctly here. Last
            year I did some work in this area, in my experience it
            should work ok also with the dialog module support.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">If you can easily reproduce it, you can also do
            a test call in debugging mode, you will get more information
            about the uac logic in the log files.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">Last thing – consider upgrading to a 5.2 or 5.3
            based release, as 5.1 branch is end of life.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">Cheers,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">Henning<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
              lang="EN-GB">-- <o:p>
              </o:p></span></p>
          <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
              lang="EN-GB">Henning Westerholt –
            </span><span style="mso-fareast-language:EN-US"><a
                href="https://skalatan.de/blog/" moz-do-not-send="true"><span
                  lang="EN-GB">https://skalatan.de/blog/</span></a></span><span
              style="mso-fareast-language:EN-US" lang="EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
              lang="EN-GB">Kamailio services –
            </span><span style="mso-fareast-language:EN-US"><a
                href="https://gilawa.com/" moz-do-not-send="true"><span
                  lang="EN-GB">https://gilawa.com</span></a></span><span
              style="mso-fareast-language:EN-US">
              <span lang="EN-GB"><o:p></o:p></span></span></p>
        </div>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b>
              sr-users <a class="moz-txt-link-rfc2396E" href="mailto:sr-users-bounces@lists.kamailio.org"><sr-users-bounces@lists.kamailio.org></a>
              <b>On Behalf Of </b>Grant Bagdasarian<br>
              <b>Sent:</b> Thursday, March 5, 2020 3:13 PM<br>
              <b>To:</b> Kamailio (SER) - Users Mailing List
              <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a><br>
              <b>Subject:</b> [SR-Users] uac_replace_from in 200 OK of
              BYE<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US">Hello,<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US">We’ve been using the uac_replace_from function
            to anonymize the From header to
            <a href="mailto:anonymous@anonymous.invalid"
              moz-do-not-send="true">anonymous@anonymous.invalid</a>.
            The uac module makes use of the dialog module for restoring
            the original URI.<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US">Everything works fine, except when the callee
            sends the BYE request (replaced uri is present in To
            header): the 200 OK received by the callee of the BYE
            suddenly contains the original URI in the To header.<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US">We’re running Kamailio 5.1.
            <o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US">Is this a known bug or limitation of the uac
            module?
            <o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US">Any way to have this replaced correctly
            (preferably automatically by uac module)?<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US">Regards,<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:35.4pt"><span
            lang="EN-US">Grant<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 9-11, 2020, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>