<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Thanks, i will try raising max_branches to allow the use of more gateways.</p>
<br>
<p>Yeah i know it seems to be unusual to "try" so many gateways, but the setup works with a lot of smaller instances which are immediately rejecting calls when full to allow a failover to the next instances. Load balancing would be a better solution, but is
not feasible in my scenario.</p>
<p><br>
</p>
<p>Also it seems that tm module additionally has a limit of 30 branches. Anyway it should be enough even for me. :)</p>
<p><br>
</p>
<p><br>
</p>
<p class="x_MsoNormal">BR<span style="font-size:9.0pt; color:#1F497D" lang="EN-US"></span><span style="color:#1F497D" lang="EN-US"></span></p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri,Arial,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;">
<p></p>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Bogdan-Andrei Iancu <bogdan@opensips.org><br>
<b>Gesendet:</b> Montag, 3. Juli 2017 12:18:42<br>
<b>An:</b> OpenSIPS users mailling list; Max Mühlbronner<br>
<b>Betreff:</b> Re: [OpenSIPS-Users] drouting (opensips 1.11.x) - maximum number of gateways?</font>
<div> </div>
</div>
<div><tt>Hi Max,<br>
<br>
Yes, a transaction cannot have more than 12 branches used. But this does not limit how many GWs you can put in Dynamic Routing - you can put as many as you want on DR, but of course only 12 will be tried. But this depends a lot on the GW selection algorithm
(with wights, with carriers, etc). To actually end up trying 12 gw for a call is a very rare case, I would say :)<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2017, Houston, US
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html">http://opensips.org/training/OpenSIPS_Bootcamp_2017.html</a>
</pre>
<div class="moz-cite-prefix">On 07/03/2017 12:19 PM, Max Mühlbronner wrote:<br>
</div>
<blockquote cite="mid:DB5PR01MB1478B4BEEDB0A660E6678C7D99D60@DB5PR01MB1478.eurprd01.prod.exchangelabs.com" type="cite">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>I think i got it, default limit is 12 branches in config.h. Which corresponds to my limit of 12 gateways, I will try and report back. :)<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>#define MAX_BRANCHES 12 /*!< maximum number of branches per transaction */<br>
</div>
<br>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:
12pt; color: rgb(0, 0, 0); font-family:
Calibri,Arial,Helvetica,sans-serif,"EmojiFont","Apple
Color Emoji","Segoe UI
Emoji",NotoColorEmoji,"Segoe UI
Symbol","Android Emoji",EmojiSymbols;">
<p><span lang="fr"><font color="black" face="Calibri,Arial,Helvetica,sans-serif" size="3"><span dir="ltr" id="divtagdefaultwrapper" style="font-size:12pt"></span></font></span></p>
<font color="black" face="Calibri,Arial,Helvetica,sans-serif" size="3"><font face="Calibri,Arial,Helvetica,sans-serif">
<div style="margin:0"><font color="#222222" face="Arial" size="1"><span style="font-size:11px;
font-weight:normal"><span style="background-color:white"></span></span></font></div>
</font></font>
<p class="x_MsoNormal" style="margin-bottom:13.5pt"><span style="color:#1F497D">Max Mühlbronner<br>
------<br>
42com Telecommunication GmbH<b><br>
</b>Straße der Pariser Kommune 12-16<br>
10243 Berlin<br>
<br>
Fon: +49-(0)30-2434299-28<br>
Fax: +49-(0)30-2434299-99<br>
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:mm@42com.com">mm@42com.com</a><br>
Web: </span><u><span style="color:blue"><a moz-do-not-send="true" href="http://www.42com.com/" target="_blank" id="LPNoLP"><span style="color:blue"></a><a class="moz-txt-link-abbreviated" href="http://www.42com.com">www.42com.com</a></span></span></u></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt;
color:#1F497D"><br>
</span><span style="font-size:9.0pt; color:#1F497D">Firmenangaben/Company information:<br>
Handelsregister/Commercial register: Amtsgericht Berlin HRB 99071 B<br>
Umsatzsteuer-ID/VAT-ID: DE223812306<br>
Geschäftsführer/CEO: Thomas Reinig, Alexander Reinig<br>
<br>
Diese E-Mail enthält Informationen von 42com Telecommunication GmbH. Diese sind möglicherweise vertraulich und ausschließlich für den Adressaten bestimmt. Sollten Sie diese elektronische Nachricht irrtümlicherweise erhalten haben, so informieren Sie uns bitte
unverzüglich telefonisch oder per E-Mail.<br>
<br>
</span><span style="font-size:9.0pt; color:#1F497D" lang="EN-US">This message is intended only for the use of the individual or entity to which it is addressed. If you have received this message by mistake, please notify us immediately.</span><span style="color:#1F497D" lang="EN-US"></span></p>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Von:</b> Users
<a class="moz-txt-link-rfc2396E" href="mailto:users-bounces@lists.opensips.org"><users-bounces@lists.opensips.org></a> im Auftrag von Max Mühlbronner
<a class="moz-txt-link-rfc2396E" href="mailto:max.muehlbronner@42com.com"><max.muehlbronner@42com.com></a><br>
<b>Gesendet:</b> Montag, 3. Juli 2017 10:38:25<br>
<b>An:</b> OpenSIPS users mailling list<br>
<b>Betreff:</b> [OpenSIPS-Users] drouting (opensips 1.11.x) - maximum number of gateways?</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt;
color: rgb(0, 0, 0); font-family:
Calibri,Helvetica,sans-serif,"EmojiFont","Apple
Color Emoji","Segoe UI
Emoji",NotoColorEmoji,"Segoe UI
Symbol","Android Emoji",EmojiSymbols;">
<span id="ms-rterangepaste-start"></span><span id="divtagdefaultwrapper" style="font-size:12pt">
<div style="margin-top:0; margin-bottom:0">Hi,</div>
<div style="margin-top:0; margin-bottom:0"><br>
</div>
<div style="margin-top:0; margin-bottom:0">I've never noticed this until i came across it recently. I got a weird issue with drouting, it turned out that even though the gatewaylist ("carrier") contains a total of 20 gateways, only 12 are being used. (all gateways
got the same weight)</div>
<div style="margin-top:0; margin-bottom:0"><br>
</div>
<div style="margin-top:0; margin-bottom:0">E.g. if all gws are rejecting the calls, it will cycle through the gatewaylist but it never tries all of the gateways, only 12.<br>
</div>
<div style="margin-top:0; margin-bottom:0"><br>
</div>
<div style="margin-top:0; margin-bottom:0">Is there an internal limitation for the number of gateways? I know there is a limitation due to the database scheme, and there is also DR_MAX_GWLIST in the drouting.c module.<br>
</div>
<div style="margin-top:0; margin-bottom:0"><br>
</div>
<div style="margin-top:0; margin-bottom:0">Any idea why i am only able to "failover" 12 gateways in a carrier/gatewaylist? </div>
<div style="margin-top:0; margin-bottom:0"><br>
</div>
<div style="margin-top:0; margin-bottom:0"><br>
</div>
<div style="margin-top:0; margin-bottom:0">BR</div>
<div style="margin-top:0; margin-bottom:0"><br>
</div>
<div style="margin-top:0; margin-bottom:0">Max Muehlbronner</div>
</span><span id="ms-rterangepaste-end"></span><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</body>
</html>