<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,<br>
</p>
<br>
<div class="moz-cite-prefix">On 08.03.18 13:47, José Lopes wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAK5rbQveKtn=Yxbhh6AH3-zzFsRkOpXfUyCL3oCsxT76TG1m3g@mail.gmail.com">
<div dir="ltr">
<div>
<div>
<div>Hello,<br>
<br>
</div>
I am using Kamailio working as edge proxy with topos module
active.<br>
</div>
Kamailio is proxing requests from Freeswitch's to the SBC
Metaswitch.<br>
<br>
</div>
<div>The Freeswitch sends SIP REGISTER requests and it is ok
(Contact: <<a href="http://sip:1003@172.29.210.164:5070"
moz-do-not-send="true">sip:1003@172.29.210.164:5070</a>>).<br>
</div>
<div>When Freeswitch sends SIP INVITE quest, it receives a reply
with Forbiden (Contact: <<a
href="http://sip:btpsh-5aa0219a-2a32-2@172.29.210.164:5070"
moz-do-not-send="true">sip:btpsh-5aa0219a-2a32-2@172.29.210.164:5070</a>>).<br>
</div>
<div>You can check the sip trace at <a
href="https://pastebin.com/raw/JZUNgYx5"
moz-do-not-send="true">https://pastebin.com/raw/JZUNgYx5</a><br>
</div>
<div><br>
</div>
<div>I analysed this issue on SBC Metaswitch and it requires
that the INVITE and REGISTER have the same Contact Header.<br>
<br>
</div>
<div>I know that this is not required from SIP RFC, but that it
is SBC default security policy.<br>
</div>
<div><br>
There is any way to configure Kamailio using topos to have the
same Contact Header on INVITE and REGISTER?<br>
</div>
</div>
</blockquote>
topos works at dialog level, doesn't correlate a REGISTER with a
call or something else. So the answer is no.<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<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 - April 16-18, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>