<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<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>
<p></p>
<div>#define MAX_BRANCHES 12 /*!< maximum number of branches per transaction */<br>
</div>
<br>
<p></p>
<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 size="3" color="black" face="Calibri,Arial,Helvetica,sans-serif"><span dir="ltr" id="divtagdefaultwrapper" style="font-size:12pt"><font face="Calibri,Arial,Helvetica,sans-serif"></font></span></font></span></p>
<font size="3" color="black" face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif">
<div style="margin:0"><font size="1" color="#222222" face="Arial"><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: mm@42com.com<br>
Web: </span><u><span style="color:blue"><a href="http://www.42com.com/" target="_blank" id="LPNoLP"><span style="color:blue">www.42com.com</span></a></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>
<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> Users <users-bounces@lists.opensips.org> im Auftrag von Max Mühlbronner <max.muehlbronner@42com.com><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>
</body>
</html>