<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: Calibri; } @font-face { font-family: Tahoma; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; } a:link, span.MsoHyperlink { color: blue; text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; } span.EmailStyle20 { font-family: Calibri, sans-serif; color: rgb(31, 73, 125); } .MsoChpDefault { font-size: 10pt; } @page WordSection1 { margin: 72pt; }--></style>
</head>
<body dir="ltr">
<div id="OWAFontStyleDivID" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>​Thanks Hugh, <br>
</p>
<p><br>
</p>
<p>Wondering why 12 and not 11 ? ;-) Anyway, seems like we're hitting this limit. This is just a consequence from crashing application trying to re-register again and again. <br>
</p>
<p><br>
</p>
<div style="color: rgb(40, 40, 40);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users-bounces@lists.sip-router.org <sr-users-bounces@lists.sip-router.org> on behalf of Waite, Hugh <hugh.waite@acision.com><br>
<b>Sent:</b> Tuesday, June 17, 2014 6:46 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] s-cscf - limit of entries for 1 contact</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hi Dan,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">There is a hard coded limit on the number of branches that a SIP transaction can have in Kamailio, i.e. number of forked destinations</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">It is currently set to 12 (defined in config.h).</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Some people with other use cases have recompiled with a higher limit, but this may cause further problems for you (extra requests to generate & send and responses
 to process when the dead connections timeout)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">You’ve already asked on this list about the ‘allow single registration’ feature in ims_registrar and the tcp connection lost detection, which are the usual
 solutions to this.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Another solution may be to try integrating the outbound functionality into the IMS example configs which can detect when flows fail, and use that to delete
 the dead location entries.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hugh</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org]
<b>On Behalf Of </b>Ciprus, Daniel<br>
<b>Sent:</b> 17 June 2014 22:02<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> [SR-Users] s-cscf - limit of entries for 1 contact</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div id="OWAFontStyleDivID">
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">All, </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">is any of you aware about limitation how many reg entries can be stored in s-cscf for 1 contact ? From what I'm observing here : s-cscf can have up to 12 reg entries for
 1 contact and then other entries are silently discarded. </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">Use case: </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">- crash of app happens 12 times </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">- app retries to register</span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">- s-cscf sends back 200 OK with 13 contacts </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">- another app registers and tries to send SIP MESSAGE to 1st app  </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">Result: message never gets delivered and tcpdump shows 12 messages sent out to p-cscf but not 13th one which is actually live session between client and proxy. </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">thanks</span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">Dan</span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal" style=""><span style="font-size:7.5pt; font-family:"Arial","sans-serif"; color:gray">This e-mail and any attachment
<span class="grame">is</span> for <span class="spelle">authorised</span> use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained
 or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.</span></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed
 to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.<br>
</font><br clear="all">
</div>
</div>
</div>
<hr>
<p class="MsoNormal"><span style="font-size:7.5pt;line-height:115%;font-family:
"Arial","sans-serif";mso-fareast-font-family:"Times New Roman";color:gray">This e-mail and any attachment
<span class="GramE">is</span> for <span class="SpellE">authorised</span> use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained
 or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.</span></p>
</body>
</html>