<html><head><style data-externalstyle="true">
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}

p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
</style></head><body><div data-externalstyle="false" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:16px;"><div>Hi,</div><div> </div><div>We are setting up a Kamailio Proxy with the Topoh module in place masking everything including CALL-ID. It seems to be masking everything just fine except for CALL-ID in BYE requests (verified with PCAPs) when received from downstream. Upstream works fine.</div><div> </div><div>Looking at the source code for the module 4.1.2 we see the unmasking being done like this:</div><div> </div><div><pre><div id="LC305">            if(dialog)</div><div id="LC306">          {</div><div id="LC307">                   /* dialog request */</div><div id="LC308">                        th_unmask_ruri(&msg);</div><div id="LC309">                   th_unmask_route(&msg);</div><div id="LC310">                  th_unmask_refer_to(&msg);</div><div id="LC311">                       if(direction==1)</div><div id="LC312">                    {</div><div id="LC313">                           th_unmask_callid(&msg);</div><div id="LC314">                 }</div><div id="LC315">           }</div></pre></div><div> </div><div data-focusfrompointer="true">It only seems to be unmasking for one direction. From my understanding BYE can be initated from both directions?</div><div> </div><div>Might be something I don’t understand here how the source code works but I wanted to ask for any pointers of help here.. been troubleshooting this for a good while now.</div><div> </div><div>Kind regards,</div><div> </div><div data-focusfrompointer="true">Samuel</div></div></body></html>