<div><br></div><div>I&#39;m using dispatcher module for load balancnig purposes I read active/inactive nodes from the database</div><div><br></div><div>So  I define on my kamailio.cfg: </div><div>modparam(&quot;dispatcher&quot;, &quot;db_url&quot;,        &quot;mysql://openser:openserrw@&lt;DB_IP&gt;/openser&quot;)</div>

<div><br></div><div>Then, on my route(DISPATCH) I call:</div><div><br></div><div><b>  ds_select_dst(&quot;1&quot;, &quot;4&quot;);</b></div><div><div><b>  t_relay();</b></div><div><b><br></b></div><div><br></div><div>My question is: Which <b>set of addresses is using </b><b>ds_select_dst  </b>to choose destination. Will it do a query on the db each time updating active and inactive nodes on each ds_select_dst call? If not,  when is the list of addresses to choose updated?   (on kamaiilio restart, periodically...)</div>

<div>I say this because I would like to update active and inactive nodes from a 3rd party application modifying the flags column but I need to know also how many time will it take for the change to be applied. </div><div>

<br></div><div><br></div><div>BR</div><div>Albert<br clear="all"><div><br></div>-- <br>Albert<br>
</div></div>