<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
the call-id is set by caller (upstream), thus is not masked when it
is sent by that endpoint. When it is coming from callee
(downstream), it is masked, so it has to be unmasked before sending
to upstream.<br>
<br>
Am I appreciating something wrong here?<br>
<br>
direction=1 is set when the callee sends a request. Can you send the
logs with debug=3 for such a BYE?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 20/03/14 15:02, Samuel F. wrote:<br>
</div>
<blockquote cite="mid:BLU404-EAS63DF06DE5CCA875CB25E48C37E0@phx.gbl"
type="cite">
<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>
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
<a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>