<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>