<p>The MI dr_reload command does not pick up on any DB changes relating to the state column.</p>

<p>how to replicate:<br>
Opensips 1.11 from apt.<br>
Fill dr_gateways with at least 2 destinations, set both states to 0.<br>
Start opensips, dr_gw_status should show both as enabled.<br>
Change one state in DB to 1.<br>
do the MI dr_reload, and check with dr_gw_status.</p>

<p>Both should still be enabled now! While i expected one to be disabled now.</p>

<p>Do opensips restart,</p>

<p>Now it has picked up on the change. One should be disabled. and one enabled.<br>
Change states in DB again, and do dr_reload.<br>
Again no change. Only after an Opensips reload.</p>

<p>Removing the record, dr_reload and adding the record with a different state, dr_reload. also works.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/275">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMTYzOTQxMSwiZGF0YSI6eyJpZCI6Mzc1OTUzNDN9fQ==--fb6c61557524f857156eb70f259dcada04e401b1.gif" width="1" /></p>