<p>This was causing opensips to crash at startup when using the <code>drouting</code> module in 1.11.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/shimaore/opensips drouting-crash-fix</pre>
<p>Or view, comment on, or merge it at:</p>
<p>&nbsp;&nbsp;<a href='https://github.com/OpenSIPS/opensips/pull/153'>https://github.com/OpenSIPS/opensips/pull/153</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>dr_state_flusher() might be called before the data structures are initialized.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/153/files#diff-0">modules/drouting/drouting.c</a>
    (6)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/153.patch'>https://github.com/OpenSIPS/opensips/pull/153.patch</a></li>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/153.diff'>https://github.com/OpenSIPS/opensips/pull/153.diff</a></li>
</ul>