<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>what is the value for reg_timer_interval parameter?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 15.08.17 12:54, Ivo Vastert wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPo3bdhUiUEY-Mr=T5w7AebOo+CDvXniiCoajTvmDSG7pCmKig@mail.gmail.com">
<div dir="ltr"><span style="font-size:12.800000190734863px">Hi,</span>
<div style="font-size:12.800000190734863px"><br>
</div>
<div style="font-size:12.800000190734863px">I'm using the UAC
module in Kamailio to setup about 500 outbound registration
towards a single host.</div>
<div style="font-size:12.800000190734863px">The issue I'm
currently experiencing is that when we start Kamailio all this
500 registrations are initiated at once towards the host which
can't handle all the requests at the same time.</div>
<div style="font-size:12.800000190734863px"><br>
</div>
<div style="font-size:12.800000190734863px">Therefor I tried to
spread the registrations using the reg_random_delay function:</div>
<div style="font-size:12.800000190734863px">modparam("uac",
"reg_random_delay", 60)<br>
</div>
<div style="font-size:12.800000190734863px"><br>
</div>
<div style="font-size:12.800000190734863px">I would expect that
this would spread the registrations over about a minute but in
reality the registrations are spread as follow:</div>
<div style="font-size:12.800000190734863px"><br>
</div>
<div><span style="font-size:12.800000190734863px">Startt</span><span
style="font-size:small">ime / Registrations</span><br>
</div>
<div>
<div>21:59:14<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>151</div>
<div>21:59:15<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>166</div>
<div>21:59:16<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>127</div>
<div>21:59:18<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>60</div>
<div>21:59:22<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>35</div>
</div>
<div><br>
</div>
<div>So Kamailio is started at 21:59:14 and initiates 151
registrations,</div>
<div>1 second after start another 166</div>
<div>2 seconds after start another 127</div>
<div>4 seconds after start another 60</div>
<div>8 seconds after start the last 35</div>
<div><br>
</div>
<div>In reality it looks like some increment is applied instead
of calculating a random starting offset for each outbound
registration?</div>
<div>Is there any solutions to this issue available?<br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>Ivo Vastert</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<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 - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>