<hr>

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

<h4>Commit Summary</h4>
<ul>
  <li>Revert &quot;allow opensipsdbctl to run from a different folder&quot;</li>
  <li>event_route: support for handling EVI events in asynch mode</li>
  <li>acc: parse db_extra before initializing db</li>
  <li>Better generation of random names for reply FIFO.</li>
  <li>SST module now also works with dialogs loaded from db</li>
  <li>[sst]No error when loading from db non-sst dialogs</li>
  <li>[sst]Return when there&#39;s no sst_info when loading dialog</li>
  <li>[Dialog] Added internal flags to use from other modules - i.e set of boolean vars</li>
  <li>[sst]Return when there&#39;s no sst_info when loading dialog</li>
  <li>Moved flags definition from startup(modparam) to ds_select and can now be different per transaction</li>
  <li>Fixed: Error at fixup when flags are given as PVs</li>
  <li>Moved flags parameter inside max_results parameter</li>
  <li>[Dialog] Added internal flags to use from other modules - i.e set of boolean vars</li>
  <li>drouting: add events for status changes</li>
  <li>Do not crash if script locks were not initialized ( eg - OpenSIPS failed to start )</li>
  <li>tm: fix script-level read operations on the timeout variables</li>
  <li>drouting: add events for status changes</li>
  <li>load_balancer: add events for status changes</li>
  <li>Add events readme for drouting and load_balancer modules</li>
  <li>mi_json: send &#39;Command not found&#39; if mi cmd does not exist</li>
  <li>opensipsctlrc: Add a new DBPORT parameter</li>
  <li>Moved force_dst and use_default parameters to ds_select_dst</li>
  <li>Clarified necessity to add table name to version table</li>
  <li>domain: add attributes support</li>
  <li>Don&#39;t report an error if no event registered</li>
  <li>[dispatcher]Fixed README</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-0">db/schema/domain.xml</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-1">mod_fix.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-2">modules/acc/acc_mod.c</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-3">modules/cfgutils/script_locks.c</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-4">modules/db_mysql/dbase.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-5">modules/dialplan/README</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-6">modules/dialplan/doc/dialplan_admin.xml</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-7">modules/dispatcher/README</a>
    (338)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-8">modules/dispatcher/dispatch.c</a>
    (59)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-9">modules/dispatcher/dispatch.h</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-10">modules/dispatcher/dispatcher.c</a>
    (102)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-11">modules/dispatcher/doc/dispatcher_admin.xml</a>
    (128)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-12">modules/dispatcher/ds_fixups.c</a>
    (158)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-13">modules/dispatcher/ds_fixups.h</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-14">modules/domain/README</a>
    (39)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-15">modules/domain/doc/domain_admin.xml</a>
    (32)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-16">modules/domain/domain.c</a>
    (85)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-17">modules/domain/domain_mod.c</a>
    (66)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-18">modules/domain/domain_mod.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-19">modules/domain/hash.c</a>
    (44)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-20">modules/domain/hash.h</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-21">modules/drouting/README</a>
    (23)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-22">modules/drouting/doc/drouting_admin.xml</a>
    (30)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-23">modules/drouting/drouting.c</a>
    (80)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-24">modules/event_route/README</a>
    (71)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-25">modules/event_route/doc/event_route.xml</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-26">modules/event_route/doc/event_route_admin.xml</a>
    (21)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-27">modules/event_route/event_route.c</a>
    (71)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-28">modules/event_route/event_route.h</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-29">modules/event_route/route_send.c</a>
    (256)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-30">modules/event_route/route_send.h</a>
    (48)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-31">modules/load_balancer/README</a>
    (17)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-32">modules/load_balancer/doc/load_balancer_admin.xml</a>
    (29)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-33">modules/load_balancer/lb_data.c</a>
    (63)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-34">modules/load_balancer/lb_data.h</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-35">modules/load_balancer/load_balancer.c</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-36">modules/mi_json/http_fnc.c</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-37">modules/mi_json/http_fnc.h</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-38">modules/mi_json/mi_json.c</a>
    (105)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-39">modules/tm/tm.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-40">scripts/db_berkeley/opensips/domain</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-41">scripts/db_berkeley/opensips/version</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-42">scripts/dbtext/opensips/domain</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-43">scripts/dbtext/opensips/version</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-44">scripts/mysql/domain-create.sql</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-45">scripts/opensipsctl</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-46">scripts/opensipsctl.fifo</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-47">scripts/opensipsctlrc</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-48">scripts/opensipsdbctl</a>
    (14)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-49">scripts/opensipsdbctl.base</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-50">scripts/opensipsdbctl.mysql</a>
    (21)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-51">scripts/opensipsdbctl.pgsql</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-52">scripts/oracle/domain-create.sql</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-53">scripts/osipsconsole</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-54">scripts/pi_http/domain-mod</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-55">scripts/pi_http/domain-table</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-56">scripts/pi_http/pi_framework.xml</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/287/files#diff-57">scripts/postgres/domain-create.sql</a>
    (3)
  </li>
</ul>

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

<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/pull/287">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMjg0NjcwOSwiZGF0YSI6eyJpZCI6Mzg4MjUwMDN9fQ==--5c23a56baed2ce3852bf6a686e0172a24708620b.gif" width="1" /></p>