<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
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]-->
</head>
<body lang="PT-BR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222;background:white">Hi.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">I'm trying to set Opensips to work on SCTP Symetric Multi Home.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">To do this, I've set two endpoints:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">listen=sctp:</span><span style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><a href="http://10.0.0.1:5070/" target="_blank"><span lang="EN-US" style="color:#1155CC">10.0.0.1:5070</span></a></span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">listen=sctp:</span><span style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><a href="http://10.0.0.2:5070/" target="_blank"><span lang="EN-US" style="color:#1155CC">10.0.0.2:5070</span></a></span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">and set mhomed<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">mhomed=1<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">Using SIPp to make some tests, I could see the association being successfully stablished, and as I turn down one of the client's
 network adapter it manages to successfully use other path with the another adapter. Problem is when I turn off one of the opensips adapter (10.0.0.1, for instance).<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">When I run the tcpdump I can notice that the heartbeat doesn't aknowledge the 10.0.0.2 to the association. But when searching
 on the internet I find a post on the list asking about multi home, whether it is supported or not, and the answer is that it does support, althought there is some lack of guidance to figure out how to set it up.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">Looking through the source code, it seems that for each listen setting, it creates a separate socket association... what I
 need is to set a single socket and add both addresses to the same association (setting a multi home association).<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">The question is:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">Does opensips really support this feature?<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">In case it does, what am I doing wrong to set it up?<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222">Best regards.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-family:&quot;Arial&quot;,sans-serif;color:#222222">Atenciosamente,<br>
<br>
Daniel Moreira Yokoyama.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-family:&quot;Arial&quot;,sans-serif;color:#222222">PS: Moderator, I apologize for the duplicated message. But the first one was sent by another address than this one and I assume it was blocked.
 Thank you.</span><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>