<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr">
<div></div>
<div>
<div>
<div dir="ltr"></div>
</div>
<div>Hello<span style="font-family: Calibri, sans-serif; font-size: 11pt;">,</span><br>
</div>
</div>
<div id="id-f5c5e920-6fff-4f44-9b88-d42665619160" class="ms-outlook-mobile-reference-message">
<div class="WordSection1">
<p class="MsoNormal"> </p>
<p class="MsoNormal">We’ve been using the uac_replace_from function to anonymize the From header to
<a href="mailto:anonymous@anonymous.invalid">anonymous@anonymous.invalid</a>. The uac module makes use of the dialog module for restoring the original URI.</p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We’re running Kamailio 5.1. </p>
<p class="MsoNormal">Is this a known bug or limitation of the uac module? </p>
<p class="MsoNormal">Any way to have this replaced correctly (preferably automatically by uac module)?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Grant</p>
</div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:70.85pt 70.85pt 70.85pt 70.85pt}
div.WordSection1
        {}
-->
</style></div>
</body>
</html>